Function at 0x43ddec
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7a4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x854], ecx
mov dword [ebp - 0x858], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov ebx, eax
lea eax, [ebp - 0x850]
mov edx, dword [0x40d324]
call fcn.00403854
xor eax, eax
push ebp
push 0x43e321
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x2c], 1
lea eax, [ebp - 0x850]
call fcn.0040e088
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x50]
call fcn.00403490
push eax
call sub.wininet.dll_InternetOpenA
mov edi, eax
mov byte [ebx + 8], 0
test edi, edi
je 0x43e2b5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x850]
mov ecx, dword [ebx + 0x40]
lea edx, [ebx + 0x88]
call fcn.0040d678
cmp dword [ebp - 0x24], 0
je 0x43debe
mov dword [ebp - 0x834], 3
mov eax, dword [ebp - 0x24]
call fcn.00403490
mov dword [ebp - 0x830], eax
xor eax, eax
mov dword [ebp - 0x82c], eax
push 0xc
lea eax, [ebp - 0x834]
push eax
push 0x26
push edi
call sub.wininet.dll_InternetSetOptionA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x34]
lea edx, [ebx + 0x64]
call fcn.0040d678
lea eax, [ebx + 0xc]
xor ecx, ecx
lea edx, [ebx + 0x70]
call fcn.0040d788
mov dword [ebp - 8], eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebx + 0x7c]
call fcn.0040d788
mov esi, eax
cmp dword [ebp - 8], 0
jbe 0x43df39
push 0x43e33c
lea edx, [ebp - 0x854]
mov eax, dword [ebp - 8]
call fcn.00406a30
push dword [ebp - 0x854]
push 0x43e354
lea edx, [ebp - 0x858]
mov eax, dword [ebp - 8]
add eax, esi
call fcn.00406a30
push dword [ebp - 0x858]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0040338c
jmp 0x43df41
lea eax, [ebp - 0x14]
call fcn.00403154
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebx + 0x54], 1
jne 0x43e08f
mov edx, dword [ebp - 0xc]
mov eax, 0x43e360
call fcn.004035b4
test eax, eax
jle 0x43df71
mov dword [ebp - 0x18], 0x1bb
mov dword [ebp - 0x1c], 0x800000
jmp 0x43df7d
mov dword [ebp - 0x18], 0x50
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x43e370
call fcn.004035b4
mov esi, eax
cmp esi, 0xffffffff
je 0x43dfa1
lea ecx, [esi + 1]
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00403510
mov edx, dword [ebp - 0xc]
mov eax, 0x43e37c
call fcn.004035b4
mov esi, eax
cmp esi, 0xffffffff
jne 0x43dfca
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.004031ec
lea eax, [ebp - 0x28]
call fcn.00403154
jmp 0x43dff7
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004034d0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004032cc
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 0xc]
call fcn.004034d0
push 0
push 0
push 3
push 0
push 0
mov ax, word [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00403490
push eax
push edi
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0x1c]
or eax, 0x400000
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x28]
call fcn.00403490
push eax
push 0x43e380
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov esi, eax
lea eax, [ebp - 0x24]
mov edx, 0x43e390
call fcn.004031ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 0xc]
xor ecx, ecx
lea edx, [ebx + 0xac]
call fcn.0040d678
mov eax, dword [ebp - 0x28]
call fcn.004032cc
push eax
mov eax, dword [ebp - 0x28]
call fcn.00403490
push eax
mov eax, dword [ebp - 0x24]
call fcn.004032cc
push eax
mov eax, dword [ebp - 0x24]
call fcn.00403490
push eax
push esi
call sub.wininet.dll_HttpSendRequestA
jmp 0x43e0b2
push 0
push 0x84040000
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.00403490
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403490
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x43e296
mov dword [ebp - 0x1c], 4
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x20000013
push esi
call sub.wininet.dll_HttpQueryInfoA
cmp dword [ebp - 0x18], 0x197
jne 0x43e1ae
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x850]
mov ecx, dword [ebx + 0x44]
lea edx, [ebx + 0x94]
call fcn.0040d678
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x850]
mov ecx, dword [ebx + 0x48]
lea edx, [ebx + 0xa0]
call fcn.0040d678
cmp dword [ebp - 0x24], 0
je 0x43e1ae
cmp dword [ebp - 0x28], 0
je 0x43e1ae
lea eax, [ebp - 8]
push eax
push 0x800
lea eax, [ebp - 0x828]
push eax
push esi
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 8], 0
jne 0x43e12e
push 0
push 0
push 0xffffffffffffffff
push 0x43e3c8
push dword [ebp - 0x24]
push 0x43e3ec
push dword [ebp - 0x28]
lea eax, [ebp - 0x85c]
mov edx, 3
call fcn.0040338c
mov eax, dword [ebp - 0x85c]
lea edx, [ebp - 0x858]
call fcn.00416e08
push dword [ebp - 0x858]
push 0x43e3f8
lea eax, [ebp - 0x854]
mov edx, 3
call fcn.0040338c
mov eax, dword [ebp - 0x854]
call fcn.00403490
push eax
push esi
call sub.wininet.dll_HttpSendRequestA
lea eax, [ebp - 0x828]
xor ecx, ecx
mov edx, 0x800
call fcn.004026f4
xor eax, eax
mov dword [ebx + 0x28], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x38]
lea edx, [ebx + 0x58]
call fcn.0040d678
cmp dword [ebp - 0x10], 0
jne 0x43e1e7
call fcn.00407d30
mov dword [ebx + 0x30], eax
jmp 0x43e1f2
mov eax, dword [ebp - 0x10]
call fcn.00407d04
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0x828]
xor ecx, ecx
mov edx, 0x800
call fcn.004026f4
lea eax, [ebp - 8]
push eax
push 0x800
lea eax, [ebp - 0x828]
push eax
push esi
call sub.wininet.dll_InternetReadFile
lea edx, [ebp - 0x828]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp - 8]
call fcn.00407a60
mov eax, dword [ebp - 8]
add dword [ebx + 0x28], eax
cmp byte [ebx + 0x3c], 0
je 0x43e240
mov eax, ebx
call fcn.0043e3fc
jmp 0x43e24e
push ebx
push fcn.0043e3fc
mov eax, dword [ebx + 4]
call fcn.004079b4
cmp dword [ebp - 8], 0
je 0x43e25a
cmp byte [ebx + 8], 0
je 0x43e1f2
cmp dword [ebp - 0x10], 0
jne 0x43e26c
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00407a48
jmp 0x43e279
mov eax, dword [ebx + 0x30]
call fcn.00405a00
xor eax, eax
mov dword [ebx + 0x30], eax
cmp byte [ebx + 0x3c], 0
je 0x43e288
mov eax, ebx
call fcn.0043e418
jmp 0x43e296
push ebx
push fcn.0043e418
mov eax, dword [ebx + 4]
call fcn.004079b4
test esi, esi
je 0x43e2a0
push esi
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 4], 0
je 0x43e2af
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
xor esi, esi
mov byte [ebx + 0x2c], 0
cmp byte [ebx + 0x3c], 0
je 0x43e2ca
mov eax, ebx
call fcn.0043e40c
jmp 0x43e2d8
push ebx
push fcn.0043e40c
mov eax, dword [ebx + 4]
call fcn.004079b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e328
lea eax, [ebp - 0x85c]
mov edx, 3
call fcn.00403178
lea eax, [ebp - 0x850]
mov edx, dword [0x40d324]
call fcn.00403920
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403178
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403178
ret