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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc372
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebx + 4]
push str.____________________Entrance____________________
lea ecx, [esp + 0x34]
push ecx
xor esi, esi
mov dword [esp + 0x28], esi
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], str.SendRequest
call fcn.00471a00
add esp, 0xc
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x80], esi
lea esi, [esp + 0x38]
call fcn.0047af10
test eax, eax
jne 0x45e5d8
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e581
mov edx, dword [ecx]
mov eax, dword [edx]
push 8
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00471980
push str.______________________Exit______________________
lea eax, [esp + 0x44]
mov dword [esp + 0x94], 0xffffffff
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.00471a00
add esp, 0x1c
mov eax, 8
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebx + 0x60], 0
jne 0x45e61c
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov eax, dword [ebx + 0x5c]
push 0
push 0
push 3
push 0x4e7868
push 0x4e7868
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x45e619
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x60], esi
mov esi, ebx
call fcn.0045d9f0
test al, al
je 0x45e68d
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e636
mov edx, dword [ecx]
mov eax, dword [edx]
push 5
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00471980
push str.______________________Exit______________________
lea eax, [esp + 0x44]
mov dword [esp + 0x94], 0xffffffff
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.00471a00
add esp, 0x1c
mov eax, 5
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebx + 0x60], 0
jne 0x45e6f9
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e6a2
mov edx, dword [ecx]
mov eax, dword [edx]
push 7
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00471980
push str.______________________Exit______________________
lea eax, [esp + 0x44]
mov dword [esp + 0x94], 0xffffffff
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.00471a00
add esp, 0x1c
mov eax, 7
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
test eax, eax
je 0x45e729
push str.______________________Exit______________________
lea ecx, [esp + 0x34]
mov dword [esp + 0x84], 0xffffffff
mov edx, dword [esp + 0x38]
push ecx
push edx
call fcn.00471a00
add esp, 0xc
jmp 0x45eb64
mov edi, dword [esp + 0x14]
push str.::InternetConnect___did_worked.
lea eax, [esp + 0x34]
push eax
push edi
call fcn.004719c0
mov esi, dword [ebp + 0x14]
xor edx, edx
add esp, 0xc
mov ecx, 0x1bb
cmp word [esp + 0x50], cx
setne dl
dec edx
and edx, 0x800000
or edx, dword [ebx + 0xb0]
or edx, 0x8440f300
cmp dword [esi], 0
jne 0x45e7a2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x60]
push 0
push edx
mov edx, dword [ebx + 0xac]
push 0
neg edx
push 0
sbb edx, edx
and edx, str.HTTP_1.1
push edx
mov edx, dword [esp + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
call fcn.0047e410
mov edi, dword [esp + 0x14]
mov esi, ebx
call fcn.0045d9f0
test al, al
je 0x45e804
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e7bc
mov eax, dword [ecx]
mov edx, dword [eax]
push 5
call edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetLastError_____d
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00471980
add esp, 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042e9b0
mov eax, 5
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp + 0x14]
cmp dword [esi], 0
jne 0x45e863
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e81b
mov edx, dword [ecx]
mov eax, dword [edx]
push 9
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x38]
push ecx
push edi
call fcn.00471980
add esp, 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042e9b0
mov eax, 9
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
test eax, eax
jne 0x45eb50
push str.::HttpOpenRequest___did_worked.
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.004719c0
add esp, 0xc
lea edx, [ebx + 0x84]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0045d430
mov byte [esp + 0x80], 1
mov ecx, dword [esp + 0x18]
push ecx
push str.SerializeHeader___s
lea edx, [esp + 0x38]
push edx
push edi
call fcn.00471a00
mov eax, dword [ebp + 0x10]
push eax
mov ecx, 0x4f23a8
call fcn.0048c410
add esp, 0x14
test al, al
je 0x45e941
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, ebx
mov edi, eax
call fcn.0045d9f0
test al, al
je 0x45e924
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e8f8
mov edx, dword [ecx]
mov eax, dword [edx]
push 5
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00471980
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00405f50
jmp 0x45e7d6
mov ecx, dword [esp + 0x14]
push edi
push str.::HttpSendRequest_GET__returned_d.
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.004719c0
add esp, 0x10
jmp 0x45eadf
lea esi, [esp + 0x1c]
call fcn.00424d90
mov byte [esp + 0x80], 2
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x45e962
mov eax, dword [ebx + 0x44]
mov edi, dword [esp + 0x1c]
jmp 0x45e9a6
add ebx, 0x54
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.00476fe0
add esp, 8
lea ebx, [esp + 0x1c]
mov byte [esp + 0x80], 3
call fcn.00460af0
lea eax, [esp + 0x24]
mov byte [esp + 0x80], 2
call fcn.00452320
mov esi, ebx
call fcn.004605f0
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi - 0xc]
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
push ecx
push eax
mov eax, dword [edx - 0xc]
push eax
push edx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, ebx
mov dword [esp + 0x24], eax
call fcn.0045d9f0
test al, al
je 0x45ea10
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e9db
mov eax, dword [ecx]
mov edx, dword [eax]
push 5
call edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
push str.GetLastError_____d
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.00471980
add esp, 0x10
lea eax, [esp + 0x1c]
call fcn.00452320
lea ecx, [esp + 0x18]
call fcn.00405f50
jmp 0x45e7d6
cmp dword [ebx + 0x48], 0
jne 0x45ea5e
mov eax, dword [edi - 8]
push eax
push edi
call fcn.004a9558
add esp, 8
test eax, eax
jl 0x45ea54
cmp eax, dword [edi - 8]
jg 0x45ea54
mov dword [edi - 0xc], eax
mov byte [eax + edi], 0
cmp dword [ebx + 0x48], 0
jne 0x45ea5e
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call fcn.0045b6f0
mov byte [esp + 0x80], 4
mov ebx, 1
jmp 0x45ea7d
push 0x80070057
call fcn.00405ef0
lea eax, [esp + 0x28]
push eax
mov ecx, str.Some_binary_data.
call fcn.00405a00
mov dword [esp + 0x80], 5
mov ebx, 2
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push str.::HttpSendRequest_POST__returned_d._Posted_data_s
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x34], ebx
call fcn.004719c0
add esp, 0x14
test bl, 2
je 0x45eab1
lea ecx, [esp + 0x28]
and ebx, 0xfffffffd
call fcn.00405f50
mov dword [esp + 0x80], 2
test bl, 1
je 0x45eaca
lea ecx, [esp + 0x2c]
call fcn.00405f50
lea eax, [esp + 0x1c]
mov byte [esp + 0x80], 1
call fcn.00452320
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x45eb47
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45eaf2
mov edx, dword [ecx]
mov eax, dword [edx]
push 0xa
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x14]
push eax
push str.GetLastError_____d
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00471980
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042e9b0
mov eax, 0xa
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [esp + 0x18]
call fcn.00405f50
lea eax, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042e9b0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18