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

Disassembly:
sub esp, 0x14c
mov eax, dword [0x5643c8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
mov dword [esp + 0xc], ebx
je 0x4446b7
push ebx
push 1
push 1
push ebx
mov dword [0x5643c8], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
mov dword [0x5706c8], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x5706c8]
cmp eax, ebx
je 0x4446d5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x5706c8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebp
push edi
mov edi, dword [esp + 0x160]
cmp edi, ebx
je 0x4446f2
push edi
push 0x564528
call fcn.00432200
add esp, 8
jmp 0x4446ff
push 0x564518
call fcn.00432200
add esp, 4
cmp edi, ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
je 0x444a16
cmp dword [0x5643c4], ebx
je 0x444a16
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
push ecx
push edi
mov ecx, esi
xor ebp, ebp
call fcn.00444620
test eax, eax
je 0x444a09
cmp dword [esp + 0x2c], 3
jne 0x444a09
push 0x56450c
call fcn.00432200
mov edi, dword [esp + 0x168]
add esp, 4
cmp edi, ebx
mov dword [esp + 0x10], 0xffffffff
je 0x444788
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x444a16
push edi
push str.eaX
call fcn.00432200
mov cl, byte [esi + 0x14]
lea eax, [esi + 0x14]
add esp, 8
test cl, cl
jne 0x4447a5
mov eax, 0x5644cc
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x4449d7
cmp dword [esi + 0x118], ebx
jne 0x4449d7
push 0x5644bc
call fcn.00432200
add esp, 4
mov ecx, esi
push edi
call fcn.00444570
push 2
mov ecx, esi
call fcn.00444b70
mov ebx, dword [esp + 0x34]
cmp ebx, 0x7fffffff
ja 0x444829
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x5c]
mov edx, 0x100
lea eax, [esp + 0x5c]
sub edi, ecx
lea ecx, [ebx + edx - 0x100]
test ecx, ecx
je 0x444821
mov cl, byte [edi + eax]
test cl, cl
je 0x444821
mov byte [eax], cl
inc eax
dec edx
jne 0x444807
jmp 0x444825
test edx, edx
jne 0x444826
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 3
push 0
push 0
lea eax, [esp + 0x70]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x4449c3
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x4449c3
push 0x5644ac
call fcn.00432200
mov edx, dword [esp + 0x50]
add esp, 4
push 0
push 0x84000100
push 0x5643cc
push 0
push 0x5644a0
push edx
push 0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
je 0x4449b5
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x4449b5
push 0x564490
call fcn.00432200
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestA]
add esp, 4
push 0
push 0
push 0
push 0
push ebp
call ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x56447c
call fcn.00432200
add esp, 0xc
lea eax, [esi + 0x11c]
mov ecx, esi
push eax
push 0x13
push ebp
call fcn.004445e0
mov eax, dword [esi + 0x11c]
cmp eax, 0x191
je 0x444904
cmp eax, 0x197
jne 0x444939
push 0x564470
call fcn.00432200
add esp, 4
mov ecx, esi
push ebp
push 0
call fcn.00444d00
push 0
push 0
push 0
push 0
push ebp
call ebx
mov edi, eax
lea eax, [esi + 0x11c]
push eax
push 0x13
push ebp
mov ecx, esi
call fcn.004445e0
mov eax, dword [esi + 0x11c]
push eax
push 0x564458
call fcn.00432200
mov ecx, dword [esi + 0x118]
mov edx, dword [esi + 0x11c]
add esp, 8
push ecx
push edx
push edi
push 0x56443c
call fcn.00432200
add esp, 0x10
test edi, edi
je 0x4449d7
cmp dword [esi + 0x11c], 0xc8
jne 0x4449d7
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x4449d7
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push ebp
call fcn.00444a70
test eax, eax
mov dword [esp + 0x14], eax
je 0x4449a7
push 0x56442c
call fcn.00432200
add esp, 4
jmp 0x4449d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x56441c
jmp 0x4449cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x56440c
jmp 0x4449cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5643fc
call fcn.00432200
add esp, 8
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor ebx, ebx
cmp ebp, ebx
je 0x4449f1
push ebp
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4449fc
push eax
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x444a16
push eax
call esi
jmp 0x444a16
push 0x5643f0
call fcn.00432200
add esp, 4
mov edx, dword [esp + 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5643d8
call fcn.00432200
mov eax, dword [0x5706c8]
add esp, 0xc
cmp eax, ebx
pop edi
pop ebp
je 0x444a56
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x5706c8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5706c8], ebx
mov eax, dword [esp + 0xc]
pop esi
pop ebx
add esp, 0x14c
ret 8