Function at 0x4648d5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x49f270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x230], ecx
xor ecx, ecx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x208], ecx
movlpd qword [ebp - 0x214], xmm0
mov dword [ebp - 0x220], ecx
mov dword [eax], ecx
test edi, edi
jne 0x464931
xor eax, eax
jmp 0x464d33
push ebx
call fcn.0046475c
mov ebx, eax
mov dword [ebp - 0x218], ebx
test ebx, ebx
jne 0x46494b
push 0x1b
pop eax
jmp 0x464d32
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.00464703
mov esi, eax
add esp, 0x14
test esi, esi
je 0x46497a
mov edi, ebx
jmp 0x464d28
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x214]
or eax, dword [ebp - 0x210]
je 0x4649bf
push 0x498588
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x464d15
push ebx
push str.___s_r_n
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x464d15
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x464d15
lea eax, [ebp - 0x214]
push eax
push dword [edi + 8]
lea eax, [ebp - 0x208]
push dword [edi + 4]
push esi
push eax
call fcn.00464607
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x464d15
push 0x498abc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x464d15
cmp dword [edi + 0x24], eax
je 0x464a8c
call fcn.0046475c
push eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x214]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x464d15
mov ebx, edi
cmp dword [edi + 0x24], 0
je 0x464ae6
xor eax, eax
mov dword [ebp - 0x20c], eax
cmp dword [ebx + 0x2c], eax
jne 0x464ab8
push dword [ebx + 0xc]
call fcn.00464e95
mov dword [ebp - 0x20c], eax
pop ecx
test eax, eax
je 0x464d8c
cmp dword [ebx + 0x2c], 0
mov ecx, eax
lea eax, [ebp - 0x214]
cmovne ecx, dword [ebx + 0x2c]
push ecx
push dword [ebp - 0x220]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
add esp, 0x14
jmp 0x464b34
test byte [edi + 0x28], 0x51
je 0x464b50
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x464b08
test byte [edi + 0x28], 1
je 0x464b48
test eax, eax
jne 0x464b08
push dword [edi + 0xc]
call fcn.00464e95
pop ecx
jmp 0x464b0a
xor eax, eax
cmp dword [edi + 0x2c], 0
mov dword [ebp - 0x20c], eax
cmovne eax, dword [edi + 0x2c]
push eax
push str.__filename__s_
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
add esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x464b48
push eax
call dword [0x49f094]
pop ecx
test esi, esi
jne 0x464d15
cmp dword [ebx + 0x1c], 0
je 0x464b7e
push dword [ebx + 0x1c]
lea eax, [ebp - 0x214]
push str._r_nContent_Type:__s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x464d15
mov eax, dword [ebx + 0x20]
jmp 0x464bb3
push dword [eax]
lea eax, [ebp - 0x214]
push str._r_n_s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x464d15
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0x464b83
test esi, esi
jne 0x464d15
push str._r_n_r_n
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x464d15
test byte [edi + 0x28], 3
jne 0x464c30
test byte [edi + 0x28], 0x10
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
je 0x464c0b
push dword [edi + 0x18]
push dword [edi + 0x14]
jmp 0x464c1e
test byte [edi + 0x28], 0x40
push dword [edi + 0x10]
je 0x464c1b
push dword [edi + 0x30]
push 2
jmp 0x464c20
push dword [edi + 0xc]
push 1
push eax
call fcn.00464607
add esp, 0x14
mov esi, eax
jmp 0x464d06
push dword [ebx + 0xc]
push 0x49957c
call fcn.0044eac5
pop ecx
pop ecx
test eax, eax
je 0x464c4a
call fcn.0046af5b
jmp 0x464c59
push 0x49858c
push dword [ebx + 0xc]
call fcn.0046e5fa
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x464cdf
call fcn.0046af5b
mov ecx, dword [ebp - 0x20c]
push ecx
cmp ecx, eax
je 0x464cc3
call fcn.0046d373
lea eax, [ebp - 0x214]
push eax
push 0
push dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
call fcn.00464607
add esp, 0x18
jmp 0x464c29
lea ecx, [ebp - 0x214]
push ecx
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.00464607
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x464d06
push dword [ebp - 0x20c]
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.0046cea5
add esp, 0x10
test eax, eax
jne 0x464c97
jmp 0x464d06
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x464cfa
push dword [ebx + 0xc]
push str.couldnt_open_file___s__n
push eax
call fcn.0044d89b
add esp, 0xc
mov eax, dword [ebp - 0x224]
push 0x1a
pop esi
and dword [eax], 0
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x464d43
test esi, esi
je 0x464a8e
lea eax, [ebp - 0x21c]
push eax
call fcn.0046487a
pop ecx
mov edi, dword [ebp - 0x218]
push edi
call dword [0x49f094]
pop ecx
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00467f35
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x464d15
cmp dword [edi + 0x24], esi
je 0x464d7b
mov ebx, dword [ebp - 0x220]
lea eax, [ebp - 0x214]
push ebx
push str._r_n___s__
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
push ebx
mov esi, eax
call dword [0x49f094]
add esp, 0x14
test esi, esi
jne 0x464d15
mov edi, dword [edi]
test edi, edi
je 0x464d9e
mov ebx, dword [ebp - 0x218]
jmp 0x46498c
lea eax, [ebp - 0x21c]
push eax
call fcn.0046487a
pop ecx
push 0x1b
pop esi
jmp 0x464d22
test esi, esi
jne 0x464d15
mov edi, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push edi
push str._r_n___s___r_n
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00464703
mov esi, eax
add esp, 0x10
test esi, esi
je 0x464de0
lea eax, [ebp - 0x21c]
push eax
call fcn.0046487a
pop ecx
jmp 0x464d28
mov ecx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x214]
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 4], eax
call dword [0x49f094]
mov eax, dword [ebp - 0x224]
pop ecx
mov ecx, dword [ebp - 0x22c]
mov dword [eax], ecx
xor eax, eax
jmp 0x464d32