Function at 0x45a900
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9bb9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [ebp - 0x58], esi
mov eax, dword [eax + 0x20]
call eax
cmp eax, 0x2710
jne 0x45ace5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x45ace5
mov edx, str.btn_close
mov ecx, eax
nop
mov si, word [ecx]
cmp si, word [edx]
jne 0x45a996
test si, si
je 0x45a992
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45a996
add ecx, 4
add edx, 4
test si, si
jne 0x45a970
xor ecx, ecx
jmp 0x45a99b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x45a9ba
mov esi, dword [ebp - 0x58]
mov byte [esi + 0xc], cl
mov ecx, edi
call dword [sym.imp.soui.dll_protected:_void___thiscall_SOUI::SHostDialog::OnCancel_void_]
xor eax, eax
cmp byte [esi + 0xc], al
sete al
jmp 0x45acee
mov edx, 0x516394
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x45a9e7
test si, si
je 0x45a9e3
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45a9e7
add ecx, 4
add edx, 4
test si, si
jne 0x45a9c1
xor ecx, ecx
jmp 0x45a9ec
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x45aa0a
mov esi, dword [ebp - 0x58]
mov byte [esi + 0xc], cl
mov ecx, edi
call fcn.0045aff0
xor eax, eax
cmp byte [esi + 0xc], al
sete al
jmp 0x45acee
mov edx, str.gamesupport_down_btn
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x45aa37
test si, si
je 0x45aa33
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45aa37
add ecx, 4
add edx, 4
test si, si
jne 0x45aa11
xor ecx, ecx
jmp 0x45aa3c
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x45aacf
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xc], cl
mov ecx, dword [edi + 0x398]
test ecx, ecx
je 0x45aabf
cmp dword [edi + 0x39c], 0
je 0x45aabf
cmp dword [edi + 0x3a0], 0
je 0x45aabf
cmp dword [edi + 0x3a4], 0
je 0x45aabf
mov esi, dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
push 1
push 0
call esi
mov ecx, dword [edi + 0x39c]
push 1
push 1
call esi
mov ecx, dword [edi + 0x3a0]
push 1
push 1
call esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call dword [sym.imp.soui.dll_public:_class_SOUI::CRect___thiscall_SOUI::SHostWnd::GetWindowRect_void_]
push 1
push 0x174
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push dword [ebp - 0x20]
push ecx
lea ecx, [edi + 0x23c]
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::MoveWindow_int__int__int__int__int_]
mov ecx, dword [ebp - 0x58]
xor eax, eax
cmp byte [ecx + 0xc], al
sete al
jmp 0x45acee
mov edx, str.gamesupport_up_btn
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x45aafc
test si, si
je 0x45aaf8
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x45aafc
add ecx, 4
add edx, 4
test si, si
jne 0x45aad6
xor ecx, ecx
jmp 0x45ab01
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x45ab6c
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xc], cl
mov ecx, dword [edi + 0x398]
test ecx, ecx
je 0x45aabf
cmp dword [edi + 0x39c], 0
je 0x45aabf
cmp dword [edi + 0x3a0], 0
je 0x45aabf
cmp dword [edi + 0x3a4], 0
je 0x45aabf
mov esi, dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
push 1
push 1
call esi
mov ecx, dword [edi + 0x39c]
push 1
push 0
call esi
mov ecx, dword [edi + 0x3a0]
push 1
push 0
call esi
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call dword [sym.imp.soui.dll_public:_class_SOUI::CRect___thiscall_SOUI::SHostWnd::GetWindowRect_void_]
push 1
push 0xfa
jmp 0x45aaa6
mov ecx, str.get_game_info
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45ab97
test dx, dx
je 0x45ab93
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45ab97
add eax, 4
add ecx, 4
test dx, dx
jne 0x45ab71
xor eax, eax
jmp 0x45ab9c
sbb eax, eax
or eax, 1
mov esi, dword [ebp - 0x58]
test eax, eax
jne 0x45ace5
mov byte [esi + 0xc], al
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x556110]
cmp eax, dword [ecx + 4]
jle 0x45ac02
push 0x556110
call fcn.004c0595
add esp, 4
cmp dword [0x556110], 0xffffffff
jne 0x45ac02
mov dword [ebp - 4], 0
call fcn.004a0bd0
push 0x5015e0
call fcn.004c0b4a
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x556110
call fcn.004c0544
add esp, 4
mov edx, 0x5561c4
lea ecx, [ebp - 0x54]
call fcn.00418f50
mov dword [ebp - 4], 1
lea edx, [ebp - 0x54]
cmp dword [ebp - 0x40], 7
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
cmova edx, dword [ebp - 0x54]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ac40
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.004197f0
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmova eax, dword [ebp - 0x3c]
push 1
push 0
push 0
push eax
push 0x50dd9c
push 0
call edi
cmp eax, 0x20
ja 0x45ac9d
cmp dword [ebp - 0x28], 7
lea eax, [ebp - 0x3c]
push 1
cmova eax, dword [ebp - 0x3c]
push 0
push eax
push 0x50dda8
push 0x50dd9c
push 0
call edi
mov ecx, dword [ebp - 0x28]
cmp ecx, 7
jbe 0x45acd3
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45acc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ad0e
push ecx
push edx
call fcn.004c04a1
add esp, 8
lea ecx, [ebp - 0x54]
call fcn.004177f0
xor eax, eax
cmp byte [esi + 0xc], al
sete al
jmp 0x45acee
push esi
mov ecx, edi
call dword [sym.imp.soui.dll_public_virtual:_int___thiscall_SOUI::SHostDialog::_HandleEvent_class_SOUI::EventArgs__]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c048e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004cfc7c
int3