joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003860
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140003899
xor eax, eax
jmp 0x1400039b9
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x1400038d3
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x1400038d3
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1400039b9
cmp qword [rbx + 0x80], 0
je 0x1400039b7
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000390e
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000392f
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x1400039b4
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000397d
sub eax, 1
je 0x14000397d
cmp eax, 2
jne 0x1400039b7
movsx ecx, byte [rbp - 0x40]
jmp 0x14000391b
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400039a8
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x1400039b7
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e79f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000420c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000427b
cmp byte [rcx + 0x71], 0
je 0x14000427b
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400042d0
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004295
sub eax, 1
je 0x140004299
cmp eax, 2
jne 0x1400042d0
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400e79f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400042c7
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400042d0
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000427d
xor al, al
jmp 0x14000427d
Function at 0x14000b730
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x14000b798
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x14000b7c8
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000b778
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400e79f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x14022e440], eax
jmp 0x14000b7a7
Function at 0x14000bc68
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x40], 0x2f
lea rdx, [rbp - 0x40]
call fcn.140005658
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], 0x22
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140117160]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x140117170]
mov word [rax + 0x20], cx
xor edi, edi
mov byte [rax + 0x22], dil
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140003cd4
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14000bdea
mov byte [rbp - 0x50], 1
lea ebx, [rdi + 4]
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000bdea
mov byte [rbp - 0x4f], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x4f]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000bdea
mov byte [rbp - 0x4e], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x4e]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000bdea
mov eax, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14000bdb3
mov rsi, qword [rsi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000bdea
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete dil
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14000be28
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7a54
mov al, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400e79f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000f664
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x18], rdx
mov rbx, rdx
mov rcx, qword [rcx]
add rcx, 0x18
call fcn.14001114c
lea rcx, [rax + 8]
call fcn.14001114c
test rax, rax
je 0x14000f6ad
mov rdx, rax
mov rcx, rbx
call fcn.14000f4e4
jmp 0x14000f714
mov cl, 0x42
mov dword [rbp - 0x18], 0x7d7d7d42
mov dword [rbp - 0x14], 0x232e211d
xor eax, eax
mov dword [rbp - 0x10], 0x232c3131
mov word [rbp - 0xc], 0x272f
mov byte [rbp - 0xa], 0
xor byte [rbp + rax - 0x17], cl
inc rax
cmp rax, 0xd
jae 0x14000f6e2
mov cl, byte [rbp - 0x18]
jmp 0x14000f6d0
xorps xmm0, xmm0
mov byte [rbp - 0xa], 0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
lea rax, [rbp - 0x17]
and qword [rbx + 0x18], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000f6fe
lea rdx, [rbp - 0x17]
mov rcx, rbx
call fcn.140004c68
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400e79f0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret

Function at 0x1400112d4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400e7a10
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140011dec]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14001132e
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14002e4f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [rbp - 0x49], r9
mov r15, r8
mov r13, rdx
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x41], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rbp - 0x51], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x14002e5bd
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, r14
lea rdx, [rbx - 0x20]
lea rcx, [rbp - 0x19]
call fcn.140003b78
or esi, 1
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140003b78
or esi, 2
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x39]
call fcn.14002d6d8
movzx ebx, al
lea rcx, [rbp - 0x39]
call fcn.140003b14
nop
lea rcx, [rbp - 0x19]
call fcn.140003b14
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, r14
shl r13, 5
lea rcx, [r14 + r13]
call fcn.14000b180
mov r13, rbx
cmp rbx, r12
jl 0x14002e543
mov rdi, rbx
cmp rbx, r12
jne 0x14002e5e7
test r15b, 1
jne 0x14002e5e7
shl r15, 5
lea rdx, [r14 - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [r14 + rbx]
call fcn.14000b180
mov rdi, qword [rbp - 0x51]
lea rbx, [rdi - 1]
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x41]
sar rbx, 1
cmp r13, rdi
jge 0x14002e642
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.140003b78
or esi, 0x10
or esi, 4
mov dword [rbp - 0x51], esi
mov rdx, rbx
shl rdx, 5
add rdx, r14
lea rcx, [rbp - 0x19]
call fcn.140003b78
or esi, 0x20
or esi, 8
mov dword [rbp - 0x51], esi
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
call fcn.14002d6d8
test al, al
je 0x14002e642
mov r15b, 1
jmp 0x14002e645
xor r15b, r15b
test sil, 8
je 0x14002e658
and esi, 0xfffffff7
lea rcx, [rbp - 0x19]
call fcn.140003b14
nop
test sil, 4
je 0x14002e66a
and esi, 0xfffffffb
lea rcx, [rbp - 0x39]
call fcn.140003b14
shl rdi, 5
lea rcx, [rdi + r14]
test r15b, r15b
je 0x14002e691
mov rdx, rbx
shl rdx, 5
add rdx, r14
call fcn.14000b180
mov rdi, rbx
dec rbx
jmp 0x14002e5f3
mov rdx, r12
call fcn.14000b180
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400e79f0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14003036c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400303c6
mov r11b, 0x23
lea rbx, [0x14010c680]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x1400303b0
cmp rdx, 2
jb 0x1400303b0
cmp byte [r10], r11b
jne 0x1400303b0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14003038e
jmp 0x140030407
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140030407
mov r11b, 0x23
lea rbx, [0x14010c680]
cmp dl, r11b
jne 0x1400303eb
cmp byte [r10], r11b
jne 0x1400303eb
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x1400303d9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140030544
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140030565
and qword [r8], 0
lea rdx, [0x1401197d8]
call fcn.140030418
mov rbx, rax
test rax, rax
je 0x140030628
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14003061f
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 0x14003061f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14003061f
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 0x14003061f
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x14003061f
mov rcx, rdi
call fcn.1400338cc
mov rdi, rax
test rax, rax
je 0x14003061f
mov r9, rbx
mov r8, rsi
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, rsi
je 0x14003060c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.140033914
jmp 0x140030628
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14003061a
mov qword [r14], rsi
mov rax, rdi
jmp 0x14003062a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x14003300c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov r9, rcx
mov rax, qword [rcx + 0x108]
mov r10d, 8
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x14010c680]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x140033039
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x140033074
mov r8, rdx
mov ecx, ebx
lea edx, [r10 + 0xc]
call fcn.140044eec
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14003307c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov r11d, 4
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x14010c680]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x1400330ab
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x1400330e5
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.140044eec
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400330f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x120]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x124]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0x108]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0x100]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x14010c680]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14003315e
not r8d
mov eax, r8d
add rsp, 0x18
ret

Function at 0x140043ca8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fc0], 0
lea rdi, [rcx + 0x5fc8]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x140043d25
xor edx, edx
call fcn.140045d14
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140030ed8
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5fc0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x14022e4f4]
movsxd r8, eax
mov rax, qword [rbx + 0x5fd0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140043d2a
call fcn.140030ed8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140044358
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14022e520]
mov rbx, rcx
and dword [rax + 0x5f1c], 0
test rcx, rcx
je 0x1400443c1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400443cc
lea rdx, [0x1401197e0]
mov rcx, rbx
mov rdi, rax
call fcn.140030418
mov rbx, rax
test rax, rax
je 0x1400443c1
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005f99c
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14022e520]
test rax, rax
je 0x14005f9b7
mov rbx, qword [rax + 0x90]
jmp 0x14005f9b9
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14005f9e4
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14007ee8c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r12, [r8 - 1]
mov qword [rsp + 0x50], rdx
sar r12, 1
mov r14, r9
mov r13, r8
mov rsi, rdx
mov rbp, rcx
mov r15, rdx
cmp rdx, r12
jge 0x14007ef2b
lea rbx, [r15 + r15]
lea rax, [rbx + 2]
imul rdx, rax, 0x38
lea rcx, [rsp + 0x70]
add rdx, rbp
lea r8, [rdx - 0x38]
call fcn.140073374
movzx r8d, al
lea r15, [rbx + 1]
xor r8, 1
add r15, r8
imul rdi, r15, 0x38
imul rbx, rsi, 0x38
add rdi, rbp
mov eax, dword [rdi]
lea rdx, [rdi + 8]
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140010bf0
mov rax, qword [rdi + 0x28]
mov rsi, r15
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x30], rax
cmp r15, r12
jl 0x14007eec8
cmp r15, r12
jne 0x14007ef6d
test r13b, 1
jne 0x14007ef6d
imul rdi, r13, 0x38
imul rbx, rsi, 0x38
mov eax, dword [rdi + rbp - 0x38]
lea rdx, [rbp - 0x30]
add rdx, rdi
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140010bf0
mov rax, qword [rdi + rbp - 0x10]
lea rsi, [r13 - 1]
mov qword [rbx + 0x28], rax
mov rax, qword [rdi + rbp - 8]
mov qword [rbx + 0x30], rax
mov r12, qword [rsp + 0x50]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
cmp r12, rsi
jge 0x14007efd4
lea rdi, [rsi - 1]
mov r8, r14
sar rdi, 1
lea rcx, [rsp + 0x70]
imul r15, rdi, 0x38
add r15, rbp
mov rdx, r15
call fcn.140073374
test al, al
je 0x14007efd4
mov eax, dword [r15]
lea rdx, [r15 + 8]
imul rbx, rsi, 0x38
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140010bf0
mov rax, qword [r15 + 0x28]
mov rsi, rdi
mov qword [rbx + 0x28], rax
mov rax, qword [r15 + 0x30]
mov qword [rbx + 0x30], rax
cmp r12, rdi
jl 0x14007ef81
mov eax, dword [r14]
lea rdx, [r14 + 8]
imul rbx, rsi, 0x38
add rbx, rbp
lea rcx, [rbx + 8]
mov dword [rbx], eax
call fcn.140010bf0
mov rax, qword [r14 + 0x28]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x28], rax
mov rax, qword [r14 + 0x30]
mov qword [rbx + 0x30], rax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140090690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.14007f740
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400906e6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x14009073d
mov ebp, 0x4b0000
jmp 0x14009074b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.140081b80
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140090761
mov eax, r12d
jmp 0x14009076a
mov edx, edi
mov ecx, ebp
call fcn.140081b80
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140090786
shl esi, 0x10
mov ecx, esi
jmp 0x140090875
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400907e4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.14007f740
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400907d4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.140081a50
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.14007f740
add ebx, eax
jmp 0x14009087e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400907f1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x140090830
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.14007f740
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x140090835
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.140081a50
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.14007f740
add ebx, eax
jmp 0x14009087e
cmp eax, r12d
jge 0x14009086e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.14007f740
sub ebp, eax
sub r15d, esi
je 0x14009086e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.140081a50
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.14007f740
add ebx, eax
jmp 0x14009087e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.14007f740
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.14007f740