Function at 0x424c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
movlpd qword [ebp - 0xc], xmm0
mov dword [eax], 0
test ebx, ebx
jne 0x424c90
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [str.________________No_error]
lea eax, [ebp - 0x54]
push edi
mov edi, dword [ebp + 8]
push 0x11
push eax
push edi
movups xmmword [ebp - 0x6c], xmm0
movq qword [ebp - 0x5c], xmm0
call fcn.00427430
lea eax, [ebp - 0x6c]
mov ecx, str.Content_Type:_multipart_form_data
push eax
mov eax, dword [ebp + 0x14]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 4]
push ecx
push str._s__boundary_s_r_n
push 0
push eax
call fcn.00424900
add esp, 0x20
test eax, eax
jne 0x425129
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push esi
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 8]
je 0x424d0e
push 0x58b620
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42511a
lea eax, [ebp - 0x6c]
push eax
push str.___s_r_n
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42511a
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42511a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 8]
cdq
push edx
push eax
push dword [ebx + 4]
lea eax, [ebp - 4]
push 1
push eax
call fcn.00424740
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x42511a
push 0x58b654
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42511a
cmp dword [ebx + 0x24], eax
je 0x424dd8
movaps xmm0, xmmword [str.________________No_error]
lea eax, [ebp - 0x28]
push 0x11
push eax
push edi
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.00427430
lea eax, [ebp - 0x40]
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x42511a
mov edi, ebx
mov dword [ebp + 0x10], edi
nop dword [eax]
cmp dword [ebx + 0x24], 0
je 0x424e14
lea eax, [ebp - 0x40]
push eax
push str._r_n___s_r_nContent_Disposition:_attachment
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42511a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
jmp 0x424e2e
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x424e40
cmp dword [ebx + 0x2c], 0
jne 0x424e25
test al, 1
je 0x424e38
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
call fcn.004258b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42511a
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x424e67
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42511a
mov edi, dword [edi + 0x20]
test edi, edi
je 0x424e9a
nop
push dword [edi]
lea eax, [ebp - 0xc]
push str._r_n_s
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42511a
mov edi, dword [edi + 4]
test edi, edi
jne 0x424e70
jmp 0x424ea2
test esi, esi
jne 0x42511a
push str._r_n_r_n
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42511a
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x424f63
test al, 0x10
je 0x424f10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [ebx + 0x14]
push 2
lea eax, [ebp - 4]
push eax
call fcn.00424740
add esp, 0x18
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x24]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x4250a6
test esi, esi
jne 0x42511a
mov edi, eax
jmp 0x424de0
test al, 0x40
je 0x424f3c
test al, al
jns 0x424f2b
mov edx, dword [ebx + 0x3c]
lea ecx, [ebp - 0xc]
mov eax, dword [ebx + 0x38]
push ecx
push edx
push eax
push dword [ebx + 0x30]
push 3
jmp 0x424edf
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0xc]
push ecx
cdq
push edx
push eax
push dword [ebx + 0x30]
push 3
jmp 0x424edf
test al, al
jns 0x424f51
mov edx, dword [ebx + 0x3c]
lea ecx, [ebp - 0xc]
mov eax, dword [ebx + 0x38]
push ecx
push edx
push eax
push dword [ebx + 0xc]
jmp 0x424edd
mov eax, dword [ebx + 0x10]
lea ecx, [ebp - 0xc]
push ecx
cdq
push edx
push eax
push dword [ebx + 0xc]
jmp 0x424edd
mov edi, dword [ebp + 0x10]
mov eax, 0x58b5d4
mov edi, dword [edi + 0xc]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x424f90
test dl, dl
je 0x424f8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x424f90
add eax, 2
add ecx, 2
test dl, dl
jne 0x424f70
xor eax, eax
jmp 0x424f95
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424fa4
push eax
call fcn.00564654
add esp, 4
jmp 0x424fb2
push 0x58b6d4
push edi
call fcn.00566810
add esp, 8
mov edi, eax
test edi, edi
je 0x425078
push 0
call fcn.00564654
add esp, 4
push edi
cmp edi, eax
je 0x424ff1
call fcn.00564794
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0x10]
push 0
push 0
push dword [eax + 0xc]
lea eax, [ebp - 4]
push 4
push eax
call fcn.00424740
add esp, 0x1c
jmp 0x424eeb
push 0x200
lea eax, [ebp - 0x26c]
push 1
push eax
call fcn.00566a01
add esp, 0x10
test eax, eax
je 0x424eed
nop
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 4]
push 2
push eax
call fcn.00424740
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x424eed
push edi
call fcn.00566616
add esp, 4
test eax, eax
jne 0x424eed
push edi
call fcn.00566641
add esp, 4
test eax, eax
jne 0x424eed
push edi
push 0x200
lea eax, [ebp - 0x26c]
push 1
push eax
call fcn.00566a01
add esp, 0x10
test eax, eax
jne 0x425010
jmp 0x424eed
mov edi, dword [ebp + 8]
test edi, edi
je 0x425093
mov eax, dword [ebp + 0x10]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push edi
call fcn.00426b10
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov esi, 0x1a
mov dword [eax], 0
jmp 0x424ef0
test esi, esi
jne 0x42511a
cmp dword [ebx + 0x24], esi
je 0x4250ce
lea eax, [ebp - 0x40]
push eax
push str._r_n___s__
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42511a
mov ebx, dword [ebx]
test ebx, ebx
jne 0x424ce7
test esi, esi
jne 0x42511a
lea eax, [ebp - 0x6c]
push eax
push str._r_n___s___r_n
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00424900
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42511a
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp - 0xc]
pop esi
pop edi
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
pop ebx
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
call fcn.00424bf0
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret