Function at 0x40fe9b
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x42f080]
xor eax, esp
mov dword [esp + 0x448], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebx + 8]
push edi
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edi
cmp ecx, edi
je 0x410247
cmp ecx, 0xffffffff
je 0x410247
cmp dword [ebx + 0x84], 2
jne 0x40feee
mov eax, 0x800000
jmp 0x40fef0
xor eax, eax
push edi
or eax, 0x4400040
push eax
push 0x430fd4
push edx
push str.HTTP_1.0
push esi
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebx + 0xc], eax
cmp eax, edi
je 0x410231
cmp eax, 0xffffffff
je 0x410231
mov esi, dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push SysReAllocStringLen
push 0xd
push str.Accept:___r_n
push eax
call esi
test eax, eax
jne 0x40ff53
mov dword [esp + 0x10], str.additional_header_failed...
push 0x42cdc0
lea eax, [esp + 0x14]
push eax
call fcn.00417520
push 0x10000000
push 0x53
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_AAAA_r_n
push dword [ebx + 0xc]
call esi
test eax, eax
jne 0x40ff7b
mov dword [esp + 0x10], str.additional_header_failed...
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
cmp dword [ebx + 0xbc], edi
jbe 0x4100e8
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
call fcn.00403213
mov eax, dword [ebx + 0x84]
dec eax
je 0x40ffac
dec eax
jne 0x40ffba
push str.https:__
jmp 0x40ffb1
push str.http:__
lea ecx, [esp + 0x2c]
call fcn.004028ab
cmp dword [ebx + 0x28], 0x10
jb 0x40ffc5
mov eax, dword [ebx + 0x14]
jmp 0x40ffc8
lea eax, [ebx + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041062e
mov eax, dword [ebx + 0x84]
cmp eax, 1
jne 0x40ffe7
cmp dword [ebx + 0x80], 0x50
je 0x41002c
cmp eax, 2
jne 0x40fff8
cmp dword [ebx + 0x80], 0x1bb
je 0x41002c
push dword [ebx + 0x80]
xor eax, eax
mov word [esp + 0x48], ax
lea edi, [esp + 0x4a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push 0x42b82c
push eax
call fcn.00410791
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041062e
push dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
call fcn.0041062e
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xb8]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xa4]
lea edi, [esp + 0x20]
lea esi, [esp + 0x10]
mov dword [esp + 0x20], eax
call fcn.00410717
test al, al
je 0x4100d9
call fcn.004106b3
mov eax, dword [eax]
cmp dword [eax + 0x34], 0x10
jb 0x410087
mov edx, dword [eax + 0x20]
jmp 0x41008a
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], 0x10
jb 0x410095
mov eax, dword [eax + 4]
jmp 0x410098
add eax, 4
cmp dword [esp + 0x40], 0x10
mov ecx, dword [esp + 0x2c]
jae 0x4100a7
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetSetCookieA]
test eax, eax
je 0x4100c3
lea edi, [esp + 0x44]
lea esi, [esp + 0x10]
call fcn.004106de
jmp 0x410050
mov dword [esp + 0x10], str.add_cookie_failed...
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004028ce
xor edi, edi
lea eax, [esp + 0x18]
push eax
mov eax, ebx
call fcn.0040fd89
mov dword [esp + 0x10], eax
xor eax, eax
push 0x3fe
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push edi
push eax
call fcn.00414930
add esp, 0xc
push dword [esp + 0x10]
lea eax, [esp + 0x54]
push str.Content_Length:__d_r_n
push eax
call fcn.004107a9
lea eax, [esp + 0x5c]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41012f
push 0x10000000
sub eax, esi
push eax
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x410166
mov dword [esp + 0x10], str.additional_header_failed...
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
push edi
push 8
push edi
push 0x432210
mov dword [0x432210], 0x28
mov dword [0x432214], edi
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x4101ab
push dword [esp + 0x18]
call fcn.0040fe85
mov dword [esp + 0x10], str.request_failed
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x24], edi
push esi
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x4101e6
push esi
call fcn.0040fe85
mov dword [esp + 0x10], str.request_failed
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
push edi
push 8
push edi
push dword [ebx + 0xc]
call dword [sym.imp.WININET.dll_HttpEndRequestA]
push esi
test eax, eax
jne 0x410213
call fcn.0040fe85
mov dword [esp + 0x10], str.request_failed
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
call fcn.0040fe85
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.00411d8c
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x10], str.request_failed...
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d
mov dword [esp + 0x10], str.handle_not_opened...
push 0x42cdc0
lea eax, [esp + 0x14]
jmp 0x40ff4d