Function at 0x435f60
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 0x632643
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x484
mov eax, dword [0x721970]
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.00406700
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00406700
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.00610037
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.00437420
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x444], 0xa4200000
mov dword [ebp - 0x45c], 0xffffffff
lea ecx, [ebp - 0x42c]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x47c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f7337
test eax, eax
jne 0x43606e
push 4
push 0x664150
call fcn.00439fb0
add esp, 8
mov dword [ebp - 0x468], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.004068c0
mov eax, dword [ebp - 0x468]
jmp 0x4364d1
movzx eax, word [ebp - 0x42c]
cmp eax, 0x1bb
jne 0x43608e
mov ecx, dword [ebp - 0x444]
or ecx, 0x800000
mov dword [ebp - 0x444], ecx
push 0
push 0
push 0
push 0
push 0x664024
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x43646b
mov dword [ebp - 0x454], 1
push 4
lea edx, [ebp - 0x454]
push edx
push 0x41
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x4360f4
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetSetOption_1_failed
call fcn.00439fb0
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.004a7500
push eax
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x43644d
push 0
mov ecx, dword [ebp - 0x444]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x438]
call fcn.004a7500
push eax
push 0x66402c
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
je 0x43642f
lea ecx, [ebp - 0x428]
call fcn.00406700
mov byte [ebp - 4], 2
push str.Accept_encoding:_gzip_n
lea ecx, [ebp - 0x428]
call fcn.00406ba0
cmp dword [ebp + 0xc], 0
je 0x4361cb
mov eax, dword [ebp + 0xc]
push eax
call fcn.00610037
add esp, 4
test eax, eax
jbe 0x4361cb
push 0x6640b4
lea ecx, [ebp - 0x428]
call fcn.0040c280
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x428]
call fcn.0040c280
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x424]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x428]
call fcn.004a7500
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 0x436402
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x474]
call fcn.004f0dff
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push 0x9021
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x494]
call fcn.004f1cee
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 0x436335
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0x2f8f
jne 0x436335
mov dword [ebp - 0x454], 0
push 4
lea eax, [ebp - 0x454]
push eax
push 0x41
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x4362df
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetSetOption_2_failed
call fcn.00439fb0
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 0x436335
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 - 0x41c], 0
jbe 0x436384
mov eax, dword [ebp - 0x41c]
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0x401
jae 0x436358
jmp 0x43635d
call fcn.00612151
mov ecx, dword [ebp - 0x458]
mov byte [ebp + ecx - 0x418], 0
mov edx, dword [ebp - 0x41c]
push edx
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x494]
call fcn.004f234b
cmp dword [ebp - 0x440], 0
je 0x43639a
cmp dword [ebp - 0x41c], 0
ja 0x436246
lea ecx, [ebp - 0x494]
call fcn.004f1e8a
mov dword [ebp - 0x45c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x494]
call fcn.004f1d41
jmp 0x4363e1
mov dword [ebp - 4], 3
jmp 0x4363f1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x474]
call fcn.004383a0
jmp 0x436411
push 4
push str.CHttpHandler::SendPOSTRequestToServer_HttpSendRequest_failed
call fcn.00439fb0
add esp, 8
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.004068c0
jmp 0x43643e
push 4
push str.CHttpHandler::SendPOSTRequestToServer_HttpOpenRequest_failed
call fcn.00439fb0
add esp, 8
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x43645c
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetConnect_failed
call fcn.00439fb0
add esp, 8
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x43647a
push 4
push str.CHttpHandler::SendPOSTRequestToServer_InternetOpen_failed
call fcn.00439fb0
add esp, 8
cmp dword [ebp - 0x424], 0
je 0x43649e
mov edx, dword [ebp - 0x424]
mov dword [ebp - 0x460], edx
mov eax, dword [ebp - 0x460]
push eax
call fcn.004e69f4
add esp, 4
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x464], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.004068c0
mov eax, dword [ebp - 0x464]
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.0060f7c8
mov esp, ebp
pop ebp
ret 0x10