Function at 0x4453fe
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4931e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
mov edx, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x22c], ecx
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x224], ecx
mov dword [eax], ecx
test edi, edi
jne 0x44545a
xor eax, eax
jmp 0x445890
call fcn.00445a89
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x445471
push 0x1b
pop eax
jmp 0x445890
push eax
test ebx, ebx
mov eax, str.Content_Type:_multipart_form_data
cmovne eax, ebx
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00445306
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4454ac
push dword [ebp - 0x210]
call dword [0x493210]
mov eax, ebx
jmp 0x44588f
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
or esi, dword [ebp - 0x218]
je 0x4454eb
push 0x48560c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445863
push dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
push str.___s_r_n
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445863
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445863
lea eax, [ebp - 0x21c]
xor edx, edx
push eax
push dword [edi + 8]
lea ecx, [ebp - 0x214]
push dword [edi + 4]
call fcn.00445208
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445863
push 0x484c24
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445863
cmp dword [edi + 0x24], eax
je 0x4455d9
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x44559e
push eax
call dword [0x493210]
pop ecx
call fcn.00445a89
mov ebx, eax
mov dword [ebp - 0x224], ebx
test ebx, ebx
je 0x4458e3
push ebx
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445863
mov eax, edi
mov dword [ebp - 0x220], edi
cmp dword [edi + 0x24], 0
je 0x445634
xor ebx, ebx
cmp dword [eax + 0x2c], ebx
jne 0x445606
mov ecx, dword [eax + 0xc]
call fcn.004453ce
mov ebx, eax
test ebx, ebx
je 0x445958
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x2c], 0
mov ecx, ebx
cmovne ecx, dword [eax + 0x2c]
lea eax, [ebp - 0x21c]
push ecx
push dword [ebp - 0x224]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
add esp, 0x14
jmp 0x44567f
test byte [edi + 0x28], 0x51
je 0x445695
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x445657
test byte [edi + 0x28], 1
je 0x44568d
test eax, eax
jne 0x445657
mov ecx, dword [edi + 0xc]
call fcn.004453ce
mov ebx, eax
jmp 0x445659
xor ebx, ebx
cmp dword [edi + 0x2c], 0
mov eax, ebx
cmovne eax, dword [edi + 0x2c]
push eax
push str.__filename__s_
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
add esp, 0x10
mov esi, eax
test ebx, ebx
je 0x44568d
push ebx
call dword [0x493210]
pop ecx
test esi, esi
jne 0x445863
mov ebx, dword [ebp - 0x220]
cmp dword [ebx + 0x1c], 0
je 0x4456c9
push dword [ebx + 0x1c]
lea eax, [ebp - 0x21c]
push str._r_nContent_Type:__s
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445863
mov ebx, dword [ebx + 0x20]
jmp 0x4456f8
push dword [ebx]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445863
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4456ce
test esi, esi
jne 0x445863
push str._r_n_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445863
test byte [edi + 0x28], 3
jne 0x445770
test byte [edi + 0x28], 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x214]
push eax
je 0x44574a
push dword [edi + 0x18]
push dword [edi + 0x14]
jmp 0x44575e
test byte [edi + 0x28], 0x40
push dword [edi + 0x10]
je 0x44575b
push dword [edi + 0x30]
push 2
pop edx
jmp 0x445761
push dword [edi + 0xc]
xor edx, edx
inc edx
call fcn.00445208
add esp, 0xc
mov esi, eax
jmp 0x445848
mov ebx, dword [ebp - 0x220]
push dword [ebx + 0xc]
push 0x484c8c
call dword [sym.imp.MSVCR120.dll__stricmp]
pop ecx
pop ecx
test eax, eax
jne 0x445792
call dword [sym.imp.MSVCR120.dll___iob_func]
jmp 0x4457a2
push 0x48b984
push dword [ebx + 0xc]
call dword [sym.imp.MSVCR120.dll_fopen]
pop ecx
pop ecx
mov ebx, eax
test ebx, ebx
je 0x44581b
call dword [sym.imp.MSVCR120.dll___iob_func]
push ebx
cmp ebx, eax
je 0x4457fe
call dword [sym.imp.MSVCR120.dll_fclose]
mov ebx, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
pop ecx
push eax
push 0
push dword [ebx + 0xc]
lea ecx, [ebp - 0x214]
push 3
pop edx
jmp 0x445761
lea ecx, [ebp - 0x21c]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x20c]
inc edx
push eax
lea ecx, [ebp - 0x214]
call fcn.00445208
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x445848
push ebx
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
test eax, eax
jne 0x4457d7
jmp 0x445848
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x44583c
mov ebx, dword [ebp - 0x220]
push dword [ebx + 0xc]
push str.couldnt_open_file___s_
push eax
call fcn.00428799
add esp, 0xc
mov eax, dword [ebp - 0x228]
push 0x1a
pop esi
and dword [eax], 0
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4458a1
test esi, esi
je 0x4455e1
mov edi, dword [ebp - 0x210]
lea ecx, [ebp - 0x234]
call fcn.0044535f
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x445886
push eax
call dword [0x493210]
pop ecx
push edi
call dword [0x493210]
mov eax, esi
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047259d
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x445863
mov ebx, dword [ebp - 0x224]
cmp dword [edi + 0x24], esi
je 0x4458d2
push ebx
push str._r_n___s__
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445863
mov edi, dword [edi]
test edi, edi
je 0x4458e6
mov esi, dword [ebp - 0x21c]
jmp 0x4454be
push 0x1b
pop esi
test esi, esi
jne 0x445863
mov edi, dword [ebp - 0x210]
lea eax, [ebp - 0x21c]
push edi
push str._r_n___s___r_n
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.00445306
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x445869
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x21c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
test ebx, ebx
je 0x44593d
push ebx
call dword [0x493210]
pop ecx
push edi
call dword [0x493210]
mov eax, dword [ebp - 0x228]
pop ecx
mov ecx, dword [ebp - 0x238]
mov dword [eax], ecx
jmp 0x445453
push 0x1b
pop esi
jmp 0x445863