Function at 0x40b0e0
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x45533f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x471df4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x144], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push 0x104
push eax
mov byte [esp + 0x14c], 3
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [edi + 0x5cc]
mov ebp, dword [edi + 0x5c4]
test eax, eax
jbe 0x40b25f
mov dword [esp + 0x34], eax
mov bl, 6
mov eax, ebp
mov ebp, dword [ebp]
add eax, 8
lea ecx, [esp + 0x14]
push eax
call fcn.0044a4c1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0044a4c1
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00449442
cmp eax, 0xffffffff
je 0x40b23e
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call fcn.004490eb
push str.INFCATALOG_
lea ecx, [esp + 0x34]
call fcn.0044a442
mov esi, eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x148], 4
call fcn.0044a442
push esi
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x14c], 5
push eax
call fcn.0044a5b7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x150], bl
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 7
call fcn.0044a4c1
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 5
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 4
call fcn.0044a3d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 3
call fcn.0044a3d4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0042cf30
mov eax, dword [esp + 0x3c]
add esp, 8
dec eax
mov dword [esp + 0x34], eax
jne 0x40b157
test byte [edi + 0x5dc], 0x10
je 0x40b389
mov ebp, dword [edi + 0x98c]
mov esi, dword [edi + 0x984]
test ebp, ebp
jbe 0x40b345
lea ebx, [edi + 0x5e0]
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x18]
push eax
call fcn.0044a149
mov edi, eax
push str.PREV_
lea ecx, [esp + 0x20]
mov byte [esp + 0x148], 8
call fcn.0044a442
push eax
lea edx, [esp + 0x24]
push ebx
push edx
mov byte [esp + 0x150], 9
call fcn.0044a5b7
push edi
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x14c], 0xa
push eax
call fcn.0044a5b7
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 0xb
call fcn.0044a4c1
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 0xa
call fcn.0044a3d4
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 9
call fcn.0044a3d4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 8
call fcn.0044a3d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 3
call fcn.0044a3d4
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0042cc40
add esp, 4
dec ebp
jne 0x40b286
mov edi, dword [esp + 0x2c]
lea edx, [edi + 0x5e0]
push str.PREV
lea eax, [esp + 0x30]
push edx
push eax
call fcn.0044a61d
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 0xc
call fcn.0044a4c1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 3
call fcn.0044a3d4
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [edi + 0x5dc]
test eax, 0x1000000
je 0x40b39f
mov ecx, edi
call fcn.00412c70
jmp 0x40b3d6
test al, 0x40
je 0x40b3ac
mov ecx, edi
call fcn.0040aab0
jmp 0x40b3d6
lea edx, [edi + 0x704]
lea eax, [edi + 0x600]
push edx
lea ecx, [edi + 0x8cc]
push eax
lea edx, [edi + 0x9e8]
push ecx
lea eax, [edi + 0x980]
push edx
push eax
mov ecx, edi
call fcn.0040a5b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 2
call fcn.0044a3d4
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 1
call fcn.0044a3d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0
call fcn.0044a3d4
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call fcn.0044a3d4
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret