Function at 0x51f650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bb54
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x6b000c]
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]
lea edx, [ebp - 0x2a0]
mov dword [ebp - 0x2a4], 0
push edx
mov ecx, dword [eax + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a0]
mov edi, dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CStdString::operator_wchar_t_const__const]
push str.btnClose
call edi
test al, al
jne 0x51f8b5
push str.btnUninst
lea ecx, [ebp - 0x2a0]
call edi
test al, al
je 0x51f77e
push 0
push str.RecoverMasterWndClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x51f6f3
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 1
mov edx, 0x6b88a0
push str.uninst.exe
lea ecx, [ebp - 0x2a8]
call fcn.0048e450
add esp, 4
mov dword [ebp - 0x2a4], 1
push 5
push 0x6b88a0
push 0
push dword [ebp - 0x2a8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
mov eax, 1
mov dword [ebp - 0x2a4], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x2a8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51f8e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x51f8e4
push str.btnSale
lea ecx, [ebp - 0x2a0]
call edi
test al, al
je 0x51f7dd
mov eax, dword [0x6b9698]
cmp dword [eax - 0xc], 0
jne 0x51f7b8
mov ecx, dword [esi + 4]
xor edx, edx
push 1
call fcn.004dce30
mov eax, dword [0x6b9698]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x51f8e4
push str.tabMain
lea ecx, [esi + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
test eax, eax
je 0x51f8e4
push 1
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
jmp 0x51f8e4
push str.btnQQ
lea ecx, [ebp - 0x2a0]
call edi
test al, al
je 0x51f7fb
mov ecx, dword [esi + 4]
call fcn.004e23e0
jmp 0x51f8e4
push str.btnPrev
lea ecx, [ebp - 0x2a0]
call edi
test al, al
je 0x51f81b
push ecx
push 0
mov ecx, esi
call fcn.005203b0
jmp 0x51f8e4
push str.btnPay
lea ecx, [ebp - 0x2a0]
call edi
test al, al
je 0x51f838
mov ecx, esi
call fcn.00520500
jmp 0x51f8e4
push str.voucherOK
lea ecx, [ebp - 0x2a0]
call edi
test al, al
je 0x51f8e4
mov ecx, esi
call fcn.005209f0
test al, al
je 0x51f887
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x6b17c0
call fcn.00420d90
mov byte [ebp - 4], 3
push 0
mov byte [ebp - 4], 0
mov edx, 0x40
mov ecx, dword [esi + 4]
call fcn.004e0d20
add esp, 0x1c
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 5
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [0x6b92e0]
push str.RecoverMasterWndClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x51f8da
push 0
push 0
push 0x430
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
mov ecx, esi
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a0]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
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.0055f9be
mov esp, ebp
pop ebp
ret 4