Function at 0x414332
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xd6dc]
mov eax, 0xd6dc
call fcn.00489ce0
push 0xffffffffffffffff
push 0x4a9003
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f1a20]
xor eax, ebp
mov dword [ebp + 0xd6d8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xd6ec]
mov dword [ebp - 0x20], eax
push ecx
lea eax, [ebp + 0xd6e4]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov dword [ebp - 4], 1
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
je 0x41458d
and dword [ebp - 0x24], 0
mov edi, 0x4b0220
push edi
push dword [ebp + 0xd6e4]
call fcn.0048aa51
add esp, 4
mov ebx, eax
lea eax, [ebp + 0xd6e4]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d9d
pop ecx
mov esi, eax
test ebx, ebx
je 0x4143fc
push 0
lea eax, [esi - 4]
push eax
push ebx
call fcn.0048b5fa
push ebx
push 1
lea eax, [ebp - 0x24]
push 4
push eax
call fcn.0048b2b5
push ebx
call fcn.0048a72d
add esp, 0x20
cmp dword [ebp - 0x24], 0x221af5
jne 0x41458d
push edi
push dword [ebp + 0xd6e4]
call fcn.0048aa51
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41458d
xor ebx, ebx
push ebx
lea eax, [esi - 8]
push eax
push edi
mov dword [ebp - 0x1c], ebx
call fcn.0048b5fa
push edi
push 1
lea eax, [ebp - 0x1c]
push 4
push eax
call fcn.0048b2b5
add esp, 0x1c
cmp dword [ebp - 0x1c], ebx
jle 0x414586
sub esi, dword [ebp - 0x1c]
push ebx
sub esi, 8
push esi
push edi
call fcn.0048b5fa
add esp, 0xc
push str.pts.dat
lea ecx, [ebp - 0x18]
mov byte [ebp - 0xd], bl
call fcn.00401aa9
push eax
lea eax, [ebp + 0xd6e8]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0040168d
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.004010a3
push 0x4af82c
push dword [ebp - 0x14]
call fcn.0048aa51
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x414572
push edi
push 0xc350
lea eax, [ebp]
push 1
push eax
call fcn.0048b2b5
add esp, 0x10
cmp eax, ebx
jle 0x4144d6
push esi
push 1
push eax
lea eax, [ebp]
push eax
call fcn.0048a90b
add esp, 0x10
jmp 0x4144da
mov byte [ebp - 0xd], 1
cmp byte [ebp - 0xd], 0
je 0x4144ac
push edi
call fcn.0048a72d
push esi
call fcn.0048a72d
pop ecx
pop ecx
push dword [ebp - 0x20]
lea eax, [ebp + 0xd6e8]
push ecx
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.004013d2
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.004013d2
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0041415d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov bl, al
call fcn.004010a3
mov ecx, dword [ebp + 0xd6e4]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp + 0xd6e8]
add ecx, 0xfffffff0
call fcn.004010a3
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd6d8]
xor ecx, ebp
call fcn.0048893b
add ebp, 0xd6dc
leave
ret 0xc
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010a3
push edi
call fcn.0048a72d
pop ecx
xor bl, bl
jmp 0x41452f