joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000216c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000931c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400093a9
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400093a9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400093a9
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 0x140009390
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000938a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140009392
add rdx, 0x28
jmp 0x14000936f
xor edx, edx
test rdx, rdx
jne 0x14000939b
xor al, al
jmp 0x1400093af
cmp dword [rdx + 0x24], 0
jge 0x1400093a5
xor al, al
jmp 0x1400093af
mov al, 1
jmp 0x1400093af
xor al, al
jmp 0x1400093af
add rsp, 0x18
ret

Function at 0x140002531
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140078a50
sub rsp, 0x38
movzx eax, word [0x140097000]
mov dword [rsp + 0x24], eax
movzx eax, word [0x140097000]
cmp eax, 0x270
jl 0x140078a7d
call fcn.140078970
movzx eax, word [0x140097000]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140096640]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov word [0x140097000], ax
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x140096640]
mov eax, dword [rcx + rax*4]
shr eax, 0xb
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1400026c1
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140016f70
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400818a8]
mov ecx, 2
lea r8, [0x1400818a0]
lea rdx, str.FlsGetValue
call fcn.140016a40
mov ecx, ebx
test rax, rax
je 0x140016faa
add rsp, 0x20
pop rbx
jmp qword [0x1400a2020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140002806
Capabilities:
Query environment variable

Disassembly:
jmp 0x14005fb88
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 0x14005fbb8
xor eax, eax
jmp 0x14005fc7b
mov rbp, rbx
cmp word [rax], si
je 0x14005fbdd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005fbc4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005fbc0
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.14000316b
movsxd r14, eax
test eax, eax
jne 0x14005fc1b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005fbb1
mov rcx, r14
call fcn.14000103c
mov rdi, rax
test rax, rax
jne 0x14005fc34
xor ecx, ecx
call fcn.14000116d
jmp 0x14005fc10
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.14000316b
test eax, eax
jne 0x14005fc65
mov rcx, rdi
call fcn.14000116d
jmp 0x14005fc6f
xor ecx, ecx
call fcn.14000116d
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 0x140002815
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140016ec0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140081868]
xor ecx, ecx
lea r8, [0x140081860]
lea rdx, str.FlsAlloc
call fcn.140016a40
test rax, rax
je 0x140016ef9
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 0x14000288d
Capabilities:
Get geographical location

Disassembly:
jmp 0x140054b9c
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, [0x140082eb8]
mov rbp, rcx
lea r8, [0x140082eb0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400540bc
test rax, rax
je 0x140054bfc
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400a2030]
jmp 0x140054c16
xor edx, edx
mov rcx, rbp
call fcn.1400021bc
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 0x1400028a1
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14004bfa8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14004bd04

Function at 0x140002b6c
Capabilities:
Parse pe header

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

Function at 0x140002e6e
Capabilities:
Parse pe header

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

Function at 0x140002ef0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1400788e0
mov dword [rsp + 8], ecx
sub rsp, 0x18
mov eax, 4
imul rax, rax, 0
lea rcx, [0x140096640]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax], edx
mov dword [rsp], 1
jmp 0x140078910
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x270
jae 0x140078959
mov eax, dword [rsp]
dec eax
mov eax, eax
lea rcx, [0x140096640]
mov edx, dword [rsp]
dec edx
mov edx, edx
lea r8, [0x140096640]
mov edx, dword [r8 + rdx*4]
shr edx, 0x1e
mov eax, dword [rcx + rax*4]
xor eax, edx
imul eax, eax, 0x6c078965
add eax, dword [rsp]
mov ecx, dword [rsp]
lea rdx, [0x140096640]
mov dword [rdx + rcx*4], eax
jmp 0x140078908
mov eax, 0x270
mov word [0x140097000], ax
add rsp, 0x18
ret

Function at 0x1400030e4
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140077fc0
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 0x140078001
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140077ff5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140078003
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140077fe3
xor eax, eax
ret

Function at 0x1400032ce
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140016fc8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400818c8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400818c0]
call fcn.140016a40
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140017008
call qword [0x1400a2020]
jmp 0x14001700e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003ad5
Capabilities:
Set environment variable

Disassembly:
jmp 0x14006fc94
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.1400020fe
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006fd1e
cmp byte [rbp - 0x21], r15b
je 0x14006fd19
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006fd54
call fcn.140003e81
test eax, eax
jne 0x14006fd40
cmp byte [rbp - 0x21], r15b
je 0x14006fd38
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006fd54
cmp byte [rbp - 0x21], r15b
je 0x14006fd51
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.140004057
test eax, eax
jne 0x14006fdf4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400020fe
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006fd93
cmp byte [rbp - 0x21], r15b
je 0x14006fdc8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14006fdc8
call fcn.140003e81
test eax, eax
jne 0x14006fdb4
cmp byte [rbp - 0x21], r15b
je 0x14006fdad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14006fdc8
cmp byte [rbp - 0x21], r15b
je 0x14006fdc5
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.140004057
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006fdf4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006fdf7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006fe05
mov rcx, rdi
call fcn.14000116d
cmp byte [rbp + 0x3f], r15b
je 0x14006fe14
mov rcx, qword [rbp + 0x27]
call fcn.14000116d
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 0x140003bc5
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004bf98
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14004bd73
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004bd73
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004bd73
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004bd73
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004bd73
cmp dword [rcx + 0x84], 0xe
jbe 0x14004bd73
cmp dword [rcx + 0xf8], 0
je 0x14004bd73
mov ecx, ebx
call fcn.14004bedc
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14004ba5c
nop
cmp dword [rbp + 0x20], 0
je 0x14004bdc1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004bdfc
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14004bd04

Function at 0x1400098d0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400098d0
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000991a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000991a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000991a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000991a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000991a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000991c
xor al, al
add rsp, 0x28
ret
Function at 0x14006e200
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14006e216
mov al, 1
jmp 0x14006e276
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006e227
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006e274
mov ecx, dword [rcx + 0x18]
nop
call fcn.140003e2c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006e274
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006e274
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006e274
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006e276
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140078970
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x18
mov dword [rsp], 0
jmp 0x140078985
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x270
jae 0x140078a2f
mov eax, dword [rsp]
lea rcx, [0x140096640]
mov eax, dword [rcx + rax*4]
and eax, 0x80000000
mov dword [rsp + 0xc], eax
mov ecx, dword [rsp]
inc ecx
xor edx, edx
mov eax, ecx
mov ecx, 0x270
div ecx
mov eax, edx
mov eax, eax
lea rcx, [0x140096640]
mov eax, dword [rcx + rax*4]
btr eax, 0x1f
mov ecx, dword [rsp + 0xc]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
shr eax, 1
mov dword [rsp + 4], eax
mov eax, dword [rsp + 8]
and eax, 1
test eax, eax
je 0x1400789f8
mov eax, dword [rsp + 4]
xor eax, 0x9908b0df
mov dword [rsp + 4], eax
mov eax, dword [rsp]
add eax, 0x18d
xor edx, edx
mov ecx, 0x270
div ecx
mov eax, edx
mov eax, eax
lea rcx, [0x140096640]
mov edx, dword [rsp + 4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp]
lea rdx, [0x140096640]
mov dword [rdx + rcx*4], eax
jmp 0x14007897d
xor eax, eax
mov word [0x140097000], ax
add rsp, 0x18
ret
Function at 0x44ebe0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x44ebed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x44ebfd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x44ebe5
lea eax, [rcx + 1]
jmp 0x44ec0b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x44ec1e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x44ec04
sub eax, 3
jb 0x44ec3e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x44ec8d
sar eax, 1
movsxd rbp, eax
jb 0x44ec74
jmp 0x44ec4c
add ebx, ebx
jne 0x44ec4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x44ec74
inc ecx
add ebx, ebx
jne 0x44ec5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x44ec74
call r11
adc ecx, ecx
add ebx, ebx
jne 0x44ec6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x44ec5c
add ecx, 2
jmp 0x44ec79
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0044eba2
jmp 0x44ebed
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x20200
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x44ecdd
cmp rsi, rcx
jae 0x44ece5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x44ecc4
cmp al, 0x8f
ja 0x44ecc4
cmp byte [rsi - 2], 0xf
je 0x44ecca
sub al, 0xe8
cmp al, 1
ja 0x44ecae
cmp rsi, rcx
jae 0x44ece5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x44ecb4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x44ece5
lodsb al, byte [rsi]
jmp 0x44ecc4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4c000]
mov eax, dword [rdi]
or eax, eax
je 0x44ed42
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4e228]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x44ecf2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x44ed3c
mov qword [rbx], rax
add rbx, 8
jmp 0x44ed12
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.0044edc5], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.0044edc5
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x44edb5
sub rsp, 0xffffffffffffff80
jmp 0x4014e0
Function at 0x140001a0f
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14009cf30
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14009bf80
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14009cf67
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x140129020]
jmp 0x14009cf6d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret

Function at 0x140002847
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400918d0
mov rax, rcx
neg rcx
test rax, 7
je 0x1400918ed
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140091948
test al, 7
jne 0x1400918e0
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 0x140091901
mov rdx, qword [rax - 8]
test dl, dl
je 0x140091972
test dh, dh
je 0x14009196c
shr rdx, 0x10
test dl, dl
je 0x140091966
test dh, dh
je 0x140091960
shr rdx, 0x10
test dl, dl
je 0x14009195a
test dh, dh
je 0x140091954
shr edx, 0x10
test dl, dl
je 0x14009194e
test dh, dh
jne 0x140091901
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 0x14000287e
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400a3c2c
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 0x1400a3cc9
mov rbp, rax
cmp word [rax], si
je 0x1400a3c75
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a3c5c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a3c58
sub rbp, rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
add rbp, 2
mov r9d, 0x40
sar rbp, 1
add rbp, rbp
mov rcx, rbp
lea edx, [r9 - 0x3e]
call fcn.140002aa9
mov rdi, rax
test rax, rax
je 0x1400a3cb4
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140002a22
mov rsi, rdi
mov edx, 2
xor ecx, ecx
call fcn.140001965
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 0x140002bcb
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14003a130
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140039ab0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14003a16f
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 [0x140129020]
jmp 0x14003a179
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x140002d47
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400a3ad0
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 0x1400a3bb8
mov rsi, rax
cmp word [rax], r14w
je 0x1400a3b23
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400a3b0b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400a3b07
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.1400037fb
movsxd rbp, eax
test eax, eax
je 0x1400a3bb8
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.140002aa9
mov rdi, rax
test rax, rax
je 0x1400a3ba6
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.1400037fb
test eax, eax
je 0x1400a3ba6
mov rsi, rdi
mov rdi, r14
jmp 0x1400a3ba9
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.140001965
jmp 0x1400a3bbb
mov rsi, r14
test rbx, rbx
je 0x1400a3bc9
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 0x140002d51
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14003a060
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140039a30
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14003a0a1
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 [0x140129020]
jmp 0x14003a0a7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140002dd3
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009d200
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.14009c180
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14009d253
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x140129020]
jmp 0x14009d275
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.140002577
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret
Function at 0x140002ddd
Capabilities:
Terminate process

Disassembly:
jmp 0x140018b30
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