Function at 0x4fa4b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57851b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
mov edi, ecx
push eax
mov ecx, 0x66d030
call fcn.004d1d70
mov ecx, dword [esp + 0x14]
xor ebp, ebp
push ecx
mov dword [esp + 0x124], ebp
mov dword [edi + 0x30], ebp
call fcn.0049e1f0
add esp, 4
test eax, eax
je 0x4fa61c
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x14]
lea eax, [edi + 0x2c]
push eax
push edx
mov ecx, edi
call fcn.004fb6d0
cmp eax, 0x800703e3
je 0x4fa6f0
xor esi, esi
cmp eax, 0x80070056
jne 0x4fa603
push ebp
lea ecx, [esp + 0x24]
call fcn.00499c10
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 1
call fcn.00532ba8
cmp eax, 2
je 0x4fa610
cmp eax, 0xbce
jne 0x4fa5d9
push 0xffffffffffffffff
push 0x103
push 0xcc
call fcn.0053a982
cmp eax, 6
je 0x4fa583
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 0
call fcn.005327a5
jmp 0x4fa52f
push str._sm.dat
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5d7b88
call fcn.00530bfd
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.004fc780
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x12c], 2
call fcn.00530e24
mov eax, dword [eax]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.00530b8f
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 1
call fcn.00530b8f
jmp 0x4fa5e0
cmp eax, 0x678
jne 0x4fa5e5
mov esi, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 0
call fcn.005327a5
cmp esi, ebp
je 0x4fa507
jmp 0x4fa799
cmp eax, ebp
jne 0x4fa507
jmp 0x4fa799
mov dword [edi + 0x30], 1
jmp 0x4fa6df
push ebp
lea ecx, [esp + 0x24]
call fcn.004e5d90
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 3
call fcn.00532ba8
cmp eax, 1
mov eax, dword [esp + 0xbc]
jne 0x4fa71c
mov esi, dword [eax]
cmp esi, eax
je 0x4fa71c
mov eax, dword [esi + 8]
push ebp
push eax
mov ecx, edi
call fcn.004fb6d0
cmp eax, ebp
je 0x4fa70b
cmp eax, 0x800703e3
jne 0x4fa651
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x120], 5
mov esi, eax
mov ecx, dword [eax]
cmp ecx, eax
mov dword [esp + 0x10], ecx
je 0x4fa6b7
lea edx, [esp + 0x1c]
push ebp
push edx
lea ecx, [esp + 0x18]
call fcn.004e20c0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.004e20d0
cmp dword [esp + 0x10], esi
jne 0x4fa687
mov eax, dword [esp + 0xbc]
push eax
call fcn.00531c29
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov byte [esp + 0x120], 4
call fcn.00544d2c
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 0
call fcn.005327a5
lea ecx, [esp + 0x14]
mov dword [esp + 0x120], 0xffffffff
call fcn.00530b8f
xor eax, eax
jmp 0x4fa822
mov esi, dword [esi]
mov eax, dword [esp + 0xbc]
cmp esi, eax
jne 0x4fa651
mov ecx, dword [eax]
mov byte [esp + 0x120], 7
cmp ecx, eax
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x4fa760
lea edx, [esp + 0x1c]
push ebp
push edx
lea ecx, [esp + 0x18]
call fcn.004e20c0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.004e20d0
cmp dword [esp + 0x10], esi
jne 0x4fa730
mov eax, dword [esp + 0xbc]
push eax
call fcn.00531c29
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov byte [esp + 0x120], 6
call fcn.00544d2c
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 0
call fcn.005327a5
mov eax, dword [edi + 0x18]
mov ebx, 0xa
cmp eax, ebx
jne 0x4fa809
lea edx, [esp + 0x18]
push 0xe89e
push edx
call fcn.004ef2a0
add esp, 8
mov eax, dword [eax]
push 0x10001
push 1
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x12c], 8
call fcn.004f9820
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], bl
call fcn.00530b8f
lea eax, [esp + 0xc4]
push ebp
push eax
mov ecx, edi
call fcn.004fb650
lea ecx, [esp + 0xc4]
mov byte [esp + 0x120], 0
call fcn.004f98c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x120], 0xffffffff
call fcn.00530b8f
mov eax, 1
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x114
ret