Function at 0x41e450
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x54
mov eax, dword [0x4764c0]
xor eax, esp
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x58]
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 8], 0
test esi, esi
je 0x41e6a5
test ebx, ebx
jne 0x41e487
mov eax, dword [esi]
test eax, eax
cmovne ebx, eax
test byte [esi + 0x14], 4
jne 0x41e6a5
test ebx, ebx
je 0x41e6a5
cmp byte [ebx], 0
je 0x41e6a5
push ebp
push edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call fcn.00431570
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x41e672
push dword [esp + 0x14]
push str._Your_alt_svc_cache._https:__curl.se_docs_alt_svc.html_n_This_file_was_generated_by_libcurl__Edit_at_your_own_risk._n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
lea ecx, [esi + 4]
push ecx
call fcn.00403a00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x41e63a
push edi
call fcn.00406f40
push edi
mov esi, eax
call fcn.0040cc30
mov edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.00430dc0
add esp, 0x14
test eax, eax
jne 0x41e695
lea eax, [esp + 0x50]
push eax
push dword [esi + 0xc]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
mov edx, 0x4631b0
mov ecx, 0x473f24
mov eax, 0x4631b4
cmove ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, 0x473f24
cmove ecx, eax
lea eax, [esp + 0x50]
push eax
push dword [esi]
mov dword [esp + 0x24], ecx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
mov ecx, 0x473f24
mov edx, 0x4631b0
mov eax, 0x4631b4
cmove ecx, edx
mov dword [esp + 0x20], ecx
mov ecx, 0x473f24
cmove ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], ecx
cmp eax, 8
je 0x41e5a8
cmp eax, 0x10
je 0x41e5a1
cmp eax, 0x20
mov edx, 0x473f24
mov eax, 0x463e3c
cmove edx, eax
jmp 0x41e5ad
mov edx, 0x463e38
jmp 0x41e5ad
mov edx, 0x463e34
mov eax, dword [esi + 8]
cmp eax, 8
je 0x41e5d3
cmp eax, 0x10
je 0x41e5cc
cmp eax, 0x20
mov ecx, 0x473f24
mov eax, 0x463e3c
cmove ecx, eax
jmp 0x41e5d8
mov ecx, 0x463e38
jmp 0x41e5d8
mov ecx, 0x463e34
push dword [esi + 0x24]
movzx eax, byte [esi + 0x20]
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x48]
push dword [esp + 0x3c]
inc eax
push dword [esp + 0x44]
push dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x5c]
add eax, 0x76c
push eax
movzx eax, word [esi + 0x10]
push eax
push dword [esp + 0x3c]
movzx eax, word [esi + 4]
push dword [esi + 0xc]
push dword [esp + 0x48]
push edx
push eax
push dword [esp + 0x58]
push dword [esi]
push dword [esp + 0x64]
push ecx
push str._s__s_s_s__u__s__s_s_s__u___d_02d_02d__02d:_02d:_02d___u__u_n
push dword [esp + 0x74]
call fcn.00422c20
add esp, 0x50
test edi, edi
jne 0x41e4e6
push dword [esp + 0x14]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x41e676
push ebx
push eax
call fcn.00431490
add esp, 8
test eax, eax
je 0x41e672
mov ebp, 0x17
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41e676
push eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__unlink
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [0x476024]
add esp, 4
mov eax, ebp
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045fb12
add esp, 0x54
ret
push dword [esp + 0x14]
mov ebp, eax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
add esp, 4
jmp 0x41e661
mov ecx, dword [esp + 0x58]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.0045fb12
add esp, 0x54
ret