joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800b4750
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x180138028]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x18013ecd8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800b490e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800b490e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call fcn.180055af0
xor ebx, ebx
mov qword [rsp + 0x28], rax
mov rdi, rax
test rax, rax
je 0x1800b47da
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x1800b47dd
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x180124868]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x18013ecd8]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x1800b4827
mov rsi, qword [rax + 0x90]
jmp 0x1800b482a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1800b4855
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x18013ecd8]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x1800b48ce
inc rbx
cmp rbx, 5
jl 0x1800b48b0
jmp 0x1800b48fa
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x1800b4910
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800f6f60
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x1800bab20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x18013ecd8]
mov r9, rcx
mov r8, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x1800bab63
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r8 + 0x110]
subss xmm0, dword [r8 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r8 + 0x128], xmm2
subss xmm0, dword [r8 + 0x154]
movss dword [r8 + 0x118], xmm2
movss dword [r8 + 0x114], xmm1
movss dword [r8 + 0x158], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r8 + 0x148], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r8 + 0x168], eax
movss dword [r8 + 0x22c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r8 + 0x228], eax
mov eax, dword [rbx + 0x38]
mov dword [r8 + 0x230], eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + 0x1cc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r8 + 0xc3], al
cmp byte [rbx + 0x68], 0
je 0x1800bac0f
xor eax, eax
mov dword [rdi + 0x4998], eax
mov dword [rdi + 0x49a0], eax
test dword [rcx + 4], 0x100000
je 0x1800bac1f
mov eax, 2
jmp 0x1800bac9e
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r8 + 0x2a8]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r8 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r8 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx eax, word [rbx + 0x5c]
mov rdx, qword [r8 + 0x2a8]
mov r8d, eax
mov rcx, qword [r9 + 0x1a0]
call fcn.1800ad010
cmp byte [rdi + 0x5fc8], 0
je 0x1800bacdf
cmp byte [rbx + 0x68], 0
jne 0x1800bacdf
xor r8d, r8d
lea rdx, [0x180124904]
mov rcx, rsi
call fcn.180069ee0
mov dword [rdi + 0x5ff8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800bb120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18013ecd8]
mov rcx, qword [rax + 0x4de8]
mov r9, qword [rax + 0x4008]
movups xmm0, xmmword [r9 + 0x248]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp fcn.1800ad010

Function at 0x1800bb200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18013ecd8]
mov rcx, qword [rax + 0x4de8]
mov r10, qword [rax + 0x4008]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2a8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x248], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2a8]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.1800ad010

Function at 0x1800be280
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x18013ecd8]
mov rdx, qword [rax + 0x4de8]
cmp ecx, 0xffffffff
jne 0x1800be29a
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x1800be319
mov r10d, dword [rdx]
lea r8, [0x180124919]
movzx eax, word [rdx + 0x78]
lea r11, [0x180110450]
not r10d
mov word [rdx + 0x224], cx
mov ecx, r10d
mov byte [rdx + 0x23b], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1800be2f3
cmp byte [r8], r9b
jne 0x1800be2f3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800be2e0
not ecx
xor edx, edx
jmp fcn.180063f60
ret
Function at 0x1800dc1f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r10d, 0xffffffff
lea r8, [0x18010d8d1]
mov ecx, r10d
lea rbx, [0x180110450]
movaps xmm5, xmm3
mov r11, rdx
mov r9b, 0x23
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1800dc233
cmp byte [r8], r9b
jne 0x1800dc233
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800dc220
not ecx
call fcn.180059540
xor edi, edi
test rax, rax
je 0x1800dc26a
cmp word [rax + 0xcc], di
jne 0x1800dc313
mov rcx, qword [0x18013ecd8]
test r11, r11
jne 0x1800dc280
mov rax, qword [rcx + 0x4b00]
mov r11, qword [rax]
movss xmm1, dword [r11 + 0xb8]
xorps xmm3, xmm3
movss xmm0, dword [r11 + 0xc]
movaps xmm4, xmm1
addss xmm4, dword [r11 + 4]
movss xmm2, dword [r11 + 0xbc]
subss xmm0, xmm1
addss xmm2, dword [r11 + 8]
addss xmm0, dword [r11 + 0xc0]
or dword [rcx + 0x49e8], 3
mov qword [rcx + 0x4a00], rdi
mov dword [rcx + 0x49ec], 1
mov dword [rcx + 0x49f0], 1
maxss xmm3, xmm0
movaps xmm0, xmm4
unpcklps xmm0, xmm2
movsd qword [rcx + 0x49f8], xmm0
addss xmm3, xmm4
subss xmm3, xmm4
movaps xmm0, xmm3
unpcklps xmm0, xmm5
movsd qword [rcx + 0x4a08], xmm0
addss xmm5, dword [r11 + 0xbc]
movss dword [r11 + 0xbc], xmm5
xorps xmm1, xmm1
mov ecx, 3
call fcn.180052330
mov rbx, qword [0x18013ecd8]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x3908]
lea rcx, [rbx + 0x4a70]
movss xmm0, dword [rbx + 0x390c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.1800756f0
xor edx, edx
mov qword [rbx + 0x3908], rdi
mov r8d, 0x50f
lea rcx, str.MainMenuBar
call fcn.18005c280
mov ecx, 2
movzx ebx, al
call fcn.180052440
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1800df090
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1800df11c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800df0f0
lea r11, [0x180110450]
nop
cmp r9b, 0x23
jne 0x1800df0d3
cmp byte [r8], r9b
jne 0x1800df0d3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800df0c0
mov rcx, qword [0x18013ecd8]
not eax
cmp dword [rcx + 0x406c], eax
jne 0x1800df107
mov dword [rcx + 0x4070], eax
cmp dword [rcx + 0x4098], eax
jne 0x1800df179
mov byte [rcx + 0x409c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18013ecd8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4008]
movsxd rcx, dword [rbx + 0x100]
mov rax, qword [rbx + 0x108]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.180050080
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x4054], eax
jne 0x1800df172
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.1800742e0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800e8910
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180138028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800e895f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18014fe80]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800e899d
cmp rsi, r14
jb 0x1800e8995
cmp rsi, r15
jae 0x1800e8995
cmp qword [rsi + 8], 0
jne 0x1800e8b67
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800e8980
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800e8a32
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800e8a29
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e8a29
cmp dword [rsp + 0x40], 0x10000
je 0x1800e8aab
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800e8a29
sub rbx, rbp
cmp rbx, r14
jae 0x1800e89f0
test rsi, rsi
jne 0x1800e8b10
cmp rdi, r15
ja 0x1800e8b4f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800e8b4f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800e8b4f
cmp dword [rsp + 0x40], 0x10000
je 0x1800e8ae1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800e8a62
jmp 0x1800e8b4f
test rbx, rbx
je 0x1800e8a29
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800e8b10
cmp rbx, r14
jae 0x1800e89d0
jmp 0x1800e8a32
test rdi, rdi
je 0x1800e8b4f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800e8b10
cmp rdi, r15
jbe 0x1800e8a40
jmp 0x1800e8b4f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800e8b20
mov rax, qword [0x18014fe80]
mov qword [rsi], rax
mov qword [0x18014fe80], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800f6f60
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x1800e9540
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180138028]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800e966b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800e9662
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800e9644
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800e9644
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800e9644
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800e9602
mov rcx, qword [0x18013ed00]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800e9662
jmp 0x1800e9637
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800e9637
mov rcx, qword [0x18013ed00]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800e9662
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800e95b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800e96c3
cmp dword [rbx + 0xc], esi
jbe 0x1800e96c3
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800e96bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800e9390
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800e9680
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800f6f60
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800e96f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180138028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18014fe70]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800e9763
mov eax, 0xa
jmp 0x1800e97f2
test esi, esi
je 0x1800e9785
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800e97a8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800e97a8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800e97a1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800e97a8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800f6f60
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800e9820
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18014fe7c]
mov ebx, edi
test ecx, ecx
je 0x1800e995b
mov rax, qword [0x18014fe70]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800e9878
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800e9850
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800e995b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800e9540
mov r8d, dword [0x18014fe7c]
cmp ebx, r8d
jae 0x1800e98e8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18014fe70]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800e98e1
mov edx, esi
mov ecx, ebx
call fcn.1800e96f0
mov edi, eax
test eax, eax
jne 0x1800e98e8
mov r8d, dword [0x18014fe7c]
inc ebx
cmp ebx, r8d
jb 0x1800e98b0
cmp qword [rsp + 0x20], 0
je 0x1800e995b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800e9947
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800e9938
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800e9910
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18013ed00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800e9f80
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18013ecf8], ebp
je 0x1800e9fd7
cmp rbx, 0x20
jae 0x1800e9fc0
xor ecx, ecx
jmp 0x1800e9fc2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18013ecf8], ebp
jne 0x1800e9fb6
cmp qword [0x18013ed00], r15
je 0x1800ea0d1
test rdi, rdi
jne 0x1800e9ff7
mov ecx, esi
call fcn.1800e9820
mov ebp, eax
jmp 0x1800ea0d6
mov ecx, dword [0x18014fe7c]
mov ebx, r15d
test ecx, ecx
je 0x1800ea01f
mov r8, qword [0x18014fe70]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800ea029
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800ea010
mov ebp, 4
jmp 0x1800ea0d6
cmp ebx, 0xffffffff
je 0x1800ea01f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800ea0c8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800e9540
mov edx, esi
mov ecx, ebx
call fcn.1800e96f0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800ea0d6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800ea0b2
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800ea0a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x1800ea080
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18013ed00]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800ea0d6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800ea0d6
mov ebp, 2
xchg dword [0x18013ecf8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800eaa60
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor ecx, ecx
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x180125638]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONIN_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 8]
lea r8, [0x180125644]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 0x10]
lea r8, [0x180125644]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Debug_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rbx + 0x28]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rbx + 0x31], 1
add rsp, 0x20
pop rbx
ret