Function at 0x43e274
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 [0x40d854]
call fcn.004039fc
xor eax, eax
push ebp
push 0x43e7a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0x2c], 1
lea eax, [ebp - 0x850]
call fcn.0040e5b8
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x50]
call fcn.004035a4
push eax
call sub.wininet.dll_InternetOpenA
mov edi, eax
mov byte [ebx + 8], 0
test edi, edi
je 0x43e73d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x850]
mov ecx, dword [ebx + 0x40]
lea edx, [ebx + 0x88]
call fcn.0040dba8
cmp dword [ebp - 0x24], 0
je 0x43e346
mov dword [ebp - 0x834], 3
mov eax, dword [ebp - 0x24]
call fcn.004035a4
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.0040dba8
lea eax, [ebx + 0xc]
xor ecx, ecx
lea edx, [ebx + 0x70]
call fcn.0040dcb8
mov dword [ebp - 8], eax
lea eax, [ebx + 0xc]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebx + 0x7c]
call fcn.0040dcb8
mov esi, eax
cmp dword [ebp - 8], 0
jbe 0x43e3c1
push 0x43e7c4
lea edx, [ebp - 0x854]
mov eax, dword [ebp - 8]
call fcn.00406bf8
push dword [ebp - 0x854]
push 0x43e7dc
lea edx, [ebp - 0x858]
mov eax, dword [ebp - 8]
add eax, esi
call fcn.00406bf8
push dword [ebp - 0x858]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004034a0
jmp 0x43e3c9
lea eax, [ebp - 0x14]
call fcn.00403188
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebx + 0x54], 1
jne 0x43e517
mov edx, dword [ebp - 0xc]
mov eax, 0x43e7e8
call fcn.004036c8
test eax, eax
jle 0x43e3f9
mov dword [ebp - 0x18], 0x1bb
mov dword [ebp - 0x1c], 0x800000
jmp 0x43e405
mov dword [ebp - 0x18], 0x50
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
mov eax, 0x43e7f8
call fcn.004036c8
mov esi, eax
cmp esi, 0xffffffff
je 0x43e429
lea ecx, [esi + 1]
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00403624
mov edx, dword [ebp - 0xc]
mov eax, 0x43e804
call fcn.004036c8
mov esi, eax
cmp esi, 0xffffffff
jne 0x43e452
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00403220
lea eax, [ebp - 0x28]
call fcn.00403188
jmp 0x43e47f
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004035e4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004033e0
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 0xc]
call fcn.004035e4
push 0
push 0
push 3
push 0
push 0
mov ax, word [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
call fcn.004035a4
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.004035a4
push eax
push 0x43e808
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov esi, eax
lea eax, [ebp - 0x24]
mov edx, 0x43e818
call fcn.00403220
lea eax, [ebp - 0x28]
push eax
lea eax, [ebx + 0xc]
xor ecx, ecx
lea edx, [ebx + 0xac]
call fcn.0040dba8
mov eax, dword [ebp - 0x28]
call fcn.004033e0
push eax
mov eax, dword [ebp - 0x28]
call fcn.004035a4
push eax
mov eax, dword [ebp - 0x24]
call fcn.004033e0
push eax
mov eax, dword [ebp - 0x24]
call fcn.004035a4
push eax
push esi
call sub.wininet.dll_HttpSendRequestA
jmp 0x43e53a
push 0
push 0x84040000
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
call fcn.004035a4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004035a4
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
je 0x43e71e
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 0x43e636
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x850]
mov ecx, dword [ebx + 0x44]
lea edx, [ebx + 0x94]
call fcn.0040dba8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x850]
mov ecx, dword [ebx + 0x48]
lea edx, [ebx + 0xa0]
call fcn.0040dba8
cmp dword [ebp - 0x24], 0
je 0x43e636
cmp dword [ebp - 0x28], 0
je 0x43e636
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 0x43e5b6
push 0
push 0
push 0xffffffffffffffff
push 0x43e850
push dword [ebp - 0x24]
push 0x43e874
push dword [ebp - 0x28]
lea eax, [ebp - 0x85c]
mov edx, 3
call fcn.004034a0
mov eax, dword [ebp - 0x85c]
lea edx, [ebp - 0x858]
call fcn.00417344
push dword [ebp - 0x858]
push 0x43e880
lea eax, [ebp - 0x854]
mov edx, 3
call fcn.004034a0
mov eax, dword [ebp - 0x854]
call fcn.004035a4
push eax
push esi
call sub.wininet.dll_HttpSendRequestA
lea eax, [ebp - 0x828]
xor ecx, ecx
mov edx, 0x800
call fcn.0040270c
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.0040dba8
cmp dword [ebp - 0x10], 0
jne 0x43e66f
call fcn.004080b4
mov dword [ebx + 0x30], eax
jmp 0x43e67a
mov eax, dword [ebp - 0x10]
call fcn.00408088
mov dword [ebx + 0x30], eax
lea eax, [ebp - 0x828]
xor ecx, ecx
mov edx, 0x800
call fcn.0040270c
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.00407d9c
mov eax, dword [ebp - 8]
add dword [ebx + 0x28], eax
cmp byte [ebx + 0x3c], 0
je 0x43e6c8
mov eax, ebx
call fcn.0043e884
jmp 0x43e6d6
push ebx
push fcn.0043e884
mov eax, dword [ebx + 4]
call fcn.00407cc4
cmp dword [ebp - 8], 0
je 0x43e6e2
cmp byte [ebx + 8], 0
je 0x43e67a
cmp dword [ebp - 0x10], 0
jne 0x43e6f4
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00407d58
jmp 0x43e701
mov eax, dword [ebx + 0x30]
call fcn.00405bc8
xor eax, eax
mov dword [ebx + 0x30], eax
cmp byte [ebx + 0x3c], 0
je 0x43e710
mov eax, ebx
call fcn.0043e8a0
jmp 0x43e71e
push ebx
push fcn.0043e8a0
mov eax, dword [ebx + 4]
call fcn.00407cc4
test esi, esi
je 0x43e728
push esi
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 4], 0
je 0x43e737
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 0x43e752
mov eax, ebx
call fcn.0043e894
jmp 0x43e760
push ebx
push fcn.0043e894
mov eax, dword [ebx + 4]
call fcn.00407cc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e7b0
lea eax, [ebp - 0x85c]
mov edx, 3
call fcn.004031ac
lea eax, [ebp - 0x850]
mov edx, dword [0x40d854]
call fcn.00403ac8
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004031ac
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004031ac
ret