Function at 0x43d850
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x4ccf60]
xor eax, ebp
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x264]
mov dword [eax + 0x21c], 0
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0x220], 0
cmp dword [ebp + 8], 0
jne 0x43d89d
xor eax, eax
jmp 0x43db06
call fcn.0043d540
test eax, eax
je 0x43d8b5
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x21c], 1
jne 0x43d8bc
xor eax, eax
jmp 0x43db06
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x264]
call fcn.0043d770
test eax, eax
je 0x43d8ee
cmp dword [ebp - 0x34], 3
je 0x43d8f5
xor eax, eax
jmp 0x43db06
mov dword [ebp - 0x48], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x43d92b
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x43dac3
mov eax, dword [ebp - 0x264]
movzx ecx, word [eax + 0x14]
test ecx, ecx
je 0x43d94a
mov edx, dword [ebp - 0x264]
add edx, 0x14
mov dword [ebp - 0x268], edx
jmp 0x43d954
mov dword [ebp - 0x268], 0x4be438
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x54], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dac3
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x21c], 0
jne 0x43dac3
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x264]
call fcn.0043d610
push 2
mov ecx, dword [ebp - 0x264]
call fcn.0043dc80
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push 0x100
lea eax, [ebp - 0x258]
push eax
call fcn.00402030
push 0
push 0
push 3
push 0
push 0
movzx ecx, word [ebp - 0x28]
push ecx
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x43dac3
mov ecx, dword [ebp - 0x264]
cmp dword [ecx + 0x21c], 0
jne 0x43dac3
mov dword [ebp - 0x25c], 0x84000100
push 0
mov edx, dword [ebp - 0x25c]
push edx
push 0x4d5d54
push 0
push 0x4be498
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x43dac3
mov edx, dword [ebp - 0x264]
cmp dword [edx + 0x21c], 0
jne 0x43dac3
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x264]
add ecx, 0x220
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x264]
call fcn.0043d730
cmp dword [ebp - 0x260], 0
je 0x43dac3
mov eax, dword [ebp - 0x264]
cmp dword [eax + 0x220], 0xc8
jne 0x43dac3
mov ecx, dword [ebp - 0x264]
cmp dword [ecx + 0x21c], 0
jne 0x43dac3
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x264]
call fcn.0043db20
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x43dad3
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x44], 0
je 0x43dae3
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x50], 0
je 0x43daf3
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 4], 0
je 0x43db03
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x58]
xor ecx, ebp
call fcn.0049536b
mov esp, ebp
pop ebp
ret 8