joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140180880
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x54], 0
mov edx, 0x68
lea rcx, [rsp + 0xa0]
call fcn.140180e00
mov edx, 0x18
lea rcx, [rsp + 0x68]
call fcn.140180e00
mov dword [rsp + 0xa0], 0x68
mov rcx, qword [rsp + 0x120]
call fcn.140185d00
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14018094e
xor eax, eax
jmp 0x140180b53
mov dx, 0x5c
mov rcx, qword [rsp + 0x58]
call fcn.140180dd0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14018097c
xor eax, eax
mov rcx, qword [rsp + 0x80]
mov word [rcx], ax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1401809da
jmp 0x140180ac5
mov rdx, qword [0x14019cb20]
mov ecx, dword [0x14019cb10]
call fcn.1401816c0
mov dword [rsp + 0x48], 2
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x128]
call fcn.1401816e2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140180a50
jmp 0x140180ac5
mov rcx, qword [rsp + 0x130]
call fcn.140180120
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140180a6c
jmp 0x140180ac5
mov r9d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call fcn.140180480
test eax, eax
jne 0x140180a90
jmp 0x140180ac5
mov rdx, qword [0x14019cb80]
mov ecx, dword [0x14019cb70]
call fcn.1401816c0
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1401816e2
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140180abd
jmp 0x140180ac5
mov dword [rsp + 0x60], 1
cmp qword [rsp + 0x58], 0
je 0x140180ad7
mov rcx, qword [rsp + 0x58]
call fcn.140185eb0
cmp qword [rsp + 0x68], 0
je 0x140180afb
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x140180afb
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x70], 0
je 0x140180b1f
cmp qword [rsp + 0x70], 0xffffffffffffffff
je 0x140180b1f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x128], 0
je 0x140180b4f
cmp qword [rsp + 0x128], 0xffffffffffffffff
je 0x140180b4f
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x128], 0
mov eax, dword [rsp + 0x60]
add rsp, 0x110
pop rdi
ret
Function at 0x140180b70
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0xca8
mov rax, qword [0x14019c040]
xor rax, rsp
mov qword [rsp + 0xc90], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x260]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x470]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rax, [rsp + 0x880]
lea rcx, str.C:Windows_system32cmd.exe
mov rdi, rax
mov rsi, rcx
mov ecx, 0x38
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x8b8]
mov rdi, rax
xor eax, eax
mov ecx, 0x3d8
rep stosb byte [rdi], al
lea rdx, [0x14019cae0]
mov ecx, 0xaeb2560
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019caf8]
mov ecx, 0x7d1aa4fe
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cb10]
mov ecx, 0xcb5ef918
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cb28]
mov ecx, 0xdcdd1c32
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cb40]
mov ecx, 0x4898763e
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cb58]
mov ecx, 0xc1189c40
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cb70]
mov ecx, 0x2f7cb09e
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cb88]
mov ecx, 0x3b042567
call fcn.140180e90
test eax, eax
je 0x140180ce5
lea rdx, [0x14019cba0]
mov ecx, 0x7f13a087
call fcn.140180e90
test eax, eax
jne 0x140180cef
mov eax, 1
jmp 0x140180dac
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140180d0d
mov eax, 1
jmp 0x140180dac
lea r9, [rsp + 0x260]
xor r8d, r8d
lea rdx, [0x140192378]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x140180d35
mov eax, 1
jmp 0x140180dac
lea r8, [rsp + 0x260]
lea rdx, str.___s
lea rcx, [rsp + 0x470]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140001100
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x470]
call fcn.140180170
test eax, eax
jne 0x140180d88
mov eax, 1
jmp 0x140180dac
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x880]
call fcn.140180880
test eax, eax
jne 0x140180daa
mov eax, 1
jmp 0x140180dac
xor eax, eax
mov rcx, qword [rsp + 0xc90]
xor rcx, rsp
call fcn.140181800
add rsp, 0xca8
pop rdi
pop rsi
ret
Function at 0x140181540
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
jne 0x140181561
xor eax, eax
jmp 0x1401816b3
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x140181595
xor eax, eax
jmp 0x1401816b3
mov rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401815b4
xor eax, eax
jmp 0x1401816b3
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x1401815e0
xor eax, eax
jmp 0x1401816b3
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x140181613
xor eax, eax
jmp 0x1401816b3
mov rax, qword [rsp]
mov qword [0x14019cbd8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
mov dword [0x14019cbd0], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [0x14019cbc0], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [0x14019cbb8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [0x14019cbc8], rax
cmp qword [0x14019cbd8], 0
je 0x1401816a8
cmp dword [0x14019cbd0], 0
je 0x1401816a8
cmp qword [0x14019cbc0], 0
je 0x1401816a8
cmp qword [0x14019cbb8], 0
je 0x1401816a8
cmp qword [0x14019cbc8], 0
jne 0x1401816ae
xor eax, eax
jmp 0x1401816b3
mov eax, 1
add rsp, 0x38
ret

Function at 0x1401821e8
Capabilities:
Parse pe header

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

Function at 0x140186be0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401869dc
Function at 0x140189cf4
Capabilities:
Query environment variable

Disassembly:
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 esi, esi
mov rbx, rax
test rax, rax
jne 0x140189d24
xor eax, eax
jmp 0x140189de7
mov rbp, rbx
cmp word [rax], si
je 0x140189d49
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140189d30
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140189d2c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140189c14
movsxd r14, eax
test eax, eax
jne 0x140189d87
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140189d1d
mov rcx, r14
call fcn.14018abd0
mov rdi, rax
test rax, rax
jne 0x140189da0
xor ecx, ecx
call fcn.140187a30
jmp 0x140189d7c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140189c14
test eax, eax
jne 0x140189dd1
mov rcx, rdi
call fcn.140187a30
jmp 0x140189ddb
xor ecx, ecx
call fcn.140187a30
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14018d2e0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140188ce4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14018d36a
cmp byte [rbp - 0x21], r15b
je 0x14018d365
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14018d3a0
call fcn.14018b3e0
test eax, eax
jne 0x14018d38c
cmp byte [rbp - 0x21], r15b
je 0x14018d384
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14018d3a0
cmp byte [rbp - 0x21], r15b
je 0x14018d39d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401882c4
test eax, eax
jne 0x14018d440
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140188ce4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14018d3df
cmp byte [rbp - 0x21], r15b
je 0x14018d414
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14018d414
call fcn.14018b3e0
test eax, eax
jne 0x14018d400
cmp byte [rbp - 0x21], r15b
je 0x14018d3f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14018d414
cmp byte [rbp - 0x21], r15b
je 0x14018d411
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401882c4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14018d440
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14018d443
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14018d451
mov rcx, rdi
call fcn.140187a30
cmp byte [rbp + 0x3f], r15b
je 0x14018d460
mov rcx, qword [rbp + 0x27]
call fcn.140187a30
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140190290
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401902b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1401902b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001384
Capabilities:
Parse pe header

Disassembly:
jmp 0x140021ac4
xor r8d, r8d
xor edx, edx
jmp 0x1400217b4

Function at 0x14000211c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140076b40
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140097140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140099c30]
xor r11d, r11d
lea rdi, [0x1400828c4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140076bb0
mov rax, 0xfffffffffffffffe
jmp 0x140076cfd
cmp word [r10 + 6], r11w
jne 0x140076c1f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x140076bda
test r14, r14
je 0x140076bcb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x140076cfd
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140076be8
mov r8b, 2
jmp 0x140076c06
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140076bf6
mov r8b, 3
jmp 0x140076c06
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140076cf2
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 0x140076c48
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140076cf2
cmp bl, bpl
jb 0x140076cf2
cmp bl, r8b
jae 0x140076cf2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140076c75
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140076cf2
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x140076c57
cmp r9, rbp
jae 0x140076ca1
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140076ba4
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140076cf2
cmp edx, 0x110000
jae 0x140076cf2
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 0x140076cf2
test r14, r14
je 0x140076ce0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14000392c
jmp 0x140076cfd
mov rdx, rsi
mov rcx, r10
call fcn.140003f62
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002577
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002162
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000a518
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a5a5
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14000a5a5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a5a5
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000a58c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000a586
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000a58e
add rdx, 0x28
jmp 0x14000a56b
xor edx, edx
test rdx, rdx
jne 0x14000a597
xor al, al
jmp 0x14000a5ab
cmp dword [rdx + 0x24], 0
jge 0x14000a5a1
xor al, al
jmp 0x14000a5ab
mov al, 1
jmp 0x14000a5ab
xor al, al
jmp 0x14000a5ab
add rsp, 0x18
ret

Function at 0x1400026ad
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140017e3c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140083888]
mov ecx, 2
lea r8, [0x140083880]
lea rdx, str.FlsGetValue
call fcn.14001790c
mov ecx, ebx
test rax, rax
je 0x140017e76
add rsp, 0x20
pop rbx
jmp qword [0x1400a2020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400027f2
Capabilities:
Query environment variable

Disassembly:
jmp 0x14005a8b0
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 esi, esi
mov rbx, rax
test rax, rax
jne 0x14005a8e0
xor eax, eax
jmp 0x14005a9a3
mov rbp, rbx
cmp word [rax], si
je 0x14005a905
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005a8ec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005a8e8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140003148
movsxd r14, eax
test eax, eax
jne 0x14005a943
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005a8d9
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x14005a95c
xor ecx, ecx
call fcn.140001168
jmp 0x14005a938
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140003148
test eax, eax
jne 0x14005a98d
mov rcx, rdi
call fcn.140001168
jmp 0x14005a997
xor ecx, ecx
call fcn.140001168
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400027fc
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140017d8c
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140083848]
xor ecx, ecx
lea r8, [0x140083840]
lea rdx, str.FlsAlloc
call fcn.14001790c
test rax, rax
je 0x140017dc5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400a2020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140002879
Capabilities:
Get geographical location

Disassembly:
jmp 0x140063264
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, [0x1400873a8]
mov rbp, rcx
lea r8, [0x1400873a0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.140062784
test rax, rax
je 0x1400632c4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400a2030]
jmp 0x1400632de
xor edx, edx
mov rcx, rbp
call fcn.1400021b7
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 0x140002883
Capabilities:
Terminate process

Disassembly:
jmp 0x140079ccc
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 0x1400029b9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140021a58
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400217b4

Function at 0x140002b44
Capabilities:
Parse pe header

Disassembly:
jmp 0x140079ac0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140079ae8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140079ae8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140002e50
Capabilities:
Parse pe header

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

Function at 0x1400030c1
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140079a00
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 0x140079a41
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140079a35
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140079a43
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140079a23
xor eax, eax
ret
Function at 0x1400032ab
Capabilities:
Terminate process

Disassembly:
jmp 0x140055b24
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140055b3e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.14000393b
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 0x140003a1c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140017e94
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400838a8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400838a0]
call fcn.14001790c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140017ed4
call qword [0x1400a2020]
jmp 0x140017eda
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003ab2
Capabilities:
Set environment variable

Disassembly:
jmp 0x140069c34
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400020f4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140069cbe
cmp byte [rbp - 0x21], r15b
je 0x140069cb9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140069cf4
call fcn.140003e4f
test eax, eax
jne 0x140069ce0
cmp byte [rbp - 0x21], r15b
je 0x140069cd8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140069cf4
cmp byte [rbp - 0x21], r15b
je 0x140069cf1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000401b
test eax, eax
jne 0x140069d94
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400020f4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140069d33
cmp byte [rbp - 0x21], r15b
je 0x140069d68
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140069d68
call fcn.140003e4f
test eax, eax
jne 0x140069d54
cmp byte [rbp - 0x21], r15b
je 0x140069d4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140069d68
cmp byte [rbp - 0x21], r15b
je 0x140069d65
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000401b
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140069d94
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140069d97
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140069da5
mov rcx, rdi
call fcn.140001168
cmp byte [rbp + 0x3f], r15b
je 0x140069db4
mov rcx, qword [rbp + 0x27]
call fcn.140001168
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret