Function at 0x4149a3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push edi
mov dword [ebp - 0x658], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x658]
add ecx, 0x5a0
call fcn.004172b0
lea ecx, [ebp - 0x640]
push ecx
mov ecx, dword [ebp - 0x658]
add ecx, 0x5a0
call fcn.00436710
push eax
lea ecx, [ebp - 4]
call fcn.00416c40
and eax, 0xff
test eax, eax
je 0x414d0a
mov byte [ebp - 0x428], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x427]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 4]
call fcn.00416c20
push eax
push 0x104
lea edx, [ebp - 0x428]
push edx
call fcn.00409000
push 0x5c
lea eax, [ebp - 0x428]
push eax
call fcn.0040a130
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x414a60
push 0
lea ecx, [ebp - 0x644]
push ecx
lea ecx, [ebp - 4]
call fcn.00417310
jmp 0x4149cf
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0xc]
push eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call fcn.00409000
lea edx, [ebp - 0x110]
push edx
call sub.ntdll.dll_strlen
add esp, 4
cmp eax, 4
jbe 0x414ac2
lea eax, [ebp - 0x110]
push eax
call sub.ntdll.dll_strlen
add esp, 4
mov byte [ebp + eax - 0x114], 0
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x324], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x322]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x634], ecx
cmp dword [ebp - 0x634], 0
jne 0x414b07
mov dword [ebp - 0x65c], 0
jmp 0x414b55
mov edx, dword [ebp - 0x634]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x638], eax
mov eax, dword [ebp - 0x638]
shl eax, 1
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x660], esp
mov eax, dword [ebp - 0x638]
push eax
mov ecx, dword [ebp - 0x634]
push ecx
mov edx, dword [ebp - 0x660]
push edx
call fcn.00415370
mov dword [ebp - 0x65c], eax
mov eax, dword [ebp - 0x65c]
push eax
push 0x4c2d78
push 0x104
lea ecx, [ebp - 0x324]
push ecx
call fcn.00415410
add esp, 0x10
mov word [ebp - 0x630], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea edx, [ebp - 0x630]
push edx
lea eax, [ebp - 0x324]
push eax
call fcn.0042e05d
add esp, 0xc
test eax, eax
jne 0x414bc4
push 0
lea ecx, [ebp - 0x648]
push ecx
lea ecx, [ebp - 4]
call fcn.00417310
jmp 0x4149cf
lea edx, [ebp - 0x630]
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 0
jne 0x414be5
mov dword [ebp - 0x664], 0
jmp 0x414c32
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x638], ecx
mov eax, dword [ebp - 0x638]
add eax, 3
and al, 0xfc
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x668], esp
mov edx, dword [ebp - 0x638]
push edx
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x668]
push ecx
call fcn.004153c0
mov dword [ebp - 0x664], eax
mov edx, dword [ebp - 0x664]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.00453370
mov ecx, eax
call fcn.00453794
test eax, eax
je 0x414c6b
push 0
lea ecx, [ebp - 0x64c]
push ecx
lea ecx, [ebp - 4]
call fcn.00417310
jmp 0x4149cf
mov edx, dword [ebp - 0x114]
push edx
call fcn.0042dc9d
add esp, 4
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 1
je 0x414cf4
cmp dword [ebp - 0x63c], 2
je 0x414cf4
cmp dword [ebp - 0x63c], 7
jne 0x414cb2
push 1
push 3
mov eax, dword [ebp - 0x114]
push eax
call fcn.00424610
mov ecx, eax
call fcn.004248c8
lea ecx, [ebp - 4]
call fcn.00416c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x414cf4
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x650]
push edx
mov ecx, dword [ebp - 0x658]
add ecx, 0x5a0
call fcn.004390b0
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x4149cf
push 0
lea edx, [ebp - 0x654]
push edx
lea ecx, [ebp - 4]
call fcn.00417310
jmp 0x4149cf
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
lea esp, [ebp - 0x66c]
pop edi
mov esp, ebp
pop ebp
ret