Function at 0x42fa90
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d63b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
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]
mov dword [ebp - 0x43c], 0
test eax, eax
je 0x42fe5b
cmp eax, 0xffffffff
je 0x42fe5b
xor edx, edx
cmp dword [esi + 0x84], 2
push 0
setne dl
dec edx
and edx, 0x800000
or edx, 0x4400040
push edx
push 0x5daac0
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
test eax, eax
je 0x42fe4c
cmp eax, 0xffffffff
je 0x42fe4c
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocStringLen
push 0xd
push str.Accept:___r_n
push eax
call ebx
test eax, eax
jne 0x42fb60
push 0x5c9e88
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 0x43c], str.additional_header_failed...
call fcn.00543f24
mov ecx, dword [esi + 0xc]
push 0x10000000
push 0x4e
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push ecx
call ebx
test eax, eax
jne 0x42fb91
mov dword [ebp - 0x43c], str.additional_header_failed...
push 0x5c9e88
lea edx, [ebp - 0x43c]
push edx
call fcn.00543f24
xor ebx, ebx
cmp dword [esi + 0x98], ebx
jbe 0x42fcc8
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], ebx
mov byte [ebp - 0x438], bl
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x84]
dec eax
je 0x42fbd2
dec eax
jne 0x42fbe3
lea eax, [ebp - 0x438]
push eax
mov edx, str.https:__
jmp 0x42fbde
lea ecx, [ebp - 0x438]
push ecx
mov edx, str.http:__
call fcn.0042e390
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x42fbee
mov eax, dword [eax]
lea edx, [ebp - 0x438]
push edx
call fcn.004151d0
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x42fc0e
cmp dword [esi + 0x80], 0x50
je 0x42fc52
cmp eax, 2
jne 0x42fc1f
cmp dword [esi + 0x80], 0x1bb
je 0x42fc52
mov ecx, dword [esi + 0x80]
push ecx
xor eax, eax
lea edx, [ebp - 0x1c]
push 0x5b1ff0
push edx
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
call fcn.0053d809
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x1c]
call fcn.004151d0
lea ecx, [ebp - 0x438]
push ecx
mov eax, edi
call fcn.004151d0
mov eax, dword [esi + 0x94]
mov ebx, dword [eax]
cmp ebx, eax
je 0x42fcb6
mov edi, dword [sym.imp.WININET.dll_InternetSetCookieA]
mov eax, dword [ebx + 8]
lea ecx, [eax + 0x1c]
mov edx, 0x10
cmp dword [ecx + 0x14], edx
jb 0x42fc84
mov ecx, dword [ecx]
cmp dword [eax + 0x14], edx
jb 0x42fc8b
mov eax, dword [eax]
cmp dword [ebp - 0x424], edx
mov edx, dword [ebp - 0x438]
jae 0x42fc9f
lea edx, [ebp - 0x438]
push ecx
push eax
push edx
call edi
test eax, eax
je 0x42fd84
mov ebx, dword [ebx]
cmp ebx, dword [esi + 0x94]
jne 0x42fc72
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0xffffffff
call fcn.00401ea0
push esi
lea ebx, [ebp - 0x43c]
call fcn.0042f9f0
push 0x3fe
xor edi, edi
mov ebx, eax
lea ecx, [ebp - 0x41a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x41c], ax
call fcn.00543bb0
push ebx
lea edx, [ebp - 0x41c]
push str.Content_Length:__d_r_n
push edx
call fcn.0053d809
lea eax, [ebp - 0x41c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fd11
mov ecx, dword [esi + 0xc]
push 0x10000000
sub eax, edx
push eax
lea eax, [ebp - 0x41c]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
je 0x42fb76
push edi
push 8
push edi
mov dword [0x5eb0ec], 0x28
mov dword [0x5eb0f0], edi
mov eax, dword [esi + 0xc]
push 0x5eb0ec
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x42fd9f
mov ecx, dword [ebp - 0x43c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x43c], str.request_failed
jmp 0x42fb80
push 0x5c9e88
lea edx, [ebp - 0x43c]
push edx
mov dword [ebp - 0x43c], str.add_cookie_failed...
call fcn.00543f24
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0x444]
push eax
mov dword [ebp - 0x444], edi
mov edi, dword [ebp - 0x43c]
push ebx
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x42fde0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x43c], str.request_failed
jmp 0x42fb80
mov eax, dword [esi + 0xc]
push 0
push 8
push 0
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push edi
push 0
test eax, eax
jne 0x42fe1f
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5c9e88
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], str.request_failed
push ecx
jmp 0x42fb8c
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
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
mov dword [ebp - 0x43c], str.request_failed...
jmp 0x42fb80
push 0x5c9e88
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], str.handle_not_opened...
push eax
jmp 0x42fb8c