Function at 0x4236e0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556e7b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5adf10]
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 ebx, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x43c], 0
test eax, eax
je 0x423aad
cmp eax, 0xffffffff
je 0x423aad
xor edx, edx
cmp dword [edi + 0x84], 2
push 0
setne dl
dec edx
and edx, 0x800000
or edx, 0x4400040
push edx
push 0x5afe14
push ecx
push str.HTTP_1.0
push ebx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [edi + 0xc], eax
test eax, eax
je 0x423a9e
cmp eax, 0xffffffff
je 0x423a9e
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocString
push 0xd
push str.Accept:___r_n
push eax
call esi
test eax, eax
jne 0x4237b0
push 0x5a08ec
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 0x43c], str.additional_header_failed...
call fcn.00534862
mov ecx, dword [edi + 0xc]
push 0x10000000
push 0x4e
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push ecx
call esi
test eax, eax
jne 0x4237e1
mov dword [ebp - 0x43c], str.additional_header_failed...
push 0x5a08ec
lea edx, [ebp - 0x43c]
push edx
call fcn.00534862
xor ecx, ecx
cmp dword [edi + 0x98], ecx
jbe 0x42391e
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], ecx
mov byte [ebp - 0x438], cl
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0x84]
dec eax
je 0x423822
dec eax
jne 0x423833
lea eax, [ebp - 0x438]
push eax
mov eax, str.https:__
jmp 0x42382e
lea ecx, [ebp - 0x438]
push ecx
mov eax, str.http:__
call fcn.00421e70
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
jb 0x42383e
mov eax, dword [eax]
lea edx, [ebp - 0x438]
push edx
call fcn.00413d40
mov eax, dword [edi + 0x84]
cmp eax, 1
jne 0x42385e
cmp dword [edi + 0x80], 0x50
je 0x4238a2
cmp eax, 2
jne 0x42386f
cmp dword [edi + 0x80], 0x1bb
je 0x4238a2
mov ecx, dword [edi + 0x80]
push ecx
xor eax, eax
lea edx, [ebp - 0x1c]
push 0x5890b8
push edx
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
call fcn.0052e561
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x1c]
call fcn.00413d40
lea ecx, [ebp - 0x438]
push ecx
mov eax, ebx
call fcn.00413d40
mov eax, dword [edi + 0x94]
mov esi, dword [eax]
cmp esi, eax
je 0x423906
mov ebx, dword [sym.imp.WININET.dll_InternetSetCookieA]
mov eax, dword [esi + 8]
lea ecx, [eax + 0x1c]
mov edx, 0x10
cmp dword [ecx + 0x14], edx
jb 0x4238d4
mov ecx, dword [ecx]
cmp dword [eax + 0x14], edx
jb 0x4238db
mov eax, dword [eax]
cmp dword [ebp - 0x424], edx
mov edx, dword [ebp - 0x438]
jae 0x4238ef
lea edx, [ebp - 0x438]
push ecx
push eax
push edx
call ebx
test eax, eax
je 0x4239d6
mov esi, dword [esi]
cmp esi, dword [edi + 0x94]
jne 0x4238c2
lea esi, [ebp - 0x438]
mov dword [ebp - 4], 0xffffffff
call fcn.00414240
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push edi
lea ebx, [ebp - 0x43c]
call fcn.00423640
mov ebx, eax
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.005344b0
push ebx
lea edx, [ebp - 0x41c]
push str.Content_Length:__d_r_n
push edx
call fcn.0052e561
lea eax, [ebp - 0x41c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423965
mov ecx, dword [edi + 0xc]
push 0x10000000
sub eax, edx
push eax
lea eax, [ebp - 0x41c]
push eax
push ecx
call esi
test eax, eax
je 0x4237c6
xor esi, esi
push esi
push 8
push esi
mov dword [0x5bec0c], 0x28
mov dword [0x5bec10], esi
mov eax, dword [edi + 0xc]
push 0x5bec0c
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x4239f1
mov ecx, dword [ebp - 0x43c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x43c], str.request_failed
jmp 0x4237d0
push 0x5a08ec
lea edx, [ebp - 0x43c]
push edx
mov dword [ebp - 0x43c], str.add_cookie_failed...
call fcn.00534862
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x444]
push eax
mov dword [ebp - 0x444], esi
mov esi, dword [ebp - 0x43c]
push ebx
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x423a32
push esi
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 0x4237d0
mov eax, dword [edi + 0xc]
push 0
push 8
push 0
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push esi
push 0
test eax, eax
jne 0x423a71
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5a08ec
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x440], str.request_failed
push ecx
jmp 0x4237dc
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.0052d75c
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x43c], str.request_failed...
jmp 0x4237d0
push 0x5a08ec
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x43c], str.handle_not_opened...
push eax
jmp 0x4237dc