Function at 0x415390
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44623b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [0x4538d0]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], 0
test eax, eax
je 0x4157b9
cmp eax, 0xffffffff
je 0x4157b9
xor edx, edx
cmp dword [esi + 0x84], 2
push 0
setne dl
dec edx
and edx, 0x800000
or edx, 0x4400040
push edx
push 0x4523a0
push ecx
push str.HTTP_1.0
push ebx
push str.POST
push eax
call dword [0x447388]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4157a2
cmp eax, 0xffffffff
je 0x4157a2
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [0x44738c]
test eax, eax
jne 0x41546a
push 0x44e74c
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], str.additional_header_failed...
call fcn.0041e4f3
mov edx, dword [str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415475
mov ecx, dword [esi + 0xc]
push 0x10000000
sub eax, edi
push eax
push edx
push ecx
call dword [0x44738c]
test eax, eax
jne 0x4154aa
push 0x44e74c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.additional_header_failed...
call fcn.0041e4f3
mov eax, dword [esi + 0xbc]
xor ecx, ecx
cmp eax, ecx
jbe 0x41563f
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ecx
mov byte [esp + 0x30], cl
mov eax, dword [esi + 0x84]
sub eax, 1
mov dword [esp + 0x468], ecx
je 0x4154e8
sub eax, 1
jne 0x4154f6
push str.https:__
jmp 0x4154ed
push str.http:__
lea ecx, [esp + 0x30]
call fcn.00413e00
mov edi, 0x10
cmp dword [esi + 0x28], edi
jb 0x415505
mov eax, dword [esi + 0x14]
jmp 0x415508
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.00405c80
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x415526
cmp dword [esi + 0x80], 0x50
je 0x41556d
cmp eax, 2
jne 0x415537
cmp dword [esi + 0x80], 0x1bb
je 0x41556d
mov ecx, dword [esi + 0x80]
push ecx
xor eax, eax
lea edx, [esp + 0x4c]
push 0x4489cc
push edx
mov word [esp + 0x54], ax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
call fcn.004203dd
add esp, 0xc
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
call fcn.00405c80
push ebx
lea ecx, [esp + 0x30]
call fcn.00405c80
mov eax, dword [esi + 0xb8]
mov ecx, dword [eax]
mov edx, dword [esi + 0xa4]
mov ebx, dword [0x447390]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp 0x4155a0
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 0xb8]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], eax
call fcn.00412780
test al, al
je 0x41562b
lea ecx, [esp + 0x18]
call fcn.00413340
mov eax, dword [eax]
cmp dword [eax + 0x34], edi
jb 0x4155db
mov edx, dword [eax + 0x20]
jmp 0x4155de
lea edx, [eax + 0x20]
cmp dword [eax + 0x18], edi
jb 0x4155e8
mov eax, dword [eax + 4]
jmp 0x4155eb
add eax, 4
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x44], edi
jae 0x4155f9
lea ecx, [esp + 0x30]
push edx
push eax
push ecx
call ebx
test eax, eax
je 0x415614
push 0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
call fcn.00413370
jmp 0x4155a0
push 0x44e74c
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], str.add_cookie_failed...
call fcn.0041e4f3
lea ecx, [esp + 0x2c]
mov dword [esp + 0x468], 0xffffffff
call fcn.00403720
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00413a30
push 0x3fe
xor ebx, ebx
mov edi, eax
lea ecx, [esp + 0x5a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x60], ax
call fcn.0041dfb0
push edi
lea edx, [esp + 0x64]
push str.Content_Length:__d_r_n
push edx
call fcn.004203dd
lea eax, [esp + 0x6c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415685
mov ecx, dword [esi + 0xc]
push 0x10000000
sub eax, edx
push eax
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [0x44738c]
test eax, eax
jne 0x4156be
push 0x44e74c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.additional_header_failed...
call fcn.0041e4f3
push ebx
push 8
push ebx
mov dword [0x4552d8], 0x28
mov dword [0x4552dc], ebx
mov eax, dword [esi + 0xc]
push 0x4552d8
push eax
call dword [0x4473b8]
test eax, eax
jne 0x415708
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00412140
push 0x44e74c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.request_failed
call fcn.0041e4f3
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x20]
push eax
push edi
mov edi, dword [esp + 0x1c]
push edi
push ecx
mov dword [esp + 0x30], ebx
call dword [0x4473a4]
test eax, eax
jne 0x415744
push edi
mov ecx, esi
call fcn.00412140
push 0x44e74c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.request_failed
call fcn.0041e4f3
mov eax, dword [esi + 0xc]
push ebx
push 8
push ebx
push eax
call dword [0x44739c]
push edi
mov ecx, esi
test eax, eax
jne 0x415775
call fcn.00412140
push 0x44e74c
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], str.request_failed
call fcn.0041e4f3
call fcn.00412140
mov al, 1
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0041e18f
mov esp, ebp
pop ebp
ret 8
push 0x44e74c
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], str.request_failed...
call fcn.0041e4f3
push 0x44e74c
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], str.handle_not_opened...
call fcn.0041e4f3
int3