Function at 0x140055700
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x178
mov rax, qword [0x1400710c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov eax, dword [rsp + 0x180]
cmp dword [0x140081344], eax
jne 0x14005574d
mov eax, dword [rsp + 0x188]
cmp dword [0x140081340], eax
jne 0x14005574d
cmp dword [0x140077a30], 0
jne 0x14005574d
jmp 0x140055ecd
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov edx, 0x4c5
mov rcx, qword [0x14007d938]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [0x140081338], rax
mov dword [rsp + 0x40], 0
jmp 0x140055781
mov eax, dword [rsp + 0x40]
add eax, 1
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 3
jge 0x1400557b4
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x14007d940]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.USER32.dll_DestroyWindow]
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x14007d940]
mov qword [rcx + rax*8], 0
jmp 0x140055776
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1309
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 0x28
xor edx, edx
lea rcx, [rsp + 0x128]
call fcn.140002ae0
mov dword [rsp + 0x144], 0xffffffff
mov qword [rsp + 0x148], 0
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x150], eax
cmp dword [rsp + 0x150], 0x4b3
je 0x14005583a
cmp dword [rsp + 0x150], 0x4b4
je 0x140055bae
cmp dword [rsp + 0x150], 0x4b5
je 0x140055c87
jmp 0x140055cd7
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x154]
sub eax, 0x4b8
mov dword [rsp + 0x154], eax
cmp dword [rsp + 0x154], 7
ja case.default.0x140055882
movsxd rax, dword [rsp + 0x154]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x55ee8]
add rax, rcx
jmp rax
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x14002fd80]
mov r8, qword [0x140081338]
mov edx, 0x1fe
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140029f80]
mov r8, qword [0x140081338]
mov edx, 0x200
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x14003dd20]
mov r8, qword [0x140081338]
mov edx, 0x201
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x14002d220]
mov r8, qword [0x140081338]
mov edx, 0x202
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
cmp dword [0x14007d9a4], 0
je 0x1400559a5
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x1400370b0]
mov r8, qword [0x140081338]
mov edx, 0x228
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp 0x140055b07
mov eax, dword [0x14007d980]
and eax, 0x40010
test eax, eax
jne 0x1400559c5
mov eax, dword [0x14007d984]
and eax, 8
test eax, eax
je 0x140055ad4
mov dword [rsp + 0x128], 1
mov r9d, 0x64
lea r8, [rsp + 0x50]
mov edx, 0x30d9
mov rcx, qword [0x140075700]
call fcn.14004f9e0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x138], rax
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140034220]
mov r8, qword [0x140081338]
mov edx, 0x204
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
cmp dword [0x14007d9a8], 0
jne 0x140055ad2
lea r9, [rsp + 0x128]
xor r8d, r8d
mov edx, 0x133e
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 0x64
lea r8, [rsp + 0x50]
mov edx, 0x300c
mov rcx, qword [0x140075700]
call fcn.14004f9e0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x138], rax
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140031eb0]
mov r8, qword [0x140081338]
mov edx, 0x203
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d948], rax
lea r9, [rsp + 0x128]
mov r8d, 1
mov edx, 0x133e
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140055b07
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140031eb0]
mov r8, qword [0x140081338]
mov edx, 0x203
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x1400272f0]
mov r8, qword [0x140081338]
mov edx, 0x205
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140039540]
mov r8, qword [0x140081338]
mov edx, 0x206
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp case.default.0x140055882
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x14003b290]
mov r8, qword [0x140081338]
mov edx, 0x207
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp 0x140055cd7
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x158], eax
cmp dword [rsp + 0x158], 0x4b7
je 0x140055be8
cmp dword [rsp + 0x158], 0x4ba
je 0x140055c1d
cmp dword [rsp + 0x158], 0x4be
je 0x140055c52
jmp 0x140055c85
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x14001cb50]
mov r8, qword [0x140081338]
mov edx, 0x208
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp 0x140055c85
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140053610]
mov r8, qword [0x140081338]
mov edx, 0x209
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp 0x140055c85
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x14001bc70]
mov r8, qword [0x140081338]
mov edx, 0x20a
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
jmp 0x140055cd7
mov eax, dword [rsp + 0x188]
mov dword [rsp + 0x15c], eax
cmp dword [rsp + 0x15c], 0x4b7
je 0x140055ca4
jmp 0x140055cd7
mov rax, qword [0x14007d938]
mov qword [rsp + 0x20], rax
lea r9, [0x140025930]
mov r8, qword [0x140081338]
mov edx, 0x212
mov rcx, qword [0x140075700]
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov qword [0x14007d940], rax
cmp qword [0x14007d948], 0
jne 0x140055cfe
lea r9, [rsp + 0x128]
xor r8d, r8d
mov edx, 0x133e
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x124]
sub eax, 1
cdqe
and rax, 0xffff
movzx eax, ax
or eax, 0x1a0000
mov eax, eax
mov r9, rax
xor r8d, r8d
mov edx, 0x1329
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [0x14007d948], 0
je 0x140055dbe
mov eax, dword [rsp + 0x124]
cdq
sub eax, edx
sar eax, 1
sub eax, 2
cdqe
and rax, 0xffff
movzx eax, ax
or eax, 0x1a0000
mov eax, eax
mov r9, rax
xor r8d, r8d
mov edx, 0x1329
mov rcx, qword [0x140081338]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x120]
sub eax, 0x1a
mov dword [rsp + 0x120], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x124]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14007d940]
call qword [sym.imp.USER32.dll_MoveWindow]
cmp qword [0x14007d948], 0
je 0x140055e55
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x124]
mov r8d, 0x1c
xor edx, edx
mov rcx, qword [0x14007d940]
call qword [sym.imp.USER32.dll_MoveWindow]
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x124]
mov r8d, 0x1c
xor edx, edx
mov rcx, qword [0x14007d948]
call qword [sym.imp.USER32.dll_MoveWindow]
cmp qword [0x14007d950], 0
je 0x140055e8c
mov dword [rsp + 0x28], 1
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x124]
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14007d950]
call qword [sym.imp.USER32.dll_MoveWindow]
xor edx, edx
mov rcx, qword [0x14007d948]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x140081338]
mov qword [0x1400779f8], rax
mov eax, dword [rsp + 0x180]
mov dword [0x140081344], eax
mov eax, dword [rsp + 0x188]
mov dword [0x140081340], eax
mov dword [0x140077a30], 0
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140002580
add rsp, 0x178
ret