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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1801473c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [0x18016d098]
mov edi, edx
cmp byte [rbx + 0x1e25], 0
jne 0x18002e222
cmp byte [rbx + 0x1e26], 0
je 0x18002e290
movss xmm1, dword [rbx + 0x1614]
xor eax, eax
movaps xmm0, xmm1
mov edi, 1
mulss xmm0, dword [0x180133140]
mulss xmm1, dword [0x180133128]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1ba0], rax
mov dword [rbx + 0x1b8c], edi
movss dword [rbx + 0x1b98], xmm0
movss dword [rbx + 0x1b9c], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x180132ff8]
or dword [rbx + 0x1b88], 0x41
movss dword [rbx + 0x1be8], xmm0
mov r9d, dword [rbx + 0x2ec8]
lea r8, [rsp + 0x20]
movabs rsi, 0x45c87839d95a2f44
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
movabs rbp, 0xe78c488554d50a7c
mov qword [rsp + 0x28], rbp
movabs r14, 0x2cbc1456b60e0c67
movdqa xmm0, xmmword [rsp + 0x20]
movabs r15, 0xe78c2cb764f0550c
mov qword [rsp + 0x30], r14
mov edx, 0x10
mov qword [rsp + 0x38], r15
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.180020b60
test dil, 1
je 0x18002e3bb
movzx r9d, byte [rsp + 0x40]
lea r8, [rsp + 0x41]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002e352
lea r11, [0x1800e3ec0]
cmp r9b, 0x23
jne 0x18002e335
cmp byte [r8], r9b
jne 0x18002e335
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 0x18002e322
not ecx
call fcn.180027730
test rax, rax
je 0x18002e3bb
cmp byte [rax + 0x8e], 0
je 0x18002e3bb
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x40]
movdqa xmm0, xmmword [rsp + 0x20]
mov edx, 0x10
mov byte [rax + 0x95], 1
mov byte [rax + 0xac], 1
inc dword [rbx + 0x2ec8]
mov r9d, dword [rbx + 0x2ec8]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.180020b60
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x20c0347
call fcn.18002a030
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800a1b10
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1800468d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1801473c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x18016dda0]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x18016d098]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x18016dda8]
cvtsi2ss xmm0, qword [0x18016ddb0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x18016dda8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x18016d098]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x180046a0f
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x18016dda0]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x180046a0f
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x180046a8e
mov rdx, qword [0x18016dda0]
cmp rax, rdx
je 0x180046a47
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x180046a8e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x180046a8e
mov rcx, qword [0x18016dda0]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x180046a8e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
mov ecx, 0xffffffff
mov rax, qword [0x18016d098]
jne 0x180046aa9
mov ecx, dword [rax + 0x1e20]
cmp dword [0x18016a51c], ecx
je 0x180046ac3
mov dword [0x18016a51c], ecx
call fcn.180046750
mov rax, qword [0x18016d098]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax + 0x344], xmm0
movups xmmword [rax + 0x354], xmm0
movups xmmword [rax + 0x364], xmm0
movups xmmword [rax + 0x374], xmm0
movups xmmword [rax + 0x384], xmm0
mov dword [rax + 0x394], ecx
test byte [rax + 8], 2
je 0x180046b0f
cmp byte [0x18016a321], cl
je 0x180046b0b
mov byte [0x18016dc7e], cl
mov byte [0x18016a321], cl
and dword [rax + 0xc], 0xfffffffe
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800a1b10
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18005d370
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x18005d3fb
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18005d3d0
lea r10, [0x1800e3ec0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18005d3b3
cmp byte [r8], r9b
jne 0x18005d3b3
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 [r10 + rdx*4]
test r9b, r9b
jne 0x18005d3a0
mov rcx, qword [0x18016d098]
not eax
cmp dword [rcx + 0x1b30], eax
jne 0x18005d3e7
mov dword [rcx + 0x1b34], eax
cmp dword [rcx + 0x1b70], eax
jne 0x18005d44d
mov byte [rcx + 0x1b74], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x18016d098]
mov rcx, r10
mov r8, qword [rbx + 0x1ae0]
movsxd rax, dword [r8 + 0xc8]
mov r8, qword [r8 + 0xd0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180020be0
cmp dword [rbx + 0x1b30], eax
jne 0x18005d439
mov dword [rbx + 0x1b34], eax
cmp dword [rbx + 0x1b70], eax
jne 0x18005d448
mov byte [rbx + 0x1b74], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18006e810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1801473c0]
xor rax, rsp
mov qword [rsp + 0x20], rax
cmp byte [0x18016cfa4], 0
je 0x18006ea19
mov qword [rsp + 0x60], rbx
mov rbx, qword [0x18016a720]
cmp rbx, qword [0x18016a728]
je 0x18006ea14
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x14]
movaps xmmword [rsp + 0x40], xmm6
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm7
movss xmm7, dword [0x180133030]
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rsi, rax
lea rdx, [rbx + 8]
sub esi, dword [rbx + 4]
lea rcx, [rbx + 0x18]
call fcn.18006ed50
mov byte [rbx], al
test al, al
je 0x18006e9e8
lea rdx, [rbx + 0x10]
lea rcx, [rbx + 0x24]
call fcn.18006ed50
xorps xmm0, xmm0
xorps xmm2, xmm2
cvtsi2ss xmm0, dword [0x18014802c]
cvtsi2ss xmm2, esi
movaps xmm3, xmm7
movaps xmm4, xmm7
movaps xmm1, xmm2
divss xmm1, xmm0
xorps xmm0, xmm0
subss xmm3, xmm1
movaps xmm1, xmm2
mulss xmm3, dword [rbx + 0x60]
comiss xmm6, xmm3
movss dword [rbx + 0x3c], xmm3
cvtsi2ss xmm0, dword [0x18014802c]
divss xmm1, xmm0
xorps xmm0, xmm0
subss xmm4, xmm1
movaps xmm1, xmm7
mulss xmm4, dword [rbx + 0x64]
movss dword [rbx + 0x4c], xmm4
cvtsi2ss xmm0, dword [0x18014802c]
divss xmm2, xmm0
subss xmm1, xmm2
mulss xmm1, dword [rbx + 0x68]
movss dword [rbx + 0x5c], xmm1
jb 0x18006e9e8
comiss xmm6, xmm4
jb 0x18006e9e8
comiss xmm6, xmm1
jb 0x18006e9e8
mov r8, qword [0x18016a728]
lea r9, [rbx + 0x6c]
cmp r9, r8
je 0x18006e9d3
mov rdx, rdi
nop
movzx eax, byte [r9]
add r9, 0x6c
mov byte [rdx - 0x14], al
mov eax, dword [rdx + 0x5c]
mov dword [rdx - 0x10], eax
mov eax, dword [rdx + 0x60]
mov dword [rdx - 0xc], eax
mov eax, dword [rdx + 0x64]
mov dword [rdx - 8], eax
mov eax, dword [rdx + 0x68]
mov dword [rdx - 4], eax
mov eax, dword [rdx + 0x6c]
mov dword [rdx], eax
mov eax, dword [rdx + 0x70]
mov dword [rdx + 4], eax
mov eax, dword [rdx + 0x74]
mov dword [rdx + 8], eax
mov eax, dword [rdx + 0x78]
mov dword [rdx + 0xc], eax
mov eax, dword [rdx + 0x7c]
mov dword [rdx + 0x10], eax
mov eax, dword [rdx + 0x80]
mov dword [rdx + 0x14], eax
mov eax, dword [rdx + 0x84]
mov dword [rdx + 0x18], eax
movups xmm0, xmmword [rdx + 0x88]
lea rdx, [rdx + 0x6c]
movups xmmword [rdx - 0x50], xmm0
movups xmm0, xmmword [rdx + 0x2c]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rdx + 0x3c]
movups xmmword [rdx - 0x30], xmm0
mov eax, dword [rdx + 0x4c]
mov dword [rdx - 0x20], eax
mov eax, dword [rdx + 0x50]
mov dword [rdx - 0x1c], eax
mov eax, dword [rdx + 0x54]
mov dword [rdx - 0x18], eax
cmp r9, r8
jne 0x18006e940
mov r8, qword [0x18016a728]
sub r8, 0x6c
sub rbx, 0x6c
mov qword [0x18016a728], r8
sub rdi, 0x6c
jmp 0x18006e9ef
mov r8, qword [0x18016a728]
add rbx, 0x6c
add rdi, 0x6c
cmp rbx, r8
jne 0x18006e870
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1800a1b10
add rsp, 0x58
ret
Function at 0x180073c00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x13c0
call fcn.1800a2c50
sub rsp, rax
mov rax, qword [0x1801473c0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov ebx, 1
mov dword [rsp + 0x13a4], 0xffffffff
mov r8d, ebx
mov dword [rsp + 0x24], ecx
mov rdi, rdx
nop
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, r8d
mov dword [rsp + r8*4 + 0x24], ecx
inc r8
cmp r8, 0x270
jb 0x180073c40
mov dword [rsp + 0x20], 0x270
mov byte [rdx], 0
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.18001f1f0
mov ecx, eax
shl rcx, 8
shr rcx, 0x20
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 6
jl 0x180073c70
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1800a1b10
mov rbx, qword [rsp + 0x13d0]
add rsp, 0x13c0
pop rdi
ret
Function at 0x180093a50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180093a72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x180093aec
mov rdi, r14
mov rcx, rbx
call fcn.180073130
test rax, rax
jle 0x180093ac4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1800d44b0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180093adc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180093ae4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180093a86
sub r14, rdi
jmp 0x180093bcf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180093b03
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180093b05
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180093b37
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1800d44b0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180093bcc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180093b72
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x180093bad
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1800b5be0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x180093bcc
cmp rbp, rax
ja 0x180093b80
test rbp, rbp
je 0x180093bcc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1800b5be0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18009d490
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.18009d280
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18009d567
mov dword [rsp + 0x20], 0
jmp 0x18009d504
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18009d567
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18009d565
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.18009d060
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18009d4fa
add rsp, 0x30
pop rdi
ret

Function at 0x18009d580
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18009d624
mov dword [rsp + 0x20], 0
jmp 0x18009d5bd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x18009d60d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18009d60b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18009d5b3
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18016b2e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x18009d630
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18016e360]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18009d6b4
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18009d6dd
mov eax, 0xa
jmp 0x18009d817
cmp dword [rsp + 0x88], 0
je 0x18009d74b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18009d749
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x18009d797
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18009d77b
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800d44b0
jmp 0x18009d797
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1800d44b0
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1800d7eb0]
call fcn.1800a24d4
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x18009ed00
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18009ed6e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18009ed6e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18009ed6e
xor eax, eax
jmp 0x18009edb5
mov dword [rsp], 1
jmp 0x18009ed7f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x18009edb0
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18009edae
xor eax, eax
jmp 0x18009edb5
jmp 0x18009ed77
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1800a0698
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 0x1800a06d2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800a06d7
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 0x1800a0720
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800d8330]
cmp byte [rcx + rax], 0
je 0x1800a0720
dec r8
sub rdx, 1
jne 0x1800a0706
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800b2dd4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800b2c87
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800b2c87
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800b2c87
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800b2c87
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800b2c87
cmp dword [rcx + 0x84], 0xe
jbe 0x1800b2c87
cmp dword [rcx + 0xf8], 0
je 0x1800b2c87
mov ecx, ebx
call fcn.1800b2d38
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800b2b14
nop
cmp dword [rbp + 0x20], 0
je 0x1800b2cd5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800b2ce0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1800b2c18
Function at 0x1800b4098
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800a2c50
sub rsp, rax
mov rax, qword [0x1801473c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800bd9b0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800b40e7
mov rax, rbp
jmp 0x1800b41ef
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x16c6c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800c1084
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x16c6c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800b41eb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800b41eb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800c1084
test rax, rax
js 0x1800b41eb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800b41eb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800b41dd
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800b41dd
cmp byte [rcx], 0xd
jne 0x1800b41c3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800b41d2
cmp byte [rcx + 1], 0xa
jne 0x1800b41d2
inc rcx
jmp 0x1800b41d2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x147800]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800b41a5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800b41ef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800a1b10
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret