Function at 0x42f680
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d678
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x42f921
cmp eax, 0xffffffff
je 0x42f921
xor edx, edx
cmp dword [esi + 0x84], 2
push ebx
setne dl
dec edx
and edx, 0x800000
or edx, 0x4400040
push edx
push 0x5daabc
push ecx
push str.HTTP_1.0
push edi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x42f90c
cmp eax, 0xffffffff
je 0x42f90c
push SysReAllocStringLen
push 0xd
push str.Accept:___r_n
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x42f73c
push 0x5c9e88
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], str.additional_header_failed...
call fcn.00543f24
cmp dword [esi + 0x98], ebx
jbe 0x42f86f
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x84]
dec eax
je 0x42f76f
dec eax
jne 0x42f77d
lea ecx, [ebp - 0x38]
push ecx
mov edx, str.https:__
jmp 0x42f778
lea edx, [ebp - 0x38]
push edx
mov edx, str.http:__
call fcn.0042e390
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x42f788
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
call fcn.004151d0
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x42f7a5
cmp dword [esi + 0x80], 0x50
je 0x42f7e8
cmp eax, 2
jne 0x42f7b6
cmp dword [esi + 0x80], 0x1bb
je 0x42f7e8
xor eax, eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov eax, dword [esi + 0x80]
push eax
lea ecx, [ebp - 0x1c]
xor edx, edx
push 0x5b1ff0
push ecx
mov word [ebp - 0x1c], dx
call fcn.0053d809
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x1c]
call fcn.004151d0
lea eax, [ebp - 0x38]
push eax
mov eax, edi
call fcn.004151d0
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
cmp edi, eax
je 0x42f852
nop
mov eax, dword [edi + 8]
lea ecx, [eax + 0x1c]
mov ebx, 0x10
cmp dword [ecx + 0x14], ebx
jb 0x42f812
mov ecx, dword [ecx]
cmp dword [eax + 0x14], ebx
jb 0x42f819
mov eax, dword [eax]
mov edx, dword [ebp - 0x38]
cmp dword [ebp - 0x24], ebx
jae 0x42f824
lea edx, [ebp - 0x38]
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x42f83d
mov edi, dword [edi]
cmp edi, dword [esi + 0x94]
jne 0x42f800
jmp 0x42f857
push 0x5c9e88
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], str.add_cookie_failed...
call fcn.00543f24
mov ebx, 0x10
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], ebx
jb 0x42f86f
mov edx, dword [ebp - 0x38]
push edx
call fcn.0043cd76
add esp, 4
mov eax, esi
call fcn.0042f530
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
inc eax
push eax
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, esi
call fcn.0042f530
inc eax
push eax
push edi
push esi
call fcn.0042f580
push eax
mov eax, dword [esi + 0xc]
push edi
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42f8e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f88
je 0x42f8e0
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5c9e88
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], str.request_failed...
call fcn.00543f24
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret 8
push 0x5c9e88
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x3c], str.request_failed...
call fcn.00543f24
push 0x5c9e88
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], str.handle_not_opened...
call fcn.00543f24
int3