Function at 0x415f3d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x581d10]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov eax, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push edi
mov edi, edx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x210], esi
movlpd qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x228], esi
mov dword [eax], esi
test edi, edi
jne 0x415f8c
xor eax, eax
jmp 0x416431
call fcn.00416541
mov ebx, eax
test ebx, ebx
jne 0x415f9f
push 0x1b
pop eax
jmp 0x416431
push ebx
push str.Content_Type:_multipart_form_data__boundary_s_r_n
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x416427
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x218]
je 0x415ffe
push 0x557030
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41641c
push ebx
push str.___s_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41641c
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41641c
lea eax, [ebp - 0x21c]
xor edx, edx
push eax
push dword [edi + 8]
lea ecx, [ebp - 0x210]
push dword [edi + 4]
call fcn.00415d78
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41641c
push 0x559a90
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41641c
cmp dword [edi + 0x24], eax
je 0x4160cb
call fcn.00416541
push eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x21c]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41641c
mov ecx, edi
mov dword [ebp - 0x220], edi
cmp dword [edi + 0x24], 0
je 0x416123
cmp dword [ecx + 0x2c], 0
jne 0x4160ef
mov ecx, dword [ecx + 0xc]
call fcn.00415edc
mov ecx, dword [ebp - 0x220]
jmp 0x4160f1
xor eax, eax
cmp dword [ecx + 0x2c], 0
mov dword [ebp - 0x214], eax
cmovne eax, dword [ecx + 0x2c]
push eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
add esp, 0x14
jmp 0x416165
test byte [edi + 0x28], 0x11
je 0x416187
cmp dword [edi + 0x2c], 0
jne 0x416139
mov ecx, dword [edi + 0xc]
call fcn.00415edc
jmp 0x41613b
xor eax, eax
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x214], eax
cmovne eax, dword [edi + 0x2c]
push eax
push str.__filename__s_
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
add esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x416179
push eax
call dword [0x5a8838]
pop ecx
test esi, esi
jne 0x41641c
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4161ba
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41641c
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx + 0x20]
jmp 0x4161ef
push dword [eax]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41641c
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 4]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x4161bf
test esi, esi
jne 0x41641c
push str._r_n_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41641c
test byte [edi + 0x28], 3
jne 0x416251
lea eax, [ebp - 0x21c]
xor edx, edx
test byte [edi + 0x28], 0x10
lea ecx, [ebp - 0x210]
push eax
je 0x416249
push dword [edi + 0x18]
push dword [edi + 0x14]
jmp 0x4162c5
push dword [edi + 0x10]
push dword [edi + 0xc]
jmp 0x4162c5
mov eax, dword [ebp - 0x220]
push dword [eax + 0xc]
push 0x5561a0
call fcn.00523883
pop ecx
pop ecx
test eax, eax
jne 0x416271
call fcn.004f9145
jmp 0x416286
mov eax, dword [ebp - 0x220]
push 0x559b30
push dword [eax + 0xc]
call fcn.004f6da5
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4163f9
call fcn.004f9145
mov ecx, dword [ebp - 0x214]
push ecx
cmp ecx, eax
je 0x4162d1
call fcn.004f6c1e
pop ecx
lea eax, [ebp - 0x21c]
xor edx, edx
push eax
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x210]
push 0
inc edx
push dword [eax + 0xc]
call fcn.00415d78
add esp, 0xc
mov esi, eax
jmp 0x416334
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.004f7192
add esp, 0x10
test eax, eax
je 0x41633c
lea ecx, [ebp - 0x21c]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00415d78
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41641c
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x200
push 1
push eax
call fcn.004f7192
add esp, 0x10
test eax, eax
jne 0x4162eb
test esi, esi
jne 0x41641c
mov ecx, dword [ebp - 0x220]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x220], ecx
test ecx, ecx
jne 0x4160d3
test esi, esi
jne 0x41641c
cmp dword [edi + 0x24], esi
je 0x416397
push dword [ebp - 0x228]
lea eax, [ebp - 0x21c]
push str._r_n___s__
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
push dword [ebp - 0x228]
mov esi, eax
call dword [0x5a8838]
add esp, 0x14
test esi, esi
jne 0x41641c
mov edi, dword [edi]
test edi, edi
jne 0x415fcb
test esi, esi
jne 0x41641c
push ebx
push str._r_n___s___r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00415e5e
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41641c
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x21c]
push ebx
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
call dword [0x5a8838]
mov eax, dword [ebp - 0x22c]
pop ecx
mov ecx, dword [ebp - 0x224]
mov dword [eax], ecx
jmp 0x415f85
mov ecx, dword [ebp - 0x224]
call fcn.00415eb7
push ebx
call dword [0x5a8838]
mov eax, dword [ebp - 0x22c]
pop ecx
push 0x1a
and dword [eax], 0
jmp 0x415f99
mov ecx, dword [ebp - 0x224]
call fcn.00415eb7
push ebx
call dword [0x5a8838]
mov eax, esi
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret