Function at 0x409490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc8eb
mov eax, dword fs:[0]
push eax
sub esp, 0xbd8
mov eax, dword [0x5293c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [esi + 0x78], 0
test eax, eax
jne 0x4095db
push 0x564
push eax
lea eax, [ebp - 0x680]
push eax
call fcn.004b7c40
add esp, 0xc
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x680]
push eax
call fcn.00411f20
push 0
push 0
push 0
push 0
push 0
push 0x108
push 0x10ce0000
push 0x4e1d04
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x680]
call sym.GameDownloader.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea ecx, [ebp - 0x680]
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 0
lea ecx, [ebp - 0x680]
call fcn.004130e0
push 0x4e1d14
lea ecx, [ebp - 0x680]
call fcn.004134f0
push 0x4e1d20
lea ecx, [ebp - 0x680]
call fcn.00413420
lea ecx, [ebp - 0x680]
call sym.GameDownloader.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b7c40
push edi
lea eax, [ebp - 0x114]
push str._select___s
push eax
call fcn.004039a0
add esp, 0x18
lea eax, [ebp - 0x114]
push 3
push 0
push eax
push str.explorer.exe
push 0x5040d4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
push 0xf060
push 0x112
lea ecx, [esi - 0x4b8]
call sym.GameDownloader.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x680]
jmp 0x4096c8
cmp eax, 2
jne 0x409603
push 0
push 0xf060
push 0x112
lea ecx, [esi - 0x4b8]
call sym.GameDownloader.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4096cd
push 0x564
lea eax, [ebp - 0xbe4]
push 0
push eax
call fcn.004b7c40
add esp, 0xc
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0xbe4]
push eax
call fcn.00411f20
push 0
push 0
push 0
push 0
push 0
push 0x100
push 0x10ce0000
push 0x4e1d04
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0xbe4]
call sym.GameDownloader.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____
lea ecx, [ebp - 0xbe4]
call sym.GameDownloader.exe_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_
push 0
lea ecx, [ebp - 0xbe4]
call fcn.004130e0
push 0x4e1d64
lea ecx, [ebp - 0xbe4]
call fcn.004134f0
push 0x4e1d70
lea ecx, [ebp - 0xbe4]
call fcn.00413420
lea ecx, [ebp - 0xbe4]
call sym.GameDownloader.exe_public:_unsigned_int___thiscall_DuiLib::CWindowWnd::ShowModal_void_
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4096b1
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x4096c2
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
lea ecx, [ebp - 0xbe4]
call fcn.004120d0
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.004b5d2c
mov esp, ebp
pop ebp
ret 8