Function at 0x438560
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x655139
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x494
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x43c]
call fcn.00407030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00407030
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.0062eae8
add esp, 4
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x424], 0
lea ecx, [ebp - 0x424]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x434]
push eax
call fcn.00439b10
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x444], 0xa4200000
mov dword [ebp - 0x464], 0xffffffff
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x48c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005157fe
test eax, eax
jne 0x43866e
push 4
push 0x68a2d8
call fcn.0043c480
add esp, 8
mov dword [ebp - 0x470], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.004071f0
mov eax, dword [ebp - 0x470]
jmp 0x438bb4
movzx eax, word [ebp - 0x42c]
cmp eax, 0x1bb
jne 0x43868e
mov ecx, dword [ebp - 0x444]
or ecx, 0x800000
mov dword [ebp - 0x444], ecx
push 0
push 0
push 0
push 0
push 0x68a214
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x438b4e
mov dword [ebp - 0x458], 1
push 4
lea edx, [ebp - 0x458]
push edx
push 0x41
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x4386f4
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetSetOption_1_failed
call fcn.0043c480
add esp, 8
push 0
mov ecx, dword [ebp - 0x444]
push ecx
push 3
push 0
push 0
movzx edx, word [ebp - 0x42c]
push edx
lea ecx, [ebp - 0x43c]
call fcn.0046af70
push eax
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
je 0x438b30
push 0
mov ecx, dword [ebp - 0x444]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x438]
call fcn.0046af70
push eax
push 0x68a064
mov edx, dword [ebp - 0x454]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x438b12
lea ecx, [ebp - 0x428]
call fcn.00407030
mov byte [ebp - 4], 2
push str.Accept_encoding:_gzip_n
lea ecx, [ebp - 0x428]
call fcn.00407590
cmp dword [ebp + 0xc], 0
je 0x4387cb
mov eax, dword [ebp + 0xc]
push eax
call fcn.0062eae8
add esp, 4
test eax, eax
jbe 0x4387cb
push 0x68a0bc
lea ecx, [ebp - 0x428]
call fcn.0040cd90
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x428]
call fcn.0040cd90
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x424]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x428]
call fcn.0046af70
push eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x438a7c
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x484]
call fcn.0050f2d7
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push 0x9021
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x4a4]
call fcn.005101bb
mov byte [ebp - 4], 5
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x41c], 0
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x4389af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x47c], eax
cmp dword [ebp - 0x47c], 0x2f8f
jne 0x4389af
mov dword [ebp - 0x458], 0
push 4
lea eax, [ebp - 0x458]
push eax
push 0x41
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x4388df
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetSetOption_2_failed
call fcn.0043c480
add esp, 8
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x424]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x438937
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x440], eax
jmp 0x4389af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0x2f19
jne 0x438960
push 0
push str.Send_Request_2_failed_code__ERROR_INTERNET_SEC_CERT_REV_FAILED
call fcn.0043c480
add esp, 8
jmp 0x4389af
lea ecx, [ebp - 0x448]
call fcn.00407030
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x460]
push eax
push str.Send_Request_2_failed_code___d
lea ecx, [ebp - 0x448]
push ecx
call fcn.00407ff0
add esp, 0xc
push 0
lea ecx, [ebp - 0x448]
call fcn.0046af70
push eax
call fcn.0043c480
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x448]
call fcn.004071f0
cmp dword [ebp - 0x41c], 0
jbe 0x4389fe
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x46c], edx
cmp dword [ebp - 0x46c], 0x401
jae 0x4389d2
jmp 0x4389d7
call fcn.006305c3
mov eax, dword [ebp - 0x46c]
mov byte [ebp + eax - 0x418], 0
mov ecx, dword [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x418]
push edx
lea ecx, [ebp - 0x4a4]
call fcn.0051082e
cmp dword [ebp - 0x440], 0
je 0x438a14
cmp dword [ebp - 0x41c], 0
ja 0x438846
lea ecx, [ebp - 0x4a4]
call fcn.00510357
mov dword [ebp - 0x464], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4a4]
call fcn.0051020e
jmp 0x438a5b
mov dword [ebp - 4], 3
jmp 0x438a6b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x484]
call fcn.0043aa80
jmp 0x438af4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0x2f19
jne 0x438aa5
push 0
push str.Send_Request_1_failed_code__ERROR_INTERNET_SEC_CERT_REV_FAILED
call fcn.0043c480
add esp, 8
jmp 0x438af4
lea ecx, [ebp - 0x44c]
call fcn.00407030
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x468]
push ecx
push str.Send_Request_1_failed_code___d
lea edx, [ebp - 0x44c]
push edx
call fcn.00407ff0
add esp, 0xc
push 0
lea ecx, [ebp - 0x44c]
call fcn.0046af70
push eax
call fcn.0043c480
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44c]
call fcn.004071f0
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.004071f0
jmp 0x438b21
push 4
push str.CHttpHandler::SendPOSTRequestToServer_HttpOpenRequest_failed
call fcn.0043c480
add esp, 8
mov ecx, dword [ebp - 0x454]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x438b3f
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetConnect_failed
call fcn.0043c480
add esp, 8
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x438b5d
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetOpen_failed
call fcn.0043c480
add esp, 8
cmp dword [ebp - 0x424], 0
je 0x438b81
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x478]
push ecx
call fcn.00504e94
add esp, 4
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x474], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.004071f0
mov eax, dword [ebp - 0x474]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 0x10