Function at 0x464780
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4c1ef4
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x4e880c]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e880c]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x1b0], ebx
mov edi, 7
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
lea eax, [esp + 0x1b8]
push eax
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x1b8], 4
call fcn.0046d120
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x1bc], 5
call fcn.0040216a
mov esi, 8
cmp dword [esp + 0x68], esi
mov byte [esp + 0x1b0], 4
jb 0x464847
mov edx, dword [esp + 0x54]
push edx
call fcn.0048c049
add esp, 4
lea eax, [esp + 0x1d4]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0046d120
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x1bc], 6
call fcn.0040216a
cmp dword [esp + 0x68], esi
jb 0x464884
mov edx, dword [esp + 0x54]
push edx
call fcn.0048c049
add esp, 4
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x464989
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x84], esi
jb 0x4648bf
mov eax, dword [esp + 0x70]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x4648eb
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0048c049
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x1d0], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x46491f
mov edx, dword [esp + 0x1bc]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x1ec], esi
mov edi, 0xf
mov dword [esp + 0x1d0], edi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
jb 0x464952
mov eax, dword [esp + 0x1d8]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x208], esi
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
jb 0x464dec
mov ecx, dword [esp + 0x1f4]
push ecx
call fcn.0048c049
add esp, 4
jmp 0x464dec
cmp dword [esp + 0xa0], esi
mov ecx, dword [esp + 0x8c]
jae 0x4649a0
lea ecx, [esp + 0x8c]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x464aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x84], esi
jb 0x4649df
mov edx, dword [esp + 0x70]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x464a0b
mov eax, dword [esp + 0x8c]
push eax
call fcn.0048c049
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x1d0], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x464a3f
mov ecx, dword [esp + 0x1bc]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x1ec], esi
mov edi, 0xf
mov dword [esp + 0x1d0], edi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
jb 0x464a72
mov edx, dword [esp + 0x1d8]
push edx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x208], esi
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
jb 0x464dec
mov eax, dword [esp + 0x1f4]
push eax
call fcn.0048c049
add esp, 4
jmp 0x464dec
cmp dword [esp + 0x84], esi
mov ecx, dword [esp + 0x70]
jae 0x464aba
lea ecx, [esp + 0x70]
push ebx
push 0x4080000
push ebx
push ebx
push ebx
push ecx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
cmp ebp, ebx
jne 0x464bc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x84], esi
jb 0x464afd
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0xa0], esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
jb 0x464b29
mov edx, dword [esp + 0x8c]
push edx
call fcn.0048c049
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x1d0], esi
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
jb 0x464b5d
mov eax, dword [esp + 0x1bc]
push eax
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x1ec], esi
mov edi, 0xf
mov dword [esp + 0x1d0], edi
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
jb 0x464b90
mov ecx, dword [esp + 0x1d8]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [esp + 0x208], esi
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
jb 0x464dec
mov edx, dword [esp + 0x1f4]
push edx
call fcn.0048c049
add esp, 4
jmp 0x464dec
mov eax, dword [esp + 0x204]
mov ecx, edi
mov esi, str.Accept:___r_n
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, 0x19
mov esi, str.Content_Type:_application_x_www_form_urlencoded_r_n
lea edi, [esp + 0xc4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x128]
push str.Content_Length:__d_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
add esp, 0xc
push 0xa0000000
push 0xffffffffffffffff
lea edx, [esp + 0xac]
push edx
push ebp
call esi
push 0xa0000000
push 0xffffffffffffffff
lea eax, [esp + 0xc8]
push eax
push ebp
call esi
push 0xa0000000
push 0xffffffffffffffff
lea ecx, [esp + 0x12c]
push ecx
push ebp
call esi
mov edx, dword [esp + 0x204]
xor eax, eax
push ebx
push ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
push ebx
lea eax, [esp + 0x34]
push eax
push ebp
mov dword [esp + 0x3c], 0x28
mov dword [esp + 0x58], edx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x464d96
cmp dword [esp + 0x208], 0x10
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x20], ebx
jae 0x464cb0
lea eax, [esp + 0x1f4]
mov edx, dword [esp + 0x204]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x464ce6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x464dae
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x464d11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
jmp 0x464dae
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push 0x20000013
push ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x464d96
cmp dword [esp + 0x1c], 0xc8
jne 0x464cf4
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
push ebp
call esi
lea ecx, [esp + 0x6c]
call fcn.00402039
lea ecx, [esp + 0x88]
call fcn.00402039
lea ecx, [esp + 0x1b8]
call fcn.00401f9e
lea ecx, [esp + 0x1d4]
call fcn.00401f9e
lea ecx, [esp + 0x1f0]
call fcn.00401f9e
mov al, 1
jmp 0x464dee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
push ebp
call esi
lea ecx, [esp + 0x6c]
call fcn.00402039
lea ecx, [esp + 0x88]
call fcn.00402039
lea ecx, [esp + 0x1b8]
call fcn.00401f9e
lea ecx, [esp + 0x1d4]
call fcn.00401f9e
lea ecx, [esp + 0x1f0]
call fcn.00401f9e
xor al, al
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0048c010
add esp, 0x1a0
ret 0x54