Function at 0x1400c1160
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [0x1406de900]
xor rax, rbp
mov qword [rbp - 8], rax
cmp dword [0x1406dff44], 0xa
jl 0x1400c1194
mov eax, dword [0x1406dff40]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400c11ec
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov rsi, rsp
sub rsp, 0x20
mov rdi, qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
call rdi
add rsp, 0x20
mov dword [0x1406ee5f0], eax
sub rsp, 0x20
mov ecx, 1
call rdi
add rsp, 0x20
mov dword [0x1406ee5f4], eax
cmp dword [0x1406dff44], 0xa
jl 0x1400c121f
mov ecx, dword [0x1406dff40]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1400c121f
sub rsp, 0x20
mov rsi, qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
call rsi
add rsp, 0x20
mov dword [0x1406ee5f0], eax
sub rsp, 0x20
mov ecx, 1
call rsi
add rsp, 0x20
mov dword [0x1406ee5f4], eax
jmp 0x1400c1194
mov ecx, dword [0x1406ee5f0]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
mov dword [0x1406ee5e8], edx
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
mov dword [0x1406ee5ec], ecx
mov ecx, dword [0x1406ee5a8]
mov qword [rbp - 0x18], 0
mov eax, dword [0x1406df0a8]
cmp dword [0x1406df0ac], 0xa
mov dword [rbp - 0x10], ecx
jl 0x1400c1272
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400c1272
nop
jmp 0x1400c1270
sub rsp, 0x20
lea rcx, [0x140173700]
lea rdx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_EnumWindows]
add rsp, 0x20
test eax, eax
je 0x1400c12b2
xor eax, eax
cmp dword [0x1406dff24], 0xa
jl 0x1400c12ce
mov ecx, dword [0x1406dff20]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1400c12ce
nop dword [rax + rax]
jmp 0x1400c12b0
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x20
cmp eax, 0xffffffff
jne 0x1400c128f
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x1400c128f
mov qword [0x1406ee7c8], rax
sub rsp, 0x20
call fcn.1400c08c0
add rsp, 0x20
mov qword [0x1406ee7c0], rax
test rax, rax
je 0x1400c1458
mov rdi, qword [0x1406ee7c8]
test rdi, rdi
je 0x1400c1458
cmp dword [0x1406dff44], 0xa
jl 0x1400c131c
mov eax, dword [0x1406dff40]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400c1355
sub rsp, 0x20
lea rdx, [0x1406ee804]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
add rsp, 0x20
mov qword [rsi], 0
cmp dword [0x1406dff44], 0xa
jl 0x1400c1376
mov eax, dword [0x1406dff40]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400c1376
sub rsp, 0x20
lea rdx, [0x1406ee804]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
add rsp, 0x20
mov qword [rsi], 0
jmp 0x1400c131c
mov eax, dword [0x1406ee5f0]
mov dword [rsi + 8], eax
mov eax, dword [0x1406ee5f4]
mov dword [rsi + 0xc], eax
mov rcx, qword [0x1406ee7c0]
sub rsp, 0x20
mov rdx, rsi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
add rsp, 0x20
mov rcx, qword [0x1406ee7c0]
sub rsp, 0x20
xor edx, edx
mov r8b, 0xff
mov r9d, 2
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
add rsp, 0x20
mov rcx, qword [0x1406ee7c0]
sub rsp, 0x20
call fcn.1400c0c60
add rsp, 0x20
mov rcx, qword [0x1406ee7c0]
sub rsp, 0x20
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x20
mov eax, dword [0x1406ee5f4]
mov r9d, dword [0x1406ee5f0]
mov r8d, dword [0x1406ee808]
mov edx, dword [0x1406ee804]
mov rcx, qword [0x1406ee7c0]
sub rsp, 0x30
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
call qword [sym.imp.USER32.dll_MoveWindow]
add rsp, 0x30
mov rcx, qword [0x1406ee7c0]
sub rsp, 0x20
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0x20
mov dl, byte [0x1406eeec2]
sub rsp, 0x20
lea rcx, [0x1406ee528]
call fcn.1400c1470
add rsp, 0x20
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1401fc630
nop
mov rsp, rbp
pop rdi
pop rsi
pop rbp
ret