joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov eax, dword [0x1400f3a10]
xor r8d, r8d
cmp dword [0x14010c220], 2
mov rbx, rcx
movups xmm0, xmmword [str.vMiHQR0.10___e_8__.]
mov dword [rbp + 0x17], eax
movzx eax, word [0x1400f3a14]
movups xmm1, xmmword [0x1400f3a00]
mov word [rbp + 0x1b], ax
movzx eax, byte [0x1400f3a16]
mov byte [rbp + 0x1d], al
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm1
jl 0x14005994c
movdqa xmm0, xmmword [str.88888888888888889999999999999999]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1400f6070]
mov eax, 4
movdqa xmm4, xmmword [0x1400f6530]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1400f60b0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movd xmm8, eax
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400f6170]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400f6170]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x20
jl 0x140059830
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x27
jge 0x140059991
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x27
jl 0x140059960
movzx eax, word [0x1400f39e8]
lea rcx, [rbp - 0x19]
movsd xmm0, qword [str.OPT_b]
movsd qword [rbp - 0x19], xmm0
xor byte [rbp - 0x18], 0x39
xor byte [rbp - 0x17], 0x3a
xor byte [rbp - 0x16], 0x3b
xor byte [rbp - 0x15], 0x3c
xor byte [rbp - 0x14], 0x3d
xor byte [rbp - 0x13], 0x3e
xor byte [rbp - 0x12], 0x3f
mov word [rbp - 0x11], ax
movzx eax, byte [0x1400f39ea]
xor byte [rbp - 0x11], 0x40
xor al, 0x42
xor byte [rbp - 0x10], 0x41
mov byte [rbp - 0xf], al
mov byte [rbp - 0x19], 0x77
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
call rax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret
Function at 0x14005c670
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 0x14005c6cd
lea rbx, [0x1400e8e80]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14005c6b4
cmp r10, 2
jb 0x14005c6b4
cmp byte [r9], r8b
jne 0x14005c6b4
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 0x14005c690
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14005c70f
lea rbx, [0x1400e8e80]
cmp r8b, 0x23
jne 0x14005c6f3
cmp byte [r9], r8b
jne 0x14005c6f3
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 0x14005c6e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14005c8b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14005c8ce
mov qword [r8], r14
lea rdx, [0x1400f4a90]
call fcn.14005c720
mov rbx, rax
test rax, rax
jne 0x14005c8f3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400b7818
mov ebp, eax
cmp eax, 0xffffffff
je 0x14005ca15
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1400b6f28
test eax, eax
jne 0x14005ca15
mov rcx, rbx
call fcn.1400b7818
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14005ca15
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.1400b6f28
test eax, eax
jne 0x14005ca15
cmp rdi, 0xffffffffffffffff
je 0x14005ca15
mov rcx, rdi
call fcn.140061320
mov rbp, rax
test rax, rax
je 0x14005ca15
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1400b6b58
mov rcx, rbx
cmp rax, rdi
je 0x14005ca03
call fcn.1400b42d0
mov r8, qword [0x1401564c8]
test r8, r8
je 0x14005c9f9
movsx rdx, word [r8 + 0x6150]
lea rcx, [r8 + 0x6154]
mov r9d, dword [r8 + 0x3fa8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14005c9ee
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6150], cx
movsx rax, cx
lea rcx, [r8 + 0x6154]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x614c]
mov rcx, rbp
call fcn.1400b663c
jmp 0x14005ca1d
call fcn.1400b42d0
test rsi, rsi
je 0x14005ca10
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14005ca1f
mov rcx, rbx
call fcn.1400b42d0
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14006aac0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r10, [0x1400e8e80]
mov rax, qword [rcx + 0x110]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x40b4], ebx
jne 0x14006ab4b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140076050
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14006ab60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x1400e8e80]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14006ee80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401564c8]
mov edi, ecx
cmp byte [rbx + 0x4da5], 0
jne 0x14006eed2
cmp byte [rbx + 0x4da6], 0
jne 0x14006eed2
movsx r9d, word [rbx + 0x5f18]
lea r8, str.Tooltip__02d
mov edx, select
lea rcx, [rsp + 0x20]
call fcn.14005c460
test dil, 2
je 0x14006efff
jmp 0x14006ef5b
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5f18]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400f5dac]
mulss xmm1, dword [0x1400f5d9c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a88], rax
mov dword [rbx + 0x4a74], 1
movss dword [rbx + 0x4a80], xmm0
movss dword [rbx + 0x4a84], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400f5ce4]
or dword [rbx + 0x4a70], 0x41
movss dword [rbx + 0x4ad0], xmm0
call fcn.14005c460
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14006efb0
lea r11, [0x1400e8e80]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x14006ef93
cmp byte [r8], r9b
jne 0x14006ef93
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 0x14006ef80
not ecx
call fcn.140064a40
test rax, rax
je 0x14006efff
cmp byte [rax + 0xca], 0
je 0x14006efff
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, select
inc word [rbx + 0x5f18]
movsx r9d, word [rbx + 0x5f18]
call fcn.14005c460
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.140067790
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140074f90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401564c8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140074ff3
mov qword [rsp], rbx
lea rbx, [0x1400e8e80]
nop dword [rax]
cmp r9b, 0x23
jne 0x140074fd3
cmp byte [r8], r9b
jne 0x140074fd3
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 0x140074fc0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fe0]
not eax
mov r8, qword [r10 + 0x5fe8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14007501f
cmp dword [r8 + 8], eax
je 0x140075026
add r8, 0x48
cmp r8, rcx
jne 0x140075010
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14008ad70
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov rsi, qword [0x1401564c8]
mov rbp, rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14008af92
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14008af92
mov qword [rsp + 0x70], rbx
mov ecx, 0x50
mov qword [rsp + 0x50], rdi
call fcn.1400ba628
mov r8, qword [0x1401564c8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14008ae31
movsx rdx, word [r8 + 0x6150]
lea rax, [r8 + 0x6154]
mov r9d, dword [r8 + 0x3fa8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14008ae26
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6150], cx
movsx rax, cx
lea rax, [rax*8 + 0x6154]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6148]
test rdi, rdi
je 0x14008ae4e
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14008ae51
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x88]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14008ae9a
mov rsi, qword [r8 + 0x90]
jmp 0x14008ae9d
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14008aec8
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1401564c8]
mov rcx, qword [rax + 0x4b80]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, [0x1400f5270]
mov qword [rsp + 0x28], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x48], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14008af53
inc rbx
cmp rbx, 5
jl 0x14008af24
mov rdi, qword [rsp + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
pop rsi
pop rbp
ret
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x70]
mov qword [rdi + 0x48], rax
mov al, 1
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14008f6b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbx, qword [0x1401564c8]
mov r14, rdx
mov rsi, rcx
movaps xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm7
mov rdi, r8
mov dword [rsp + 0x20], select
mov rax, qword [rbx + 0x4060]
lea rcx, [rbx + 0x4af8]
mov byte [rax + 0xcc], 1
mov rbp, qword [rbx + 0x4060]
movss xmm0, dword [rbp + 0x30]
subss xmm0, dword [0x1400f5e24]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [0x1400f5de4]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rbx + 0x3930]
movss dword [rsp + 0x24], xmm0
call fcn.140076ab0
mov dword [rbx + 0x3930], 0x3f800000
mov rcx, rdi
movss xmm7, dword [rbp + 0x118]
movss xmm6, dword [rbp + 0x11c]
call fcn.14008d680
cmp byte [r14], 0
lea rdx, [rsp + 0x78]
addss xmm6, dword [0x1400f5dc4]
je 0x14008f78c
lea rcx, str.Press_any_key...
movss dword [rbp + 0x118], xmm7
movss dword [rbp + 0x11c], xmm6
call fcn.14008dfb0
jmp 0x14008f7cd
mov eax, dword [rsi]
movss dword [rbp + 0x118], xmm7
movss dword [rbp + 0x11c], xmm6
cmp eax, 0xffffffff
je 0x14008f7b3
movsxd rax, dword [rsi]
lea rcx, [0x1400ed520]
mov rcx, qword [rcx + rax*8]
jmp 0x14008f7ba
lea rcx, str.None
call fcn.14008dfb0
test al, al
je 0x14008f7cd
mov byte [r14], 1
mov dword [rsi], 0xffffffff
cmp byte [r14], 0
je 0x14008f7f4
xor ebx, ebx
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x14008f7ea
mov dword [rsi], ebx
mov byte [r14], 0
inc ebx
cmp ebx, 0x100
jl 0x14008f7d5
mov ecx, 1
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r14
pop rdi
pop rsi
jmp fcn.14005d480
Function at 0x1400a550c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400a5590
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400daa80]
cmp byte [rcx + rax], 0
je 0x1400a5590
dec r8
sub rdx, 1
jne 0x1400a5576
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400a6ad4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a6b1e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a6b1e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a6b1e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a6b1e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a6b1e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a6b20
xor al, al
add rsp, 0x28
ret

Function at 0x1400b44a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400b44d7
call fcn.1400b6370
mov dword [rax], 0x16
call fcn.1400b02b8
xor eax, eax
jmp 0x1400b4565
mov rdx, r9
mov rcx, r8
call fcn.1400b443c
mov rbx, rax
test rax, rax
je 0x1400b4562
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b4368]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400b454f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b62e4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b4536
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b4545
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400c229c
jmp 0x1400b4562
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b455f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b7598
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.1400a6690
sub rsp, rax
mov rax, qword [0x14010c218]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400c35d8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400b75e7
mov rax, rbp
jmp 0x1400b76ef
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x151da0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400c7c94
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x151da0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400b76eb
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 0x1400b76eb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400c7c94
test rax, rax
js 0x1400b76eb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400b76eb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400b76dd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400b76dd
cmp byte [rcx], 0xd
jne 0x1400b76c3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400b76d2
cmp byte [rcx + 1], 0xa
jne 0x1400b76d2
inc rcx
jmp 0x1400b76d2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x10c600]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400b76a5
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400b76ef
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a66f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400bf7c0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400bf5bc
Function at 0x1400c207c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x1400c209b
call fcn.1400ced9c
jmp 0x1400c2150
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1400b1730
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x1400c20e6
cmp byte [rbp - 0x38], 0
je 0x1400c211b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400c211b
call fcn.1400c5a2c
test eax, eax
jne 0x1400c2107
cmp byte [rbp - 0x38], al
je 0x1400c20ff
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400c211b
cmp byte [rbp - 0x38], 0
je 0x1400c2118
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.1400bad34
test eax, eax
je 0x1400c2134
or ebx, 0xffffffff
jmp 0x1400c213f
mov rcx, qword [rbp - 0x20]
call fcn.1400ced9c
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x1400c214e
mov rcx, qword [rbp - 0x20]
call fcn.1400c229c
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x1400c41ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400c4202
mov al, 1
jmp 0x1400c4262
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400c4213
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400c4260
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400c9558
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400c4260
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400c4260
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c4260
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400c4262
xor al, al
add rsp, 0x20
pop rbx
ret