Function at 0x140028990
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x438
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x3a0], xmm8
movdqa xmmword [rbp + 0x390], xmm7
movaps xmmword [rbp + 0x380], xmm6
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov qword [rsp + 0x98], rcx
mov rax, qword [rdx + 0x10]
test rax, rax
mov qword [rsp + 0x70], rdx
jne 0x140028e0f
lea rdx, [0x141cfda48]
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.14002d510
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140028a7b
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
test byte [rsp + 0x218], 1
je 0x140028a59
test r9, r9
je 0x140028a62
cmp r9, 1
jne 0x140028bba
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x140028a62
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
je 0x140028a62
jmp 0x140028d34
test r9, r9
jne 0x140028b20
test rcx, rcx
mov rsi, qword [rsp + 0x70]
je 0x140028a7b
mov rcx, qword [0x141d0ba00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [0x141cfda59]
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.14002d510
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140028dca
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
test byte [rsp + 0x218], 1
je 0x140028af5
test r9, r9
je 0x140028afe
cmp r9, 1
jne 0x140028cba
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x140028afe
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
je 0x140028afe
jmp 0x140028d75
test r9, r9
jne 0x140028c27
test rcx, rcx
mov rsi, qword [rsp + 0x70]
je 0x140028dca
mov rcx, qword [0x141d0ba00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140028dca
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140028b4c
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop word cs:[rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x140028a2e
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140028b40
cmp r11b, 0xe0
jb 0x140028b29
cmp r11b, 0xed
jne 0x140028b8f
cmp rdx, rax
je 0x140028a2e
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x140028a2e
cmp byte [r10 + 1], 0x9f
ja 0x14002a5a6
add r10, 3
mov rdx, r10
jmp 0x140028b40
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140028b40
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140028b40
cmp byte [r8], 0x2b
jne 0x140028d27
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x140028d34
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
cmp r9, r11
je 0x140028da6
mul rsi
seto bl
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140028a62
test bl, bl
jne 0x140028a62
mov edx, edx
inc r11
add rax, rdx
jae 0x140028bf0
jmp 0x140028a62
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140028c4c
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop dword [rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x140028aca
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140028c40
cmp r11b, 0xe0
jb 0x140028c30
cmp r11b, 0xed
jne 0x140028c8f
cmp rdx, rax
je 0x140028aca
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x140028aca
cmp byte [r10 + 1], 0x9f
ja 0x14002a5b7
add r10, 3
mov rdx, r10
jmp 0x140028c40
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140028c40
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140028c40
cmp byte [r8], 0x2b
jne 0x140028d68
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x140028d75
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
cmp r9, r11
je 0x140028da6
mul rsi
seto bl
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140028afe
test bl, bl
jne 0x140028afe
mov edx, edx
inc r11
add rax, rdx
jae 0x140028cf0
jmp 0x140028afe
mov r10, r8
cmp r9, 0x11
jae 0x140028bd9
xor edx, edx
xor eax, eax
nop dword [rax + rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x140028a62
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140028d40
jmp 0x140028da6
mov r10, r8
cmp r9, 0x11
jae 0x140028cd9
xor edx, edx
xor eax, eax
nop dword [rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x140028afe
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140028d80
test rcx, rcx
je 0x140028dc0
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rsi
test rax, rax
mov rsi, qword [rsp + 0x70]
jne 0x140028e0f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x220], xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x200], xmm0
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x220]
lea rax, [0x141cfe100]
mov ebx, 1
test rcx, rcx
cmovne rax, rcx
je 0x140028e1e
cmp rax, 0xffff
mov ebx, 0xffff
cmovb rbx, rax
movzx esi, byte [rsi + 0x59]
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x220], 8
mov qword [rsp + 0x228], 0
lea rdi, [rsp + 0x218]
lea rcx, [rsp + 0x200]
mov r8d, 0x20
mov rdx, rbx
call fcn.140054ec0
mov r8d, 0x10
mov rcx, rdi
mov qword [rsp + 0x78], rbx
mov rdx, rbx
call fcn.140054ec0
mov rax, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x210]
mov r14, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x220]
mov qword [rsp + 0x80], r14
shl r14, 4
mov qword [rsp + 0x1e0], rcx
add r14, rcx
mov qword [rsp + 0x68], rdi
shl rdi, 5
mov qword [rsp + 0x1d8], rax
add rdi, rax
mov ebx, 8
xor r13d, r13d
nop word cs:[rax + rax]
movzx eax, byte [0x141d0ba30]
mov edx, 0x400
xor ecx, ecx
test sil, sil
je 0x140028fa0
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r15, rax
movzx eax, byte [0x141d0ba30]
mov edx, 0x10
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x141d0ba30]
mov edx, 0x200
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov rdx, rax
and rdx, 0xffffffffffffff80
lea rcx, [rdx + 0x80]
mov qword [rdx + 0x78], rax
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], 1
mov qword [rdx + 0x100], r12
movaps xmmword [rdx + 0x180], xmm6
xor eax, eax
jmp 0x14002902f
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r15, rax
movzx eax, byte [0x141d0ba30]
mov edx, 0x10
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x141d0ba30]
mov edx, 0x200
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov rdx, rax
and rdx, 0xffffffffffffff80
lea rcx, [rdx + 0x80]
mov qword [rdx + 0x78], rax
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], 1
mov qword [rdx + 0x100], r12
movaps xmmword [rdx + 0x180], xmm6
mov al, 1
lock inc qword [rcx]
jle 0x14002a5e3
inc r13
mov qword [rdi + rbx*2 - 0x10], rcx
mov qword [rdi + rbx*2 - 8], r15
mov qword [rdi + rbx*2], 0x40
mov byte [rdi + rbx*2 + 8], al
mov qword [r14 + rbx - 8], rcx
mov byte [r14 + rbx], al
add rbx, 0x10
cmp qword [rsp + 0x78], r13
jne 0x140028ef0
add qword [rsp + 0x68], r13
add qword [rsp + 0x80], r13
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x220], 8
mov qword [rsp + 0x228], 0
lea r15, [rsp + 0x218]
lea rcx, [rsp + 0x200]
mov r8d, 0x20
mov rsi, qword [rsp + 0x78]
mov rdx, rsi
call fcn.140054ec0
mov r8d, 0x10
mov rcx, r15
mov rdx, rsi
call fcn.140054ec0
mov rdi, qword [rsp + 0x210]
mov rax, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x228]
mov qword [rsp + 0x1b8], rbx
shl rbx, 4
mov qword [rsp + 0x1c0], rax
add rbx, rax
mov r14, rdi
shl r14, 5
add r14, qword [rsp + 0x208]
mov r13d, 8
xor ecx, ecx
nop dword [rax]
mov rsi, rcx
movzx eax, byte [0x141d0ba30]
mov edx, 0x400
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r15, rax
movzx eax, byte [0x141d0ba30]
mov edx, 0x10
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x141d0ba30]
mov edx, 0x200
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov rcx, rax
and rax, 0xffffffffffffff80
mov qword [rax + 0x78], rcx
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], 1
mov qword [rax + 0x100], r12
movaps xmmword [rax + 0x180], xmm6
lock inc qword [rax + 0x80]
jle 0x14002a5e3
sub rax, 0xffffffffffffff80
lea rcx, [rsi + 1]
mov qword [r14 + r13*2 - 0x10], rax
mov qword [r14 + r13*2 - 8], r15
mov qword [r14 + r13*2], 0x40
mov byte [r14 + r13*2 + 8], 0
mov qword [rbx + r13 - 8], rax
mov byte [rbx + r13], 0
add r13, 0x10
cmp qword [rsp + 0x78], rcx
jne 0x140029150
lea rax, [rdi + rsi]
inc rax
movups xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x3b0], xmm0
mov qword [rsp + 0x3c0], rax
mov ecx, 0x28
mov r14, qword [rsp + 0x80]
mov rax, r14
mul rcx
jo 0x14002a5e3
movabs rcx, 0x8000000000000000
add rcx, 0xfffffffffffffff8
cmp rax, rcx
ja 0x14002a5e3
mov r12, qword [rsp + 0x218]
test rax, rax
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x1e0]
je 0x14002a1cf
movzx ecx, byte [0x141d0ba30]
xor ecx, ecx
mov rdx, rax
call fcn.14003b500
mov r15, rax
mov rax, r14
test r15, r15
je 0x14002a5e3
mov qword [rsp + 0x1b0], r12
test r14, r14
mov qword [rsp + 0x1a8], rax
je 0x14002a1f0
shl r14, 4
add r14, rdi
lea rax, [r15 + 0x20]
xor r12d, r12d
xorps xmm0, xmm0
mov rcx, rdi
nop dword [rax]
mov rdx, qword [rcx]
movzx r8d, byte [rcx + 8]
movups xmmword [rax - 0x20], xmm0
mov qword [rax - 0x10], 0
mov qword [rax - 8], rdx
mov byte [rax], r8b
inc r12
add rax, 0x28
add rcx, 0x10
cmp rcx, r14
jne 0x1400292f0
cmp qword [rsp + 0x1d0], 0
je 0x140029338
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, r13
shl rdx, 7
movzx eax, byte [0x141d0ba30]
sub rdx, 0xffffffffffffff80
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov edx, eax
and edx, 0x7f
mov r14, rax
and r14, 0xffffffffffffff80
mov qword [r14 + 0x78], rax
lea r8, [r13 - 1]
mov ecx, r13d
and ecx, 3
cmp r8, 3
jae 0x14002937f
xor r8d, r8d
jmp 0x1400293d5
mov r9d, r13d
and r9d, 0xfffc
mov r10, rax
sub r10, rdx
add r10, 0x200
xor r8d, r8d
nop dword [rax]
mov qword [r10 - 0x180], 0
mov qword [r10 - 0x100], 0
mov qword [r10 - 0x80], 0
add r8, 4
mov qword [r10], 0
add r10, 0x200
cmp r9, r8
jne 0x1400293a0
test rcx, rcx
je 0x140029401
shl r8, 7
sub r8, rdx
add rax, r8
add rax, 0x80
shl ecx, 7
xor edx, edx
nop
mov qword [rax + rdx], 0
sub rdx, 0xffffffffffffff80
cmp rcx, rdx
jne 0x1400293f0
movzx eax, byte [0x141d0ba30]
mov edx, 0x5f0
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.1400522a0
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x15f], rax
movaps xmm0, xmmword [rsp + 0x3b0]
movups xmmword [rsp + 0x14f], xmm0
movups xmm6, xmmword [rbx + 0x18]
movdqu xmm7, xmmword [rbx + 0x38]
movups xmm8, xmmword [rbx + 0x48]
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x38], 0
mov qword [rbx + 0x48], 0
movups xmm0, xmmword [rsp + 0x148]
mov rax, qword [rsp + 0x157]
mov qword [rsp + 0x20f], rax
mov rax, qword [rsp + 0x15f]
mov qword [rsp + 0x217], rax
movaps xmmword [rsp + 0x200], xmm0
movzx eax, byte [0x141d0ba30]
mov edx, 0x300
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov rcx, qword [rsp + 0x1b8]
add rcx, rsi
inc rcx
mov rdx, rax
and rdx, 0xffffffffffffff80
mov qword [rdx + 0x78], rax
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], 1
mov qword [rdx + 0x100], 0
mov qword [rdx + 0x108], rdi
mov qword [rdx + 0x180], 0
mov qword [rdx + 0x188], rdi
sub r14, 0xffffffffffffff80
mov byte [rdx + 0x200], 0
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdx + 0x201], xmm0
movups xmm0, xmmword [rsp + 0x20f]
movups xmmword [rdx + 0x210], xmm0
movaps xmmword [rdx + 0x220], xmm6
movdqa xmmword [rdx + 0x230], xmm7
movaps xmmword [rdx + 0x240], xmm8
mov qword [rdx + 0x250], 1
mov qword [rdx + 0x258], r13
mov qword [rdx + 0x260], r14
mov qword [rdx + 0x268], r13
mov qword [rdx + 0x270], 0
mov rax, qword [rsp + 0x1a8]
mov qword [rdx + 0x278], rax
mov qword [rdx + 0x280], r15
mov qword [rdx + 0x288], r12
lea rax, [rdx + 0x80]
mov qword [rsp + 0x88], rax
xorps xmm6, xmm6
movups xmmword [rsp + 0x188], xmm6
movups xmmword [rsp + 0x198], xmm6
mov r9, qword [rsp + 0x1d8]
mov qword [rsp + 0x148], r9
mov qword [rsp + 0x150], r9
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x68]
mov rax, rdx
shl rax, 5
add rax, r9
shl rcx, 4
mov r8, qword [rsp + 0x1c0]
add rcx, r8
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], r8
mov qword [rsp + 0x170], r8
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rcx
test rdx, rdx
je 0x14002a222
jmp 0x140029666
mov rcx, qword [rsp + 0x78]
mov r9, rcx
cmp rcx, qword [rsp + 0x80]
je 0x14002a222
lea r8, [r9 + 0x20]
mov qword [rsp + 0x150], r8
movzx r14d, byte [r9 + 0x18]
cmp r14b, 2
je 0x14002a222
mov rax, qword [r9 + 0x10]
mov qword [rsp + 0x210], rax
movups xmm0, xmmword [r9]
movaps xmmword [rsp + 0x200], xmm0
mov eax, dword [r9 + 0x19]
mov ecx, dword [r9 + 0x1c]
lea rdx, [rsp + 0x219]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov byte [rsp + 0x218], r14b
mov rax, qword [rsp + 0x170]
cmp rax, qword [rsp + 0x180]
je 0x14002a207
mov qword [rsp + 0x78], r8
add r9, 0x19
lea rcx, [rax + 0x10]
mov qword [rsp + 0x170], rcx
mov r15, qword [rax]
movzx r13d, byte [rax + 8]
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x3e0], rax
movaps xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x3d0], xmm0
mov eax, dword [r9]
mov ecx, dword [r9 + 3]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x93], ecx
mov rdi, qword [rsp + 0x1a0]
lea rax, [rdi + 1]
mov qword [rsp + 0x1a0], rax
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x28]
movabs rax, 0x8000000000000000
test rdx, rdx
je 0x140029778
mov rax, qword [rsi + 0x30]
lea rcx, [rsp + 0x200]
mov r8, rdi
call qword [rax + 0x20]
mov rax, qword [rsp + 0x200]
lea rcx, [rsp + 0x219]
movups xmm0, xmmword [rcx - 0x11]
movaps xmmword [rsp + 0xa0], xmm0
movdqu xmm7, xmmword [rsi]
mov rsi, qword [rsp + 0x88]
lock inc qword [rsi]
jle 0x14002a5e3
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0xa0]
lea r8, [rsp + 0xd8]
movups xmmword [r8], xmm0
movdqa xmmword [rsp + 0xc0], xmm7
mov rcx, qword [rsp + 0x3e0]
lea rdx, [rsp + 0xf8]
mov qword [rdx + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x3d0]
movups xmmword [rdx], xmm0
mov byte [rsp + 0x110], r14b
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x93]
mov dword [r8 + 0x3c], edx
mov dword [r8 + 0x39], ecx
mov qword [rsp + 0xe8], r15
mov byte [rsp + 0xf0], r13b
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x120], rdi
test rdi, rdi
jne 0x140029960
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0x58], 0
je 0x140029960
mov r14, rsi
mov ecx, dword [0x141d0ba34]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp qword [rcx + 0x38], 0
lea rsi, [rsp + 0x200]
jne 0x14002a4ee
mov rcx, rsi
lea rdx, [rsp + 0xc0]
call fcn.140027c70
movzx eax, byte [0x141d0ba30]
mov edx, 0x200
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov rdi, rax
and rdi, 0xffffffffffffff80
mov qword [rdi + 0x78], rax
sub rdi, 0xffffffffffffff80
mov r8d, 0x180
mov rcx, rdi
mov rdx, rsi
call fcn.140051c00
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x38], 0
jne 0x14002a5e3
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x38], rdi
cmp qword [r14 + 0x208], 0
je 0x14002a5e3
mov r14, qword [r14 + 0x200]
lea rdi, [r14 + 4]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r14 + 4], cl
jne 0x140029d22
mov byte [r14 + 5], 1
lock inc dword [r14]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressAll]
xor eax, eax
xchg byte [r14 + 4], al
cmp al, 2
jne 0x140029929
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov rcx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x80], rax
mov r9, rcx
cmp rcx, qword [rsp + 0x80]
jne 0x140029666
jmp 0x14002a222
movabs rcx, 0x8000000000000000
mov r15, rcx
cmp rax, rcx
je 0x1400299c2
mov rbx, qword [rsp + 0xe0]
test rbx, rbx
js 0x14002a5e3
mov rdi, qword [rsp + 0xd8]
je 0x1400299ab
movzx eax, byte [0x141d0ba30]
xor ecx, ecx
mov rdx, rbx
call fcn.14003b500
mov r12, rax
test rax, rax
jne 0x1400299b1
jmp 0x14002a5e3
mov r12d, 1
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.140051c00
mov r15, rbx
movd eax, xmm7
test al, 1
je 0x140029ac0
mov rdi, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x260], rax
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x250], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x240], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x230], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x220], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x210], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x200], xmm0
movabs rax, 0x8000000000000000
cmp r15, rax
jne 0x140029b52
movzx eax, byte [0x141d0ba30]
mov edx, 0x38
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 2
mov rax, qword [0x141d0b9f8]
nop word cs:[rax + rax]
cmp rax, 0xffffffffffffffff
je 0x14002a5e3
lea rcx, [rax + 1]
lock cmpxchg qword [0x141d0b9f8], rcx
jne 0x140029aa0
jmp 0x140029ec9
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x260], rax
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x250], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x240], xmm0
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movaps xmm2, xmmword [rsp + 0xe0]
movaps xmm3, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x230], xmm3
movaps xmmword [rsp + 0x220], xmm2
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x200], xmm0
mov rdi, qword [0x141d0b988]
test rdi, rdi
je 0x140029bb1
dec rdi
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x140029a59
cmp rbx, 0xf
movabs r10, 0x8080808080808080
movabs r11, 0x101010101010100
ja 0x140029b98
test rbx, rbx
je 0x140029c15
xor eax, eax
nop word [rax + rax]
cmp byte [r12 + rax], 0
je 0x14002a5e3
inc rax
cmp rbx, rax
jne 0x140029b80
jmp 0x140029db3
lea rax, [r12 + 7]
and rax, 0xfffffffffffffff8
sub rax, r12
jne 0x140029bec
lea rcx, [rbx - 0x10]
xor eax, eax
jmp 0x140029d60
mov r8d, 0xe
lea rcx, [rsp + 0xa0]
lea rdx, [0x141cfdb48]
call fcn.14002d510
mov r13, qword [rsp + 0xa0]
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x140029c27
mov edi, 0x200000
jmp 0x140029cff
xor ecx, ecx
nop
cmp byte [r12 + rcx], 0
je 0x14002a5e3
inc rcx
cmp rax, rcx
jne 0x140029bf0
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x140029d60
jmp 0x140029d8f
cmp r15, rbx
jne 0x140029de6
lea r13, [rbx + 1]
jmp 0x140029e24
mov r14, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x130]
mov rdx, r14
call fcn.14001b200
test byte [rsp + 0x130], 1
jne 0x140029ce3
mov r8, qword [rsp + 0x140]
test r8, r8
je 0x140029ce3
mov rcx, qword [rsp + 0x138]
cmp r8, 1
jne 0x140029c8c
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x140029ce3
mov r8d, 1
cmp eax, 0x2d
je 0x140029ce3
jmp 0x140029d39
cmp byte [rcx], 0x2b
jne 0x140029d2f
inc rcx
lea rax, [r8 - 1]
cmp r8, 0x12
mov r8, rax
jb 0x140029d39
xor r9d, r9d
xor edi, edi
nop
cmp r8, r9
je 0x140029ce8
mov rax, rdi
mov edx, 0xa
mul rdx
seto r10b
movzx edx, byte [rcx + r9]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140029ce3
test r10b, r10b
jne 0x140029ce3
mov rdi, rax
mov eax, edx
inc r9
add rdi, rax
jae 0x140029cb0
mov edi, 0x200000
test r13, r13
je 0x140029cff
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [rdi + 1]
mov qword [0x141d0b988], rax
movabs rax, 0x8000000000000000
cmp r15, rax
je 0x140029a59
jmp 0x140029b52
mov rcx, rdi
call fcn.140055320
jmp 0x140029904
cmp r8, 0x11
jae 0x140029ca9
xor eax, eax
xor edi, edi
nop dword [rax]
movzx edx, byte [rcx + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140029ce3
lea r9, [rdi + rdi*4]
mov edx, edx
lea rdi, [rdx + r9*2]
inc rax
cmp r8, rax
jne 0x140029d40
jmp 0x140029ce8
mov rdx, qword [r12 + rax]
mov r8, qword [r12 + rax + 8]
mov r9, r11
sub r9, r8
or r9, r8
mov r8, r11
sub r8, rdx
or r8, rdx
and r8, r10
and r8, r9
cmp r8, r10
jne 0x140029d8f
add rax, 0x10
cmp rax, rcx
jbe 0x140029d60
cmp rax, rbx
je 0x140029db3
nop word cs:[rax + rax]
cmp byte [r12 + rax], 0
je 0x14002a5e3
inc rax
cmp rbx, rax
jne 0x140029da0
cmp r15, rbx
jne 0x140029de6
mov r13, rbx
inc r13
je 0x14002a5e3
js 0x14002a5e3
test rbx, rbx
je 0x140029e24
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xb0], rbx
mov eax, 1
jmp 0x140029e26
lea r13, [rbx + 1]
mov byte [r12 + rbx], 0
cmp r15, r13
jbe 0x140029e1f
test r13, r13
je 0x14002a186
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, r12
mov r9, r13
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r15, rax
test rax, rax
jne 0x140029e61
jmp 0x14002a5e3
mov r15, r12
jmp 0x140029e61
xor eax, eax
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x130]
mov rdx, r13
lea r8, [rsp + 0xa0]
call fcn.1400105b0
cmp dword [rsp + 0x130], 1
je 0x14002a5e3
mov r15, qword [rsp + 0x138]
mov byte [r15 + rbx], 0
movzx eax, byte [0x141d0ba30]
mov edx, 0x38
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 1
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r13
mov rax, qword [0x141d0b9f8]
nop word cs:[rax + rax]
cmp rax, 0xffffffffffffffff
je 0x14002a5e3
lea rcx, [rax + 1]
lock cmpxchg qword [0x141d0b9f8], rcx
jne 0x140029eb0
mov qword [r14 + 0x28], rcx
mov byte [r14 + 0x30], 0
lock inc qword [r14]
jle 0x14002a5e3
movzx eax, byte [0x141d0ba30]
mov edx, 0x30
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov r13, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm6
mov qword [rsp + 0xa0], rax
lock inc qword [rax]
jle 0x14002a5e3
movzx eax, byte [0x141d0b990]
test al, al
mov qword [rsp + 0x68], rsi
je 0x140029fd0
mov byte [0x141d0b990], 1
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x60]
cmp rax, 1
jne 0x14002a1a3
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r15, qword [rax + 0x68]
mov qword [rax + 0x68], 0
test r15, r15
je 0x140029fd0
lock inc qword [r15]
jle 0x14002a5e3
mov byte [0x141d0b990], 1
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x60]
cmp rax, 1
je 0x14002a00d
test rax, rax
je 0x14002a1c5
jmp 0x14002a5d5
movzx eax, byte [0x141d0b990]
test al, al
je 0x14002a076
mov byte [0x141d0b990], 1
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x60]
cmp rax, 1
jne 0x14002a1b6
xor r15d, r15d
mov eax, dword [0x141d0ba34]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x68]
mov qword [rax + 0x68], r15
test rcx, rcx
je 0x14002a060
lock dec qword [rcx]
jne 0x14002a060
mov rsi, rdi
call fcn.140030ed0
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14002a08d
jmp 0x14002a098
mov rsi, rdi
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x14002a08d
jmp 0x14002a098
mov rsi, rdi
xor r15d, r15d
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14002a098
lock inc qword [rcx + 0x18]
jle 0x14002a5c8
movzx eax, byte [0x141d0ba30]
mov edx, 0x80
xor ecx, ecx
call fcn.14003b500
test rax, rax
je 0x14002a5e3
mov qword [rax], r14
mov qword [rax + 8], r13
mov qword [rax + 0x10], r15
movaps xmm0, xmmword [rsp + 0x200]
movaps xmm1, xmmword [rsp + 0x210]
movaps xmm2, xmmword [rsp + 0x220]
movaps xmm3, xmmword [rsp + 0x230]
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm1
movups xmmword [rax + 0x38], xmm2
movups xmmword [rax + 0x48], xmm3
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [rax + 0x58], xmm0
movaps xmm0, xmmword [rsp + 0x250]
movups xmmword [rax + 0x68], xmm0
mov rcx, qword [rsp + 0x260]
mov qword [rax + 0x78], rcx
mov rcx, rsi
mov rdx, rax
lea r8, [0x141cfda00]
call fcn.140039950
test rax, rax
jne 0x14002a371
mov qword [rsp + 0x1e8], r14
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lock dec qword [r14]
jne 0x14002a162
mov rcx, qword [rsp + 0x1e8]
call fcn.140028000
mov rax, qword [rsp + 0x1f0]
lock dec qword [rax]
jne 0x140029650
lea rcx, [rsp + 0x1f0]
call fcn.140027ed0
jmp 0x140029650
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r15d, 1
jmp 0x140029e61
test rax, rax
jne 0x14002a5e3
call fcn.1400553e0
jmp 0x140029f5f
mov r15d, 0
test rax, rax
jne 0x14002a5e3
call fcn.1400553e0
jmp 0x14002a00d
mov r15d, 8
xor eax, eax
mov qword [rsp + 0x1b0], r12
test r14, r14
mov qword [rsp + 0x1a8], rax
jne 0x1400292d9
xor r12d, r12d
cmp qword [rsp + 0x1d0], 0
jne 0x140029326
jmp 0x140029338
mov rax, qword [rsp + 0x200]
lock dec qword [rax]
jne 0x14002a222
lea rcx, [rsp + 0x200]
call fcn.14003b840
lea rcx, [rsp + 0x148]
call fcn.14002a5f0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 8], rax
mov qword [rcx], 3
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x14002a28d
mov rsi, qword [rbx + 0x20]
mov rax, qword [rsi]
test rax, rax
je 0x14002a269
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002a28d
cmp qword [rsi + 0x10], 0x11
jb 0x14002a27b
mov rdi, qword [rdi - 8]
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x14002a2cb
mov rsi, qword [rbx + 0x30]
mov rax, qword [rsi]
test rax, rax
je 0x14002a2a7
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002a2cb
cmp qword [rsi + 0x10], 0x11
jb 0x14002a2b9
mov rdi, qword [rdi - 8]
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14002a309
mov rsi, qword [rbx + 0x40]
mov rax, qword [rsi]
test rax, rax
je 0x14002a2e5
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002a309
cmp qword [rsi + 0x10], 0x11
jb 0x14002a2f7
mov rdi, qword [rdi - 8]
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x14002a347
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x14002a323
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002a347
cmp qword [rsi + 0x10], 0x11
jb 0x14002a335
mov rdi, qword [rdi - 8]
mov rcx, qword [0x141d0ba00]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm6, xmmword [rbp + 0x380]
movaps xmm7, xmmword [rbp + 0x390]
movaps xmm8, xmmword [rbp + 0x3a0]
lea rsp, [rbp + 0x3b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lock dec qword [rdi]
mov rdi, qword [rsp + 0x68]
jne 0x14002a38f
lea rcx, [rsp + 0xa0]
mov rsi, rdx
call fcn.140027ed0
mov rdx, rsi
lock dec qword [r14]
jne 0x14002a3a3
mov rcx, r14
mov rsi, rdx
call fcn.140028000
mov rdx, rsi
mov rax, qword [rsp + 0x98]
mov qword [rax], 2
mov qword [rax + 8], rdx
lea rcx, [rsp + 0x148]
call fcn.14002a5f0
mov qword [rsp + 0x68], rdi
lock dec qword [rdi + 0x1d0]
jne 0x14002a4ca
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x208]
test rax, rax
je 0x14002a4ca
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rcx + 0x200]
shl rax, 3
lea rbx, [rax + rax*4]
mov r14d, 4
xor r12d, r12d
xor r13d, r13d
jmp 0x14002a424
add r12, 0x28
sub r14, 0xffffffffffffff80
inc r13
cmp rbx, r12
je 0x14002a4ca
mov eax, 3
xchg qword [rsi + r12 + 0x10], rax
cmp rax, 2
jne 0x14002a410
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x1e8], r13
jbe 0x14002a5e3
mov r15, qword [rax + 0x1e0]
lea rdi, [r15 + r14]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r15 + r14], cl
jne 0x14002a49a
cmp byte [r15 + r14 + 1], 0
je 0x14002a4b0
lea rcx, [r15 + r14]
add rcx, 0xfffffffffffffffc
mov byte [r15 + r14 + 1], 0
lock inc dword [r15 + r14 - 4]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov rax, qword [rsp + 0x68]
lock dec qword [rax + 0x1f0]
xor eax, eax
xchg byte [rdi], al
cmp al, 2
jne 0x14002a410
jmp 0x14002a4bc
mov rcx, rdi
call fcn.140055320
cmp byte [r15 + r14 + 1], 0
jne 0x14002a465
nop word [rax + rax]
xor eax, eax
xchg byte [rdi], al
cmp al, 2
jne 0x14002a410
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
jmp 0x14002a410
mov rax, qword [rsp + 0x88]
lock dec qword [rax]
jne 0x14002a24a
lea rcx, [rsp + 0x88]
call fcn.14003b5e0
jmp 0x14002a24a
mov rcx, qword [rsp + 0x98]
mov qword [rcx], 1
shl rax, 1
test rax, rax
jne 0x14002a556
mov rax, qword [rsp + 0xf8]
lock dec qword [rax]
jne 0x14002a57b
lea rcx, [rsp + 0xf8]
call fcn.14003b840
mov rax, qword [rsp + 0xe8]
lock dec qword [rax]
je 0x14002a589
mov rax, qword [rsp + 0x118]
lock dec qword [rax]
jne 0x14002a549
lea rcx, [rsp + 0x118]
call fcn.14003b5e0
mov rdi, qword [rsp + 0x88]
jmp 0x14002a3b6
mov r8, qword [rsp + 0xd8]
mov rcx, qword [0x141d0ba00]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0xf8]
lock dec qword [rax]
je 0x14002a513
mov rax, qword [rsp + 0xe8]
lock dec qword [rax]
jne 0x14002a52e
lea rcx, [rsp + 0xe8]
call fcn.14003b840
mov rax, qword [rsp + 0x118]
lock dec qword [rax]
je 0x14002a53c
jmp 0x14002a549
shl rcx, 1
test rcx, rcx
je 0x140028a7b
jmp 0x140028a6c
shl rcx, 1
test rcx, rcx
je 0x140028dca
jmp 0x140028b0c
add rcx, 0x10
xor edx, edx
call fcn.14002c6e0
ud2
lock dec qword [r15]
jne 0x14002a5e3
mov rcx, r15
call fcn.140030ed0
ud2