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

Disassembly:
jmp 0x1400c1300
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140002fae
mov dword [rsp + 0x28], eax
call fcn.140004179
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
mov r9d, dword [rsp + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x22
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x30
je 0x1400c137f
cmp dword [rsp + 0x24], 0x31
je 0x1400c1386
cmp dword [rsp + 0x24], 0x32
je 0x1400c138d
jmp 0x1400c1394
mov eax, 2
jmp 0x1400c1396
mov eax, 1
jmp 0x1400c1396
mov eax, 3
jmp 0x1400c1396
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140002f68
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140017170
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14024806a]
call fcn.14000655a
mov dword [rbp + 4], 0
jmp 0x1400171a5
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jae 0x140017242
mov dword [rbp + 0x24], 0
jmp 0x1400171c0
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 4
jae 0x14001723d
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x148]
lea rax, [rcx + rax*4]
mov ecx, dword [rbp + 0x24]
movzx eax, byte [rax + rcx]
mov byte [rbp + 0x44], al
movzx eax, byte [rbp + 0x44]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, [0x1401d3640]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
movzx ecx, byte [rbp + 0x44]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
mov ecx, dword [rbp + 4]
mov rdx, qword [rbp + 0x148]
lea rcx, [rdx + rcx*4]
mov edx, dword [rbp + 0x24]
mov r8, qword [rbp + 0x118]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx], al
jmp 0x1400171b8
jmp 0x14001719d
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140003116
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140017d90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14024806a]
call fcn.14000655a
mov dword [rbp + 4], 0
jmp 0x140017dc5
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jae 0x140017e62
mov dword [rbp + 0x24], 0
jmp 0x140017de0
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 4
jae 0x140017e5d
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x148]
lea rax, [rcx + rax*4]
mov ecx, dword [rbp + 0x24]
movzx eax, byte [rax + rcx]
mov byte [rbp + 0x44], al
movzx eax, byte [rbp + 0x44]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, str.cw
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
movzx ecx, byte [rbp + 0x44]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
mov ecx, dword [rbp + 4]
mov rdx, qword [rbp + 0x148]
lea rcx, [rdx + rcx*4]
mov edx, dword [rbp + 0x24]
mov r8, qword [rbp + 0x118]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx], al
jmp 0x140017dd8
jmp 0x140017dbd
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140003657
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140138320
mov rax, rcx
neg rcx
test rax, 7
je 0x14013833d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140138398
test al, 7
jne 0x140138330
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140138351
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401383c2
test dh, dh
je 0x1401383bc
shr rdx, 0x10
test dl, dl
je 0x1401383b6
test dh, dh
je 0x1401383b0
shr rdx, 0x10
test dl, dl
je 0x1401383aa
test dh, dh
je 0x1401383a4
shr edx, 0x10
test dl, dl
je 0x14013839e
test dh, dh
jne 0x140138351
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x14000368e
Capabilities:
Query environment variable

Disassembly:
jmp 0x14019e5d0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14019e150
lea rcx, [rsp + 0x20]
call fcn.14019e1a0
movzx eax, al
test eax, eax
jne 0x14019e615
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14019e180
mov rax, qword [rsp + 0x40]
jmp 0x14019e70f
lea rcx, [rsp + 0x20]
call fcn.14019e2a0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14019e240
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.140003a26
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002fbd
lea rcx, [rsp + 0x28]
call fcn.140003ee5
movzx eax, al
test eax, eax
jne 0x14019e6af
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.14000541b
lea rcx, [rsp + 0x20]
call fcn.14019e180
mov rax, qword [rsp + 0x50]
jmp 0x14019e70f
lea rcx, [rsp + 0x20]
call fcn.14019e2a0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140006438
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140003972
lea rcx, [rsp + 0x28]
call fcn.140006e38
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.14000541b
lea rcx, [rsp + 0x20]
call fcn.14019e180
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x140003ba7
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400e78d0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400e7250
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400e790f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140249020]
jmp 0x1400e7919
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140003e18
Capabilities:
Query environment variable

Disassembly:
jmp 0x14019e320
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14019e150
lea rcx, [rsp + 0x40]
call fcn.14019e2d0
movzx eax, al
test eax, eax
jne 0x14019e368
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14019e180
mov rax, qword [rsp + 0x70]
jmp 0x14019e539
lea rcx, [rsp + 0x40]
call fcn.14019e2a0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14019e240
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14019e2a0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140005042
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14019e40e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14019e180
mov rax, qword [rsp + 0x80]
jmp 0x14019e539
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140003a26
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000380a
lea rcx, [rsp + 0x48]
call fcn.140003201
movzx eax, al
test eax, eax
jne 0x14019e475
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140001d98
lea rcx, [rsp + 0x40]
call fcn.14019e180
mov rax, qword [rsp + 0x88]
jmp 0x14019e539
lea rcx, [rsp + 0x48]
call fcn.14000431d
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14019e2a0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140005042
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14019e50b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140001d98
lea rcx, [rsp + 0x40]
call fcn.14019e180
mov rax, qword [rsp + 0xa0]
jmp 0x14019e539
lea rcx, [rsp + 0x48]
call fcn.1400037c4
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140001d98
lea rcx, [rsp + 0x40]
call fcn.14019e180
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140003e31
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400e7800
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400e71d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400e7841
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140249020]
jmp 0x1400e7847
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140003eef
Capabilities:
Get geographical location

Disassembly:
jmp 0x140177ff0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.140176f60
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140178057
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x140249030]
jmp 0x140178079
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140003175
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140003f0d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400c46a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400042aa
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401af930
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14022d528]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1401af956
jmp 0x1401af9d3
mov rcx, qword [rbp + 0x30]
call fcn.140003657
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1401af96f
jmp 0x1401af9d3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1401af98c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001fcd
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400025f9
test eax, eax
jne 0x1401af9d3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14000394f
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140004705
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401a0480
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140004a3e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400c60c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400c60e0
xor al, al
jmp 0x1400c6161
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400c60f3
xor al, al
jmp 0x1400c6161
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400c611d
xor al, al
jmp 0x1400c6161
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400c6131
xor al, al
jmp 0x1400c6161
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400c6143
xor al, al
jmp 0x1400c6161
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400c615f
xor al, al
jmp 0x1400c6161
mov al, 1
add rsp, 0x38
ret
Function at 0x140005303
Capabilities:
Terminate process

Disassembly:
jmp 0x1400e88e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400e890e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140005f10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140005f97
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401806e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400060f5
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400e7940
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400e7290
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400e7989
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x140249020]
jmp 0x1400e7998
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140006208
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401bc7e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140002f6d
lea rcx, [rsp + 0x48]
call fcn.140002f6d
call fcn.140003d9b
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140002c43
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401bc84f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.1400034ef
lea rcx, [rsp + 0x78]
call fcn.1400034ef
mov eax, dword [rsp + 0x24]
jmp 0x1401bc8e0
call fcn.140003d9b
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140002c43
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401bc896
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.1400034ef
lea rcx, [rsp + 0x78]
call fcn.1400034ef
mov eax, dword [rsp + 0x2c]
jmp 0x1401bc8e0
lea rcx, [rsp + 0x48]
call fcn.140002e87
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140002e87
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.1400034ef
lea rcx, [rsp + 0x78]
call fcn.1400034ef
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140006d02
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140017eb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14024806a]
call fcn.14000655a
mov dword [rbp + 4], 0
jmp 0x140017ee5
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jge 0x140017f57
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x108]
movzx eax, byte [rcx + rax]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, str.cw
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xd8], rax
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x108]
movzx ecx, byte [rdx + rcx]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x108]
mov r8, qword [rbp + 0xd8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x140017edd
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140017170
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140017170
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14024806a]
call fcn.14000655a
mov dword [rbp + 4], 0
jmp 0x1400171a5
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jae 0x140017242
mov dword [rbp + 0x24], 0
jmp 0x1400171c0
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 4
jae 0x14001723d
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x148]
lea rax, [rcx + rax*4]
mov ecx, dword [rbp + 0x24]
movzx eax, byte [rax + rcx]
mov byte [rbp + 0x44], al
movzx eax, byte [rbp + 0x44]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, [0x1401d3640]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
movzx ecx, byte [rbp + 0x44]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
mov ecx, dword [rbp + 4]
mov rdx, qword [rbp + 0x148]
lea rcx, [rdx + rcx*4]
mov edx, dword [rbp + 0x24]
mov r8, qword [rbp + 0x118]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx], al
jmp 0x1400171b8
jmp 0x14001719d
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x140017d90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140017d90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14024806a]
call fcn.14000655a
mov dword [rbp + 4], 0
jmp 0x140017dc5
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jae 0x140017e62
mov dword [rbp + 0x24], 0
jmp 0x140017de0
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 4
jae 0x140017e5d
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x148]
lea rax, [rcx + rax*4]
mov ecx, dword [rbp + 0x24]
movzx eax, byte [rax + rcx]
mov byte [rbp + 0x44], al
movzx eax, byte [rbp + 0x44]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, str.cw
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
movzx ecx, byte [rbp + 0x44]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
mov ecx, dword [rbp + 4]
mov rdx, qword [rbp + 0x148]
lea rcx, [rdx + rcx*4]
mov edx, dword [rbp + 0x24]
mov r8, qword [rbp + 0x118]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx], al
jmp 0x140017dd8
jmp 0x140017dbd
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140017eb0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x140017eb0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14024806a]
call fcn.14000655a
mov dword [rbp + 4], 0
jmp 0x140017ee5
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 4
jge 0x140017f57
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x108]
movzx eax, byte [rcx + rax]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
cdqe
imul rax, rax, 0x10
lea rcx, str.cw
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xd8], rax
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x108]
movzx ecx, byte [rdx + rcx]
mov eax, ecx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
cdqe
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x108]
mov r8, qword [rbp + 0xd8]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
jmp 0x140017edd
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14001c010
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14001c010
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x140248184]
call fcn.14000655a
xor eax, eax
test eax, eax
je 0x14001c04a
movsx eax, byte [rbp + 0xf8]
or eax, 0x20
mov dword [rbp + 0xc0], eax
jmp 0x14001c057
movsx eax, byte [rbp + 0xf8]
mov dword [rbp + 0xc0], eax
mov eax, dword [rbp + 0xc0]
mov ecx, dword [rbp + 0xf0]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret
Function at 0x1400c1300
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400c1300
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140002fae
mov dword [rsp + 0x28], eax
call fcn.140004179
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
mov r9d, dword [rsp + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x22
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x30
je 0x1400c137f
cmp dword [rsp + 0x24], 0x31
je 0x1400c1386
cmp dword [rsp + 0x24], 0x32
je 0x1400c138d
jmp 0x1400c1394
mov eax, 2
jmp 0x1400c1396
mov eax, 1
jmp 0x1400c1396
mov eax, 3
jmp 0x1400c1396
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x140184090
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140001fcd
sub rsp, rax
mov rax, qword [0x14022d528]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140232240]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140184282
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1401841d6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401841d6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1401841bb
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140184158
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140184242
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401842a1
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14018427d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401842a1
jmp 0x14018412e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14000394f
add rsp, 0x1498
pop rdi
pop rsi
ret