Function at 0x402e10
Capabilities:
Create thread
Print debug messages

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 0x5aaaa3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x878
mov eax, dword [0x6360c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x868], eax
xor edx, edx
mov dword [ebp - 0x884], 0
xor edi, edi
mov dword [ebp - 0x878], edx
mov dword [ebp - 0x880], edi
mov dword [ebp - 0x87c], edx
xor esi, esi
mov dword [ebp - 4], edx
add eax, 0x398
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x864], 3
mov ecx, dword [eax]
test ecx, ecx
je 0x402ef6
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SWindow::IsChecked_void_]
test eax, eax
je 0x402ef0
mov dword [ebp - 0x870], esi
cmp edi, dword [ebp - 0x878]
je 0x402ecb
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x880], edi
jmp 0x402ef0
lea eax, [ebp - 0x870]
push eax
push edi
lea ecx, [ebp - 0x884]
call fcn.00404c80
mov ecx, dword [ebp - 0x87c]
mov edi, dword [ebp - 0x880]
mov dword [ebp - 0x878], ecx
mov eax, dword [ebp - 0x874]
add eax, 4
inc esi
sub dword [ebp - 0x864], 1
mov dword [ebp - 0x874], eax
jne 0x402ea0
cmp esi, 6
jl 0x402e90
mov esi, dword [ebp - 0x884]
xorps xmm0, xmm0
sub edi, esi
test edi, 0xfffffffc
jne 0x40305b
push 0xb
push 0x628e14
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x850], 0
movups xmmword [ebp - 0x860], xmm0
mov dword [ebp - 0x84c], 0
call fcn.00401950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x838], 0
push 0x628e2c
movups xmmword [ebp - 0x848], xmm0
mov dword [ebp - 0x834], 0
call fcn.00401950
push 0
lea eax, [ebp - 0x860]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0x3e8]
call fcn.00405ab0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x834]
cmp ecx, 7
jbe 0x402fe9
mov edx, dword [ebp - 0x848]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402fdf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403366
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84c]
cmp ecx, 7
jbe 0x40302d
mov edx, dword [ebp - 0x860]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403023
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403366
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov eax, dword [ebp - 0x868]
lea ecx, [ebp - 0x3e8]
push dword [eax + 0x248]
call dword [sym.imp.soui.dll_public_virtual:_int___thiscall_SOUI::SHostDialog::DoModal_struct_HWND____]
lea ecx, [ebp - 0x3e8]
call fcn.00405c70
mov edx, dword [ebp - 0x878]
jmp 0x40330a
xor eax, eax
mov dword [ebp - 0x820], 0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x868]
cmp byte [edi + 0x390], al
je 0x4030cc
mov ecx, dword [edi + 0x394]
test ecx, ecx
je 0x4030cc
mov eax, dword [ecx]
lea edx, [ebp - 0x870]
push 0
push edx
mov eax, dword [eax + 0x3c]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x830]
push dword [eax]
call fcn.00403fd0
lea ecx, [ebp - 0x870]
mov byte [ebp - 4], 6
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
call fcn.0040d450
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.0040dea0
push 0
push 0
push ecx
push str.wnd_msg
lea ecx, [edi + 4]
mov byte [edi + 0x3b0], 0
call fcn.004045b0
mov ecx, eax
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::EnableWindow_int__int_]
push 0x62930c
lea ecx, [ebp - 0x864]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 8
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
push str.wnd_ctl
lea ecx, [edi + 4]
mov byte [ebp - 4], 9
call fcn.004045b0
push 0
lea ecx, [ebp - 0x864]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x868]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x868]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 6
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 1
push 0
push ecx
push str.wnd_msg
lea ecx, [edi + 4]
call fcn.004045b0
mov ecx, eax
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SWindow::SetVisible_int__int_]
push 0x628e60
lea ecx, [ebp - 0x864]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push 0x629300
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 0xa
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::constructor_wchar_t_const__]
push ecx
push str.wnd_uninstall
lea ecx, [edi + 4]
mov byte [ebp - 4], 0xb
call fcn.004045b0
push 0
lea ecx, [ebp - 0x864]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x868]
push ecx
mov ecx, eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x868]
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 6
call dword [sym.imp.utilities.dll_public:_void___thiscall_SOUI::TStringT_wchar_t__struct_SOUI::wchar_traits_::destructor_void_]
push 0x800
lea esi, [edi + 0x3b1]
push 0
lea eax, [ebp - 0x818]
push eax
call fcn.00477510
add esp, 0xc
lea eax, [ebp - 0x818]
push esi
push 0x628e64
push 0x3ff
push eax
call fcn.00404c60
add esp, 0x10
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 8
call fcn.0042d9ee
add esp, 4
mov dword [ebp - 0x870], eax
mov dword [eax], 0x406da0
mov dword [eax + 4], esi
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 0xc
push ecx
push 0
push eax
push 0x4056c0
push 0
push 0
call fcn.0047fb7e
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x86c], ecx
test ecx, ecx
je 0x403355
cmp dword [edi + 0x3b8], 0
jne 0x40336b
mov eax, dword [ebp - 0x868]
mov dword [edi + 0x3b4], ecx
mov ecx, dword [ebp - 0x81c]
mov dword [edi + 0x3b8], eax
cmp ecx, 7
jbe 0x4032e1
mov edx, dword [ebp - 0x830]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4032d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403370
push ecx
push edx
call fcn.0042dc6f
add esp, 8
mov edx, dword [ebp - 0x87c]
xor eax, eax
mov esi, dword [ebp - 0x884]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
test esi, esi
je 0x403337
sub edx, esi
mov eax, esi
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x40332d
mov esi, dword [eax - 4]
add edx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403370
push edx
push esi
call fcn.0042dc6f
add esp, 8
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.0042d9e0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
mov dword [ebp - 0x868], 0
call fcn.0042c35f
call fcn.0047a870
call fcn.0047a8c1
call fcn.0047a870
int3