Function at 0x40a000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503aca
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x55f3d0]
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]
mov ecx, esi
push str.click
mov dword [ebp - 0x44], esi
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
test eax, eax
jne 0x40a366
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push 0x50be00
mov ecx, eax
mov dword [ebp - 4], 0
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
mov esi, eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x40a0b7
cmp byte [edi + 0x56c], 0
je 0x40a0ae
lea ecx, [edi + 0x554]
call fcn.00414f30
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [ecx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push str.browse
mov ecx, eax
mov dword [ebp - 4], 1
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
mov esi, eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x40a10a
lea ecx, [edi - 0x20]
call fcn.0040a3b0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push 0x50c08c
mov ecx, eax
mov dword [ebp - 4], 2
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
mov esi, eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x40a167
mov eax, dword [edi + 0x4d0]
mov byte [eax], 1
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push str.open
mov ecx, eax
mov dword [ebp - 4], 3
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
mov esi, eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x40a2a8
mov ecx, dword [edi + 0x524]
test ecx, ecx
je 0x40a2a8
mov eax, dword [ecx]
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [eax + 0x38]
call eax
mov ecx, eax
mov dword [ebp - 4], 4
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
mov edx, eax
mov dword [ebp - 0x30], esi
mov ecx, edx
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a1f4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407950
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004017a0
add esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push 1
push 0
push 0
push eax
push 0x531764
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x40a287
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a27d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a3a7
push ecx
push edx
call fcn.004d634e
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00403250
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xc8]
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push 0x50be0c
mov ecx, eax
mov dword [ebp - 4], 7
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
mov esi, eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x40a2fb
lea ecx, [edi - 0x20]
call fcn.0040a780
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x14c]
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push str.cancel
mov ecx, eax
mov dword [ebp - 4], 8
call sym.CAD.exe_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const
push eax
call fcn.004e1ab4
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
mov esi, eax
call sym.CAD.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
test esi, esi
jne 0x40a363
cmp byte [edi + 0x56c], 0
je 0x40a35a
lea ecx, [edi + 0x554]
call fcn.00414f30
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [ebp - 0x44]
push str.timer
mov ecx, esi
call sym.CAD.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x40a38a
cmp dword [esi + 0x118], 0x1f41
jne 0x40a38a
lea ecx, [edi - 0x20]
call fcn.0040ac70
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.004d635c
mov esp, ebp
pop ebp
ret 4
call fcn.004dc07f
int3