Function at 0x4f6010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x746f58
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x274]
push edx
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
call dword [eax + 4]
push 0x7fb818
mov ecx, esi
call fcn.00460420
test al, al
je 0x4f64c9
mov ecx, dword [ebp - 0x270]
sub esp, 8
mov edx, dword [ebp - 0x274]
mov eax, esp
push ecx
push edx
mov dword [eax], 0x7fb804
mov dword [eax + 4], 8
call fcn.0045b8a0
add esp, 0x10
test al, al
je 0x4f60a1
push 2
lea ecx, [edi - 0x24]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4f64d2
mov ecx, dword [ebp - 0x270]
sub esp, 8
mov edx, dword [ebp - 0x274]
mov eax, esp
push ecx
push edx
mov dword [eax], str.changedir
mov dword [eax + 4], 9
call fcn.0045b8a0
add esp, 0x10
test al, al
je 0x4f6376
mov esi, dword [edi - 0x20]
lea ecx, [ebp - 0x290]
push 0x7fb824
call fcn.0044c260
push 0x7fb84c
lea ecx, [ebp - 0x2e4]
mov dword [ebp - 4], 0
call fcn.0044c260
mov dword [ebp - 4], 2
lea eax, [ebp - 0x290]
cmp dword [ebp - 0x27c], 8
mov dword [ebp - 0x250], esi
cmovae eax, dword [ebp - 0x290]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x240], 0x43
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
test esi, esi
jne 0x4f6186
push eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
push 0x7febec
jmp 0x4f61e7
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [ebp - 0x258], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f61d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.0044bdc0
lea ecx, [ebp - 0x2e4]
call fcn.0044bf40
lea ecx, [ebp - 0x290]
call fcn.0044bf40
mov dword [ebp - 4], 3
cmp dword [ebp - 0x258], 0
je 0x4f6366
push 1
push 0x7fb848
lea ecx, [ebp - 0x268]
call fcn.00460700
call fcn.0045a4e0
mov esi, eax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x268]
mov dword [ebp - 0x26c], esi
push eax
call fcn.004609e0
add esi, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x278], esi
cmovae eax, dword [ebp - 0x230]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4f627e
mov edx, dword [esi]
mov dword [ebp - 0x278], edx
mov edx, dword [ebp - 0x220]
cmp dword [esi + 0x10], edx
jne 0x4f62a9
push dword [esi + 0x10]
mov ecx, dword [ebp - 0x278]
mov edx, eax
call fcn.00460840
add esp, 4
test eax, eax
je 0x4f62f9
mov ecx, dword [esi + 0x14]
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x4f62cd
cmp dword [ebp - 0x21c], 8
mov ecx, esi
push edx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0044bdc0
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp - 0x26c]
add eax, 0x98
cmp ecx, 8
jb 0x4f62df
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4f62e7
mov eax, dword [eax]
push eax
push esi
push str.down_dir
push 0x7f8f64
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.0044bf40
sub esp, 8
lea ecx, [edi + 0x10]
mov eax, esp
mov dword [eax], str.edit_dir
mov dword [eax + 4], 8
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___const]
mov edi, eax
test edi, edi
je 0x4f6366
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
call fcn.0045a4e0
add eax, 4
lea ecx, [ebp - 0x230]
push eax
call fcn.004609e0
sub esp, 0x1c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
call fcn.00460bc0
mov ecx, edi
call esi
lea ecx, [ebp - 0x230]
call fcn.0044bf40
lea ecx, [ebp - 0x268]
call fcn.0044bf40
jmp 0x4f64d2
mov ecx, dword [ebp - 0x270]
sub esp, 8
mov edx, dword [ebp - 0x274]
mov eax, esp
push ecx
push edx
mov dword [eax], str.opendir
mov dword [eax + 4], 7
call fcn.0045b8a0
add esp, 0x10
test al, al
je 0x4f64d2
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 6
call fcn.0045a4e0
add eax, 4
lea ecx, [ebp - 0x230]
push eax
call fcn.004609e0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00460370
lea ecx, [ebp - 0x230]
call fcn.0044bf40
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
xorps xmm0, xmm0
mov dword [ebp - 0x294], 0
cmovae eax, dword [ebp - 0x24c]
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2cc]
push eax
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2ac], xmm0
movlpd qword [ebp - 0x2a4], xmm0
movlpd qword [ebp - 0x29c], xmm0
mov dword [ebp - 0x2cc], 0x3c
mov dword [ebp - 0x2bc], 0x7fb880
mov dword [ebp - 0x2c0], 0x7fb874
mov dword [ebp - 0x2b0], 0xa
mov dword [ebp - 0x2b4], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x23c], 0
cmovae eax, dword [ebp - 0x24c]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x24c]
call fcn.0044bf40
jmp 0x4f64d2
push esi
mov ecx, edi
call dword [sym.imp.DuiLib.dll_public_virtual:_void___thiscall_DuiLib::WindowImplBase::Notify_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret 4