Function at 0x57c49d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x623fcc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x228], edx
xor edx, edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x208], edx
movlpd qword [ebp - 0x210], xmm0
mov dword [ebp - 0x218], edx
mov dword [ecx], edx
test edi, edi
jne 0x57c4f9
xor eax, eax
jmp 0x57c9e6
push ebx
push eax
call fcn.0057c9f4
mov ebx, eax
mov dword [ebp - 0x21c], ebx
pop ecx
test ebx, ebx
jne 0x57c515
push 0x1b
pop eax
jmp 0x57c9e5
push ebx
test esi, esi
mov eax, str.Content_Type:_multipart_form_data
cmovne eax, esi
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x57c54a
push ebx
call dword [0x624064]
pop ecx
jmp 0x57c9e3
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x210]
or eax, dword [ebp - 0x20c]
je 0x57c58f
push 0x5ed0e0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57c9bc
push ebx
push str.___s_r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57c9bc
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi + 8]
cdq
push edx
push eax
push dword [edi + 4]
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0057c10e
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x57c9bc
push 0x5d1778
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57c9bc
cmp dword [edi + 0x24], eax
je 0x57c67c
push dword [ebp - 0x218]
call dword [0x624064]
push dword [ebp - 0x220]
call fcn.0057c9f4
mov dword [ebp - 0x218], eax
pop ecx
pop ecx
test eax, eax
je 0x57c955
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
mov ebx, edi
mov dword [ebp - 0x214], ebx
cmp dword [edi + 0x24], 0
je 0x57c6c6
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
jmp 0x57c6e7
test byte [edi + 0x28], 0x51
je 0x57c6f9
cmp dword [edi + 0x2c], 0
jne 0x57c6d8
test byte [edi + 0x28], 1
je 0x57c6f1
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
push edi
call fcn.0057ca27
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57c9bc
cmp dword [ebx + 0x1c], 0
je 0x57c727
push dword [ebx + 0x1c]
lea eax, [ebp - 0x210]
push str._r_nContent_Type:__s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
mov ebx, dword [ebx + 0x20]
jmp 0x57c756
push dword [ebx]
lea eax, [ebp - 0x210]
push str._r_n_s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x57c72c
test esi, esi
jne 0x57c9bc
push str._r_n_r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57c9bc
mov eax, dword [edi + 0x28]
test al, 3
jne 0x57c7fc
test al, 0x10
je 0x57c7a4
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi + 0x18]
cdq
push edx
push eax
push dword [edi + 0x14]
jmp 0x57c7e4
test al, 0x40
je 0x57c7c8
test al, al
jns 0x57c7b4
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
jmp 0x57c7b8
mov eax, dword [edi + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
push edx
push eax
push dword [edi + 0x30]
push 3
jmp 0x57c7e6
test al, al
jns 0x57c7d4
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
jmp 0x57c7d8
mov eax, dword [edi + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
push edx
push eax
push dword [edi + 0xc]
push 2
lea eax, [ebp - 0x208]
push eax
call fcn.0057c10e
add esp, 0x18
mov esi, eax
jmp 0x57c8f7
mov ebx, dword [ebp - 0x214]
push dword [ebx + 0xc]
push 0x5eb6bc
call fcn.0059cd20
pop ecx
pop ecx
test eax, eax
jne 0x57c81d
push eax
call fcn.0059ce74
jmp 0x57c82b
push 0x5ecd0c
push dword [ebx + 0xc]
call fcn.00589c84
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
je 0x57c8ca
push 0
call fcn.0059ce74
pop ecx
push ebx
cmp ebx, eax
je 0x57c8ae
call fcn.00589fa1
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x214]
push 0
push 0
push dword [eax + 0xc]
lea eax, [ebp - 0x208]
push 4
push eax
call fcn.0057c10e
add esp, 0x1c
jmp 0x57c7f5
lea ecx, [ebp - 0x210]
push ecx
push 0
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x208]
push 2
push eax
call fcn.0057c10e
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x57c8f7
push ebx
call fcn.00598989
pop ecx
test eax, eax
jne 0x57c8f7
push ebx
call fcn.005989b4
pop ecx
test eax, eax
jne 0x57c8f7
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.00598db8
add esp, 0x10
test eax, eax
jne 0x57c86f
jmp 0x57c8f7
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x57c8eb
mov eax, dword [ebp - 0x214]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push ecx
call fcn.0055e94b
add esp, 0xc
mov eax, dword [ebp - 0x224]
push 0x1a
pop esi
and dword [eax], 0
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x214], eax
test esi, esi
jne 0x57c9bc
mov ebx, eax
test eax, eax
jne 0x57c684
cmp dword [edi + 0x24], esi
je 0x57c944
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push str._r_n___s__
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
mov edi, dword [edi]
mov ebx, dword [ebp - 0x21c]
test edi, edi
je 0x57c958
jmp 0x57c55c
push 0x1b
pop esi
test esi, esi
jne 0x57c9bc
push ebx
push str._r_n___s___r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c2c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57c9bc
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x210]
push dword [ebp - 0x218]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20c]
mov dword [ecx + 4], eax
call dword [0x624064]
push ebx
call dword [0x624064]
mov eax, dword [ebp - 0x224]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
xor eax, eax
jmp 0x57c9e5
lea eax, [ebp - 0x230]
push eax
call fcn.0057c442
push dword [ebp - 0x218]
call dword [0x624064]
push dword [ebp - 0x21c]
call dword [0x624064]
add esp, 0xc
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054f3d2
leave
ret