Function at 0x401ad0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44dd97
mov eax, dword fs:[0]
push eax
sub esp, 0xab0
mov eax, dword [0x45e200]
xor eax, esp
mov dword [esp + 0xaa8], eax
push ebx
push esi
push edi
mov eax, dword [0x45e200]
xor eax, esp
push eax
lea eax, [esp + 0xac0]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x70], edi
je 0x401c5a
cmp dword [esi + 0x1c], edi
je 0x401c5a
push edi
push edi
push 0x454a70
push edi
push 0x454a70
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x401c5a
push 0x103
lea eax, [esp + 0x1b1]
push edi
push eax
mov byte [esp + 0x1b8], 0
call fcn.00433c80
mov eax, 0x10
add esp, 0xc
cmp dword [esi + 0x58], eax
jb 0x401b72
mov edx, dword [esi + 0x44]
jmp 0x401b75
lea edx, [esi + 0x44]
cmp dword [esi + 0x3c], eax
jb 0x401b7f
mov ecx, dword [esi + 0x28]
jmp 0x401b82
lea ecx, [esi + 0x28]
cmp dword [esi + 0x74], eax
jb 0x401b8c
mov eax, dword [esi + 0x60]
jmp 0x401b8f
lea eax, [esi + 0x60]
mov ebx, dword [esi + 0xac]
push ebx
push edx
push ecx
push eax
push str._s_channelId_schannelName_spage_d
lea edx, [esp + 0x1c0]
call fcn.00403d70
mov eax, 0xf
add esp, 0x14
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edi
mov byte [esp + 0x78], 0
mov dword [esp + 0xac8], edi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x1b0]
push edx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x98]
mov byte [esp + 0xad0], 1
call fcn.004016c0
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x401c19
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push edi
push 3
push edi
push edi
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
mov dword [esp + 0x18], ebx
cmp ebx, edi
jne 0x401c80
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x90]
call fcn.00404350
lea ecx, [esp + 0x74]
call fcn.00404350
xor al, al
mov ecx, dword [esp + 0xac0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xaa8]
xor ecx, esp
call fcn.0043270e
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x94]
jae 0x401c98
lea eax, [esp + 0x94]
push edi
push 0x4000000
push edi
push edi
push str.HTTP_1.0
push eax
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x401ccd
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
jmp 0x401c45
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [esp + 0x5c]
call fcn.004049d0
mov byte [esp + 0xac8], 2
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x401cf2
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0xa0000000
push edx
push eax
push edi
call ebx
push str.Accept:__
lea ecx, [esp + 0x5c]
call fcn.004049a0
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x401d23
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
push 0xa0000000
push ecx
push eax
push edi
call ebx
push str.apikey:
lea ecx, [esp + 0x5c]
call fcn.004049a0
cmp dword [esi + 0x20], 0x10
jb 0x401d4a
mov eax, dword [esi + 0xc]
jmp 0x401d4d
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x5c]
call fcn.00402a00
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x401d66
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
push 0xa0000000
push edx
push eax
push edi
call ebx
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x401dac
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
lea ecx, [esp + 0x58]
call fcn.00404350
jmp 0x401c45
push 0xff
lea edx, [esp + 0xb1]
push 0
push edx
mov byte [esp + 0xb8], 0
call fcn.00433c80
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xb4]
push ecx
push 0x13
push edi
mov dword [esp + 0x24], 0x10000
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea edx, [esp + 0xac]
push edx
mov ebx, eax
call fcn.00432a83
add esp, 4
test ebx, ebx
je 0x401f3e
add eax, 0xffffff38
cmp eax, 0x63
ja 0x401f3e
push 0x7ff
lea eax, [esp + 0x2b9]
push 0
push eax
mov byte [esp + 0x2c0], 0
call fcn.00433c80
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x10], 0x800
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0x400
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x10]
push ecx
push 0x800
lea edx, [esp + 0x2bc]
push edx
push edi
mov byte [esp + 0xad8], 3
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401ec2
jmp 0x401e92
xor ebx, ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
jbe 0x401ec2
lea ebx, [esp + 0x2b4]
lea ecx, [esp + 0x1c]
call fcn.00406800
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
mov edx, ebx
push edx
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x401e90
mov eax, dword [esp + 0x1c]
lea ebx, [esi + 0x78]
push eax
mov ecx, ebx
call fcn.004049a0
cmp dword [esi + 0x8c], 0
je 0x401f1d
cmp dword [ebx + 0x18], 0x10
jb 0x401ee5
mov ecx, dword [ebx + 4]
jmp 0x401ee8
lea ecx, [ebx + 4]
lea edx, [esp + 0x3c]
call section..text
push eax
mov ecx, ebx
mov byte [esp + 0xacc], 4
call fcn.004029e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac8], 3
call fcn.00404350
mov ecx, esi
call fcn.00401f80
mov byte [esi + 4], 1
lea esi, [esp + 0x1c]
call fcn.00406730
cmp byte [esp + 0x38], 0
je 0x401f3e
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401f3e
push eax
call fcn.00432a62
add esp, 4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
lea ecx, [esp + 0x58]
call fcn.00404350
lea ecx, [esp + 0x90]
call fcn.00404350
lea ecx, [esp + 0x74]
call fcn.00404350
mov al, 1
jmp 0x401c5c