Function at 0x44831b
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, 0x4987c7
call fcn.004648f7
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.004024b4
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], esi
call fcn.004024b4
lea eax, [ebp + 0x144]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call fcn.0044ddac
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 5
call fcn.004020ed
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004021c5
lea eax, [ebp + 0x160]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044ddac
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 6
call fcn.004020ed
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.004021c5
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 0x448443
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.004021c5
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004021c5
push ebx
push edi
lea ecx, [ebp + 0x144]
call fcn.004020a2
push ebx
push edi
lea ecx, [ebp + 0x160]
call fcn.004020a2
push ebx
push edi
lea ecx, [ebp + 0x17c]
call fcn.004020a2
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.004648e8
add ebp, 0x13c
leave
ret 0x54
cmp dword [ebp + 0x34], 8
mov ecx, dword [ebp + 0x20]
jae 0x44844f
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 0x4483d4
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x448476
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 0x4483d4
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 0x448583
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.004021c5
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.004020a2
push ebx
push esi
lea ecx, [ebp + 0x160]
call fcn.004020a2
push ebx
push esi
jmp 0x448411
cmp dword [ebp + 0x194], 0x10
mov eax, dword [ebp + 0x180]
mov dword [ebp - 0x28], ebx
jae 0x44859b
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 0x448532
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
jne 0x448621
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.004021c5
push ebx
push esi
lea ecx, [ebp + 0x1c]
call fcn.004021c5
push ebx
push esi
lea ecx, [ebp + 0x144]
call fcn.004020a2
push ebx
push esi
lea ecx, [ebp + 0x160]
call fcn.004020a2
push ebx
push esi
lea ecx, [ebp + 0x17c]
call fcn.004020a2
mov al, byte [ebp - 0xd]
jmp 0x44841e
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 0x4485bf
cmp dword [ebp - 0x20], 0xc8
jne 0x4485bf
mov byte [ebp - 0xd], 1
jmp 0x4485c8