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

Disassembly:
push ebp
sub esp, 0x138
lea ebp, [esp - 4]
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x138], eax
push 0x60
mov eax, 0x498a0d
call fcn.00464aaa
xor ebx, ebx
mov dword [ebp - 4], ebx
push 7
pop esi
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], esi
call fcn.004024d0
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], esi
call fcn.004024d0
lea eax, [ebp + 0x144]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call fcn.0044de55
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 5
call fcn.00402109
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004021e1
lea eax, [ebp + 0x160]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044de55
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.00402109
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.004021e1
push ebx
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x44855b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push edi
lea ecx, [ebp]
call fcn.004021e1
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004021e1
push ebx
push edi
lea ecx, [ebp + 0x144]
call fcn.004020be
push ebx
push edi
lea ecx, [ebp + 0x160]
call fcn.004020be
push ebx
push edi
lea ecx, [ebp + 0x17c]
call fcn.004020be
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x138]
xor ecx, ebp
call fcn.00464a9b
add ebp, 0x13c
leave
ret 0x54
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
jae 0x448567
lea ecx, [ebp + 0x20]
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 [ebp - 0x14], eax
je 0x4484ec
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x44858e
lea eax, [ebp + 4]
push ebx
push 0x4080000
push ebx
push ebx
push ebx
push eax
push str.POST
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4484ec
mov ecx, esi
push 0x19
mov esi, str.Accept:___r_n
lea edi, [ebp + 0x11c]
rep movsd dword es:[edi], dword [esi]
pop ecx
push dword [ebp + 0x190]
lea eax, [ebp + 0x38]
push str.Content_Length:__d_r_n
mov esi, str.Content_Type:_application_x_www_form_urlencoded_r_n
lea edi, [ebp + 0xb8]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
add esp, 0xc
mov esi, 0xa0000000
push esi
push 0xffffffffffffffff
lea eax, [ebp + 0x11c]
push eax
push dword [ebp - 0x1c]
call edi
push esi
push 0xffffffffffffffff
lea eax, [ebp + 0xb8]
push eax
push dword [ebp - 0x1c]
call edi
push esi
mov esi, dword [ebp - 0x1c]
push 0xffffffffffffffff
lea eax, [ebp + 0x38]
push eax
push esi
call edi
push 9
pop ecx
xor eax, eax
push ebx
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x190]
push ebx
mov dword [ebp - 0x50], eax
push ebx
lea eax, [ebp - 0x6c]
push eax
push esi
mov dword [ebp - 0x6c], 0x28
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x44869b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x14]
call edi
push esi
call edi
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.004020be
push ebx
push esi
lea ecx, [ebp + 0x160]
call fcn.004020be
push ebx
push esi
jmp 0x448529
cmp dword [ebp + 0x194], 0x10
mov eax, dword [ebp + 0x180]
mov dword [ebp - 0x28], ebx
jae 0x4486b3
lea eax, [ebp + 0x180]
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp + 0x190]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x44864a
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x448739
mov byte [ebp - 0xd], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x14]
call edi
push esi
call edi
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.004021e1
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.004020be
push ebx
push esi
lea ecx, [ebp + 0x160]
call fcn.004020be
push ebx
push esi
lea ecx, [ebp + 0x17c]
call fcn.004020be
mov al, byte [ebp - 0xd]
jmp 0x448536
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4486d7
cmp dword [ebp - 0x20], 0xc8
jne 0x4486d7
mov byte [ebp - 0xd], 1
jmp 0x4486e0