Function at 0x1004ed5e
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077b66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1004edc9
lea eax, [ebp + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
push 0x6a2d
mov eax, dword [ebp - 0x40]
push dword [eax]
push dword [ebp - 0x44]
push 0
push dword [ebp - 0x48]
push 0x53db
mov eax, dword [ebp - 0x4c]
push dword [eax]
call fcn.1005146c
add esp, 0x1c
jmp 0x1004efd4
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1004ef62
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x28], 0x1356
mov dword [ebp - 0x64], 0x10008d50
cmp dword [ebp - 0x28], 0x1424
jle 0x1004ee98
push 0x137e
push 0
push 0x16f0
push 0xe59
push 0x6d
call dword [sym.imp.GDI32.dll_ExtFloodFill]
and dword [ebp - 0x18], 0
jmp 0x1004ee4a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6b08
jge 0x1004ee98
and dword [ebp - 0x1c], 0
jmp 0x1004ee60
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x538f
jge 0x1004ee96
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar eax, cl
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
mov ecx, 0x1061e7b8
call fcn.10021267
jmp 0x1004ee59
jmp 0x1004ee43
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x1199
jge 0x1004eeb8
mov edx, dword [ebp - 0x64]
mov ecx, 0x1061e7b8
call fcn.100255e3
jmp 0x1004eed4
or dword [ebp - 4], 0xffffffff
jmp 0x1004eede
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0xe23b
jle 0x1004ef07
mov eax, 0x15289768
test eax, eax
je 0x1004ef07
mov dword [ebp - 0x2c], 1
jmp 0x1004ef0b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jg 0x1004ef1e
mov dword [ebp - 0x34], 1
jmp 0x1004ef22
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
sub eax, 0x1d3
cmp eax, dword [ebp - 0x34]
jge 0x1004ef3a
mov dword [ebp - 0x38], 1
jmp 0x1004ef3e
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
add eax, 3
cmp eax, 0x828161dd
jb 0x1004ef54
mov dword [ebp - 0x3c], 1
jmp 0x1004ef58
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x1004efd4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1004ef96
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jg 0x1004efd4
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
jmp 0x1004efb4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jl 0x1004efd2
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1004efd0
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1004efa9
jmp 0x1004ef8b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret