Function at 0x140004160
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x960]
sub rsp, 0xa60
mov rax, qword [0x1400bc060]
xor rax, rsp
mov qword [rbp + 0x950], rax
mov qword [rsp + 0x58], r9
mov r13, r8
mov qword [rbp - 0x80], r8
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x78], r8
mov rax, qword [rbp + 0x9c0]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov byte [rbp - 0x68], 0
mov rax, qword [r14 + 8]
lea rdx, [rax + rax]
mov rdi, qword [r14]
lea rbx, [rdi + rdx]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], al
sar rdx, 1
lea rcx, [rbp - 0x40]
call fcn.140006830
lea rax, [rbp - 0x40]
mov qword [rbp - 0x60], rax
cmp rdi, rbx
je 0x140004243
nop dword [rax]
movzx r9d, byte [rdi]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
cmp rcx, rdx
jae 0x140004231
lea rax, [rcx + 1]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x40]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x40]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000423a
lea rcx, [rbp - 0x40]
call fcn.140008160
add rdi, 2
cmp rdi, rbx
jne 0x140004200
mov r12, 0xffffffffffffffff
nop word [rax + rax]
movups xmm0, xmmword [r14]
movaps xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.140003730
mov esi, eax
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, r12
je 0x140004351
mov dword [rbp + 0x420], 0x238
lea rdx, [rbp + 0x420]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004322
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x840]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x44c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r8, qword [rbp - 0x40]
lea rax, [rbp + 0x840]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140004303
inc rax
test ecx, ecx
jne 0x1400042f0
test edx, edx
je 0x14000431c
lea rdx, [rbp + 0x420]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140004296
mov edi, dword [rbp + 0x428]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140004351
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x18], 0
lea rdx, [rbp - 0x20]
lea rcx, [0x140004100]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp - 0x18]
jmp 0x140004353
xor ecx, ecx
lea rdx, [0x1400bfb50]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14000438a
mov eax, dword [0x1400bfb58]
sub eax, dword [0x1400bfb50]
mov dword [0x1400bfb64], eax
mov ecx, dword [0x1400bfb5c]
sub ecx, dword [0x1400bfb54]
mov dword [0x1400bfb60], ecx
jmp 0x140004396
mov eax, dword [0x1400bfb64]
mov ecx, dword [0x1400bfb60]
test esi, esi
je 0x1400043a2
test eax, eax
jle 0x1400043a2
test ecx, ecx
jg 0x1400043b8
mov qword [rbp - 0x60], 0x1f4
lea rcx, [rbp - 0x60]
call fcn.140007700
jmp 0x140004250
xor edx, edx
mov r8d, 0x398
cmp byte [r15 + 6], dl
je 0x140004991
lea rcx, [rbp + 0x420]
call fcn.14004d8a0
lea rcx, [rbp + 0x420]
call fcn.140016ae0
nop
cmp qword [r13 + 0x18], 0x10
jb 0x1400043f7
mov rdi, qword [r13]
mov rbx, rdi
add rbx, qword [r13 + 0x10]
jmp 0x140004401
mov rbx, qword [r13 + 0x10]
add rbx, r13
mov rdi, r13
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov ecx, r14d
mov qword [rbp - 0x50], rcx
mov r8d, 7
mov qword [rbp - 0x48], r8
mov word [rbp - 0x60], r14w
mov rdx, rbx
sub rdx, rdi
cmp rdx, 8
jb 0x14000443e
lea rcx, [rbp - 0x60]
call fcn.140007980
mov ecx, r14d
mov qword [rbp - 0x50], rcx
mov r8, qword [rbp - 0x48]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
cmp rdi, rbx
je 0x140004496
nop dword [rax]
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x14000447b
lea rax, [rcx + 1]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
cmp r8, 8
cmovae rax, qword [rbp - 0x60]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x140004484
lea rcx, [rbp - 0x60]
call fcn.140007af0
inc rdi
cmp rdi, rbx
je 0x140004496
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
jmp 0x140004450
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rdi, qword [rbp - 0x30]
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rsi, qword [rbp - 0x40]
cmp rdi, 0x10
jae 0x1400044d0
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], 0xf
jmp 0x14000454c
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004524
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005389
mov rcx, rax
call fcn.14004b270
mov rcx, rax
test rax, rax
je 0x14000538f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140004533
test rcx, rcx
je 0x140004530
call fcn.14004b270
jmp 0x140004533
mov rax, r14
mov qword [rsp + 0x60], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14004d1f0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x60]
call fcn.140002e90
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rcx
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
nop dword [rax]
inc r12
cmp word [rax + r12*2], cx
jne 0x140004580
mov r8, r12
mov rdx, rax
lea rcx, [rbp]
call fcn.140007120
nop
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.1400170e0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1400045e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005395
call fcn.14004afd0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
mov rbx, qword [rbp - 0x20]
cmp rbx, qword [rbp - 0x18]
jne 0x14000460a
mov edi, 0xc0000225
jmp 0x140004620
mov r8d, 0xd7b
mov edx, dword [rbx]
lea rcx, [rbp + 0x420]
call fcn.140016f40
mov edi, eax
test rbx, rbx
je 0x140004665
mov rcx, qword [rbp - 0x10]
sub rcx, rbx
sar rcx, 2
lea rdx, [rcx*4]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000465d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000539b
mov rcx, rbx
call fcn.14004afd0
test edi, edi
jns 0x1400047b2
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400046ad
mov rcx, qword [rbp - 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046a8
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053a7
call fcn.14004afd0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
lea rcx, [rbp + 0x420]
call fcn.140016e30
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140004706
mov rcx, qword [rbp - 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004701
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053ad
call fcn.14004afd0
mov byte [rbp - 0x40], 0
mov qword [rbp - 0x28], 0xf
mov qword [rbp - 0x30], r14
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x140004751
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r13]
jb 0x14000474c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053b3
mov rcx, r8
call fcn.14004afd0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400047ab
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000479b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053b9
mov rcx, r8
call fcn.14004afd0
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
xor al, al
jmp 0x140004967
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x440]
call fcn.140018e60
nop
cmp dword [rbp + 0x40], 0
jge 0x1400047f1
cmp byte [rbp + 0x58], 0
je 0x14000466d
lea rcx, [rbp + 0x48]
call fcn.1400084f0
jmp 0x14000466d
cmp byte [rbp + 0x58], 0
je 0x1400053a1
mov rcx, qword [rbp + 0x440]
add rcx, 0x360
mov rdx, qword [rbp + 0x48]
call fcn.140029050
nop
test al, al
je 0x1400047d9
cmp byte [rbp + 0x58], 0
je 0x140004827
lea rcx, [rbp + 0x48]
call fcn.1400084f0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140004867
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004862
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053a7
call fcn.14004afd0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
lea rcx, [rbp + 0x420]
call fcn.140016e30
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400048c0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053ad
call fcn.14004afd0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14000490b
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x140004906
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053b3
mov rcx, r8
call fcn.14004afd0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004965
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140004955
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053b9
mov rcx, r8
call fcn.14004afd0
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov al, 1
mov rcx, qword [rbp + 0x950]
xor rcx, rsp
call fcn.14004afb0
mov rbx, qword [rsp + 0xaa0]
add rsp, 0xa60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x80]
call fcn.14004d8a0
lea rcx, [rbp + 0x80]
call fcn.140016ae0
nop
mov r8d, 0x1fffff
mov edx, esi
lea rcx, [rbp + 0x80]
call fcn.140016f40
mov qword [rbp - 0x60], r14
lea rax, [rbp - 0x68]
mov qword [rbp - 0x58], rax
mov ecx, 0x10
call fcn.14004b270
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rax], xmm0
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140009b30]
xor edx, edx
xor ecx, ecx
call fcn.14005200c
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14000537a
cmp dword [rbp - 0x18], r14d
je 0x1400053bf
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call fcn.140049f4c
test eax, eax
jne 0x1400053ca
cmp byte [rbp - 0x68], 0
jne 0x1400051e5
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
lea rcx, [rbp + 0xa0]
call fcn.140017be0
mov rbx, rax
mov ecx, dword [rax]
mov dword [rbp], ecx
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
mov ecx, 0x48
call fcn.14004b270
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov rcx, qword [rbx + 0x30]
mov qword [rbp + 0x30], rcx
mov rcx, qword [rbx + 0x38]
mov qword [rbp + 0x38], rcx
mov rdx, qword [rbx + 0x20]
sub rdx, qword [rbx + 0x18]
sar rdx, 3
mov r8, rax
lea rcx, [rbp + 0x18]
call fcn.1400089d0
mov rdi, qword [rbx + 8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140004ade
lea r8, [rbx + 0x10]
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140009ba0
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140004ac2
mov r13, qword [rbp + 8]
mov rdi, qword [r13]
cmp rdi, r13
je 0x140004d5f
mov rax, qword [rsp + 0x58]
mov r12, qword [rax]
nop word [rax + rax]
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [r12 + r8*2], 0
jne 0x140004b20
mov rdx, r12
lea rcx, [rbp + 0x40]
call fcn.140007120
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140006730
lea r14, [rbp - 0x60]
mov rax, qword [rbp - 0x50]
cmp qword [rbp - 0x48], 8
jb 0x140004b61
mov rsi, qword [rbp - 0x60]
lea rbx, [rsi + rax*2]
mov r14, rsi
jmp 0x140004b6d
lea rbx, [rbp - 0x60]
lea rbx, [rbx + rax*2]
lea rsi, [rbp - 0x60]
cmp rsi, rbx
je 0x140004b8b
sub r14, rsi
movzx ecx, word [rsi]
call fcn.140051920
mov word [rsi + r14], ax
add rsi, 2
cmp rsi, rbx
jne 0x140004b75
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140006730
lea r14, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
mov r15, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
cmp r15, 8
jb 0x140004bbf
mov rsi, r9
lea rbx, [r9 + rax*2]
mov r14, r9
jmp 0x140004bcd
lea rbx, [rsp + 0x60]
lea rbx, [rbx + rax*2]
lea rsi, [rsp + 0x60]
cmp rsi, rbx
je 0x140004bfa
sub r14, rsi
movzx ecx, word [rsi]
call fcn.140051920
mov word [rsi + r14], ax
add rsi, 2
cmp rsi, rbx
jne 0x140004bd5
mov r15, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov r11, qword [rbp - 0x60]
mov rsi, qword [rbp - 0x48]
cmp rsi, 8
cmovae rcx, r11
lea r10, [rsp + 0x60]
cmp r15, 8
setae r14b
cmovae r10, r9
cmp rax, qword [rbp - 0x50]
jne 0x140004c65
test rax, rax
je 0x140004d7f
movzx edx, word [r10]
movzx r8d, word [rcx]
cmp dx, r8w
jb 0x140004c65
sub r10, rcx
cmp dx, r8w
ja 0x140004c65
cmp rax, 1
je 0x140004d7f
dec rax
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x140004c43
xor bl, bl
test r14b, r14b
je 0x140004ca9
lea rdx, [r15*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140004c99
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053d2
mov rcx, r9
call fcn.14004afd0
mov rsi, qword [rbp - 0x48]
mov r11, qword [rbp - 0x60]
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
cmp rsi, 8
jb 0x140004cfb
lea rdx, [rsi*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x140004cf3
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053d8
mov rcx, r11
call fcn.14004afd0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r14w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140004d4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053de
call fcn.14004afd0
test bl, bl
jne 0x140004d86
mov rax, qword [rdi]
mov rdi, rax
cmp rax, r13
jne 0x140004b00
mov qword [rbp - 0x60], 1
lea rcx, [rbp - 0x60]
call fcn.1400077a0
nop
lea rcx, [rbp]
call fcn.1400054c0
jmp 0x140004a34
mov bl, 1
jmp 0x140004c67
lea rcx, [rbp]
call fcn.1400054c0
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
sub rdi, rbx
mov r8, rbx
lea rdx, str.MemoryImage_0x_p
lea rcx, [rbp + 0x7c0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
lea rcx, [rbp + 0x7c0]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140004de0
mov r8, rax
lea rdx, [rbp + 0x7c0]
lea rcx, [rbp]
call fcn.140007120
nop
lea rax, [0x140005410]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, [rbp]
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x360]
call fcn.14000e720
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140004e67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053e4
call fcn.14004afd0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
lea rcx, [rbp + 0x128]
cmp dword [rbp + 0x60], 0
jge 0x14000502c
call fcn.140032d00
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.14000a5e0
mov byte [rbp + 0x120], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x2c0]
call fcn.1400257f0
lea rcx, [rbp + 0x360]
call fcn.14000e0e0
lea rcx, [rbp + 0x1b0]
call fcn.140033730
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140004efa
jle 0x140004ef3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x80], r14
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x90], r14
test rcx, rcx
je 0x140004f21
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov edx, 0x20
call fcn.14004afd0
mov dword [rbp + 0x88], r14d
cmp byte [rbp + 0x78], 0
je 0x140004f38
lea rcx, [rbp + 0x68]
call fcn.1400084f0
nop
lea rcx, [rbp + 0x80]
call fcn.140016e30
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140004f80
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053ea
call fcn.14004afd0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140004fce
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140004fc9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053f0
mov rcx, r8
call fcn.14004afd0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400047ab
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140005015
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053f6
mov rcx, r8
call fcn.14004afd0
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
xor al, al
jmp 0x140004967
call fcn.140032d00
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.14000a5e0
mov byte [rbp + 0x120], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x2c0]
call fcn.1400257f0
lea rcx, [rbp + 0x360]
call fcn.14000e0e0
lea rcx, [rbp + 0x1b0]
call fcn.140033730
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14000509d
jle 0x140005096
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x80], r14
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x90], r14
test rcx, rcx
je 0x1400050c4
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov edx, 0x20
call fcn.14004afd0
mov dword [rbp + 0x88], r14d
mov byte [rbp - 0x68], 1
mov qword [rsp + 0x58], 1
lea rcx, [rsp + 0x58]
call fcn.1400077a0
nop
cmp byte [rbp + 0x78], 0
je 0x1400050f3
lea rcx, [rbp + 0x68]
call fcn.1400084f0
nop
lea rcx, [rbp + 0x80]
call fcn.140016e30
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000513b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005136
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053ea
call fcn.14004afd0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rbx, qword [rbp - 0x80]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140005189
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140005184
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053f0
mov rcx, r8
call fcn.14004afd0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x140004965
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400051d0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400053f6
mov rcx, r8
call fcn.14004afd0
mov qword [rsi], r14
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
jmp 0x140004965
lea rcx, [rbp + 0x128]
call fcn.140032d00
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp + 0xb8]
call fcn.14000a5e0
mov byte [rbp + 0x120], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbp + 0x2c0]
call fcn.1400257f0
lea rcx, [rbp + 0x360]
call fcn.14000e0e0
lea rcx, [rbp + 0x1b0]
call fcn.140033730
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x14000525d
jle 0x140005256
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x80], r14
mov rcx, qword [rbp + 0x90]
mov qword [rbp + 0x90], r14
test rcx, rcx
je 0x140005284
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
mov edx, 0x20
call fcn.14004afd0
mov dword [rbp + 0x88], r14d
lea rcx, [rbp + 0x80]
call fcn.140016e30
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400052d3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400053fc
call fcn.14004afd0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov r13, qword [rbp - 0x80]
mov rdx, qword [r13 + 0x18]
cmp rdx, 0x10
jb 0x14000531e
mov rcx, qword [r13]
inc rdx
cmp rdx, 0x1000
jb 0x140005319
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000536e
mov rcx, r8
call fcn.14004afd0
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], 0xf
mov byte [r13], 0
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400047ab
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14000479b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005374
jmp 0x140004798
call fcn.140058230
nop
call fcn.140058230
nop
mov dword [rbp - 0x18], r14d
mov ecx, 6
call fcn.14004926c
nop
call fcn.1400012f0
int3
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140002d50
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
mov ecx, 1
call fcn.14004926c
int3
mov ecx, eax
call fcn.140049230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
nop
call fcn.140058230
int3