Function at 0x404202
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0x188
push 0x401468
call fcn.0040224d
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], esi
mov eax, dword [0x4050a4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], esi
call dword [0x4010bc]
push eax
push 1
push 0x1f0fff
call dword [0x401080]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
cmp ebx, esi
je 0x40442e
push 0x44
pop edi
push edi
push esi
lea eax, [ebp - 0x94]
push eax
call fcn.00404531
mov dword [ebp - 0x94], edi
mov word [ebp - 0x64], si
mov dword [ebp - 0x68], 0x181
mov dword [ebp - 0x54], ebx
push 4
pop ebx
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x24], esi
je 0x404290
push 0x104
lea eax, [ebp - 0x198]
push eax
call fcn.00403f25
test eax, eax
jne 0x40429e
push 1
lea eax, [ebp - 0x198]
push eax
call fcn.0040408e
cmp dword [ebp + 8], esi
je 0x40432f
lea edi, [ebp + 8]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x20]
push eax
push 1
push esi
push esi
push 0x2000000
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_RtlUnwind]
test eax, eax
je 0x4042e3
push ebx
lea eax, [ebp - 0x44]
push eax
push 0xc
push dword [ebp - 0x20]
call dword [sym.imp.ntdll.dll_NtDeleteFile]
lea edi, [ebp - 0x20]
mov dword [ebp - 0x48], edi
mov ebx, 0x404
mov dword [ebp - 0x4c], ebx
push esi
push dword [edi]
lea eax, [ebp - 0x40]
push eax
call dword [0x401140]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
push esi
push dword [ebp - 0x40]
push ebx
push 1
push esi
push esi
lea eax, [ebp - 0x198]
push eax
push esi
push dword [edi]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x404352
push dword [ebp - 0x20]
call dword [fcn.00401054]
jmp 0x404352
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
push esi
push esi
push ebx
push 1
push esi
push esi
lea eax, [ebp - 0x198]
push eax
push esi
call dword [0x401064]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], esi
je 0x40437c
cmp dword [ebp - 0x1c], esi
je 0x4043d0
push esi
lea eax, [ebp - 0x198]
push eax
call fcn.0040408e
push esi
push dword [ebp - 0x34]
lea eax, [ebp - 0x198]
push eax
call fcn.0040401e
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40442e
cmp dword [ebp - 0x24], esi
jne 0x404391
mov eax, dword [0x4050b0]
push esi
push 0x80
mov ecx, 0x4050b8
push ecx
sub eax, dword [0x4050b0]
add eax, ecx
push eax
push dword [ebp - 0x34]
call dword [fcn.0040109c]
cmp dword [ebp - 0x24], esi
je 0x4043f8
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
mov eax, dword [0x4050a4]
push dword [eax + 0x34]
push dword [ebp - 0x34]
call fcn.004044a4
cmp dword [ebp - 0x1c], esi
jne 0x404401
cmp dword [ebp - 0x34], esi
je 0x4043e8
push esi
push dword [ebp - 0x34]
call dword [0x4010f4]
push dword [ebp - 0x34]
call dword [fcn.00401054]
cmp dword [ebp - 0x30], esi
je 0x40442e
push dword [ebp - 0x30]
call dword [fcn.00401054]
jmp 0x40442e
push dword [ebp - 0x30]
call dword [0x401070]
cmp dword [0x40509c], esi
jne 0x404423
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0x34]
push 0x403520
push esi
push esi
call dword [0x401098]
mov dword [ebp - 0x38], eax
jmp 0x40442e
push dword [ebp - 0x34]
call fcn.004041d0
mov dword [ebp - 0x34], esi
or dword [ebp - 4], 0xffffffff
call fcn.00404444
mov eax, dword [ebp - 0x1c]
call fcn.0040235d
ret 4