Function at 0x421ac9
Capabilities:
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x3bc]
sub esp, 0x43c
mov eax, dword [0x46a470]
xor eax, ebp
mov dword [ebp + 0x3b8], eax
and dword [ebp - 0x7c], 0
mov edx, dword [ebp + 0x3c8]
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
push edi
mov edi, dword [ebp + 0x3c4]
mov dword [ebp - 0x74], edi
test ecx, ecx
je 0x421de6
cmp ecx, 0xffffffff
je 0x421de6
cmp dword [esi + 0x84], 2
jne 0x421afa
mov eax, 0x800000
jmp 0x421afc
xor eax, eax
push 0
or eax, 0x4400040
push eax
push 0x46a2b4
push edx
push str.HTTP_1.0
push edi
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0xc], eax
test eax, eax
je 0x421dda
cmp eax, 0xffffffff
je 0x421dda
push ebx
push SysReAllocStringLen
mov edi, str.Accept:___r_n
push edi
call fcn.00428940
mov ebx, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
pop ecx
push eax
push edi
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x421b68
mov dword [ebp - 0x7c], str.additional_header_failed...
push 0x4664c0
lea eax, [ebp - 0x7c]
push eax
call fcn.0042917e
push 0x10000000
push dword [0x46a2b0]
call fcn.00428940
pop ecx
push eax
push dword [0x46a2b0]
push dword [esi + 0xc]
call ebx
test eax, eax
je 0x421b53
cmp dword [esi + 0xbc], 0
jbe 0x421cdb
push 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x58], 0xf
call fcn.0040167c
mov eax, dword [esi + 0x84]
dec eax
je 0x421bba
dec eax
jne 0x421bc7
push str.https:__
jmp 0x421bbf
push str.http:__
lea ecx, [ebp - 0x70]
call fcn.004021ad
cmp dword [esi + 0x28], 0x10
jb 0x421bd2
mov eax, dword [esi + 0x14]
jmp 0x421bd5
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x70]
call fcn.00420a2f
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x421bf2
cmp dword [esi + 0x80], 0x50
je 0x421c3d
cmp eax, 2
jne 0x421c03
cmp dword [esi + 0x80], 0x1bb
je 0x421c3d
push dword [esi + 0x80]
xor eax, eax
mov word [ebp + 0x3ac], ax
lea edi, [ebp + 0x3ae]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x3ac]
push 0x45ece4
push eax
call fcn.0041faa8
add esp, 0xc
lea eax, [ebp + 0x3ac]
push eax
lea ecx, [ebp - 0x70]
call fcn.00420a2f
push dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
call fcn.00420a2f
lea edi, [esi + 0xa4]
mov eax, dword [edi + 0x14]
push edi
push dword [eax]
lea ecx, [ebp - 0x78]
call fcn.00420575
push edi
push dword [edi + 0x14]
jmp 0x421cb1
lea ecx, [ebp - 0x78]
call fcn.0041fb1c
mov eax, dword [eax]
cmp dword [eax + 0x34], 0x10
jb 0x421c77
mov edx, dword [eax + 0x20]
jmp 0x421c7a
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x421c85
mov eax, dword [eax + 4]
jmp 0x421c88
add eax, 4
cmp dword [ebp - 0x58], 0x10
mov ecx, dword [ebp - 0x6c]
jae 0x421c94
lea ecx, [ebp - 0x6c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x421d3a
lea ecx, [ebp - 0x78]
call fcn.0041f9f1
push edi
push dword [edi + 0x14]
lea ecx, [ebp + 0x3ac]
call fcn.00420575
lea eax, [ebp + 0x3ac]
push eax
lea ecx, [ebp - 0x78]
call fcn.0041f993
test al, al
je 0x421c62
push 0
push 1
lea ecx, [ebp - 0x70]
call fcn.004017e8
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY_AAAA
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.00420936
mov edi, eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x52]
push eax
call fcn.00429d40
push edi
lea eax, [ebp - 0x54]
push str.Content_Length:__d_r_n
push eax
call fcn.0041fac0
add esp, 0x18
lea eax, [ebp - 0x54]
push 0x10000000
push eax
call fcn.00428940
pop ecx
push eax
lea eax, [ebp - 0x54]
push eax
push dword [esi + 0xc]
call ebx
test eax, eax
jne 0x421d4e
mov dword [ebp - 0x74], str.additional_header_failed...
jmp 0x421d41
mov dword [ebp - 0x74], str.add_cookie_failed...
push 0x4664c0
lea eax, [ebp - 0x74]
jmp 0x421b62
xor ebx, ebx
push ebx
push 8
push ebx
push 0x46d510
mov dword [0x46d510], 0x28
mov dword [0x46d514], ebx
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x421d89
push dword [ebp - 0x7c]
mov ecx, esi
call fcn.0041f662
mov dword [ebp - 0x74], str.request_failed
jmp 0x421d41
lea eax, [ebp - 0x80]
push eax
push edi
mov edi, dword [ebp - 0x7c]
push edi
push dword [esi + 0xc]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x421da5
push edi
jmp 0x421d79
push ebx
push 8
push ebx
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
pop ebx
push edi
mov ecx, esi
test eax, eax
je 0x421d7b
call fcn.0041f662
mov ecx, dword [ebp + 0x3b8]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00429649
add ebp, 0x3bc
leave
ret 8
mov dword [ebp - 0x74], str.request_failed...
jmp 0x421d41
mov dword [ebp - 0x74], str.handle_not_opened...
jmp 0x421d41