Function at 0x1004f02c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004f063
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
push 0x629
push dword [ebp - 0x70]
push 1
call fcn.1004f3fd
add esp, 0x10
jmp 0x1004f3f9
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x1004f344
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jl 0x1004f175
mov dword [ebp - 0x38], 1
jmp 0x1004f179
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xffffffff
jl 0x1004f188
mov dword [ebp - 0x48], 1
jmp 0x1004f18c
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0x33ae
je 0x1004f1a1
mov dword [ebp - 0x9c], 1
jmp 0x1004f1a8
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
mov eax, 0xfffd
test eax, eax
jae 0x1004f1c5
mov dword [ebp - 0x1c], 1
jmp 0x1004f1c9
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
imul eax, dword [ebp - 0x1c], 0xb79a
test eax, eax
je 0x1004f1f1
mov eax, 0x6f576105
test eax, eax
je 0x1004f1f1
mov dword [ebp - 0x30], 1
jmp 0x1004f1f5
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 0xac]
call fcn.10010f08
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
push 3
pop eax
test eax, eax
je 0x1004f21f
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
je 0x1004f21f
mov dword [ebp - 0x24], 1
jmp 0x1004f223
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jne 0x1004f236
mov dword [ebp - 0x50], 1
jmp 0x1004f23a
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jle 0x1004f24d
mov dword [ebp - 0x60], 1
jmp 0x1004f251
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx]
je 0x1004f270
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x1004f270
mov dword [ebp - 0x28], 1
jmp 0x1004f274
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jl 0x1004f28c
mov dword [ebp - 0x2c], 1
jmp 0x1004f290
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2c]
jne 0x1004f2a3
mov dword [ebp - 0x34], 1
jmp 0x1004f2a7
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x7051
jg 0x1004f2b9
mov dword [ebp - 0x18], 1
jmp 0x1004f2bd
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x1004f2e0
mov eax, 0xc37461bc
test eax, eax
je 0x1004f2e0
mov dword [ebp - 0x3c], 1
jmp 0x1004f2e4
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jl 0x1004f2f3
mov dword [ebp - 0x44], 1
jmp 0x1004f2f7
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jge 0x1004f30a
mov dword [ebp - 0x4c], 1
jmp 0x1004f30e
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jg 0x1004f31d
mov dword [ebp - 0x54], 1
jmp 0x1004f321
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 4
ja 0x1004f330
mov dword [ebp - 0x5c], 1
jmp 0x1004f334
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x1004f3f9
mov dword [ebp - 0xc4], 0x15e3
cmp dword [ebp - 0xc4], 0x489
jge 0x1004f3f1
xor eax, eax
inc eax
je 0x1004f3f1
lea eax, [ebp - 0x64]
push eax
push 0x1000ddc0
call fcn.10058fc2
pop ecx
pop ecx
cmp dword [ebp - 0x64], 0
jne 0x1004f37f
jmp 0x1004f3f1
mov dword [ebp - 8], 2
jmp 0x1004f38f
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
dec eax
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov byte [ebp - 1], 1
cmp dword [ebp - 0xc], 1
jle 0x1004f3d1
cmp dword [ebp - 0x20], 0
jne 0x1004f3b7
mov byte [ebp - 1], 0
jmp 0x1004f3d1
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax - 1]
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
jmp 0x1004f3a5
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004f3ea
push dword [ebp - 8]
push 0x1000ddd0
call fcn.10057526
pop ecx
pop ecx
jmp 0x1004f3ec
jmp 0x1004f388
jmp 0x1004f35e
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret