Function at 0x451950
Capabilities:
Create process on windows
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498ecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2e0
xor eax, eax
je 0x451b3d
lea ecx, [ebp - 0x9c]
call fcn.0041e380
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x451abb
push 0x250
push 0
lea edx, [ebp - 0x2ec]
push edx
call fcn.0045d480
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.0041e380
mov byte [ebp - 4], 1
push 0x4b6084
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0041fd10
add esp, 0xc
lea edx, [ebp - 0x84]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x4519f8
mov dword [ebp - 0x30], 1
jmp 0x4519ff
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x451a1b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x451a92
push 0x4b6088
lea edx, [ebp - 0x2c0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x451a6d
push 0x4b608c
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x451a71
jmp 0x451a73
jmp 0x451a88
lea ecx, [ebp - 0x2ec]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x451a41
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c0]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0041fd10
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00423720
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x451adc
mov dword [ebp - 0x38], 1
jmp 0x451ae3
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x451aff
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004518b0
add esp, 8
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00423720
mov eax, dword [ebp - 0x60]
jmp 0x451cb1
call fcn.0042b7e0
test eax, eax
jne 0x451beb
call fcn.0042b7f0
test eax, eax
jne 0x451beb
mov dword [ebp - 0x14], 0x32
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00455300
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x451b9f
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x4b60a0
push str._s:CmOpenFolderByCmdStart__s__ok:_d
call fcn.00454b60
add esp, 0x10
mov dword [ebp - 0x40], 1
jmp 0x451be3
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4b6148
push str._s:CmOpenFolderByCmdStart__s__no:_d
call fcn.00454b60
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x68], 0
jg 0x451bd2
jmp 0x451be3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
test edx, edx
jne 0x451b65
mov eax, dword [ebp - 0x40]
jmp 0x451cb1
mov dword [ebp - 0x2c], 0x32
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4b6094
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x20
jle 0x451c52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4b61f0
push str._s:ShellExecute__s__ok:retrynum_d_ret_d_code_d
call fcn.00454b60
add esp, 0x18
mov dword [ebp - 0x44], 1
jmp 0x451cae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.CJHShellExplorerHelper::CmExplorerFileOrFolder
push str._s:ShellExecute__s__no:retrynum_d_ret_d_code_d
call fcn.00454b60
add esp, 0x18
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x6c], 0
jg 0x451c99
jmp 0x451cae
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 1
test edx, edx
jne 0x451c00
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret