Function at 0x45d190
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567078
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x121]
call fcn.00452850
lea ecx, [ebp - 0x104]
call fcn.00465fe0
xor ebx, ebx
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], ebx
call fcn.004251d0
mov eax, 0xf
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xc8], bl
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
mov byte [ebp - 0x90], bl
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 1
call fcn.0045f7e0
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e9a0
lea eax, [ebp - 0x2c]
push eax
call fcn.004584e0
push eax
lea ecx, [ebp - 0x64]
push edi
push ecx
mov dword [ebp - 4], 2
call fcn.00405c30
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0x18], esi
jb 0x45d26e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x64]
push ebx
push ecx
mov dword [ebp - 4], 3
call fcn.00459910
add esp, 8
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00403410
lea ecx, [ebp - 0x48]
call fcn.00424f50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], esi
jb 0x45d2d1
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b8946
add esp, 4
lea edx, [ebp - 0x48]
push edx
call fcn.004585a0
push eax
lea eax, [ebp - 0x2c]
push edi
push eax
mov dword [ebp - 4], 4
call fcn.00405c30
add esp, 0x10
cmp dword [ebp - 0x34], esi
jb 0x45d300
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 4], 5
call fcn.00459aa0
lea ecx, [ebp - 0x2c]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
call fcn.0045c0e0
lea edx, [ebp - 0x2c]
push reloc.WS2_32.dll_accept
push edx
call fcn.0045c0e0
lea eax, [ebp - 0x2c]
push eax
call fcn.0045ca80
add esp, 0x1c
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x2c]
mov word [ebp - 0x64], cx
push edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
call fcn.00403410
lea ecx, [ebp - 0x64]
call fcn.00424f50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x45d388
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b8946
add esp, 4
lea ecx, [ebp - 0x48]
push ecx
call fcn.004585d0
push eax
lea edx, [ebp - 0x2c]
push edi
push edx
mov dword [ebp - 4], 6
call fcn.00405c30
add esp, 0x10
cmp dword [ebp - 0x34], esi
jb 0x45d3b7
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b8946
add esp, 4
mov eax, 7
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], eax
call fcn.0045ca80
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
xor eax, eax
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
call fcn.00403410
lea ecx, [ebp - 0x64]
call fcn.00424f50
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x45d416
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
lea ecx, [ebp - 0x130]
call fcn.0045a730
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.0045bd30
mov eax, dword [ebp - 0x130]
cmp eax, ebx
je 0x45d43c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
push 0x2001f
push reloc.OLEAUT32.dll_SysReAllocString
push 0x5bb46c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 9
call fcn.004593c0
push 0xffffffffffffffff
push ebx
xor eax, eax
push edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
call fcn.00403410
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0xb
call fcn.0045c260
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x6c], esi
jb 0x45d4bc
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b8946
add esp, 4
mov eax, dword [ebp - 0x8c]
xor edx, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp eax, ebx
je 0x45d4dd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xf0]
call fcn.0045a510
mov ecx, eax
mov dword [ebp - 4], 0xc
call fcn.0045a640
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.004577b0
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.004947e0
add esp, 8
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0xd
call fcn.004241e0
push eax
lea edx, [ebp - 0x48]
push edi
push edx
mov byte [ebp - 4], 0xe
call fcn.00405c30
add esp, 0xc
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [ebp - 0x64], cx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
call fcn.00403410
cmp dword [ebp - 0x34], esi
jb 0x45d56d
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x45d58e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10c], esi
jb 0x45d5bc
mov eax, dword [ebp - 0x120]
push eax
call fcn.004b8946
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.00424f50
lea ecx, [ebp - 0x80]
push ecx
mov ecx, edi
call fcn.00404ed0
cmp dword [eax + 0x14], esi
jb 0x45d5d6
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [ebp - 0x6c], esi
jb 0x45d5ee
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b8946
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret