Function at 0x419a90
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 0x4530c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x46a4e0]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x414], 0
xor eax, eax
mov ecx, 0xff
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
push esi
push esi
push esi
stosw word es:[edi], ax
push 1
push 0x4563cc
mov byte [ebp - 0x415], 1
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], esi
stosb byte es:[edi], al
mov dword [ebp - 4], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x434], ebx
jne 0x419b2a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x463654
lea eax, [ebp - 0x438]
push eax
mov dword [ebp - 0x438], str.InternetOpen_error
call fcn.00426f50
mov ecx, dword [ebp + 8]
push 1
push esi
push 3
push esi
push esi
push 0x50
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x41c], edi
jne 0x419b6b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x463654
lea edx, [ebp - 0x43c]
push edx
mov dword [ebp - 0x43c], str.InternetConnect_error
call fcn.00426f50
mov eax, dword [ebp + 0xc]
push 1
push esi
push esi
push esi
push esi
push eax
push str.POST
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
mov dword [ebp - 0x420], esi
jne 0x419bae
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x463654
lea ecx, [ebp - 0x424]
push ecx
mov dword [ebp - 0x424], str.HttpOpenRequest_error
call fcn.00426f50
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push edx
push eax
lea ecx, [ebp - 0x414]
push str.Content_Type:_multipart_form_data__boundary_s_r_nContent_Length:__i
push ecx
call fcn.0042725b
lea eax, [ebp - 0x414]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419bd3
push 0x20000000
sub eax, edx
push eax
lea edx, [ebp - 0x414]
push edx
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x419c15
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x463654
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x430], str.HttpAddRequestHeaders_error
call fcn.00426f50
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x419c4d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x463654
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 0x428], str.HttpSendRequest_error
call fcn.00426f50
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x1c]
push eax
push ecx
push edx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x419cb0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0x463654
lea eax, [ebp - 0x42c]
push eax
mov dword [ebp - 0x42c], str.InternetReadFile_error
call fcn.00426f50
mov byte [ebp - 0x415], 0
mov eax, 0x419c9e
ret
test edi, edi
je 0x419cbf
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
jmp 0x419cc5
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebx, ebx
je 0x419ccc
push ebx
call edi
test esi, esi
je 0x419cd3
push esi
call edi
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x415]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00426bce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret