Function at 0x4094b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [esp + 0x220]
push ebx
mov ebx, dword [esp + 0x228]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ebp
mov dword [eax], ebp
jne 0x4094ed
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret
call fcn.00409e60
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x1c], edi
jne 0x40950c
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x21c
ret
mov eax, dword [esp + 0x238]
cmp eax, ebp
jne 0x40951c
mov eax, str.Content_Type:_multipart_form_data
push edi
push eax
push str._s__boundary_s_r_n
lea ecx, [esp + 0x1c]
push ebp
push ecx
call fcn.00409ba0
mov esi, eax
add esp, 0x14
cmp esi, ebp
je 0x40954e
push edi
call dword [0x4303c0]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
or eax, ecx
je 0x409583
lea ecx, [esp + 0x14]
push 0x42fadc
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00409ba0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x409997
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push str.___s_r_n
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00409ba0
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x409997
lea eax, [esp + 0x14]
push str.Content_Disposition:_form_data__name_
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00409ba0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x409997
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
call fcn.00409a70
mov esi, eax
add esp, 0x14
cmp esi, ebp
jne 0x409997
lea eax, [esp + 0x14]
push 0x4304c8
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00409ba0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x409997
cmp dword [ebx + 0x24], ebp
je 0x409640
call fcn.00409e60
mov dword [esp + 0x28], eax
push eax
lea edx, [esp + 0x18]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00409ba0
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x409997
mov dword [esp + 0x24], ebx
cmp dword [ebx + 0x24], ebp
je 0x4096ae
mov eax, dword [esp + 0x24]
xor edi, edi
cmp dword [eax + 0x2c], ebp
jne 0x40966a
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00409bf0
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x409921
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x2c]
cmp eax, ebp
jne 0x409677
mov eax, edi
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00409ba0
add esp, 0x14
cmp edi, ebp
mov esi, eax
je 0x4096a4
push edi
call dword [0x4303c0]
add esp, 4
cmp esi, ebp
jne 0x40996e
jmp 0x409704
test byte [ebx + 0x28], 0x51
je 0x409704
cmp dword [ebx + 0x2c], ebp
jne 0x4096c9
mov eax, dword [ebx + 0xc]
push eax
call fcn.00409bf0
add esp, 4
mov edi, eax
jmp 0x4096cb
xor edi, edi
mov eax, dword [ebx + 0x2c]
cmp eax, ebp
jne 0x4096d4
mov eax, edi
push eax
lea ecx, [esp + 0x18]
push str.__filename__s_
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00409ba0
add esp, 0x10
cmp edi, ebp
mov esi, eax
je 0x4096fc
push edi
call dword [0x4303c0]
add esp, 4
cmp esi, ebp
jne 0x40996e
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
cmp eax, ebp
je 0x409731
push eax
lea ecx, [esp + 0x18]
push str._r_nContent_Type:__s
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00409ba0
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x40996e
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x20]
cmp edi, ebp
je 0x409769
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push ecx
push str._r_n_s
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00409ba0
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x409997
mov edi, dword [edi + 4]
cmp edi, ebp
jne 0x40973c
jmp 0x409771
cmp esi, ebp
jne 0x409997
lea ecx, [esp + 0x14]
push str._r_n_r_n
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00409ba0
mov esi, eax
add esp, 0xc
cmp esi, ebp
jne 0x40996e
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x4097f5
test al, 0x10
je 0x4097b3
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push 1
push eax
jmp 0x4097e1
test al, 0x40
je 0x4097cd
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x30]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push 2
push ecx
jmp 0x4097e1
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push 1
push edx
call fcn.00409a70
mov esi, eax
add esp, 0x14
cmp esi, ebp
jne 0x40996e
jmp 0x40986d
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0xc]
push eax
push 0x430428
call fcn.004140c0
add esp, 8
test eax, eax
je 0x409816
mov edi, dword [sym.imp.MSVCRT.dll__iob]
jmp 0x40982a
mov ecx, dword [edi + 0xc]
push 0x42f86c
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov edi, eax
cmp edi, ebp
je 0x409a37
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push edi
cmp edi, eax
je 0x4098c9
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x18]
push edx
push ebp
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x1c]
push ecx
push 3
push edx
call fcn.00409a70
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x409949
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x24]
cmp eax, ebp
mov dword [esp + 0x24], eax
jne 0x409644
cmp esi, ebp
jne 0x40996e
cmp dword [ebx + 0x24], ebp
je 0x4098ba
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push edi
push str._r_n___s__
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00409ba0
push edi
mov esi, eax
call dword [0x4303c0]
add esp, 0x14
cmp esi, ebp
jne 0x409997
mov ebx, dword [ebx]
cmp ebx, ebp
je 0x409993
jmp 0x409556
push 0x200
lea eax, [esp + 0x34]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, ebp
je 0x40986d
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.00409a70
mov esi, eax
add esp, 0x14
cmp esi, ebp
jne 0x409949
push edi
push 0x200
lea ecx, [esp + 0x34]
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, ebp
jne 0x4098e2
jmp 0x40986d
lea edx, [esp + 0x20]
push edx
call fcn.00409470
mov eax, dword [esp + 0x20]
push eax
call dword [0x4303c0]
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
lea eax, [esp + 0x20]
push eax
call fcn.00409470
mov ecx, dword [esp + 0x20]
push ecx
call dword [0x4303c0]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
lea edx, [esp + 0x20]
push edx
call fcn.00409470
mov eax, dword [esp + 0x20]
push eax
call dword [0x4303c0]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
cmp esi, ebp
je 0x4099bc
lea ecx, [esp + 0x20]
push ecx
call fcn.00409470
mov edx, dword [esp + 0x20]
push edx
call dword [0x4303c0]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push edi
push str._r_n___s___r_n
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00409ba0
mov esi, eax
add esp, 0x10
cmp esi, ebp
je 0x4099ff
lea edx, [esp + 0x20]
push edx
call fcn.00409470
push edi
call dword [0x4303c0]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
mov eax, dword [esp + 0x23c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push edi
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [0x4303c0]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
lea edx, [esp + 0x20]
push edx
call fcn.00409470
mov eax, dword [esp + 0x20]
push eax
call dword [0x4303c0]
mov ecx, dword [esp + 0x238]
add esp, 8
mov eax, 0x1a
pop edi
mov dword [ecx], ebp
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret