Function at 0x57c620
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 0x57c67c
xor eax, eax
jmp 0x57cb69
push ebx
push eax
call fcn.0057cb77
mov ebx, eax
mov dword [ebp - 0x21c], ebx
pop ecx
test ebx, ebx
jne 0x57c698
push 0x1b
pop eax
jmp 0x57cb68
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.0057c443
mov esi, eax
add esp, 0x14
test esi, esi
je 0x57c6cd
push ebx
call dword [0x624064]
pop ecx
jmp 0x57cb66
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 0x57c712
push 0x5ed0e0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57cb3f
push ebx
push str.___s_r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57cb3f
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.0057c291
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x57cb3f
push 0x5d1778
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57cb3f
cmp dword [edi + 0x24], eax
je 0x57c7ff
push dword [ebp - 0x218]
call dword [0x624064]
push dword [ebp - 0x220]
call fcn.0057cb77
mov dword [ebp - 0x218], eax
pop ecx
pop ecx
test eax, eax
je 0x57cad8
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.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
mov ebx, edi
mov dword [ebp - 0x214], ebx
cmp dword [edi + 0x24], 0
je 0x57c849
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.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
jmp 0x57c86a
test byte [edi + 0x28], 0x51
je 0x57c87c
cmp dword [edi + 0x2c], 0
jne 0x57c85b
test byte [edi + 0x28], 1
je 0x57c874
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
push edi
call fcn.0057cbaa
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57cb3f
cmp dword [ebx + 0x1c], 0
je 0x57c8aa
push dword [ebx + 0x1c]
lea eax, [ebp - 0x210]
push str._r_nContent_Type:__s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
mov ebx, dword [ebx + 0x20]
jmp 0x57c8d9
push dword [ebx]
lea eax, [ebp - 0x210]
push str._r_n_s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x57c8af
test esi, esi
jne 0x57cb3f
push str._r_n_r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x57cb3f
mov eax, dword [edi + 0x28]
test al, 3
jne 0x57c97f
test al, 0x10
je 0x57c927
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi + 0x18]
cdq
push edx
push eax
push dword [edi + 0x14]
jmp 0x57c967
test al, 0x40
je 0x57c94b
test al, al
jns 0x57c937
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
jmp 0x57c93b
mov eax, dword [edi + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
push edx
push eax
push dword [edi + 0x30]
push 3
jmp 0x57c969
test al, al
jns 0x57c957
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
jmp 0x57c95b
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.0057c291
add esp, 0x18
mov esi, eax
jmp 0x57ca7a
mov ebx, dword [ebp - 0x214]
push dword [ebx + 0xc]
push 0x5eb6bc
call fcn.0059cea0
pop ecx
pop ecx
test eax, eax
jne 0x57c9a0
push eax
call fcn.0059cff6
jmp 0x57c9ae
push 0x5ecd0c
push dword [ebx + 0xc]
call fcn.00589e04
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
je 0x57ca4d
push 0
call fcn.0059cff6
pop ecx
push ebx
cmp ebx, eax
je 0x57ca31
call fcn.0058a121
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.0057c291
add esp, 0x1c
jmp 0x57c978
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.0057c291
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x57ca7a
push ebx
call fcn.00598b09
pop ecx
test eax, eax
jne 0x57ca7a
push ebx
call fcn.00598b34
pop ecx
test eax, eax
jne 0x57ca7a
push ebx
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.00598f38
add esp, 0x10
test eax, eax
jne 0x57c9f2
jmp 0x57ca7a
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x57ca6e
mov eax, dword [ebp - 0x214]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push ecx
call fcn.0055eacb
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 0x57cb3f
mov ebx, eax
test eax, eax
jne 0x57c807
cmp dword [edi + 0x24], esi
je 0x57cac7
push dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push str._r_n___s__
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
mov edi, dword [edi]
mov ebx, dword [ebp - 0x21c]
test edi, edi
je 0x57cadb
jmp 0x57c6df
push 0x1b
pop esi
test esi, esi
jne 0x57cb3f
push ebx
push str._r_n___s___r_n
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0057c443
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x57cb3f
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 0x57cb68
lea eax, [ebp - 0x230]
push eax
call fcn.0057c5c5
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.0054f54f
leave
ret