Function at 0x433d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4aa0cc]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x268], eax
xorps xmm0, xmm0
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x248], 0
movlpd qword [ebp - 0x254], xmm0
mov dword [ebp - 0x258], 0
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 - 0x270], ecx
test ebx, ebx
je 0x434445
mov ecx, edi
call fcn.0043e6a0
push eax
push ecx
mov ecx, edi
call fcn.0043e6a0
add esp, 4
push eax
push str._________________________08x_08x
call fcn.0044b1f0
add esp, 0xc
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x433de9
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
push eax
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 - 0x248]
push 0
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x434477
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
jmp 0x433e30
mov eax, dword [ebp - 0x254]
or eax, dword [ebp - 0x250]
je 0x433e63
push 0x493bd4
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43445d
push dword [ebp - 0x264]
lea eax, [ebp - 0x254]
push str.___s_r_n
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43445d
mov eax, dword [ebx + 8]
cdq
test edx, edx
jl 0x434458
jg 0x433ec9
test eax, eax
jb 0x434458
lea ecx, [ebp - 0x254]
push ecx
push edx
push eax
push dword [ebx + 4]
xor edx, edx
lea ecx, [ebp - 0x248]
call fcn.004338e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
push 0x493f8c
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43445d
cmp dword [ebx + 0x24], eax
je 0x433f7d
push dword [ebp - 0x258]
call dword [0x4aa774]
add esp, 4
mov ecx, edi
call fcn.0043e6a0
push eax
push ecx
mov ecx, edi
call fcn.0043e6a0
add esp, 4
push eax
push str._________________________08x_08x
call fcn.0044b1f0
add esp, 0xc
mov dword [ebp - 0x258], eax
test eax, eax
je 0x4343d9
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
mov edi, ebx
mov dword [ebp - 0x25c], ebx
cmp dword [ebx + 0x24], 0
je 0x433fba
push dword [ebp - 0x258]
lea eax, [ebp - 0x254]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
mov ecx, edi
jmp 0x433fcd
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x433fec
cmp dword [ebx + 0x2c], 0
jne 0x433fcb
test al, 1
je 0x433fe4
mov ecx, ebx
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp - 0x248]
call fcn.00433c60
mov esi, eax
add esp, 4
test esi, esi
jne 0x43445d
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x434019
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
mov edi, dword [edi + 0x20]
test edi, edi
je 0x434050
push dword [edi]
lea eax, [ebp - 0x254]
push str._r_n_s
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
mov edi, dword [edi + 4]
test edi, edi
jne 0x434020
jmp 0x434058
test esi, esi
jne 0x43445d
push str._r_n_r_n
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43445d
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x4341a0
test al, 0x10
je 0x4340b3
mov eax, dword [ebx + 0x18]
cdq
test edx, edx
jl 0x4342bd
jg 0x4340a2
test eax, eax
jb 0x4342bd
lea ecx, [ebp - 0x254]
push ecx
push edx
push eax
push dword [ebx + 0x14]
jmp 0x434186
test al, 0x40
je 0x434158
test al, al
jns 0x4340c7
mov esi, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
jmp 0x4340cf
mov eax, dword [ebx + 0x10]
cdq
mov esi, eax
mov edi, edx
mov ebx, dword [ebx + 0x30]
test edi, edi
jl 0x434148
jg 0x4340dc
test esi, esi
jb 0x434148
cmp dword [ebp - 0x250], 0
jl 0x434148
jg 0x4340f0
cmp dword [ebp - 0x254], 0
jb 0x434148
push 0x10
call dword [0x4aa654]
add esp, 4
test eax, eax
jne 0x43410d
mov ebx, dword [ebp - 0x260]
lea esi, [eax + 0x1b]
jmp 0x434369
mov ecx, dword [ebp - 0x248]
mov dword [eax], 0
mov dword [eax + 8], ebx
mov dword [eax + 4], 2
mov dword [ebp - 0x248], eax
test ecx, ecx
je 0x43412f
mov dword [ecx], eax
add dword [ebp - 0x254], esi
mov ebx, dword [ebp - 0x260]
adc dword [ebp - 0x250], edi
xor esi, esi
jmp 0x434369
mov ebx, dword [ebp - 0x260]
mov esi, 0x2b
jmp 0x434369
test al, al
jns 0x434164
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x434168
mov eax, dword [ebx + 0x10]
cdq
test edx, edx
jl 0x4342bd
jg 0x43417a
test eax, eax
jb 0x4342bd
lea ecx, [ebp - 0x254]
push ecx
push edx
push eax
push dword [ebx + 0xc]
mov edx, 1
lea ecx, [ebp - 0x248]
call fcn.004338e0
add esp, 0x10
mov esi, eax
jmp 0x434369
mov edi, dword [ebp - 0x25c]
push dword [edi + 0xc]
push 0x496150
call dword [sym.imp.MSVCR120.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4341c3
call dword [sym.imp.MSVCR120.dll___iob_func]
jmp 0x4341d4
push 0x494b10
push dword [edi + 0xc]
call dword [sym.imp.MSVCR120.dll_fopen]
add esp, 8
mov edi, eax
test edi, edi
je 0x434337
call dword [sym.imp.MSVCR120.dll___iob_func]
push edi
cmp edi, eax
je 0x4342c7
call dword [sym.imp.MSVCR120.dll_fclose]
mov eax, dword [ebp - 0x25c]
add esp, 4
cmp dword [ebp - 0x250], 0
mov edi, dword [eax + 0xc]
jl 0x4342bd
jg 0x43421b
cmp dword [ebp - 0x254], 0
jb 0x4342bd
push 0x10
call dword [0x4aa654]
mov esi, eax
add esp, 4
test esi, esi
jne 0x434234
lea esi, [eax + 0x1b]
jmp 0x434369
mov eax, dword [ebp - 0x248]
mov dword [esi], 0
mov dword [esi + 8], edi
mov dword [esi + 4], 3
mov dword [ebp - 0x248], esi
test eax, eax
je 0x434256
mov dword [eax], esi
push dword [esi + 8]
push 0x496150
call dword [sym.imp.MSVCR120.dll__stricmp]
add esp, 8
test eax, eax
je 0x4342ac
lea eax, [ebp - 0x244]
push eax
push dword [esi + 8]
call dword [sym.imp.MSVCR120.dll__stat64]
add esp, 8
test eax, eax
jne 0x4342b3
mov eax, dword [ebp - 0x23e]
and eax, 0xf000
cmp eax, 0x4000
je 0x4342b3
mov eax, dword [ebp - 0x22c]
add dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x228]
adc dword [ebp - 0x250], eax
xor esi, esi
jmp 0x434369
push esi
call dword [0x4aa774]
add esp, 4
mov esi, 0x2b
jmp 0x434369
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
test eax, eax
je 0x434369
xor edx, edx
jl 0x4342bd
jg 0x4342f0
test eax, eax
jb 0x4342bd
lea ecx, [ebp - 0x254]
push ecx
push edx
push eax
lea eax, [ebp - 0x20c]
mov edx, 1
push eax
lea ecx, [ebp - 0x248]
call fcn.004338e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x434369
push edi
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
test eax, eax
jne 0x4342e6
jmp 0x434369
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x434358
mov eax, dword [ebp - 0x25c]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push ecx
call fcn.0043db80
add esp, 0xc
mov eax, dword [ebp - 0x268]
mov esi, 0x1a
mov dword [eax], 0
mov edi, dword [ebp - 0x25c]
mov edi, dword [edi + 0x24]
mov dword [ebp - 0x25c], edi
test edi, edi
je 0x434389
test esi, esi
je 0x433f85
jmp 0x43445d
test esi, esi
jne 0x43445d
mov edi, dword [ebp - 0x258]
cmp dword [ebx + 0x24], esi
je 0x4343c2
push edi
push str._r_n___s__
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
mov ebx, dword [ebx]
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x4343e0
mov edi, dword [ebp - 0x26c]
jmp 0x433e30
mov esi, 0x1b
jmp 0x43445d
test esi, esi
jne 0x43445d
mov ebx, dword [ebp - 0x264]
lea eax, [ebp - 0x254]
push ebx
push str._r_n___s___r_n
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00433a90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x43445d
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x254]
push edi
mov dword [ecx], eax
mov eax, dword [ebp - 0x250]
mov dword [ecx + 4], eax
call dword [0x4aa774]
add esp, 4
push ebx
call dword [0x4aa774]
mov eax, dword [ebp - 0x268]
add esp, 4
mov ecx, dword [ebp - 0x278]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret
mov esi, 0x2b
lea ecx, [ebp - 0x274]
call fcn.00433b30
push dword [ebp - 0x258]
call dword [0x4aa774]
add esp, 4
push dword [ebp - 0x264]
call dword [0x4aa774]
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047dbfe
mov esp, ebp
pop ebp
ret