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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000306d
xor eax, eax
jmp 0x1400031b3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400030a7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400030a7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400031b3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400031a6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400030ea
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 0x1400030f9
movsx ecx, dil
jmp 0x14000314d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x1400031a6
cmp eax, 1
jle 0x140003167
cmp eax, 3
jne 0x1400031a6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.14000c51c
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400031ab
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003194
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14000d0c4
cmp rsi, rax
jne 0x1400031a6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400031ab
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004620
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140004540
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [0x14003b010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140007930
mov eax, 1
mov dword [rsp + 0x70], 0x68
mov dword [rsp + 0xac], eax
xor r9d, r9d
mov word [rsp + 0xb0], ax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400045e5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400045e7
xor al, al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140004620
add rsp, 0xf0
pop rbx
ret

Function at 0x14000c4f8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000c324
Function at 0x180001dde
Capabilities:
Print debug messages

Disassembly:
jmp 0x1800fb460
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x1800fb4ac
test rbx, rbx
je 0x1800fb49b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.180002072
cmp eax, 1
je 0x1800fb4ac
mov eax, 4
jmp 0x1800fb4ef
call fcn.1800062fd
cmp eax, 2
jne 0x1800fb4e8
call fcn.18000210d
test al, al
je 0x1800fb4e8
call fcn.180004647
test al, al
jne 0x1800fb4de
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.18000635c
jmp 0x1800fb4ef
call fcn.1800060d2
mov rcx, rax
jmp 0x1800fb4ce
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180001fff
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
jmp 0x1800290a0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x18015a118]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rcx + 0x10], 0
xor edi, edi
mov qword [rcx + 0x54], rdi
mov rbx, rcx
mov dword [rcx + 0x5c], 0x67452301
mov dword [rcx + 0x60], 0xefcdab89
mov dword [rcx + 0x64], 0x98badcfe
mov dword [rcx + 0x68], 0x10325476
cmp qword [rdx + 0x18], 0x10
mov r8d, dword [rdx + 0x10]
jb 0x1800290f0
mov rdx, qword [rdx]
call fcn.1800030c6
cmp byte [rbx + 0x10], dil
jne 0x1800291db
mov r8d, edi
lea rdx, [rsp + 0x22]
mov r9d, 2
nop dword [rax]
mov eax, r8d
lea rdx, [rdx + 4]
inc r8d
lea rcx, [rbx + rax*4]
movzx eax, byte [rbx + rax*4 + 0x54]
mov byte [rdx - 6], al
movzx eax, byte [rcx + 0x55]
mov byte [rdx - 5], al
movzx eax, byte [rcx + 0x56]
mov byte [rdx - 4], al
movzx eax, byte [rcx + 0x57]
mov byte [rdx - 3], al
sub r9, 1
jne 0x180029110
mov ecx, dword [rbx + 0x54]
lea rdx, [0x18015a060]
shr ecx, 3
mov eax, 0x78
and ecx, 0x3f
mov r8d, 0x38
sub eax, ecx
sub r8d, ecx
cmp ecx, 0x38
mov rcx, rbx
cmovae r8d, eax
call fcn.1800030c6
mov r8d, 8
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800030c6
lea rcx, [rbx + 2]
mov r8d, 4
nop dword [rax]
movzx eax, byte [rbx + rdi*4 + 0x5c]
lea rdx, [rbx + rdi*4]
mov byte [rcx - 2], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx + 0x5d]
lea edi, [rdi + 1]
mov byte [rcx - 5], al
movzx eax, byte [rdx + 0x5e]
mov byte [rcx - 4], al
movzx eax, byte [rdx + 0x5f]
mov byte [rcx - 3], al
sub r8, 1
jne 0x180029190
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x11], xmm0
movups xmmword [rbx + 0x21], xmm0
movups xmmword [rbx + 0x31], xmm0
movups xmmword [rbx + 0x41], xmm0
mov qword [rbx + 0x54], rax
mov byte [rbx + 0x10], 1
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003bd4
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180002167
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800f2250
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180135a28]
mov ecx, 3
lea r8, [0x180135a20]
lea rdx, str.FlsAlloc
call fcn.1800f18fc
test rax, rax
je 0x1800f228c
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x18016f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x180002a2c
Capabilities:
Encode data using base64

Disassembly:
jmp 0x18003c370
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
mov rcx, rdx
mov rdx, qword [rdx + 0x18]
cmp rdx, 0x10
jb 0x18003c3c1
mov rcx, qword [rcx]
mov rdi, qword [rbx + 0x10]
add rdi, rcx
mov r15d, ebp
cmp rdx, 0x10
jb 0x18003c3d4
mov rbx, qword [rbx]
cmp rbx, rdi
je 0x18003c471
lea r12, str.________________________________________________456789:_________
movsx rsi, byte [rbx]
mov ecx, esi
call fcn.180003256
test eax, eax
jne 0x18003c465
cmp esi, 0x3d
je 0x18003c465
test esi, esi
js 0x18003c48e
movsx ecx, byte [rsi + r12]
cmp cl, 0x3f
jg 0x18003c48e
shl r15d, 6
or r15d, ecx
add ebp, 6
cmp ebp, 8
jl 0x18003c465
sub ebp, 8
mov edx, r15d
mov ecx, ebp
shr edx, cl
mov rcx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
cmp rcx, r8
jae 0x18003c452
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp r8, 0x10
jb 0x18003c448
mov rax, qword [r14]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x18003c465
movzx r9d, dl
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r14
call fcn.180004b42
inc rbx
cmp rbx, rdi
jne 0x18003c3e4
mov rax, r14
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rdx, str.This_contains_characters_not_legal_in_a_base64_encoded_string.
lea rcx, [rsp + 0x28]
call fcn.180002153
lea rdx, [0x180159240]
lea rcx, [rsp + 0x28]
call fcn.180007324
int3
Function at 0x180002b17
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x18003c510
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x18015a118]
xor rax, rsp
mov qword [rbp], rax
mov r8, qword [rdx + 0x10]
xorps xmm1, xmm1
xor edi, edi
mov qword [rsp + 0x20], rcx
cmp qword [rdx + 0x18], 0x10
xorps xmm0, xmm0
mov rbx, rcx
mov dword [rbp - 0x40], 0x6a09e667
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x3c], 0xbb67ae85
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x38], 0x3c6ef372
movups xmmword [rsp + 0x40], xmm1
mov dword [rbp - 0x34], 0xa54ff53a
movups xmmword [rsp + 0x50], xmm1
mov dword [rbp - 0x30], 0x510e527f
movups xmmword [rsp + 0x60], xmm1
mov dword [rbp - 0x2c], 0x9b05688c
movups xmmword [rsp + 0x70], xmm1
mov dword [rbp - 0x28], 0x1f83d9ab
movups xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x24], 0x5be0cd19
movups xmmword [rbp - 0x70], xmm1
mov qword [rsp + 0x38], rdi
movups xmmword [rbp - 0x60], xmm1
mov qword [rsp + 0x30], rdi
movups xmmword [rbp - 0x50], xmm1
jb 0x18003c5c1
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.180007077
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.180001654
mov qword [rbx], rdi
mov ecx, 0x30
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
call fcn.1800013cf
movups xmm0, xmmword [rbp - 0x20]
mov qword [rbx + 0x10], 0x20
movups xmm1, xmmword [rbp - 0x10]
mov qword [rbx + 0x18], 0x2f
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], dil
mov qword [rbx], rax
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180003bd4
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x180002b7b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180111cd8
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18015a118]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x18015f778]
test r9, r9
lea rdi, [0x18012534c]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x180111d41
mov rax, 0xfffffffffffffffe
jmp 0x180111e8f
cmp word [r11 + 6], r10w
jne 0x180111db0
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x180111d6b
test rsi, rsi
je 0x180111d5c
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x180111e8f
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x180111d79
mov r8b, 2
jmp 0x180111d97
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180111d87
mov r8b, 3
jmp 0x180111d97
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180111e7d
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x180111dd9
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180111e7d
cmp bl, bpl
jb 0x180111e7d
cmp bl, r8b
jae 0x180111e7d
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x180111e06
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180111e7d
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x180111de8
cmp r9, rbp
jae 0x180111e32
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x180111d35
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180111e7d
cmp edx, 0x110000
jae 0x180111e7d
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x180111e7d
test rsi, rsi
je 0x180111e70
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x180111e8f
mov qword [r11], r10
call fcn.1800030da
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180003bd4
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180003012
Capabilities:
Get geographical location

Disassembly:
jmp 0x18009c8a4
sub rsp, 0x28
and dword [rsp + 0x30], 0
call fcn.18000447b
mov r9d, 2
lea r8, [rsp + 0x30]
mov rcx, qword [rax + 0x28]
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x18009c8f1
sub ecx, 1
je 0x18009c8ea
cmp ecx, 1
je 0x18009c8e3
xor eax, eax
jmp 0x18009c8f6
mov eax, 3
jmp 0x18009c8f6
mov eax, 1
jmp 0x18009c8f6
mov eax, 2
add rsp, 0x28
ret
Function at 0x180003328
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x18005dd70
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x18005ddfd
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x18005ddfd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18005ddfd
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 0x18005dde4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x18005ddde
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18005dde6
add rdx, 0x28
jmp 0x18005ddc3
xor edx, edx
test rdx, rdx
jne 0x18005ddef
xor al, al
jmp 0x18005de03
cmp dword [rdx + 0x24], 0
jge 0x18005ddf9
xor al, al
jmp 0x18005de03
mov al, 1
jmp 0x18005de03
xor al, al
jmp 0x18005de03
add rsp, 0x18
ret

Function at 0x180003369
Capabilities:
Clear file content

Disassembly:
jmp 0x180113778
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov r14d, 1
mov r8d, r14d
xor edx, edx
mov ebp, ecx
call fcn.180001f2d
xor edx, edx
lea r8d, [r14 + 1]
mov ecx, ebp
mov r15, rax
call fcn.180001f2d
mov rsi, rbx
sub rsi, rax
cmp r15, 0xffffffffffffffff
je 0x1801138af
cmp rax, 0xffffffffffffffff
je 0x1801138af
xor edi, edi
test rsi, rsi
jle 0x18011386b
mov r12d, 0x1000
mov edx, r14d
mov ecx, r12d
call fcn.180006104
mov rbx, rax
test rax, rax
jne 0x180113805
call fcn.1800030da
mov dword [rax], 0xc
jmp 0x18011384e
mov edx, 0x8000
mov ecx, ebp
call fcn.180005010
mov r14d, eax
jmp 0x180113820
cdqe
sub rsi, rax
test rsi, rsi
jle 0x18011385f
mov r8d, esi
cmp rsi, r12
mov rdx, rbx
mov ecx, ebp
cmovge r8d, r12d
call fcn.180005ba5
cmp eax, 0xffffffff
jne 0x180113816
call fcn.1800049d0
cmp dword [rax], 5
jne 0x18011384e
call fcn.1800030da
mov dword [rax], 0xd
call fcn.1800030da
mov edi, dword [rax]
mov rcx, rbx
call fcn.1800012b2
jmp 0x1801138b6
mov edx, r14d
mov ecx, ebp
call fcn.180005010
jmp 0x180113855
jns 0x1801138b6
xor r8d, r8d
mov rdx, rbx
mov ecx, ebp
call fcn.180001f2d
cmp rax, 0xffffffffffffffff
je 0x1801138af
mov ecx, ebp
call fcn.180006ded
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1801138b6
call fcn.1800030da
mov dword [rax], 0xd
call fcn.1800049d0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
call fcn.1800030da
mov edi, dword [rax]
xor r8d, r8d
mov rdx, r15
mov ecx, ebp
call fcn.180001f2d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1800038ff
Capabilities:
Query environment variable

Disassembly:
jmp 0x1800ff3ec
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 0x1800ff473
mov rbp, rax
cmp word [rax], si
je 0x1800ff435
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800ff41c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800ff418
sub rbp, rbx
add rbp, 2
sar rbp, 1
add rbp, rbp
mov rcx, rbp
call fcn.18000105f
mov rdi, rax
test rax, rax
je 0x1800ff463
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.180003bf7
mov rsi, rdi
xor ecx, ecx
call fcn.1800012b2
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 0x1800039f4
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180114aa0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180114ace
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x180114b27
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x180114b27
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x180114b19
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x180003c1f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x180040d20
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180040d54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180040d40
ret

Function at 0x180003e5e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800af9f0
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x18012f628]
mov ecx, 2
lea r8, [0x18012f620]
lea rdx, str.FlsGetValue
call fcn.1800af4c0
mov ecx, ebx
test rax, rax
je 0x1800afa2a
add rsp, 0x20
pop rbx
jmp qword [0x18016f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1800040fc
Capabilities:
Query environment variable

Disassembly:
jmp 0x1800ff2a8
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1800ff37a
mov rsi, rax
cmp word [rax], r14w
je 0x1800ff2fb
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1800ff2e3
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1800ff2df
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1800053c6
movsxd rbp, eax
test eax, eax
je 0x1800ff37a
mov rcx, rbp
call fcn.18000105f
mov rdi, rax
test rax, rax
je 0x1800ff36d
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1800053c6
test eax, eax
je 0x1800ff36d
mov rsi, rdi
mov rdi, r14
jmp 0x1800ff370
mov rsi, r14
mov rcx, rdi
call fcn.1800012b2
jmp 0x1800ff37d
mov rsi, r14
test rbx, rbx
je 0x1800ff38b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180004110
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800af940
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x18012f608]
xor ecx, ecx
lea r8, [0x18012f600]
lea rdx, str.FlsAlloc
call fcn.1800af4c0
test rax, rax
je 0x1800af979
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x18016f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x1800041d8
Capabilities:
Get geographical location

Disassembly:
jmp 0x1800f24f0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x180135b10]
mov rbp, rcx
lea r8, [0x180135b08]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.1800f18fc
mov rcx, rbp
test rax, rax
je 0x1800f2546
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x18016f020]
jmp 0x1800f255d
xor edx, edx
call fcn.1800033aa
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1800041e7
Capabilities:
Terminate process

Disassembly:
jmp 0x18005d384
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1800044a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1800deb3c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1800de890
Function at 0x180004e8f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x18006e530
jmp 0x18008efd8
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18006e562
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18006e545
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18000119a

Function at 0x180005687
Capabilities:
Terminate process

Disassembly:
jmp 0x1800b0324
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800b033e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.18000637f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1800057ae
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800f2304
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180135a48]
mov ecx, 5
lea r8, [0x180135a40]
lea rdx, str.FlsGetValue
call fcn.1800f18fc
mov ecx, ebx
test rax, rax
je 0x1800f233e
add rsp, 0x20
pop rbx
jmp qword [0x18016f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]