Function at 0x4a4000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x27c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x268], 0
movlpd qword [ebp - 0x274], xmm0
mov dword [eax], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x280], ecx
test ebx, ebx
je 0x4a45a1
lea edx, [ebp - 0x60]
mov ecx, edi
call fcn.004a4780
test eax, eax
jne 0x4a45c6
lea eax, [ebp - 0x60]
test esi, esi
push eax
mov eax, str.Content_Type:_multipart_form_data
cmovne eax, esi
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.004a3b90
add esp, 0x14
test eax, eax
jne 0x4a45c6
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x288], eax
nop dword [eax]
mov eax, dword [ebp - 0x274]
or eax, dword [ebp - 0x270]
je 0x4a40e3
push 0x6f5d0c
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a45b9
lea eax, [ebp - 0x60]
push eax
push str.___s_r_n
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a45b9
mov eax, dword [ebx + 8]
cdq
test edx, edx
jl 0x4a45b4
jg 0x4a4147
test eax, eax
jb 0x4a45b4
lea ecx, [ebp - 0x274]
push ecx
push edx
push eax
push dword [ebx + 4]
mov edx, 1
lea ecx, [ebp - 0x268]
call fcn.004a39a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
push 0x6e9ca8
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a45b9
cmp dword [ebx + 0x24], eax
je 0x4a41e2
movaps xmm0, xmmword [str.________________]
lea edx, [ebp - 0x1c]
push 0x11
mov ecx, edi
movq qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x34], xmm0
call fcn.004a93c0
add esp, 4
lea eax, [ebp - 0x34]
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
mov edi, ebx
mov dword [ebp - 0x278], edi
nop word [eax + eax]
cmp dword [ebx + 0x24], 0
je 0x4a4223
lea eax, [ebp - 0x34]
push eax
push str._r_n___s_r_nContent_Disposition:_attachment
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
mov ecx, edi
jmp 0x4a4236
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x4a4255
cmp dword [ebx + 0x2c], 0
jne 0x4a4234
test al, 1
je 0x4a424d
mov ecx, ebx
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x268]
call fcn.004a3f30
mov esi, eax
add esp, 4
test esi, esi
jne 0x4a45b9
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4a4282
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
mov edi, dword [edi + 0x20]
test edi, edi
je 0x4a42c0
nop dword [eax]
push dword [edi]
lea eax, [ebp - 0x274]
push str._r_n_s
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
mov edi, dword [edi + 4]
test edi, edi
jne 0x4a4290
jmp 0x4a42c8
test esi, esi
jne 0x4a45b9
push str._r_n_r_n
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4a45b9
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x4a43ba
test al, 0x10
je 0x4a435e
mov eax, dword [ebx + 0x18]
cdq
test edx, edx
jl 0x4a4357
jg 0x4a430a
test eax, eax
jb 0x4a4357
lea ecx, [ebp - 0x274]
push ecx
push edx
push eax
push dword [ebx + 0x14]
mov edx, 2
lea ecx, [ebp - 0x268]
call fcn.004a39a0
add esp, 0x10
mov esi, eax
mov edi, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x278]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x278], eax
test eax, eax
je 0x4a4517
test esi, esi
jne 0x4a45b9
mov edi, eax
jmp 0x4a41f0
mov esi, 0x2b
jmp 0x4a432b
test al, 0x40
je 0x4a438f
test al, al
jns 0x4a436e
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x4a4372
mov eax, dword [ebx + 0x10]
cdq
test edx, edx
jl 0x4a4357
jg 0x4a437c
test eax, eax
jb 0x4a4357
lea ecx, [ebp - 0x274]
push ecx
push edx
push eax
push dword [ebx + 0x30]
mov edx, 3
jmp 0x4a431b
test al, al
jns 0x4a439b
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x4a439f
mov eax, dword [ebx + 0x10]
cdq
test edx, edx
jl 0x4a4357
jg 0x4a43a9
test eax, eax
jb 0x4a4357
lea ecx, [ebp - 0x274]
push ecx
push edx
push eax
push dword [ebx + 0xc]
jmp 0x4a4316
mov edi, dword [ebp - 0x278]
mov eax, 0x6f649c
mov edi, dword [edi + 0xc]
mov ecx, edi
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a43f0
test dl, dl
je 0x4a43ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a43f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a43d0
xor eax, eax
jmp 0x4a43f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4a4404
push eax
call fcn.0061993f
add esp, 4
jmp 0x4a4412
push 0x6e9f40
push edi
call fcn.0060b364
add esp, 8
mov edi, eax
test edi, edi
je 0x4a44e0
push 0
call fcn.0061993f
add esp, 4
push edi
cmp edi, eax
je 0x4a4451
call fcn.0060b444
add esp, 4
lea eax, [ebp - 0x274]
mov edx, 4
push eax
mov eax, dword [ebp - 0x278]
push 0
push 0
push dword [eax + 0xc]
jmp 0x4a431b
push 0x200
lea eax, [ebp - 0x264]
push 1
push eax
call fcn.006254e3
add esp, 0x10
test eax, eax
je 0x4a432b
nop
lea ecx, [ebp - 0x274]
mov edx, 2
push ecx
push 0
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x268]
call fcn.004a39a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a432b
push edi
call fcn.00624d18
add esp, 4
test eax, eax
jne 0x4a432b
push edi
call fcn.00624d43
add esp, 4
test eax, eax
jne 0x4a432b
push edi
push 0x200
lea eax, [ebp - 0x264]
push 1
push eax
call fcn.006254e3
add esp, 0x10
test eax, eax
jne 0x4a4470
jmp 0x4a432b
mov edi, dword [ebp - 0x26c]
test edi, edi
je 0x4a4501
mov eax, dword [ebp - 0x278]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push edi
call fcn.0046c5e0
add esp, 0xc
mov eax, dword [ebp - 0x27c]
mov esi, 0x1a
mov dword [eax], 0
jmp 0x4a4331
test esi, esi
jne 0x4a45b9
cmp dword [ebx + 0x24], esi
je 0x4a4549
lea eax, [ebp - 0x34]
push eax
push str._r_n___s__
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4a40b0
test esi, esi
jne 0x4a45b9
lea eax, [ebp - 0x60]
push eax
push str._r_n___s___r_n
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.004a3b90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4a45b9
mov ecx, dword [ebp - 0x280]
mov eax, dword [ebp - 0x274]
mov dword [ecx], eax
mov eax, dword [ebp - 0x270]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x284]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov esi, 0x2b
lea ecx, [ebp - 0x288]
call fcn.004a3bf0
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret