Function at 0x1c60e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x27f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x214], edi
mov dword [eax], edi
cmp ebx, edi
je 0x1c6684
call fcn.001c6070
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1c615e
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001e2239
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1c6167
mov esi, str.Content_Type:_multipart_form_data
push eax
push esi
push str._s__boundary_s_r_n
push 0
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1c61a7
mov edx, dword [ebp - 0x21c]
push edx
call dword [0x27f004]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001e2239
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x220], eax
or edi, dword [ebp - 0x20c]
je 0x1c61df
lea ecx, [ebp - 0x210]
push 0x25bcf8
push ecx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1c65f5
mov edx, dword [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push str.___s_r_n
push eax
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65f5
lea ecx, [ebp - 0x210]
push str.Content_Disposition:_form_data__name_
push ecx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1c65f5
mov edx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x210]
call fcn.001c5b90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65f5
lea ecx, [ebp - 0x210]
push 0x26ec90
push ecx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1c65f5
cmp dword [ebx + 0x24], eax
je 0x1c62cc
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x1c6292
push eax
call dword [0x27f004]
add esp, 4
call fcn.001c6070
mov edi, eax
mov dword [ebp - 0x214], edi
test edi, edi
je 0x1c65c3
push edi
lea edx, [ebp - 0x210]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push edx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65fb
mov edi, ebx
mov dword [ebp - 0x218], edi
cmp dword [ebx + 0x24], 0
je 0x1c6317
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push str._r_n___s_r_nContent_Disposition:_attachment
push ecx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65f5
lea edx, [ebp - 0x210]
lea eax, [ebp - 0x208]
push edx
push eax
mov eax, edi
jmp 0x1c6338
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x1c634a
cmp dword [ebx + 0x2c], 0
jne 0x1c6328
test al, 1
je 0x1c6342
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, ebx
call fcn.001c5e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x1c65f5
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x1c6376
push eax
lea eax, [ebp - 0x210]
push str._r_nContent_Type:__s
push eax
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65f5
mov edi, dword [edi + 0x20]
test edi, edi
je 0x1c63b0
lea ecx, [ecx]
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x210]
push str._r_n_s
push edx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65f5
mov edi, dword [edi + 4]
test edi, edi
jne 0x1c6380
jmp 0x1c63b8
test esi, esi
jne 0x1c65f5
lea eax, [ebp - 0x210]
push str._r_n_r_n
push eax
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1c65f5
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x1c645a
test al, 0x10
je 0x1c640c
mov ecx, dword [ebx + 0x18]
push ecx
lea edx, [ebp - 0x208]
push 1
push edx
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x210]
call fcn.001c5b90
add esp, 0xc
mov esi, eax
jmp 0x1c6564
test al, 0x40
je 0x1c6435
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x30]
push eax
lea ecx, [ebp - 0x208]
push 2
push ecx
lea ecx, [ebp - 0x210]
call fcn.001c5b90
add esp, 0xc
mov esi, eax
jmp 0x1c6564
mov edx, dword [ebx + 0x10]
push edx
mov edx, dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 1
push eax
lea ecx, [ebp - 0x210]
call fcn.001c5b90
add esp, 0xc
mov esi, eax
jmp 0x1c6564
mov edi, dword [ebp - 0x218]
mov ecx, dword [edi + 0xc]
push ecx
push 0x25af74
call fcn.001c4ce0
add esp, 8
test eax, eax
je 0x1c647c
call fcn.001e5f1f
jmp 0x1c648d
mov edx, dword [edi + 0xc]
push 0x26e470
push edx
call fcn.001e4378
add esp, 8
mov edi, eax
test edi, edi
je 0x1c6531
call fcn.001e5f1f
push edi
cmp edi, eax
je 0x1c64cf
call fcn.001e4869
mov edx, dword [ebp - 0x218]
mov edx, dword [edx + 0xc]
push 0
lea eax, [ebp - 0x208]
push 3
push eax
lea ecx, [ebp - 0x210]
call fcn.001c5b90
add esp, 0x10
mov esi, eax
jmp 0x1c6564
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.001e5e06
add esp, 0x10
test eax, eax
je 0x1c6564
lea esp, [esp]
push eax
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ecx, [ebp - 0x210]
lea edx, [ebp - 0x204]
call fcn.001c5b90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c6564
push edi
push 0x200
lea edx, [ebp - 0x204]
push 1
push edx
call fcn.001e5e06
add esp, 0x10
test eax, eax
jne 0x1c64f0
jmp 0x1c6564
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x1c6553
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xc]
push edx
push str.couldnt_open_file___s_
push eax
call fcn.001b6730
add esp, 0xc
mov eax, dword [ebp - 0x224]
mov dword [eax], 0
mov esi, 0x1a
mov ecx, dword [ebp - 0x218]
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x218], eax
test eax, eax
je 0x1c6582
test esi, esi
jne 0x1c65f5
mov edi, eax
jmp 0x1c62d4
test esi, esi
jne 0x1c65f5
cmp dword [ebx + 0x24], esi
je 0x1c65b2
mov edx, dword [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push str._r_n___s__
push eax
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1c65f5
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c65ca
mov edi, dword [ebp - 0x210]
jmp 0x1c61b3
mov esi, 0x1b
jmp 0x1c65fb
test esi, esi
jne 0x1c65f5
mov ecx, dword [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push str._r_n___s___r_n
push edx
lea esi, [ebp - 0x208]
call fcn.001c5ce0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1c663b
mov edi, dword [ebp - 0x214]
lea eax, [ebp - 0x220]
push eax
call fcn.001c5d40
add esp, 4
test edi, edi
je 0x1c6618
push edi
call dword [0x27f004]
add esp, 4
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [0x27f004]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001e2239
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x1c6666
push eax
call dword [0x27f004]
add esp, 4
mov edx, dword [ebp - 0x21c]
push edx
call dword [0x27f004]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
add esp, 4
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.001e2239
mov esp, ebp
pop ebp
ret