joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a6ca0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x180156ea0]
movzx esi, r9b
mov r15d, dword [rsp + 0x90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x1800a6cff
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x1800a6d04
mov eax, 0x220
movss xmm3, dword [rax + rbx]
xorps xmm4, xmm4
movss xmm5, dword [rax + rbx + 4]
mov edx, 2
cvttss2si eax, dword [r8]
subss xmm3, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movss xmm2, dword [0x180132700]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
mov r8d, 1
cvtdq2ps xmm1, xmm1
movd xmm0, eax
xor eax, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
cmove eax, r8d
xor r12d, r12d
ucomiss xmm0, xmm4
cmove r12d, edx
or r12d, eax
comiss xmm1, xmm4
ja 0x1800a6d75
addss xmm1, xmm3
comiss xmm1, xmm2
jae 0x1800a6d75
movaps xmm1, xmm2
comiss xmm0, xmm4
ja 0x1800a6d86
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x1800a6d86
movaps xmm0, xmm2
or dword [rdi + 0x47b8], edx
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], r8d
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x1800a6dcb
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.18009e220
jmp 0x1800a6de1
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.18009e220
movss xmm6, dword [rdi + 0x37f8]
test sil, sil
jne 0x1800a6df8
mov dword [rdi + 0x37f8], 0
mov rcx, qword [rsp + 0x70]
mov r8d, r15d
xor edx, edx
call fcn.1800a9b30
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r12b
jne 0x1800a6e3e
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x18012ebe1]
not r9d
lea r10, [0x18011cfb0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x1800a6e6b
cmp byte [rdx], r8b
jne 0x1800a6e6b
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1800a6e58
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x1800a6e9b
xor edx, edx
xor ecx, ecx
call fcn.1800a37c0
cmp dword [rdi + 0x48e0], r14d
jne 0x1800a6ee8
bt r15d, 0x17
jb 0x1800a6ee8
cmp word [rsi + 0x15c], 0
jne 0x1800a6ebe
cmp byte [rsi + 0x162], 0
je 0x1800a6ee8
xor edx, edx
mov rcx, rsi
call fcn.1800abfe0
xor edx, edx
mov rcx, rsi
call fcn.1800b2420
mov rdx, rsi
mov ecx, ebx
call fcn.1800a37c0
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1800b05c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180156ea0]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x1800b0621
cmp byte [rbx + 0x4a92], 0
jne 0x1800b0621
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18009e1a0
test dil, 2
je 0x1800b074f
jmp 0x1800b06aa
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18013273c]
mulss xmm1, dword [0x180132724]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x180132678]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.18009e1a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800b0700
lea r11, [0x18011cfb0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1800b06e3
cmp byte [r8], r9b
jne 0x1800b06e3
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 0x1800b06d0
not ecx
call fcn.1800a73c0
test rax, rax
je 0x1800b074f
cmp byte [rax + 0xb6], 0
je 0x1800b074f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.18009e1a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1800a9b30
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800ec4b0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800b5520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800b55c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800b557a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800c05d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18009f110
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180156e5c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800b55cf
mov rcx, rbx
call fcn.18009f110
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800b5ac0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180156ea0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800b5b23
mov qword [rsp], rbx
lea rbx, [0x18011cfb0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800b5b03
cmp byte [r8], r9b
jne 0x1800b5b03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800b5af0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1800b5b4f
cmp dword [r8 + 8], eax
je 0x1800b5b56
add r8, 0x48
cmp r8, rcx
jne 0x1800b5b40
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x1800b5dc0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180156ea0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5c0c], ecx
test rbx, rbx
je 0x1800b5e2f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.1800b5e40
lea rdx, [0x18012f768]
mov rcx, rbx
mov rdi, rax
call fcn.18009e3f0
mov rbx, rax
test rax, rax
je 0x1800b5e2a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x1800df180
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x180156ea0]
lea r8, [0x18012f701]
xorps xmm5, xmm5
lea rbx, [0x18011cfb0]
mov r10d, 0xffffffff
mov r9b, 0x23
mov ecx, r10d
mov rax, qword [rdi + 0x48c8]
movss xmm4, dword [rdi + 0x3808]
movss xmm1, dword [rdi + 0x3890]
movss xmm0, dword [rdi + 0x388c]
subss xmm1, xmm4
mov r11, qword [rax]
addss xmm4, xmm4
movss dword [rdi + 0x481c], xmm0
maxss xmm1, xmm5
addss xmm4, dword [rdi + 0x3c10]
movss dword [rdi + 0x4820], xmm1
nop dword [rax]
cmp r9b, 0x23
jne 0x1800df213
cmp byte [r8], r9b
jne 0x1800df213
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 0x1800df200
not ecx
call fcn.1800a73c0
xor esi, esi
test rax, rax
je 0x1800df24a
cmp word [rax + 0xc2], si
jne 0x1800df2ed
test r11, r11
jne 0x1800df259
mov rax, qword [rdi + 0x48c8]
mov r11, qword [rax]
movss xmm0, dword [r11 + 0xb8]
movss xmm3, dword [r11 + 0xc]
movaps xmm2, xmm0
addss xmm2, dword [r11 + 4]
movss xmm1, dword [r11 + 0xbc]
subss xmm3, xmm0
addss xmm1, dword [r11 + 8]
addss xmm3, dword [r11 + 0xc0]
or dword [rdi + 0x47b8], 3
movss dword [rdi + 0x47c8], xmm2
movss dword [rdi + 0x47cc], xmm1
movss dword [rdi + 0x47dc], xmm4
maxss xmm3, xmm5
mov qword [rdi + 0x47d0], rsi
mov dword [rdi + 0x47bc], 1
mov dword [rdi + 0x47c0], 1
addss xmm3, xmm2
subss xmm3, xmm2
movss dword [rdi + 0x47d8], xmm3
addss xmm4, dword [r11 + 0xbc]
movss dword [r11 + 0xbc], xmm4
movaps xmm1, xmm5
mov ecx, 3
call fcn.1800a0090
mov rbx, qword [0x180156ea0]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 5
movss xmm1, dword [rbx + 0x37e0]
lea rcx, [rbx + 0x4838]
movss xmm0, dword [rbx + 0x37e4]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.1800bffc0
xor edx, edx
mov qword [rbx + 0x37e0], rsi
mov r8d, 0x50f
lea rcx, str.MainMenuBar
call fcn.1800a9b30
mov ecx, 2
movzx ebx, al
call fcn.1800a01a0
mov qword [rdi + 0x481c], rsi
test bl, bl
je 0x1800df381
call fcn.1800dec30
movzx eax, bl
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call fcn.1800abdc0
mov rsi, qword [rsp + 0x48]
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1800e4d30
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 [0x180156ea0]
mov r10, rcx
mov r9, qword [rcx + 0x180]
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 0x1800e4d73
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r9 + 0x100]
subss xmm0, dword [r9 + 0x20]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r9 + 0x118], xmm2
subss xmm0, dword [r9 + 0x144]
movss dword [r9 + 0x108], xmm2
movss dword [r9 + 0x104], xmm1
movss dword [r9 + 0x148], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r9 + 0x138], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r9 + 0x158], eax
movss dword [r9 + 0x21c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x218], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x220], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1bc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r9 + 0xbb], al
cmp byte [rbx + 0x68], 0
je 0x1800e4e1f
xor eax, eax
mov dword [rdi + 0x4778], eax
mov dword [rdi + 0x4780], eax
test dword [rcx + 4], 0x100000
je 0x1800e4e33
mov r8d, 2
jmp 0x1800e4eb3
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x298]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x238], 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 + 0x298]
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 r8d, word [rbx + 0x5c]
mov rdx, qword [r9 + 0x298]
mov rcx, qword [r10 + 0x198]
call fcn.1800cbcf0
cmp byte [rdi + 0x5ca8], 0
je 0x1800e4ef1
cmp byte [rbx + 0x68], 0
jne 0x1800e4ef1
xor r8d, r8d
lea rdx, [0x180131a3c]
mov rcx, rsi
call fcn.1800b5630
mov dword [rdi + 0x5cd8], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1800e7670
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x180156ea0]
mov rdx, qword [rax + 0x4b48]
cmp ecx, 0xffffffff
jne 0x1800e768a
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 0x1800e7707
mov r10d, dword [rdx]
lea r8, [0x180131a11]
movzx eax, word [rdx + 0x78]
lea r11, [0x18011cfb0]
not r10d
mov word [rdx + 0x218], cx
mov ecx, r10d
mov byte [rdx + 0x22f], 1
mov word [rdx + 0x7a], ax
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1800e76e3
cmp byte [r8], r9b
jne 0x1800e76e3
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 0x1800e76d0
not ecx
jmp fcn.1800b0920
ret
Function at 0x1800ea830
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov r15d, edx
mov rdi, rcx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
xor edx, edx
mov r14d, r8d
mov esi, ebx
lea ecx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1800ea9cf
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800ea971
lea esi, [rbx + 1]
cmp dword [rsp + 0x20], 0x10
jb 0x1800ea92c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800ea92c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800ea92c
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800ea8ee
mov rcx, qword [0x180156eb8]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x1800ea955
jmp 0x1800ea91f
mov eax, dword [rdi + 8]
cmp dword [rdi + 0xc], eax
jb 0x1800ea91f
mov rcx, qword [0x180156eb8]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800ea955
mov qword [rdi], rax
mov ecx, dword [rdi + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rdi + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800ea89c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800ea971
mov esi, ebx
cmp qword [rdi], rbx
je 0x1800ea971
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x180156eb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1800ea9cf
cmp qword [rdi], rbx
je 0x1800ea9d4
mov esi, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x1800ea9d4
mov r8, qword [rdi]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbp, rax
test rax, rax
je 0x1800ea9c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, r14d
mov edx, r15d
mov rcx, rbp
call fcn.1800ea6a8
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rdi + 0xc]
jb 0x1800ea98a
jmp 0x1800ea9d4
mov ebx, 9
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800ec4b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800ea9f8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800eaa5c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800eaa4a
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800eaa43
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800eaa17
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180156eb8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800eae80
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800eae97
cmp r8b, 0x90
je 0x1800eae97
cmp r8b, 0xcc
jne 0x1800eaeb9
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800eaeb5
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800eaeb9
add edx, r10d
cmp edx, r9d
jb 0x1800eaea5
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800eb200
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r15, qword [rbp - 0x58]
movabs rdx, 0x200000000
cmp rdi, rdx
jbe 0x1800eb256
movabs rax, 0xfffffffe00000000
add rax, rdi
cmp r15, rax
cmovb r15, rax
mov rbx, qword [0x180157cf8]
lea r12, [rdi + rdx]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800eb28c
cmp rbx, r15
jb 0x1800eb289
cmp rbx, r12
jae 0x1800eb289
cmp qword [rbx + 8], rsi
jne 0x1800eb3ee
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800eb275
mov r14, rdi
cmp rdi, r15
jb 0x1800eb3a8
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r14
div r13
sub r14, rdx
jmp 0x1800eb2d8
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800eb312
cmp dword [rbp - 0x10], 0x10000
je 0x1800eb2e2
mov r14, qword [rbp - 0x28]
cmp r14, r13
jb 0x1800eb312
sub r14, r13
cmp r14, r15
jae 0x1800eb2ae
jmp 0x1800eb312
test r14, r14
je 0x1800eb312
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800eb3b3
cmp r14, r15
jae 0x1800eb29d
test rbx, rbx
jmp 0x1800eb3a6
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800eb3ee
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800eb3ee
cmp dword [rbp - 0x10], 0x10000
je 0x1800eb381
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800eb33e
jmp 0x1800eb3ee
test rdi, rdi
je 0x1800eb3ee
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800eb3b3
cmp rdi, r12
jbe 0x1800eb31a
jmp 0x1800eb3ee
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800eb3bf
mov rax, qword [0x180157cf8]
mov qword [rbx], rax
mov qword [0x180157cf8], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800ec3bc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800ec3f6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800ec3fb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800ec444
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180115fc0]
cmp byte [rcx + rax], 0
je 0x1800ec444
dec r8
sub rdx, 1
jne 0x1800ec42a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x414ba0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414d2b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b6db0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414c05
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414c14
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414c33
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414c43
cmp rbx, 0x1000
jae 0x414c0b
jmp 0x414cad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414c55
xor edx, edx
jmp 0x414ca4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b6db0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414c39
jmp 0x414c28
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005b6db0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004bd20a]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004bd70b]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004bfb24]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS