Function at 0x46b090
Capabilities:
Access peb ldr_data
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4ec47a
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov dword [esp + 0x244], 1
xor eax, eax
xor ebx, ebx
push 0x1ff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea eax, [esp + 0x3d]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0x44], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x24c]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x244], 2
push 0x502b38
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00402a60
mov byte [esp + 0x250], 3
lea ecx, [esp + 0x25c]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004029d0
add esp, 0x18
mov byte [esp + 0x244], 5
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x244], 6
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x4ff418
push 0x502d68
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x200
lea eax, [esp + 0x3c]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x44]
add esp, 0xc
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x46b1b0
mov esi, dword [esi - 0xc]
lea ecx, [esp + 0x38]
mov edx, 0x414
mov eax, ecx
mov word [esp + 0x28], dx
mov byte [esp + esi + 0x39], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2a], ebx
mov dword [esp + 0x2e], ebx
mov dword [esp + 0x32], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b1f4
sub eax, edx
cmp eax, 0xa
jbe 0x46b299
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x46b299
lea ecx, [esp + 0xc]
push ecx
call fcn.00491540
mov byte [esp + 0x248], 7
mov edx, dword [eax]
push edx
push str.DeleteAll_err__:_s
push 8
call fcn.0043d500
add esp, 0x10
mov byte [esp + 0x244], 6
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
lea eax, [esp + 0x254]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x248], 8
push ecx
lea edx, [esp + 0x254]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x24c], 9
mov byte [esp + 0x24c], 6
call fcn.00464fe0
add esp, 8
mov esi, dword [esp + 0x24c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x46b2a5
sub eax, edx
cmp eax, 0xa
jbe 0x46b2ba
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [esp + 0x244], 1
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x244], bl
lea ecx, [esp + 0x24c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x244], 0xffffffff
lea ecx, [esp + 0x250]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004e0148
add esp, 0x23c
ret