Function at 0x40fce0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c636
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x74b1ac]
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 esi, ecx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x2b4]
push edx
mov ecx, dword [ebx + 0x108]
mov eax, dword [ecx]
call dword [eax + 4]
push str.BtnClose
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], 0
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x40fd79
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 5
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.close
mov word [ecx], ax
call fcn.00409b90
mov ecx, esi
call fcn.00412080
push 1
mov ecx, esi
call sym._1.0.0.4_10001.exe_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_
jmp 0x40ffba
push str.BtnHandSel
lea ecx, [ebp - 0x2b4]
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x40ff3c
push 0x206
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.004e5e40
push 0x58
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.004e5e40
mov eax, dword [esi + 4]
add esp, 0x18
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2f4], eax
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x310]
push eax
mov dword [ebp - 0x310], 0x58
mov dword [ebp - 0x2f0], 0x208
mov dword [ebp - 0x304], str.ISO_Files
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x2dc], 0x1800
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
cmp eax, 1
jne 0x40ffba
mov edx, dword [ebp - 0x2f4]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fe30
sub ecx, edi
lea edi, [esi + 0x83c]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00409b90
sub esp, 0x18
mov ecx, esp
push edi
call fcn.004088b0
mov ecx, esi
call fcn.00410420
mov ecx, dword [esi + 0x788]
test eax, eax
mov eax, dword [ecx]
je 0x40ff32
push 0x709480
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x790]
push 1
mov eax, dword [ecx]
call dword [eax + 0x110]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x709184
mov ecx, edi
call fcn.00412c00
inc eax
mov ecx, edi
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00408630
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x780]
cmp dword [ebp - 0x21c], 8
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call edx
cmp dword [edi + 0x14], 8
mov ecx, dword [esi + 0x780]
mov eax, dword [ecx]
jb 0x40fede
mov edi, dword [edi]
push edi
call dword [eax + 0xcc]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x40ffba
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffeb
push edx
push ecx
call fcn.004cd516
add esp, 8
jmp 0x40ffba
push 0x7095c0
call dword [eax + 0x2c]
jmp 0x40ffba
push str.BtnInstall
lea ecx, [ebp - 0x2b4]
call sym._1.0.0.4_10001.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
test al, al
je 0x40ffba
push 0
push 0x3e8
push 0x2760
mov ecx, esi
mov dword [esi + 0x874], 0
call sym._1.0.0.4_10001.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x788]
push str.ck_Wg_
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x790]
push 0
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, dword [esi + 0x78c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x104]
push 0
push 0
push esi
push 0x40d7d0
push 0
push 0
call fcn.004ee388
add esp, 0x18
push ebx
mov ecx, esi
call sym._1.0.0.4_10001.exe_protected_virtual:_void___thiscall_DuiLib::WindowImplBase::OnClick_struct_DuiLib::tagTNotifyUI__
lea ecx, [ebp - 0x2b4]
call sym._1.0.0.4_10001.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
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.004cd30a
mov esp, ebp
pop ebp
ret 4
call fcn.004e9059
int3