Function at 0x404a00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45173b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x44c], esi
push 0
push 0
push 0
push 1
push str.GetIp
mov dword [ebp - 0x44c], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x450], eax
xorps xmm0, xmm0
test eax, eax
jne 0x404a7d
push 5
movups xmmword [esi], xmm0
push str.error
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040c460
jmp 0x404b83
movups xmmword [ebp - 0x444], xmm0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
push 0x24
push str.https:__api64.ipify.org__formattext
mov byte [ebp - 0x448], 0
lea ecx, [ebp - 0x444]
push dword [ebp - 0x448]
mov dword [ebp - 4], 0
push 0x24
call fcn.0040c300
cmp dword [ebp - 0x430], 0x10
lea edi, [ebp - 0x444]
push 0x2000
cmovae edi, dword [ebp - 0x444]
call fcn.00424e4f
add esp, 4
mov esi, eax
push 0x1000
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0x80000000
push 0
push 0
push esi
mov esi, dword [ebp - 0x450]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
mov dword [ebp - 0x448], edi
test edi, edi
jne 0x404ba0
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [ebp - 0x454]
xorps xmm0, xmm0
push 5
push str.error
mov ecx, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0040c460
mov ecx, dword [ebp - 0x430]
cmp ecx, 0x10
jb 0x404b83
mov edx, dword [ebp - 0x444]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404b79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404d1d
push ecx
push edx
call fcn.00424e41
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004249b0
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x418], 0xf
xor esi, esi
movups xmmword [ebp - 0x42c], xmm0
mov dword [ebp - 0x41c], esi
mov byte [ebp - 0x42c], 0
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.00425ee0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404ca3
nop
mov edi, dword [ebp - 0x414]
test edi, edi
je 0x404c9d
mov ecx, dword [ebp - 0x418]
mov eax, ecx
sub eax, esi
push edi
cmp edi, eax
ja 0x404c4e
lea eax, [esi + edi]
cmp ecx, 0x10
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
add esi, eax
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x404c6e
lea eax, [ebp - 0x410]
mov byte [ebp - 0x44c], 0
push eax
push dword [ebp - 0x44c]
lea ecx, [ebp - 0x42c]
push edi
call fcn.0040c300
mov edi, dword [ebp - 0x448]
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404ca3
mov esi, dword [ebp - 0x41c]
jmp 0x404c00
mov edi, dword [ebp - 0x448]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x450]
call esi
mov esi, dword [ebp - 0x454]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x430]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x42c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x41c]
movq qword [esi + 0x10], xmm0
cmp ecx, 0x10
jb 0x404b83
mov edx, dword [ebp - 0x444]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404b79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404b79
call fcn.0042b71c
int3