joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14089c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14089c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14089c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14089c06f
add dl, dl
jne 0x14089c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14089c0f6
xor eax, eax
add dl, dl
jne 0x14089c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14089c1ad
add dl, dl
jne 0x14089c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14089c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14089c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14089c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14089c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14089c07e
mov eax, 1
add dl, dl
jne 0x14089c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14089c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14089c0fb
sub eax, ebx
mov ebx, 1
jne 0x14089c14c
mov ecx, 1
add dl, dl
jne 0x14089c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14089c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14089c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14089c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14089c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14089c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14089c15d
cmp eax, 0x7d00
jae 0x14089c19b
cmp eax, 0x500
jb 0x14089c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14089c07e
cmp eax, 0x7f
ja 0x14089c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14089c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14089c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14089c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140a73058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140a731df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a73089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a7306f
add dl, dl
jne 0x140a73096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a730f6
xor eax, eax
add dl, dl
jne 0x140a730a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a731ad
add dl, dl
jne 0x140a730b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a730c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a730d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a730dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a730ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a7307e
mov eax, 1
add dl, dl
jne 0x140a73106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a73113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a730fb
sub eax, ebx
mov ebx, 1
jne 0x140a7314c
mov ecx, 1
add dl, dl
jne 0x140a7312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a7313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a73123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a7307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a73168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a73175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a7315d
cmp eax, 0x7d00
jae 0x140a7319b
cmp eax, 0x500
jb 0x140a73196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a7307e
cmp eax, 0x7f
ja 0x140a7319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a7307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a731d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a7307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1412ef058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1412ef1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1412ef089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412ef06f
add dl, dl
jne 0x1412ef096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412ef0f6
xor eax, eax
add dl, dl
jne 0x1412ef0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1412ef1ad
add dl, dl
jne 0x1412ef0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412ef0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412ef0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412ef0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1412ef0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1412ef07e
mov eax, 1
add dl, dl
jne 0x1412ef106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1412ef113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412ef0fb
sub eax, ebx
mov ebx, 1
jne 0x1412ef14c
mov ecx, 1
add dl, dl
jne 0x1412ef12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412ef13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412ef123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412ef07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1412ef168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1412ef175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1412ef15d
cmp eax, 0x7d00
jae 0x1412ef19b
cmp eax, 0x500
jb 0x1412ef196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412ef07e
cmp eax, 0x7f
ja 0x1412ef19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1412ef07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1412ef1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1412ef07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x37d961370
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x28], r9d
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
jne 0x37d9614a9
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
jne 0x37d9614ac
mov rax, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
jmp 0x37d9614ad
nop
jmp 0x37d9614ad
nop
add rsp, 0x50
pop rbp
ret
Function at 0x37d9614cd
Capabilities:
Create thread

Disassembly:
push rbp
mov eax, 0x2ee50
call fcn.37d9623e0
sub rsp, rax
lea rbp, [rsp + 0x80]
movabs rax, 0xc255e93db7bb6801
mov qword [rbp + 0x2eda0], rax
movabs rax, 0x16b2e545bc83eb59
mov qword [rbp + 0x2eda8], rax
lea rax, [rbp - 0x40]
lea rdx, section..rdata
mov ecx, 0x2ede0
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov dword [rbp + 0x2edcc], 0x2ede0
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x2ede0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x2edc0], rax
cmp qword [rbp + 0x2edc0], 0
jne 0x37d961564
mov eax, 0xffffffff
jmp 0x37d961646
lea rcx, [rbp + 0x2eda0]
mov edx, dword [rbp + 0x2edcc]
lea rax, [rbp - 0x40]
mov r9d, 0x10
mov r8, rcx
mov rcx, rax
call sym.DestroyingAE_char__unsigned_long__char__unsigned_long_
lea rax, [rbp - 0x40]
mov rcx, qword [rbp + 0x2edc0]
mov r8d, 0x2ede0
mov rdx, rax
call sym.memmove
lea rdx, [rbp - 0x44]
mov rax, qword [rbp + 0x2edc0]
mov r9, rdx
mov r8d, 0x20
mov edx, 0x2ede0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
sete al
test al, al
je 0x37d9615d4
mov eax, 0xfffffffe
jmp 0x37d961646
mov rax, qword [rbp + 0x2edc0]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0x2edb8], rax
cmp qword [rbp + 0x2edb8], 0
jne 0x37d961620
mov eax, 0xfffffffd
jmp 0x37d961646
mov rax, qword [rbp + 0x2edb8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x2edc0]
call rax
mov eax, 0
add rsp, 0x2ee50
pop rbp
ret

Function at 0x37d961820
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x37d961890
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x37d996064]
test esi, esi
mov rbx, rcx
jle 0x37d9619c0
mov rax, qword [0x37d996068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x37d9618db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x37d961965
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x37d9618c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x37d9619e2
mov rax, qword [0x37d996068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x37d996068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x37d9619c7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x37d96195e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x37d961970
add dword [0x37d996064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x37d996068]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x37d96195e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x37d9618e8
mov rax, qword [0x37d996068]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x37d961d60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x37d9960a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x37d996080]
test rbx, rbx
je 0x37d961dbc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x37d961db3
test rsi, rsi
je 0x37d961db3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x37d961d98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x37d961fd0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x37d961fe8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x37d961ff0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x37d962000
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x37d96204d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x37d962044
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x37d96204f
add rax, 0x28
cmp rax, r9
jne 0x37d962030
xor eax, eax
ret

Function at 0x37d962050
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x37d9620e0
mov rdx, qword [0x37d993010]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x37d9620ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x37d9620ce
cmp word [rax + 0x18], 0x20b
jne 0x37d9620ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x37d9620e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x37d9620b9
add rbx, 0x28
cmp rbx, rdi
je 0x37d9620e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x37d9620b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x37d9620f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x37d993010]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x37d962110
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x37d962118
ret
cmp word [r8 + 0x18], 0x20b
jne 0x37d962110
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x37d96216d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x37d962164
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x37d962110
add rax, 0x28
cmp rax, r9
jne 0x37d962150
xor eax, eax
ret
Function at 0x37d962170
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x37d993010]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x37d96218f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x37d962198
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x37d96218f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x37d9621b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x37d993010]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x37d9621d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x37d9621d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x37d9621d0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x37d962220
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x37d962217
test rcx, rcx
je 0x37d9621d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x37d962208
xor eax, eax
ret

Function at 0x37d962230
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x37d993010]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x37d96224f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x37d962258
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x37d962270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x37d993010]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x37d962290
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x37d962298
ret
cmp word [r8 + 0x18], 0x20b
jne 0x37d962290
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x37d962290
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x37d9622e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x37d9622f0
add rdx, 0x28
cmp r9, rdx
jne 0x37d9622d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x37d962300
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x37d993010]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x37d962322
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x37d962330
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x37d962322
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x37d962322
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x37d962322
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x37d962385
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x37d962398
add rdx, 0x28
cmp rdx, r10
jne 0x37d962370
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x37d9623a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x37d9623b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x37d96238e
test ecx, ecx
jg 0x37d9623a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000db50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140168340]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x140f4f278]
test eax, eax
jne 0x14000db8b
mov rcx, qword [rsp + 0xa0]
call fcn.14000dd80
jmp 0x14000dd64
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140f4f5a8], eax
jle 0x14000dbd7
lea rcx, [0x140f4f5a8]
call fcn.14011d5f8
cmp dword [0x140f4f5a8], 0xffffffff
jne 0x14000dbd7
lea rcx, [0x140f4f298]
call fcn.140009190
nop
lea rcx, [0x140f4f5a8]
call fcn.14011d58c
mov rax, qword [rsp + 0xa0]
mov ecx, dword [0x140ed9650]
cmp dword [rax + 0xc0], ecx
jbe 0x14000dd3d
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x38], rax
movss xmm2, dword [0x1401567f8]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000d330
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x140f4f298]
call fcn.14000d2e0
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000d290
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000d2e0
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x140156454]
movss xmm1, dword [rsp + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x140f4f9a0]
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x140156454]
movss xmm1, dword [rsp + 0x78]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x140f4f9a4]
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000dd07
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x1401567f8]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000d330
mov rax, qword [rax]
mov qword [0x140f4f298], rax
jmp 0x14000dd57
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000cfb0
mov rax, qword [rax]
mov qword [0x140f4f298], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000dd80
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011d530
add rsp, 0x98
ret
Function at 0x140013180
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret

Function at 0x140029620
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14002a0f0
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14002f470
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14002f492
mov rcx, qword [rsp + 0x40]
call fcn.14002f540
jmp 0x14002f4a9
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14002f4a9
mov rcx, qword [rsp + 0x40]
call fcn.14002f5f0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14002f540
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14002f561
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14002f5e5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14002f5b0
mov dword [rsp + 4], 0x9908b0df
jmp 0x14002f5b8
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002f554
add rsp, 0x18
ret