joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d110
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140042140]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14002d17c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14002d17c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14002d1cf
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14002d160
mov rcx, qword [0x140043900]
test rcx, rcx
jne 0x14002d1b2
call fcn.14002e0b0
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x140043900], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14002d2b3
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14002d2b5
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14002d2da
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14002d17c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14002d17c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14002d17c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14002d2a3
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14002d281
jmp 0x14002d17c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14002d17c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140024ab0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140024bd8
int3

Function at 0x14002d730
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d792
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002d792
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14002d792
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14002d792
cmp dword [rdx + 0x84], 0xe
jbe 0x14002d792
cmp dword [rdx + 0xf8], 0
je 0x14002d792
mov ecx, ebx
call fcn.14002d5f0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140043918]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14002d470
cmp dword [rsp + 0x60], 0
jne 0x14002d7d5
mov ecx, ebx
call fcn.14002d5a0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14002d820
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d87c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002d87c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002d87c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002d87c
cmp dword [rcx + 0x84], 0xe
jbe 0x14002d87c
cmp dword [rcx + 0xf8], 0
je 0x14002d87c
mov ecx, ebx
call fcn.14002d5f0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140043918]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14002d470
cmp dword [rsp + 0x60], 0
jne 0x14002d8bf
mov ecx, ebx
call fcn.14002d5a0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140130000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
xchg r8, rcx
mov qword [rsp + 0x18], rcx
xchg r8, rcx
xchg rcx, rdx
mov qword [rsp + 0x10], rcx
xchg rcx, rdx
jmp 0x1401301b4
push 0x4876b3e5
mov qword [rsp], rbx
nop
sub rsp, 8
jmp 0x14013008a
xchg r10, r13
xchg r9, rax
mov r9, qword [r10 + 0x10]
jne 0x140130057
je 0x140130057
rcr edi, 0x14
and ebx, 0x8caa2d84
cmp r14, rdx
xor r14d, 0x4452b9d
cpuid
movabs r9, 0x615ac6333b7e5ceb
jmp rcx
jmp 0x1401300b5
sub rsp, 0x3b8
mov rax, qword gs:[0x60]
xor r13d, r13d
mov r8d, r13d
xchg r10, r13
mov r13, qword [rax + 0x18]
jmp 0x140130033
mov qword [rsp], rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
jmp 0x140130068
cmp edx, 0xeb8fbdbf
je 0x140130216
inc r8d
jmp 0x1401300df
xchg r9, rax
xchg r10, r11
mov r11, qword [rax]
xchg r10, r11
mov r11, qword [r10 + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ebx, dword [rax + r11 + 0x88]
jmp 0x1401300d5
mov r10d, dword [rbx + r11 + 0x20]
nop dword [rax + rax]
mov r9d, r8d
jmp 0x1401301a2
add rcx, r11
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1401300ad
nop dword [rax]
movsx eax, al
jmp 0x140130103
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
je 0x140130156
jne 0x140130156
and r12d, 0x9b77c179
rcl r15d, 0x5b
call rcx
or ebx, 0xf1deb569
mov ch, 0xde
int1
or edi, 0xc39a3cdb
xor r13d, 0x56fc0a56
lea edx, [rbx - 0x1c05]
lea edi, [rdi + 0xd703]
lea edx, [rbx + 0xa2fb]
popfq
lea edi, [rdi + 0x9dbd]
jmp rcx
jmp 0x140130191
movzx eax, byte [rcx - 1]
test al, al
jne 0x1401300fb
jmp 0x1401300a1
mov edx, 0xaf710d4c
lea rax, [r10 + r9*4]
mov ecx, dword [rax + r11]
jmp 0x1401300e7
mov qword [rsp + 8], rcx
nop
mov qword [rsp - 8], rbp
sub rsp, 8
nop
jne 0x140130205
je 0x140130205
lea r8d, [rbx - 0xa4fc]
test rsi, rcx
jle 0x14013060e
rcl r11d, 0x60
rcl edx, 0xb7
lea esi, [rbx + 0x2ef2]
rcr ebx, 0xb5
sub r15d, 0xdb79b2fc
cmp r14, rbx
call rax
mov ecx, 0x63745844
call rcx
int3
jmp 0x140130020
mov rax, qword gs:[0x60]
mov r8d, r13d
mov ecx, dword [rbx + r11 + 0x24]
add rcx, r11
jmp 0x14013022f
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + r11 + 0x1c]
add rcx, r11
mov edi, dword [rcx + rdx*4]
xchg r8, rcx
mov r8, qword [rax + 0x18]
jmp 0x140130263
xchg rcx, r8
add rdi, r11
xchg r12, rax
mov r12, qword [rcx + 0x10]
jne 0x14013027a
je 0x14013027a
syscall
bswap r10
movabs rbp, 0x591619a45ac944eb
jo 0x14012faef
jmp 0x1401302c0
ror ebx, 0x18
lea r15d, [rbx + 0xe69a]
or ebp, 0xa43b25f2
xor edx, 0x49d84412
call rcx
neg r15
ret
xchg r12, rax
mov ecx, dword [rbx + rcx + 0x1c]
Function at 0x1400023b0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x3b0
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [rsp + 0x270], 0x130
lea rbp, [0x14005e0e8]
mov rbx, rax
nop dword [rax]
lea rcx, [rsp + 0x29c]
mov r9, rbp
sub r9, rcx
nop
movzx r8d, byte [rcx]
movzx edx, byte [rcx + r9]
sub r8d, edx
jne 0x140002425
inc rcx
test edx, edx
jne 0x140002410
mov rcx, rbx
test r8d, r8d
je 0x140002445
lea rdx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002400
mov edi, dword [rsp + 0x20]
jmp 0x140002452
mov edi, dword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [0x14005fd28], edi
mov edx, edi
lea ecx, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x234
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400024cb
nop dword [rax]
nop dword [rax + rax]
mov rdx, rbp
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
je 0x1400024c6
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1400024a0
jmp 0x1400024cb
mov rsi, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [0x14005fd28]
mov edx, 1
mov ecx, 0x1fffff
mov qword [0x14005fd38], rsi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14005fd20], rax
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.1400436c0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140004140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000419d
lea rbx, [0x140046b40]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004184
cmp r10, 2
jb 0x140004184
cmp byte [r9], r8b
jne 0x140004184
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004160
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400041df
lea rbx, [0x140046b40]
cmp r8b, 0x23
jne 0x1400041c3
cmp byte [r9], r8b
jne 0x1400041c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400041b0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004320
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000433a
mov qword [r8], 0
lea rdx, [0x140053a40]
call fcn.1400041f0
mov rbx, rax
test rax, rax
jne 0x14000435a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140004431
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004431
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004431
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004431
cmp rdi, 0xffffffffffffffff
je 0x140004431
mov rax, qword [0x14005fd58]
test rax, rax
je 0x1400043ce
inc dword [rax + 0x3b4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004431
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000441e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005fd58]
test rax, rax
je 0x140004413
dec dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000443a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000442c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000443c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140008100
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
xor eax, eax
lea r8, [0x14005397d]
mov dword [rsp + 0x2c], eax
lea r11, [0x140046b40]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov rbx, rcx
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x140008156
cmp byte [r8], r9b
jne 0x140008156
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140008143
mov ecx, dword [rbx + 0x3044]
lea rax, [0x140014ac0]
mov edi, dword [rbx + 0x3040]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140014b50]
mov qword [rsp + 0x40], rax
lea rax, [0x140014c40]
mov qword [rsp + 0x48], rax
lea rax, [0x140014d20]
mov qword [rsp + 0x50], rax
lea rax, [0x140014e70]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140008276
inc edi
test ecx, ecx
je 0x1400081da
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400081df
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140008276
mov rax, qword [0x14005fd58]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x140008206
inc dword [rax + 0x3b4]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3048]
mov rsi, rax
test rdx, rdx
je 0x140008261
movsxd rcx, dword [rbx + 0x3040]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3048]
test rcx, rcx
je 0x14000825b
mov rax, qword [0x14005fd58]
test rax, rax
je 0x14000825b
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3048], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x3044], edi
movsxd rax, dword [rbx + 0x3040]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3048]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3040]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000ff40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005fd58]
mov edi, edx
cmp byte [rbx + 0x1fad], 0
jne 0x14000ffa0
cmp byte [rbx + 0x1fae], 0
jne 0x14000ffa0
mov r9d, dword [rbx + 0x2ff0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400040c0
test dil, 1
je 0x1400100c1
jmp 0x140010028
movss xmm1, dword [rbx + 0x160c]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140054940]
mulss xmm1, dword [0x140054930]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1b48], rax
mov dword [rbx + 0x1b34], 1
movss dword [rbx + 0x1b40], xmm0
movss dword [rbx + 0x1b44], xmm1
movss xmm0, dword [rbx + 0x1668]
mulss xmm0, dword [0x140054880]
or dword [rbx + 0x1b30], 0x41
movss dword [rbx + 0x1b90], xmm0
call fcn.1400040c0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140010078
lea r11, [0x140046b40]
cmp r9b, 0x23
jne 0x14001005b
cmp byte [r8], r9b
jne 0x14001005b
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 0x140010048
not ecx
call fcn.140009e30
test rax, rax
je 0x1400100c1
cmp byte [rax + 0x86], 0
je 0x1400100c1
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff0]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff0]
call fcn.1400040c0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000c420
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400436c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400142e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x14005fd58]
cmp byte [rbx + 0x3070], 0
je 0x1400143cc
cmp qword [rbx + 0x3078], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3080]
je 0x1400143b4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x14001435b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140015cd0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.1400046f0
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3078]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3088]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005fd1c]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.1400046f0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x1400204a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140020631
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140020510
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001fe60
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001f4c0
mov dword [rbx + 0x80], 0
jmp 0x14002061d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001e190
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400271e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14005ff78]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x14005fd58]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
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 [0x14005ff80]
cvtsi2ss xmm0, qword [0x14005ff88]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x14005ff80], 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 rcx, qword [0x14005fd58]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rcx + 0x39b], 0
lea rbx, [rcx + 0x128]
je 0x14002730c
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rcx + 0x12c]
mov rcx, qword [0x14005ff78]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14002737d
mov rdx, qword [0x14005ff78]
cmp rax, rdx
je 0x14002733d
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x14002737d
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002737d
mov rcx, qword [0x14005ff78]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002737d
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14002738d
mov eax, 0xffffffff
jmp 0x14002739a
mov rax, qword [0x14005fd58]
mov eax, dword [rax + 0x1fa8]
cmp dword [0x14005e350], eax
je 0x1400273ad
mov dword [0x14005e350], eax
call fcn.140026db0
call fcn.140026f30
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400436c0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140036530
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov edi, ecx
mov dword [rsp + 0x58], 0
cmp byte [0x14005fd1e], 0
jne 0x140036623
test ecx, ecx
jne 0x14003658e
mov dword [rsp + 0x58], 0x42fe0000
mov dword [rsp + 0x5c], 0x420c0000
lea rdx, [rsp + 0x58]
lea rcx, str.Unbound
call fcn.1400288b0
test al, al
je 0x140036581
mov byte [0x14005fd1e], 1
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rsp + 0x60], 0x42fe0000
mov dword [rsp + 0x64], 0x420c0000
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], 0xf
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x30], 1
mov byte [rsp + 0x20], dil
mov byte [rsp + 0x21], 0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400288b0
movzx ebx, al
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003661c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036617
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004395c
test bl, bl
jmp 0x140036578
mov dword [rsp + 0x58], 0x42fe0000
mov dword [rsp + 0x5c], 0x420c0000
lea rdx, [rsp + 0x58]
lea rcx, str.Waiting_for_key...
call fcn.1400288b0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140036581
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140036581
mov ebx, 8
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140036695
inc ebx
cmp ebx, 0xbe
jle 0x140036671
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov byte [0x14005fd1e], 0
mov edx, ebx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x140036cc0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp ebx, 8
jne 0x1400366cd
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov byte [0x14005fd1d], 1
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret