Function at 0x440dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x25c
mov ebx, dword [esp + 0x27c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x274]
mov dword [eax], 0
mov eax, dword [esp + 0x278]
test eax, eax
je 0x441240
mov eax, dword [esp + 0x270]
call fcn.0043ff84
mov dword [esp + 0x34], eax
test eax, eax
je 0x44124d
test ebx, ebx
je 0x441296
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str._s__boundary_s_r_n
mov dword [esp + 4], 0
lea ebx, [esp + 0x40]
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441065
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], 0
lea esi, [esp + 0x48]
mov ecx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x4c]
or eax, dword [esp + 0x48]
je 0x440e99
mov dword [esp + 8], 0x5ae85b
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.___s_r_n
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov dword [esp + 8], str.Content_Disposition:_form_data__name_
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov edx, dword [esp + 0x278]
mov ecx, dword [edx + 4]
mov dword [esp + 4], esi
mov eax, dword [edx + 8]
mov dword [esp], eax
xor edx, edx
mov eax, ebx
call fcn.0043ffb8
test eax, eax
jne 0x441021
mov dword [esp + 8], 0x5ae887
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov ecx, dword [esp + 0x278]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4412ad
mov eax, dword [esp + 0x30]
test eax, eax
je 0x440f41
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call dword [0x59b00c]
mov eax, dword [esp + 0x270]
call fcn.0043ff84
mov dword [esp + 0x30], eax
test eax, eax
je 0x441388
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov edx, dword [esp + 0x278]
mov eax, dword [edx + 0x24]
mov ebp, dword [esp + 0x278]
test eax, eax
je 0x441107
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_n___s_r_nContent_Disposition:_attachment
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0xc]
mov dword [esp], esi
mov ecx, ebx
call fcn.0044018c
test eax, eax
jne 0x441021
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x440fe9
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_nContent_Type:__s
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov edi, dword [ebp + 0x20]
test edi, edi
jne 0x441003
jmp 0x441088
mov edi, dword [edi + 4]
test edi, edi
je 0x441088
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_n_s
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
je 0x440ff8
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 0x2c], eax
call fcn.00440cf8
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov eax, dword [esp + 0x2c]
je 0x44104e
mov edx, dword [esp + 0x30]
mov dword [esp], edx
call dword [0x59b00c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 0x2c], eax
call dword [0x59b00c]
mov eax, dword [esp + 0x2c]
jmp 0x44107a
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 0x2c], eax
call dword [0x59b00c]
mov eax, dword [esp + 0x2c]
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x5ae8f7
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov edx, dword [esp + 0x278]
mov eax, dword [edx + 0x28]
test al, 3
jne 0x441134
test al, 0x10
jne 0x4411c4
test al, 0x40
mov eax, dword [esp + 0x278]
je 0x4411a4
mov ecx, dword [eax + 0x30]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov edx, 2
mov eax, ebx
call fcn.0043ffb8
mov ebp, dword [ebp + 0x24]
test ebp, ebp
je 0x4412b4
test eax, eax
jne 0x441021
mov ecx, dword [esp + 0x278]
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x440f92
mov edx, dword [esp + 0x278]
mov eax, dword [edx + 0x28]
test al, 0x51
je 0x440fc6
mov edx, dword [edx + 0x2c]
test edx, edx
je 0x4412a0
mov ecx, dword [esp + 0x278]
mov eax, dword [ecx + 0xc]
jmp 0x440fb8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov dword [esp], 0x5ae7a5
call sym.curl.exe_curl_strequal
test eax, eax
je 0x4411e9
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x200
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.msvcrt.dll_fread
test eax, eax
je 0x4410e2
mov dword [esp + 4], esi
mov dword [esp], eax
mov ecx, edi
mov edx, 1
mov eax, ebx
call fcn.0043ffb8
test eax, eax
je 0x44115b
jmp 0x4410e2
mov ecx, dword [eax + 0xc]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov edx, 1
mov eax, ebx
call fcn.0043ffb8
jmp 0x4410e2
mov eax, dword [esp + 0x278]
mov ecx, dword [eax + 0x14]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov edx, 1
mov eax, ebx
call fcn.0043ffb8
jmp 0x4410e2
mov dword [esp + 4], 0x5ae780
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
jne 0x44125d
mov eax, dword [esp + 0x270]
test eax, eax
je 0x441229
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.couldnt_open_file___s_
mov eax, dword [esp + 0x270]
mov dword [esp], eax
call fcn.0040c7a8
mov edx, dword [esp + 0x274]
mov dword [edx], 0
mov eax, 0x1a
jmp 0x441021
xor eax, eax
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x1b
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x38], edx
cmp eax, edx
je 0x441392
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], 0
mov edx, 3
mov eax, ebx
call fcn.0043ffb8
jmp 0x4410e2
mov ebx, str.Content_Type:_multipart_form_data
jmp 0x440e25
test al, 1
je 0x440fc6
jmp 0x441124
xor eax, eax
jmp 0x440f83
test eax, eax
jne 0x441021
mov eax, dword [esp + 0x278]
mov edi, dword [eax + 0x24]
test edi, edi
je 0x4412ee
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_n___s__
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov edx, dword [esp + 0x278]
mov edx, dword [edx]
mov dword [esp + 0x278], edx
test edx, edx
jne 0x440e73
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_n___s___r_n
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00440124
test eax, eax
jne 0x441021
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x280]
mov dword [edx], ecx
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x30]
test edx, edx
je 0x44135b
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x2c], eax
call dword [0x59b00c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 0x2c], eax
call dword [0x59b00c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x274]
mov dword [ecx], edx
mov eax, dword [esp + 0x2c]
add esp, 0x25c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x1b
jmp 0x441021
lea edi, [esp + 0x50]
jmp 0x44115b