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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2cc4
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0xf4], 0
je 0x4b95a9
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0xf0], 0
je 0x4b95a9
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0xec], 0
je 0x4b95a9
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0xe4]
jmp 0x4b9bcd
lea ecx, [ebp - 0x74]
call fcn.0043b2f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0043b2f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x74]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xe8], esp
lea eax, [ebp + 8]
push eax
call fcn.00405d60
mov dword [ebp - 0x10c], eax
call fcn.004b8ab0
add esp, 0x28
mov byte [ebp - 0x10d], al
movzx ecx, byte [ebp - 0x10d]
test ecx, ecx
jne 0x4b963c
mov dword [ebp - 0xec], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0xec]
jmp 0x4b9bcd
push 0x5ba898
lea edx, [ebp - 0x74]
push edx
call fcn.0044f5e0
add esp, 8
movzx eax, al
test eax, eax
jne 0x4b966c
push 0x5ba89c
lea ecx, [ebp - 0x50]
push ecx
call fcn.0044f5e0
add esp, 8
movzx edx, al
test edx, edx
je 0x4b96a8
mov dword [ebp - 0xf0], 0xfffffffe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0xf0]
jmp 0x4b9bcd
push 0
push 0
push 0
push 0
push 0x5ba8a0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0xec], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0xec], 0
jne 0x4b9712
mov dword [ebp - 0xf4], 0xfffffffd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0xf4]
jmp 0x4b9bcd
push 0x5ba8b0
mov eax, dword [ebp - 0x108]
add eax, 0x78
push eax
call fcn.0044f140
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4b9880
mov dword [ebp - 0xdc], 0
xor edx, edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], edx
lea ecx, [ebp - 0xd0]
call fcn.0043b2f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x108]
add eax, 0x78
push eax
lea ecx, [ebp - 0xd0]
call fcn.0045fbb0
push 0x5ba8b4
lea ecx, [ebp - 0xd0]
call fcn.00476530
xor ecx, ecx
mov word [ebp - 0xb4], cx
push 0x3e
push 0
lea edx, [ebp - 0xb2]
push edx
call fcn.00496f40
add esp, 0xc
push 0xa
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x94]
push edx
call fcn.004babd0
add esp, 0xc
push eax
lea ecx, [ebp - 0xd0]
call fcn.00476530
mov dword [ebp - 0xdc], 3
lea ecx, [ebp - 0xd0]
call fcn.00405ee0
mov dword [ebp - 0xd8], eax
push 0xc
lea eax, [ebp - 0xdc]
push eax
push 0x26
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0xec]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x108]
add ecx, 0x98
call fcn.004613d0
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x98
call fcn.00405ee0
push eax
push 0x1c
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xec]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [ebp - 0x108]
add ecx, 0xb4
call fcn.004613d0
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0xb4
call fcn.00405ee0
push eax
push 0x1d
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0xec]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.00405ea0
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0xfc], 0
je 0x4b98b3
push 4
mov edx, dword [ebp - 0x108]
add edx, 0xfc
push edx
push 5
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xec]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x100], 0
je 0x4b98e5
push 4
mov eax, dword [ebp - 0x108]
add eax, 0x100
push eax
push 6
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0xec]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x104], 0
je 0x4b9918
push 4
mov ecx, dword [ebp - 0x108]
add ecx, 0x104
push ecx
push 2
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0xec]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 1
push 0
push 3
push 0
push 0
movzx ecx, word [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00405ee0
push eax
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0xec]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0xf0], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0xf0], 0
jne 0x4b999a
mov dword [ebp - 0xf8], 0xfffffffc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0xf8]
jmp 0x4b9bcd
mov dword [ebp - 0x58], 0x5ba8b8
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x108]
movzx ecx, byte [eax + 0x109]
test ecx, ecx
je 0x4b99f7
push 1
push 0
lea edx, [ebp - 0x58]
push edx
push 0
push 0x5ba8c0
lea ecx, [ebp - 0x50]
call fcn.00405ee0
push eax
push 0x5ba8d4
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xf0]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0xf4], eax
jmp 0x4b9a36
push 1
push closesocket
lea eax, [ebp - 0x58]
push eax
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0x50]
call fcn.00405ee0
push eax
push 0x5ba8f0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0xf0]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0xf4], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0xf4], 0
jne 0x4b9a81
mov dword [ebp - 0xfc], 0xfffffffb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0xfc]
jmp 0x4b9bcd
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xf4]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4b9ae1
mov dword [ebp - 0x100], 0xfffffffa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0x100]
jmp 0x4b9bcd
mov ecx, dword [ebp - 0x108]
add ecx, 0x40
call fcn.004059f0
movzx edx, al
test edx, edx
je 0x4b9b10
mov eax, dword [ebp - 0x108]
add eax, 0xd0
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x40
call fcn.00405ec0
mov ecx, dword [ebp - 0x108]
add ecx, 0x24
call fcn.004059f0
movzx ecx, al
test ecx, ecx
je 0x4b9b96
push 0xffffffffffffffff
push 0x5ba8f8
lea ecx, [ebp + 8]
call fcn.00405f00
mov dword [ebp - 0xe0], eax
lea ecx, [ebp + 8]
call fcn.004613d0
sub eax, dword [ebp - 0xe0]
push eax
mov edx, dword [ebp - 0xe0]
add edx, 1
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 8]
call fcn.00405f30
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x118]
push edx
mov ecx, dword [ebp - 0x108]
add ecx, 0x24
call fcn.00405e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405ea0
mov dword [ebp - 0x104], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00405ea0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00405ea0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405ea0
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 0x1c