Function at 0x100558dd
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], 0xffffffff
mov edi, ecx
inc esi
push esi
lea ecx, [ebp - 0x34]
call fcn.10010401
mov dword [ebp - 0x1c], 0x884cb8f6
xor ebx, ebx
mov dword [ebp - 0x18], 0x35a7ab5b
mov dword [ebp - 0x14], ebx
jmp 0x10055920
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], 2
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10055910
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
jl 0x10055a79
mov dword [ebp - 8], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
jmp 0x10055a67
mov dword [ebp - 0xc], 2
mov dword [ebp - 0xc], ebx
jmp 0x10055a18
mov dword [ebp - 0x20], 0xffffffff
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
cmp eax, esi
setle cl
cmp ecx, dword [ebp - 0x10]
jge 0x10055987
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x18], 0x1b
cmp dword [ebp - 0x18], 0x14
jl 0x10055a15
mov dword [ebp - 0x14], ebx
jmp 0x10055a04
mov dword [ebp - 0x1c], ebx
jmp 0x100559fc
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + ecx*4]
mov dword [edx + esi*4], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x100559f9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x100559c8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x100559c3
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x14
jge 0x100559be
xor esi, esi
inc esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jle 0x1005595c
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
setle dl
add edx, 0xe3c2
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x1c], 0xffff
jb 0x10055a59
mov edx, esi
cmp dword [ebp - 8], ebx
jne 0x10055a5b
mov edx, ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x1005594d
dec dword [ebp - 0x10]
jns 0x1005593f
lea ecx, [ebp - 0x34]
call fcn.10010636
push esi
push 0x1fd
push edi
push 0x5496
call fcn.10050bdf
mov dword [ebp - 0x18], 0xffffffff
add esp, 0x10
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x18], ebx
jmp 0x10055b21
mov dword [ebp - 0x1c], 0x782
mov dword [ebp - 0x10], ebx
jmp 0x10055ac2
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x28], 0xfffffffb
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jl 0x10055ab4
mov dword [ebp - 0x10], ebx
jmp 0x10055ad7
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x50], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x10055acd
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x10055b0a
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
jne 0x10055af3
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jne 0x10055afb
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10055b0c
mov ecx, esi
mov eax, dword [ebp - 0x1c]
add eax, ecx
xor ecx, ecx
cmp eax, 0x59c4
setl cl
mov dword [ebp - 0x4c], ecx
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff6
jl 0x10055aa8
push edi
call fcn.1001bf0a
xor edi, edi
mov esi, eax
pop ecx
inc edi
lea ecx, [ebp - 0x40]
push edi
call fcn.10010401
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], ebx
jmp 0x10055b5b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
mov dword [eax + ecx*4], 0x9f9b3198
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x10055b4b
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jl 0x10055b8b
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10055b77
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
dec dword [ebp - 0x1c]
jns 0x10055b68
lea ecx, [ebp - 0x40]
call fcn.10010636
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret