joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001708
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007f294
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
or dword [rcx + 8], 0xfffffff
and qword [rcx + 0x10], 0
and dword [rcx + 0x20], 0
mov dword [rcx + 0x24], 0x80000000
and qword [rcx + 0x28], 0
mov dword [rcx + 0x58], 0
add rcx, 0x60
call fcn.140002d06
nop
mov rax, qword [rsi + 0xa8]
mov qword [rbx + 0xa8], rax
and qword [rbx + 0xb8], 0
mov dword [rbx + 0xc8], 0
and dword [rbx + 0xd4], 0
and qword [rbx + 0xd8], 0
test dword [0x140150328], 0x80000000
je 0x14007f335
mov ecx, dword [0x140156850]
call fcn.140002f95
test rax, rax
jne 0x14007f33a
call fcn.140009ae3
mov qword [rbx + 0x18], rax
mov rax, qword [rax + 0x60]
mov qword [rbx], rax
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
test rax, 0xfffffffffffffffd
je 0x14007f359
lock inc dword [rax + 8]
mov rcx, rbx
call fcn.1400024e1
lea rcx, [rbx + 0x60]
call fcn.140002964
test bpl, bpl
je 0x14007f3b0
mov rcx, qword [rbx + 0xa8]
mov rax, qword [rcx + 0xb0]
mov qword [rbx + 0xb0], rax
lock cmpxchg qword [rcx + 0xb0], rbx
je 0x14007f3bf
mov rdx, rax
mov qword [rbx + 0xb0], rax
mov rcx, qword [rbx + 0xa8]
lock cmpxchg qword [rcx + 0xb0], rbx
cmp rax, rdx
jne 0x14007f38f
jmp 0x14007f3bf
or dword [rbx + 0xc8], 1
and qword [rbx + 0xb0], 0
call fcn.140001073
mov rdi, rax
cmp qword [rax + 0x40], 0
jne 0x14007f3d6
mov rcx, rax
call fcn.140009bab
mov rax, qword [rdi + 0x40]
mov ecx, dword [rax + 0xa0]
mov dword [rbx + 0xd0], ecx
and dword [rbx + 8], 0xfffffff
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140001979
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400a3f24
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14011e408]
mov ecx, 6
lea r8, [0x14011e400]
lea rdx, str.FlsGetValue
call fcn.1400a3704
mov rdi, rax
test rax, rax
je 0x1400a3f65
mov rcx, rax
call fcn.140004b51
mov ecx, ebx
call rdi
jmp 0x1400a3f6d
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001bcc
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007a410
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x140156850]
call fcn.140002f95
mov ebp, 1
mov rsi, rax
mov r14b, bpl
test rax, rax
je 0x14007a45b
cmp byte [rax + 0x88], 0
jne 0x14007a45b
xor r14b, r14b
mov rcx, rax
call fcn.140003080
mov rax, qword [rdi]
mov rbx, qword [rax + 0x90]
mov rcx, rbx
call fcn.140004b51
mov rcx, rdi
call rbx
test eax, eax
jne 0x14007a480
mov rcx, rdi
call fcn.1400082fb
jmp 0x14007a4ca
cmp eax, 2
jne 0x14007a495
mov eax, dword [rdi + 0x280]
test eax, eax
jne 0x14007a495
xchg dword [rdi + 0x280], ebp
mov eax, dword [rdi + 0x27c]
mov ecx, eax
mov r8d, eax
btr ecx, 0x1e
lock cmpxchg dword [rdi + 0x27c], ecx
cmp eax, r8d
jne 0x14007a49b
and eax, 0x1fffffff
jle 0x14007a4ca
mov rcx, qword [rdi + 0x260]
xor r8d, r8d
mov edx, eax
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test r14b, r14b
jne 0x14007a4d7
mov rcx, rsi
call fcn.140005132
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001ded
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140085fdc
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
xor ebx, ebx
mov ecx, dword [rax + 0xb0]
call fcn.140002f95
test rax, rax
je 0x140086001
mov cl, al
and cl, 3
cmove rbx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140001ef6
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x14007c6a0
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 8
jb 0x14007c6b9
movsxd rcx, dword [r11]
xor edx, edx
mov r10, qword [r11 + 8]
mov rax, r9
div rcx
movsxd r9, edx
xor edx, edx
mov rcx, qword [r10 + r9*8]
test rcx, rcx
je 0x14007c709
mov rax, qword [rbx]
cmp qword [rcx + 8], rax
je 0x14007c72a
mov rdx, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14007c6f8
xor ecx, ecx
test rcx, rcx
je 0x14007c741
test r8, r8
je 0x14007c71c
mov rdx, qword [rcx + 0x10]
mov qword [r8], rdx
mov edx, 0x18
call fcn.14000746e
mov al, 1
jmp 0x14007c743
mov rax, qword [rcx]
test rdx, rdx
jne 0x14007c738
mov qword [r10 + r9*8], rax
jmp 0x14007c73b
mov qword [rdx], rax
dec dword [r11 + 4]
jmp 0x14007c70b
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14000282e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14005fb94
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x14005fbf4
test byte [rbx + 6], 0xf
jne 0x14005fbe5
xor edi, edi
cmp word [rbx + 4], di
jne 0x14005fbe5
cmp word [rbx + 2], di
jne 0x14005fbe5
cmp word [rbx], di
jne 0x14005fbe5
lea r10d, [rdi + 1]
jmp 0x14005fbeb
mov r10d, 2
movzx eax, r10w
jmp 0x14005fdff
xor edi, edi
test cx, cx
jne 0x14005fc0f
mov rcx, rbx
call fcn.140006839
movzx ecx, ax
cmp di, ax
jl 0x14005fdfc
test esi, esi
jle 0x14005fc44
movsx eax, cx
sub ebp, eax
cmp ebp, esi
jg 0x14005fc44
movsd xmm0, qword [0x1401501e0]
mov ebp, 0x8000
test word [rbx + 6], bp
je 0x14005fc36
xorps xmm0, xmmword [0x140114fd0]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x14005fdff
movsx edx, cx
mov eax, edx
neg eax
cmp eax, esi
jge 0x14005fc6b
add si, cx
mov eax, 0x800f
and word [rbx + 6], ax
shl si, 4
or word [rbx + 6], si
or eax, 0xffffffff
jmp 0x14005fdff
movzx ecx, word [rbx + 6]
lea r11d, [rsi - 1]
movzx r14d, cx
add r11d, edx
and cx, 0xf
mov ebp, 0x8000
mov r15d, 0x10
and r14w, bp
or cx, r15w
lea eax, [r11 + 0x35]
mov word [rbx + 6], cx
cmp eax, 0x34
ja 0x14005fdf1
lea r10d, [r15 - 0xf]
movzx esi, di
cmp r11w, 0xfff0
jg 0x14005fd09
movzx edx, word [rbx + 2]
mov eax, 0xfff0
sub ax, r11w
movzx r9d, cx
movzx ecx, word [rbx + 4]
shr ax, 4
add ax, r10w
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add r11w, ax
test si, si
mov eax, edi
setne al
movzx esi, ax
or si, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, r10
jne 0x14005fcdd
mov word [rbx + 6], di
mov word [rbx + 4], cx
mov word [rbx + 2], dx
neg r11w
je 0x14005fd93
movzx r8d, word [rbx]
mov eax, edi
movzx edx, r8w
movsx r9d, r11w
sub r15d, r9d
mov ecx, r15d
shl dx, cl
test si, si
movzx esi, dx
movzx edx, word [rbx + 2]
setne al
or si, ax
movzx eax, dx
shl ax, cl
movzx ecx, r11w
shr r8w, cl
mov ecx, r15d
or ax, r8w
movzx r8d, word [rbx + 4]
mov word [rbx], ax
movzx eax, r8w
shl ax, cl
movzx ecx, r11w
shr dx, cl
mov ecx, r15d
or ax, dx
movzx edx, word [rbx + 6]
mov word [rbx + 2], ax
movzx eax, dx
shl ax, cl
movzx ecx, r11w
shr r8w, cl
mov ecx, r9d
or ax, r8w
shr dx, cl
mov word [rbx + 6], dx
mov word [rbx + 4], ax
or word [rbx + 6], r14w
movzx eax, word [rbx + 6]
cmp bp, si
jb 0x14005fda8
jne 0x14005fdc9
test byte [rbx], r10b
je 0x14005fdc9
add word [rbx], r10w
jne 0x14005fdc9
add word [rbx + 2], r10w
jne 0x14005fdc9
add word [rbx + 4], r10w
jne 0x14005fdc9
add ax, r10w
mov word [rbx + 6], ax
jmp 0x14005fc63
cmp ax, r14w
jne 0x14005fc63
cmp word [rbx + 4], di
jne 0x14005fc63
cmp word [rbx + 2], di
jne 0x14005fc63
cmp word [rbx], di
je 0x14005fdfc
jmp 0x14005fc63
mov word [rbx + 6], r14w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140002941
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400992cc
mov qword [rsp + 8], rbx
xor r8d, r8d
mov r11, rdx
mov r10d, r8d
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x1400992e7
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je 0x140099331
mov eax, dword [r11]
cmp dword [rdx + 8], eax
je 0x140099334
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140099324
mov rdx, r8
mov rbx, qword [rsp + 8]
test rdx, rdx
setne al
ret

Function at 0x140002a27
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ebcc4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x1400ebd43
jmp 0x1400ebcff
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x1400ebcee
lea rax, [rax + rcx*2]
add rax, 2
cmp word [rax], si
jne 0x1400ebcea
sub rax, rbx
add rax, 2
sar rax, 1
lea rbp, [rax + rax]
mov rcx, rbp
call fcn.1400035bc
mov rdi, rax
test rax, rax
je 0x1400ebd33
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140005ef7
mov rsi, rdi
xor ecx, ecx
call fcn.140008e3b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x1400632ec
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14006337d
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14006337d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006337d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140063361
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14006335b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140063363
add rdx, 0x28
jmp 0x140063340
xor edx, edx
test rdx, rdx
jne 0x14006336c
xor al, al
jmp 0x140063383
test dword [rdx + 0x24], 0x80000000
je 0x140063379
xor al, al
jmp 0x140063383
mov al, 1
jmp 0x140063383
xor al, al
jmp 0x140063383
add rsp, 0x18
ret

Function at 0x140002b80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14004e52c
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14004e565
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14004e547
mov eax, ecx
ret
Function at 0x140002d6f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400ffac0
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1400ffb01
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400ffaf5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400ffb03
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400ffae3
xor eax, eax
ret

Function at 0x140002f86
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400e54a0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, r9d
mov rsi, r8
mov ebp, edx
lea r9, [0x140121d08]
mov r14, rcx
lea r8, [0x140121d00]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xd
call fcn.1400e49dc
mov rbx, rax
test rax, rax
je 0x1400e5503
mov rcx, rax
call qword [section..00cfg]
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x1400e551d
xor edx, edx
mov rcx, r14
call fcn.140004e58
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140003193
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140077fa0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 0x218]
mov rbx, rcx
mov rcx, rsi
mov rdi, rdx
call fcn.140003f49
mov ecx, 1
mov r8d, ecx
lock xadd dword [rbx + 0x228], r8d
add r8d, ecx
lea eax, [r8 + 1]
test eax, 0xfffffffe
je 0x140077fc9
mov dword [rdi + 0x10], r8d
lea rdx, [rdi + 0x18]
and qword [rdx], 0
mov rcx, rsi
mov rax, qword [rbx + 0x210]
mov qword [rax], rdi
mov qword [rbx + 0x210], rdx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000563c

Function at 0x140003530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400ae92c
sub rsp, 0x58
mov rax, qword [0x1401502e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov r8, rdx
mov eax, r9d
mov r10, rcx
cmp rax, 0x20
lea r11d, [r9 + 1]
jae 0x1400ae9c6
mov byte [rsp + rax + 0x20], r9b
add rax, r11
cmp rax, 0x20
jl 0x1400ae953
mov al, byte [rdx]
jmp 0x1400ae986
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
add r8, r11
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r8]
test al, al
jne 0x1400ae967
or byte [rsp + 0x20], r11b
jmp 0x1400ae997
add r9d, r11d
add r10, r11
movzx r8d, byte [r10]
mov edx, r11d
mov ecx, r8d
shr r8, 3
and ecx, 7
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x1400ae991
movsxd rax, r9d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000847c
add rsp, 0x58
ret
call fcn.140003387
int3
Function at 0x140003553
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400fa944
sub rsp, 0x58
mov rax, qword [0x1401502e0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov r9, rdx
cmp rax, 0x20
mov r8, rcx
jae 0x1400fa9dc
mov byte [rsp + rax + 0x20], 0
inc rax
cmp rax, 0x20
jl 0x1400fa963
mov al, byte [rdx]
jmp 0x1400fa996
movzx edx, al
shr rdx, 3
movzx eax, al
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
inc r9
mov byte [rsp + rdx + 0x20], cl
mov al, byte [r9]
test al, al
jne 0x1400fa977
jmp 0x1400fa9bb
movzx eax, r9b
mov edx, 1
movzx ecx, r9b
and ecx, 7
shr rax, 3
shl edx, cl
test byte [rsp + rax + 0x20], dl
jne 0x1400fa9d7
inc r8
mov r9b, byte [r8]
test r9b, r9b
jne 0x1400fa99c
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000847c
add rsp, 0x58
ret
mov rax, r8
jmp 0x1400fa9c5
call fcn.140003387
int3

Function at 0x140003936
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400698c8
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400698db
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140004381
lea rdx, [0x14014e7f0]
lea rcx, [rsp + 0x20]
call fcn.140007829
int3
Function at 0x140003cf6
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x1400247c4
mov dword [rcx + 4], edx
lea r10, [rcx + 8]
mov r9d, 1
mov r11d, 0x26f
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, r8d
add edx, r9d
inc r9d
mov dword [r10], edx
lea r10, [r10 + 4]
sub r11, 1
jne 0x1400247d7
mov dword [rcx], 0x270
ret

Function at 0x140003e31
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140098f84
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
and dword [rax + 0xc], 0
mov rbp, rcx
mov dword [rax + 8], 8
mov eax, dword [rcx + 0x78]
test eax, eax
jne 0x140099011
mov rdi, qword [rcx + 0x18]
mov rsi, rcx
or rsi, 2
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call fcn.140004b51
mov rcx, rdi
call rbx
mov ecx, eax
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x140099011
mov rdi, qword [rbp + 0x100]
mov byte [rbp + 0x58], 0
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call fcn.140004b51
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
cmp byte [rbp + 0x58], 0
je 0x140099009
mov byte [rbp + 0x58], 0
jmp 0x140099011
mov rcx, rbp
call fcn.140009340
mov eax, dword [rbp + 0x78]
test eax, eax
je 0x140098fd9
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140004048
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14006b908
sub rsp, 0x28
test dword [0x140150328], 0x80000000
je 0x14006b928
mov ecx, dword [0x140156850]
call fcn.140002f95
test rax, rax
jne 0x14006b92d
call fcn.140009ae3
add rsp, 0x28
ret

Function at 0x140004237
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140022fac
lea r8, [rcx + 8]
mov r9d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140022fb6
ret
Function at 0x1400045e3
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14001fe30
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x270
mov rbx, rcx
jne 0x14001fe48
call fcn.140004237
jmp 0x14001fe55
cmp dword [rcx], 0x4e0
jb 0x14001fe55
call fcn.1400054e3
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret

Function at 0x14000464c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ffb80
mov rax, rcx
mov ecx, 0x5a4d
cmp word [rax], cx
je 0x1400ffb90
xor eax, eax
ret
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
xor eax, eax
cmp dword [rcx], 0x4550
jne 0x1400ffbad
mov edx, 0x20b
cmp word [rcx + 0x18], dx
sete al
ret

Function at 0x140004737
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14008090c
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0
mov rbx, rcx
jne 0x140080941
test dword [0x140150328], 0x80000000
je 0x140080938
mov ecx, dword [0x140156850]
call fcn.140002f95
test rax, rax
jne 0x14008093d
call fcn.140009ae3
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.140009278
test al, al
je 0x14008098d
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x18]
shl edx, 4
sar edx, 4
test edx, edx
js 0x14008096d
mov rcx, rax
call fcn.140008c15
mov edx, 3
jmp 0x140080979
lock inc dword [rax + 0xc4]
mov edx, 2
mov rcx, rbx
call fcn.140002810
mov rcx, qword [rbx + 0x18]
mov rdx, rbx
call fcn.14000946c
add rsp, 0x20
pop rbx
ret

Function at 0x14000489a
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005d558
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, qword [0x1401557b0]
mov edi, r9d
xor rbx, qword [0x1401502e0]
mov rsi, r8
mov ebp, edx
mov r14, rcx
je 0x14005d5a3
mov rcx, rbx
call fcn.140004b51
mov r9d, edi
mov r8, rsi
mov edx, ebp
mov rcx, r14
call rbx
jmp 0x14005d5b8
call fcn.140007414
mov ecx, eax
mov r9d, edi
mov r8, rsi
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400048e0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400ce1e0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400cde48
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cde48
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cde48
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cde48
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cde48
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cde48
cmp dword [rcx + 0xf8], esi
je 0x1400cde48
mov ecx, r14d
call fcn.1400ce0a8
mov ecx, 2
call fcn.140007342
nop
cmp byte [0x140156c19], 0
jne 0x1400cdf12
mov r15d, 1
mov eax, r15d
xchg dword [0x140156c08], eax
test ebx, ebx
jne 0x1400cdebb
mov rdi, qword [0x1401502e0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140156c10]
cmp rcx, rax
je 0x1400cdeb2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [section..00cfg]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140156f00]
jmp 0x1400cdec7
cmp ebx, r15d
jne 0x1400cdecd
lea rcx, [0x140156f20]
call fcn.140007af9
nop
test ebx, ebx
jne 0x1400cdee4
lea rdx, [0x14010d1e8]
lea rcx, [0x14010cd98]
call fcn.1400064ba
lea rdx, [0x14010d408]
lea rcx, [0x14010d2f8]
call fcn.1400064ba
movzx eax, byte [0x140156c19]
test esi, esi
cmove eax, r15d
mov byte [0x140156c19], al
jmp 0x1400cdf12
mov ecx, 2
call fcn.14000450c
test esi, esi
jne 0x1400cdf29
mov ecx, r14d
call fcn.1400cdfa0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400cddd8
Function at 0x140004db3
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140075f00
mov qword [rsp + 8], rbx
mov r11, rdx
mov rbx, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r10 + rdx]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x140075f18
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, r9
div rcx
mov rax, qword [rbx + 8]
movsxd rcx, edx
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140075f62
mov ecx, dword [r11]
cmp dword [rax + 8], ecx
je 0x140075f64
mov rax, qword [rax]
test rax, rax
jne 0x140075f55
xor eax, eax
test rax, rax
je 0x140075f74
test r8, r8
je 0x140075f74
mov ecx, dword [rax + 0xc]
mov dword [r8], ecx
mov rbx, qword [rsp + 8]
ret

Function at 0x140005137
Capabilities:
Parse pe header

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

Function at 0x14000515a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
jmp 0x140022124
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x20], 0
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x65
mov rcx, rax
mov rsi, rax
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rbx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
mov rcx, rbp
lea r8, [rax + rbx]
call fcn.140002d60
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret