Function at 0x14012fd20
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x4a8
mov qword [rsp + 0x3f8], 0xfffffffffffffffe
mov rax, qword [rsp + 0x4b0]
cmp dword [rax + 0x2460], 0
jne 0x14012fd58
mov dword [rsp + 0x4b8], 0
mov dword [rsp + 0x54], 5
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0x4b0]
cmp dword [rax + 0x2460], 1
jne 0x14012fd86
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x400], eax
jmp 0x14012fd91
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x400], eax
lea rcx, [rsp + 0x80]
call fcn.1401bd340
mov qword [rsp + 0x408], rax
mov rax, qword [rsp + 0x408]
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax + 0x21d8]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
lea rdx, [rsp + 0x148]
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax]
call sub.gdiplus.dll_GdipGetFontSize
mov dword [rsp + 0x14c], eax
cmp dword [rsp + 0x14c], 0
je 0x14012fe1b
mov rax, qword [rsp + 0x140]
mov ecx, dword [rsp + 0x14c]
mov dword [rax + 8], ecx
movss xmm0, dword [rsp + 0x148]
movss dword [rsp + 0x150], xmm0
cvttss2si eax, dword [rsp + 0x150]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov ecx, dword [rsp + 0x400]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, qword [rsp + 0x410]
mov edx, 0xffffff
lea rcx, [rsp + 0x58]
call fcn.1400d6990
mov qword [rsp + 0x418], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x4b0]
add rax, 0x2188
xor r8d, r8d
mov rdx, qword [rsp + 0x420]
mov rcx, rax
call fcn.1401a8860
nop
lea rcx, [rsp + 0x58]
call fcn.1400d7130
nop
mov rax, qword [rsp + 0x80]
sub rax, 0x18
mov qword [rsp + 0x1c8], rax
mov rcx, qword [rsp + 0x1c8]
call fcn.140001000
lea rcx, [0x14043fdc0]
call fcn.1400044d0
mov r8d, 0xcf
lea rdx, [rsp + 0x88]
mov rcx, rax
call fcn.1401850d0
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov rax, qword [rax]
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x2190]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140001000
mov rax, qword [rsp + 0x4b0]
cmp dword [rax + 0x2460], 2
jne 0x14012ff77
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x428], eax
jmp 0x14012ff82
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x428], eax
lea rcx, [rsp + 0xb8]
call fcn.1401bd340
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x438], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax + 0x2240]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov rax, qword [rax]
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x1f8]
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rax]
call sub.gdiplus.dll_GdipGetFontSize
mov dword [rsp + 0x1fc], eax
cmp dword [rsp + 0x1fc], 0
je 0x14013000c
mov rax, qword [rsp + 0x1f0]
mov ecx, dword [rsp + 0x1fc]
mov dword [rax + 8], ecx
movss xmm0, dword [rsp + 0x1f8]
movss dword [rsp + 0x200], xmm0
cvttss2si eax, dword [rsp + 0x200]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov ecx, dword [rsp + 0x428]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, qword [rsp + 0x438]
mov edx, 0xffffff
lea rcx, [rsp + 0x90]
call fcn.1400d6990
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x4b0]
add rax, 0x21f0
xor r8d, r8d
mov rdx, qword [rsp + 0x448]
mov rcx, rax
call fcn.1401a8860
nop
lea rcx, [rsp + 0x90]
call fcn.1400d7130
nop
mov rax, qword [rsp + 0xb8]
sub rax, 0x18
mov qword [rsp + 0x278], rax
mov rcx, qword [rsp + 0x278]
call fcn.140001000
lea rcx, [0x14043fdc0]
call fcn.1400044d0
mov r8d, 0xd0
lea rdx, [rsp + 0xc0]
mov rcx, rax
call fcn.1401850d0
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x280]
mov rax, qword [rax]
mov qword [rsp + 0x288], rax
mov rdx, qword [rsp + 0x288]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x21f8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0xc0]
sub rax, 0x18
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0x290]
call fcn.140001000
mov rax, qword [rsp + 0x4b0]
cmp dword [rax + 0x2460], 3
jne 0x14013016e
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x450], eax
jmp 0x140130179
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x450], eax
lea rcx, [rsp + 0xf0]
call fcn.1401bd340
mov qword [rsp + 0x458], rax
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x460], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax + 0x22a8]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x298]
mov rax, qword [rax]
mov qword [rsp + 0x2a0], rax
lea rdx, [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
call sub.gdiplus.dll_GdipGetFontSize
mov dword [rsp + 0x2ac], eax
cmp dword [rsp + 0x2ac], 0
je 0x140130203
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x2ac]
mov dword [rax + 8], ecx
movss xmm0, dword [rsp + 0x2a8]
movss dword [rsp + 0x2b0], xmm0
cvttss2si eax, dword [rsp + 0x2b0]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov ecx, dword [rsp + 0x450]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, qword [rsp + 0x460]
mov edx, 0xffffff
lea rcx, [rsp + 0xc8]
call fcn.1400d6990
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x470], rax
mov rax, qword [rsp + 0x4b0]
add rax, 0x2258
xor r8d, r8d
mov rdx, qword [rsp + 0x470]
mov rcx, rax
call fcn.1401a8860
nop
lea rcx, [rsp + 0xc8]
call fcn.1400d7130
nop
mov rax, qword [rsp + 0xf0]
sub rax, 0x18
mov qword [rsp + 0x328], rax
mov rcx, qword [rsp + 0x328]
call fcn.140001000
lea rcx, [0x14043fdc0]
call fcn.1400044d0
mov r8d, 0xd1
lea rdx, [rsp + 0xf8]
mov rcx, rax
call fcn.1401850d0
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov rax, qword [rax]
mov qword [rsp + 0x338], rax
mov rdx, qword [rsp + 0x338]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x2260]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0xf8]
sub rax, 0x18
mov qword [rsp + 0x340], rax
mov rcx, qword [rsp + 0x340]
call fcn.140001000
mov rax, qword [rsp + 0x4b0]
cmp dword [rax + 0x2460], 4
jne 0x140130365
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x478], eax
jmp 0x140130370
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x478], eax
lea rcx, [rsp + 0x128]
call fcn.1401bd340
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0x488], rax
mov rax, qword [rsp + 0x4b0]
mov rax, qword [rax + 0x2310]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax]
mov qword [rsp + 0x350], rax
lea rdx, [rsp + 0x358]
mov rax, qword [rsp + 0x350]
mov rcx, qword [rax]
call sub.gdiplus.dll_GdipGetFontSize
mov dword [rsp + 0x35c], eax
cmp dword [rsp + 0x35c], 0
je 0x1401303fa
mov rax, qword [rsp + 0x350]
mov ecx, dword [rsp + 0x35c]
mov dword [rax + 8], ecx
movss xmm0, dword [rsp + 0x358]
movss dword [rsp + 0x360], xmm0
cvttss2si eax, dword [rsp + 0x360]
mov byte [rsp + 0x40], 1
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov ecx, dword [rsp + 0x478]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8, qword [rsp + 0x488]
mov edx, 0xffffff
lea rcx, [rsp + 0x100]
call fcn.1400d6990
mov qword [rsp + 0x490], rax
mov rax, qword [rsp + 0x490]
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x4b0]
add rax, 0x22c0
xor r8d, r8d
mov rdx, qword [rsp + 0x498]
mov rcx, rax
call fcn.1401a8860
nop
lea rcx, [rsp + 0x100]
call fcn.1400d7130
nop
mov rax, qword [rsp + 0x128]
sub rax, 0x18
mov qword [rsp + 0x3d8], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.140001000
lea rcx, [0x14043fdc0]
call fcn.1400044d0
mov r8d, 0xd2
lea rdx, [rsp + 0x130]
mov rcx, rax
call fcn.1401850d0
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov rax, qword [rax]
mov qword [rsp + 0x3e8], rax
mov rdx, qword [rsp + 0x3e8]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x22c8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x130]
sub rax, 0x18
mov qword [rsp + 0x3f0], rax
mov rcx, qword [rsp + 0x3f0]
call fcn.140001000
mov edx, dword [rsp + 0x4b8]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x2190]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rsp + 0x4b8]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x21f8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rsp + 0x4b8]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x2260]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rsp + 0x4b8]
mov rax, qword [rsp + 0x4b0]
mov rcx, qword [rax + 0x22c8]
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x4a8
ret