Function at 0x4ae210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a318
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5ac020]
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 eax, dword [0x5be230]
mov ecx, dword [eax + 0xbc]
test byte [ecx + 0xa20], 0x40
je 0x4ae509
mov edx, dword [ecx + 0xba0]
test edx, edx
js 0x4ae27e
mov eax, dword [ecx + 0xb94]
sub eax, dword [ecx + 0xb90]
sar eax, 2
cmp edx, eax
jae 0x4ae27e
mov eax, dword [ecx + 0xb90]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + 0x1c]
jmp 0x4ae280
xor esi, esi
cmp dword [esi], 1
jne 0x4ae509
add esi, 0xc
cmp dword [esi + 0x14], 8
jb 0x4ae296
mov eax, dword [esi]
jmp 0x4ae298
mov eax, esi
mov ecx, dword [0x5be2f0]
push eax
call fcn.00495bd0
cmp eax, 0xffffffff
je 0x4ae3ca
cmp dword [esi + 0x14], 8
jb 0x4ae2b5
mov esi, dword [esi]
mov eax, dword [0x5be230]
push esi
mov ecx, dword [eax + 0xbc]
add ecx, 0x1348
call fcn.00495ca0
mov ebx, eax
test ebx, ebx
je 0x4ae509
cmp dword [ebx + 0x1c], 8
lea edi, [ebx + 8]
jb 0x4ae2e3
mov ecx, dword [edi]
jmp 0x4ae2e5
mov ecx, edi
mov eax, dword [0x5be230]
push ecx
mov esi, dword [eax + 0xbc]
lea ecx, [esi + 0x1348]
call fcn.00495bd0
push eax
lea ecx, [esi + 0x1348]
call fcn.004dc6a0
cmp dword [ebx + 0x19c], 0
jne 0x4ae509
cmp dword [ebx + 0x118], 2
jne 0x4ae368
cmp dword [ebx + 0x4c], 8
lea esi, [ebx + 0x38]
jb 0x4ae32b
mov eax, dword [esi]
jmp 0x4ae32d
mov eax, esi
push 0
push eax
call fcn.005008a4
add esp, 8
cmp eax, 0xffffffff
je 0x4ae509
cmp dword [esi + 0x14], 8
jb 0x4ae349
mov esi, dword [esi]
push 5
push 0x56c344
push esi
push str.Explorer
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4ae509
lea ecx, [ebp - 0x2c]
call fcn.00401760
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x4ae37f
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x2c]
push str._select___s_
push eax
call fcn.00401a00
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 5
push 0x56c344
push eax
push str.Explorer
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004021a0
jmp 0x4ae509
cmp dword [esi + 0x14], 8
jb 0x4ae3d4
mov eax, dword [esi]
jmp 0x4ae3d6
mov eax, esi
push 0
push eax
call fcn.005008a4
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp eax, 0xffffffff
je 0x4ae470
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x4ae425
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x2c]
push str._select___s_
push eax
call fcn.00401a00
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 5
push 0x56c344
push eax
push str.Explorer
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004021a0
jmp 0x4ae509
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 8
jb 0x4ae49d
mov esi, dword [esi]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
lea edx, [ebp - 0x28]
call fcn.004bfc60
add esp, 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push 0
push eax
call fcn.005008a4
add esp, 8
cmp eax, 0xffffffff
je 0x4ae4ee
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push 5
cmovae eax, dword [ebp - 0x44]
push 0x56c344
push eax
push str.Explorer
push str.OPEN
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00402220
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402220
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.004ffcef
mov esp, ebp
pop ebp
ret