Function at 0x14012acd0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14041d0c0]
xor rax, rsp
mov qword [rbp + 8], rax
lea rcx, [0x1404b98c7]
call fcn.1402b13b0
cmp byte [0x1404919a1], 0
jne 0x14012b5b6
mov qword [rsp + 0x1b0], rbx
mov qword [rsp + 0x1b8], rsi
xor esi, esi
mov qword [rsp + 0x1c0], rdi
movabs rdi, 0x7fffffffffbffffe
mov qword [rsp + 0x1c8], r12
mov r12d, 0xff
mov qword [rsp + 0x198], r14
movabs r14, 0x7fffffffff67697f
mov qword [rsp + 0x190], r15
movabs r15, 0x7fffffffffffffff
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x150], xmm9
movss xmm9, dword [0x1403e86a0]
movaps xmmword [rsp + 0x140], xmm10
movdqa xmm10, xmmword [0x1403e91f0]
movaps xmmword [rsp + 0x130], xmm11
movss xmm11, dword [0x1403e8868]
movaps xmmword [rsp + 0x120], xmm12
movss xmm12, dword [0x1403e8884]
movaps xmmword [rsp + 0x110], xmm13
movsd xmm13, qword [0x1403e8708]
nop word [rax + rax]
mov rax, qword [0x140491c08]
lea rdx, [rbp - 8]
mov qword [rbp - 0x50], rsi
mov ecx, dword [rax + 8]
lea rax, [rbp - 0x50]
mov dword [rbp - 8], ecx
lea rcx, [0x14015eca0]
mov qword [rbp], rax
call qword [sym.imp.USER32.dll_EnumWindows]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbp - 0x50]
mov rcx, qword [0x140492088]
sete byte [0x1404919d6]
test rcx, rcx
je 0x14012af91
cmp byte [0x1404919eb], sil
je 0x14012aebc
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012ae62
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xac]
add rdx, rcx
call fcn.140117b60
mov rcx, qword [0x140492088]
jmp 0x14012ae66
movaps xmm0, xmm8
movss xmm6, dword [0x140420390]
ucomiss xmm0, xmm6
jp 0x14012ae75
je 0x14012aebc
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012aebc
mov rax, qword [0x140491bf8]
movaps xmm2, xmm6
mov edx, dword [rax + 0xb0]
add rdx, rcx
call fcn.140117c30
mov rax, qword [0x140491bf8]
movaps xmm2, xmm6
mov edx, dword [rax + 0xac]
add rdx, qword [0x140492088]
call fcn.140117c30
mov rcx, qword [0x140492088]
cmp byte [0x1404919ec], sil
je 0x14012af2a
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012aeef
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb8]
add rdx, rcx
call fcn.140117b60
mov rcx, qword [0x140492088]
jmp 0x14012aef3
movaps xmm0, xmm8
movss xmm2, dword [0x140420394]
ucomiss xmm0, xmm2
jp 0x14012af02
je 0x14012af2a
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012af2a
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb8]
add rdx, rcx
call fcn.140117c30
mov rcx, qword [0x140492088]
cmp byte [0x1404919e8], sil
je 0x14012af91
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012af5d
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb4]
add rdx, rcx
call fcn.140117b60
mov rcx, qword [0x140492088]
jmp 0x14012af61
movaps xmm0, xmm8
movss xmm2, dword [0x14042037c]
ucomiss xmm0, xmm2
jp 0x14012af70
je 0x14012af91
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012af91
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xb4]
add rdx, rcx
call fcn.140117c30
cmp byte [0x1404919a3], sil
je 0x14012afff
mov rcx, qword [0x140491a38]
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012afc4
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xd0]
add rdx, rcx
call fcn.140117b60
jmp 0x14012afc8
movaps xmm0, xmm8
movss xmm2, dword [0x140491a18]
ucomiss xmm2, xmm0
jp 0x14012afd7
je 0x14012afff
mov rcx, qword [0x140491a38]
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012afff
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xd0]
add rdx, rcx
call fcn.140117c30
cmp byte [0x1404919d7], sil
je 0x14012b097
mov rcx, qword [0x140491958]
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012b04f
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0x94]
add rdx, rcx
call fcn.140117b60
cvtss2sd xmm0, xmm0
divsd xmm0, xmm13
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
mov rcx, qword [0x140491958]
cvttsd2si eax, xmm0
jmp 0x14012b051
mov eax, esi
movd xmm1, dword [0x140420398]
movd xmm0, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
jp 0x14012b06a
je 0x14012b097
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012b097
mov rax, qword [0x140491bf8]
cvtps2pd xmm0, xmm1
mov edx, dword [rax + 0x94]
add rdx, rcx
mulsd xmm0, xmm13
cvtpd2ps xmm2, xmm0
call fcn.140117c30
cmp byte [0x1404919d1], sil
je 0x14012b173
mov rcx, qword [0x140491a38]
movss xmm0, dword [0x140491a00]
movss xmm3, dword [0x140491a04]
movss xmm1, dword [0x140491a08]
lea rax, [rcx - 0x400001]
movss dword [0x140492770], xmm0
movss dword [0x140492774], xmm3
movss dword [0x140492778], xmm1
movups xmmword [rbp - 0x40], xmm10
cmp rax, rdi
ja 0x14012b12a
mov rax, qword [0x140491bf8]
lea r8, [rbp - 0x40]
mov r9d, reloc.WS2_32.dll_recv
mov edx, dword [rax + 0xd8]
add rdx, rcx
mov rcx, qword [0x140491c08]
call fcn.14010b080
movss xmm1, dword [0x140492778]
movss xmm3, dword [0x140492774]
movss xmm0, dword [0x140492770]
ucomiss xmm0, dword [rbp - 0x40]
movss xmm2, dword [0x14049277c]
jp 0x14012b14a
jne 0x14012b14a
ucomiss xmm1, dword [rbp - 0x38]
jp 0x14012b14a
jne 0x14012b14a
ucomiss xmm2, dword [rbp - 0x34]
jp 0x14012b14a
je 0x14012b173
lea rdx, [rsp + 0x70]
movss dword [rsp + 0x70], xmm0
lea rcx, [0x140491a38]
movss dword [rsp + 0x74], xmm3
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm2
call fcn.140116290
cmp byte [0x1404919d5], sil
je 0x14012b2ed
movss xmm0, dword [0x140491a80]
lea rdx, [rbp - 0x60]
movss xmm1, dword [0x140491a84]
movss dword [0x140492700], xmm0
movss xmm0, dword [0x140491a88]
movss dword [0x140492708], xmm0
movss dword [0x140492704], xmm1
call fcn.140114b00
movss xmm2, dword [0x140492700]
ucomiss xmm2, dword [rbp - 0x60]
movss xmm1, dword [0x140492708]
movss xmm0, dword [0x140492704]
jp 0x14012b1ed
jne 0x14012b1ed
ucomiss xmm0, dword [rbp - 0x5c]
jp 0x14012b1ed
jne 0x14012b1ed
ucomiss xmm1, dword [rbp - 0x58]
jp 0x14012b1ed
je 0x14012b288
mov r8, qword [0x140491a38]
lea rax, [r8 - 0x400001]
cmp rax, rdi
ja 0x14012b288
mov rax, qword [0x140491bf8]
mov r9d, Ordinal_45
mov rcx, qword [0x140491c08]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov edx, dword [rax + 0xc8]
lea rax, [rbp - 0x80]
add rdx, r8
mov qword [rbp - 0x20], rax
mov eax, dword [rcx + 8]
lea r8, [rbp - 0x30]
mov rcx, qword [rcx]
mov qword [rbp - 0x28], rdx
mov edx, 0x224d8c
mov dword [rsp + 0x28], esi
movss dword [rbp - 0x7c], xmm2
movss dword [rbp - 0x78], xmm0
movss dword [rbp - 0x74], xmm1
mov dword [rbp - 0x80], esi
mov dword [rbp - 0xf], esi
mov word [rbp - 0xb], si
mov byte [rbp - 9], sil
mov dword [rbp - 0x30], 0x85f8ac8
mov qword [rbp - 0x18], reloc.WS2_32.dll_recv
mov dword [rbp - 0x2c], eax
mov byte [rbp - 0x10], 1
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov rcx, qword [0x140491a38]
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012b2b2
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xcc]
add rdx, rcx
call fcn.140117b60
jmp 0x14012b2b6
movaps xmm0, xmm8
movss xmm2, dword [0x140491a58]
ucomiss xmm2, xmm0
jp 0x14012b2c5
je 0x14012b2ed
mov rcx, qword [0x140491a38]
lea rax, [rcx - 0x400001]
cmp rax, rdi
ja 0x14012b2ed
mov rax, qword [0x140491bf8]
mov edx, dword [rax + 0xcc]
add rdx, rcx
call fcn.140117c30
cmp byte [0x1404919f4], sil
je 0x14012b3c4
mov rcx, qword [0x140491a38]
movss xmm0, dword [0x140491a70]
movss xmm1, dword [0x140491a74]
movss xmm2, dword [0x140491a78]
lea rax, [rcx - 0x400001]
movss dword [0x140492290], xmm0
movss dword [0x140492294], xmm1
movss dword [0x140492298], xmm2
movups xmmword [rbp - 0x50], xmm10
cmp rax, rdi
ja 0x14012b380
mov rax, qword [0x140491bf8]
lea r8, [rbp - 0x50]
mov r9d, reloc.WS2_32.dll_recv
mov edx, dword [rax + 0xd4]
add rdx, rcx
mov rcx, qword [0x140491c08]
call fcn.14010b080
movss xmm2, dword [0x140492298]
movss xmm1, dword [0x140492294]
movss xmm0, dword [0x140492290]
ucomiss xmm0, dword [rbp - 0x50]
jp 0x14012b398
jne 0x14012b398
ucomiss xmm1, dword [rbp - 0x4c]
jp 0x14012b398
jne 0x14012b398
ucomiss xmm2, dword [rbp - 0x48]
jp 0x14012b398
je 0x14012b3c4
movss dword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
movss xmm0, dword [0x14049229c]
lea rcx, [0x140491a38]
movss dword [rbp - 0x64], xmm0
movss dword [rbp - 0x6c], xmm1
movss dword [rbp - 0x68], xmm2
call fcn.140116430
call fcn.14011a350
cmp byte [0x1404919a2], sil
je 0x14012b4a1
cmp qword [0x140492090], rsi
je 0x14012b4a1
mov ebx, esi
cmp dword [reloc.WS2_32.dll_bind], ebx
jle 0x14012b4a1
lea rdx, [rsp + 0x48]
lea rcx, [0x140492090]
call fcn.140114c80
movss xmm7, dword [rsp + 0x4c]
movss dword [0x140493068], xmm7
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
addss xmm7, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
divss xmm6, xmm12
subss xmm6, xmm11
addss xmm6, dword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov rdx, qword [0x140493058]
cmp rdx, qword [0x140493060]
movss dword [rsp + 0x58], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x5c], xmm7
divss xmm0, xmm12
subss xmm0, xmm11
addss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x60], xmm0
je 0x14012b489
movss dword [rdx], xmm6
movss dword [rdx + 4], xmm7
movss dword [rdx + 8], xmm0
add qword [0x140493058], 0xc
jmp 0x14012b493
lea r8, [rsp + 0x58]
call fcn.14012e5a0
inc ebx
cmp ebx, dword [reloc.WS2_32.dll_bind]
jl 0x14012b3f1
mov rax, qword [0x140493050]
mov rcx, qword [0x140493058]
cmp rax, rcx
je 0x14012b4f5
nop dword [rax]
nop dword [rax + rax]
movss xmm0, dword [rax + 4]
movss xmm1, dword [0x140420328]
mulss xmm1, xmm9
subss xmm0, xmm1
movss dword [rax + 4], xmm0
add rax, 0xc
cmp rax, rcx
jne 0x14012b4c0
lea rcx, [rsp + 0x40]
call fcn.140049ee0
mov rax, qword [rsp + 0x40]
jmp 0x14012b508
lea rcx, [rsp + 0x40]
call fcn.140049ee0
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x50], rax
cmp rax, r14
je 0x14012b526
mov ecx, 1
cmovl ecx, r12d
test cl, cl
jns 0x14012b526
add rax, 0x989680
mov qword [rbp - 0x50], rax
jmp 0x14012b52a
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.14006c660
cmp byte [0x1404919a1], sil
je 0x14012ade0
movaps xmm13, xmmword [rsp + 0x110]
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm11, xmmword [rsp + 0x130]
movaps xmm10, xmmword [rsp + 0x140]
movaps xmm9, xmmword [rsp + 0x150]
movaps xmm8, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
mov r15, qword [rsp + 0x190]
mov r14, qword [rsp + 0x198]
mov r12, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1b0]
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1402aff00
add rsp, 0x1a0
pop rbp
ret