Function at 0x100478f6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10047927
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10047922
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10047ada
mov dword [ebp - 4], 0xaeef
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xa3ea
mov dword [ebp - 0x48], 0x50169ff9
mov dword [ebp - 0x40], 0xcb51404f
mov dword [ebp - 0x3c], 0xd4763c6d
mov dword [ebp - 8], 0
jmp 0x10047961
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x10047974
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x70], 0xffffffff
jmp 0x1004795a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
xor eax, eax
inc eax
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
je 0x10047997
mov eax, 0x7bc6c895
test eax, eax
je 0x10047997
mov dword [ebp - 0x14], 1
jmp 0x1004799b
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x14], eax
jg 0x100479ac
mov dword [ebp - 0x18], 1
jmp 0x100479b0
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jl 0x100479c1
mov dword [ebp - 0x1c], 1
jmp 0x100479c5
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1c], eax
jge 0x100479d6
mov dword [ebp - 0x5c], 1
jmp 0x100479da
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jg 0x100479f4
cmp dword [ebp - 4], 0
jne 0x100479f4
and dword [ebp - 0x20], 0
jmp 0x100479fb
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], eax
je 0x10047a0c
mov dword [ebp - 0x24], 1
jmp 0x10047a10
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 1
jne 0x10047a1f
mov dword [ebp - 0x28], 1
jmp 0x10047a23
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 4]
jl 0x10047a38
mov dword [ebp - 0x2c], 1
jmp 0x10047a3c
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x40]
jne 0x10047a50
mov dword [ebp - 0x30], 1
jmp 0x10047a54
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
je 0x10047a63
mov dword [ebp - 0x34], 1
jmp 0x10047a67
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jl 0x10047a7e
mov dword [ebp - 0x38], 1
jmp 0x10047a82
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x40]
jle 0x10047a9d
mov dword [ebp - 0x44], 1
jmp 0x10047aa1
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jle 0x10047ab5
mov dword [ebp - 0x4c], 1
jmp 0x10047ab9
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x4c]
jle 0x10047aca
mov dword [ebp - 0x50], 1
jmp 0x10047ace
and dword [ebp - 0x50], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x50]
mov dword [ebp + eax - 0x70], ecx
mov esp, ebp
pop ebp
ret