joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c23bc
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 0x1800c23ec
xor eax, eax
jmp 0x1800c24af
mov rbp, rbx
cmp word [rax], si
je 0x1800c2411
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800c23f8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800c23f4
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.1800bf3b4
movsxd r14, eax
test eax, eax
jne 0x1800c244f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800c23e5
mov rcx, r14
call fcn.1800ba618
mov rdi, rax
test rax, rax
jne 0x1800c2468
xor ecx, ecx
call fcn.1800ba5dc
jmp 0x1800c2444
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.1800bf3b4
test eax, eax
jne 0x1800c2499
mov rcx, rdi
call fcn.1800ba5dc
jmp 0x1800c24a3
xor ecx, ecx
call fcn.1800ba5dc
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 0x1800c24cc
Capabilities:
Query environment variable

Disassembly:
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 ebp, ebp
mov rbx, rax
test rax, rax
je 0x1800c2553
mov rsi, rbx
cmp word [rax], bp
je 0x1800c2512
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1800c24fc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1800c24f8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800ba618
mov rdi, rax
test rax, rax
je 0x1800c2540
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1800c87c0
mov rbp, rdi
xor ecx, ecx
call fcn.1800ba5dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800c2bc4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800c2be4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800a8724
or eax, 0xffffffff
jmp 0x1800c2be6
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800c5434
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800f6b40]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1800c547e
call fcn.1800a8790
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1800a87b0
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1800ae370
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009db10
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1800c5489
lea eax, [rbx + 1]
jmp 0x1800c546b
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1800c5469
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1800c546b

Function at 0x1800c83f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800c8418
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800c8418
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400012f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x20], rdx
mov rbp, 0xffffffffffffffff
mov rbx, rbp
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140001330
mov qword [rsp + 0x28], rbx
xor edi, edi
test rbx, rbx
je 0x140001391
mov r8, rbx
lea edx, [rdi + 0x2e]
mov rcx, rsi
call fcn.140032200
test rax, rax
je 0x140001391
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x140001391
mov rcx, rax
cmp rbx, rax
cmovb rcx, rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rcx
inc rax
cmp rbx, rax
jb 0x1400014d2
sub rbx, rax
cmp rbx, 0xffffffffffffffff
cmovb rbp, rbx
add rsi, rax
jmp 0x14000139a
mov rsi, rdi
mov rbp, rdi
mov rcx, rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov r9, rdi
mov r10d, 0x6f258f7b
mov ebx, r10d
test rcx, rcx
je 0x14000142e
mov r11, rdi
movq r14, xmm0
mov r15, qword [rsp + 0x28]
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r14 + r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rdx, cl
lea rax, [rbx + r9]
imul rcx, rax, 0x31848713
lea r8, [r9 - 0x31848712]
imul r8, rdx
sub r8, rcx
sub r8, r11
add r8, 0x381487
lea rax, [rdx + r9]
imul rcx, rax, 0x8912812
xor r8, rcx
add rbx, r8
inc r9
add r11, 0x23813
cmp r9, r15
jb 0x1400013d0
test rbp, rbp
je 0x14000149e
mov r11, rdi
nop word [rax + rax]
movzx r8d, byte [rsi + rdi]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx rdx, cl
lea rax, [rdi + r10]
imul rcx, rax, 0x31848713
lea r9, [rdi - 0x31848712]
imul r9, rdx
sub r9, rcx
sub r9, r11
add r9, 0x381487
lea rax, [rdx + rdi]
imul rcx, rax, 0x8912812
xor r9, rcx
add r10, r9
inc rdi
add r11, 0x23813
cmp rdi, rbp
jb 0x140001440
mov r8, rbx
mov rdx, r10
mov rcx, r12
call fcn.140001060
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400208a0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140020170
nop
int3

Function at 0x1400014e0
Capabilities:
Access peb ldr_data
Check os version
Encode data using base64
Encode data using xor
Get number of processors
Hash data using fnv
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x340], rax
lea rcx, [0x14003a9c8]
jmp 0x140043036
Function at 0x14001a8d0
Capabilities:
Access peb ldr_data
Encode data using base64
Encode data using xor
Encrypt data using speck
Execute anti-debugging instructions
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 8], ecx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.140031520
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
lea rcx, [0x14003a9f4]
jmp 0x140048570

Function at 0x140020190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
mov rsi, qword [rdx + 8]
xor eax, eax
mov rbx, rcx
test rsi, rsi
je 0x14002023c
mov qword [rsp + 0x10], rbp
mov rbp, qword [rdx]
mov qword [rsp + 0x18], rdi
mov edi, eax
nop word [rax + rax]
movzx r9d, byte [rax + rbp]
lea r10, [rax - 0x31848712]
mov r11, qword [rbx]
lea r8d, [r9 - 0x41]
lea ecx, [r9 + 0x20]
cmp r8b, 0x19
movzx edx, cl
lea rcx, [r11 + rax]
cmova edx, r9d
movsx r8, dl
imul rdx, rcx, 0x31848713
lea rcx, [r8 + rax]
mov r9, r8
imul r9, r10
inc rax
sub r9, rdx
sub r9, rdi
add rdi, 0x23813
add r9, 0x381487
imul rdx, rcx, 0x8912812
xor r9, rdx
add r9, r11
mov qword [rbx], r9
cmp rax, rsi
jb 0x1400201c0
mov rdi, qword [rsp + 0x18]
mov rax, r9
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
pop rsi
ret
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x20]
pop rsi
ret

Function at 0x1400213a0
Capabilities:
Parse pe header

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

Function at 0x140027d7c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140027b78
Function at 0x14002ae3c
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 0x14002ae6c
xor eax, eax
jmp 0x14002af2f
mov rbp, rbx
cmp word [rax], si
je 0x14002ae91
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002ae78
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002ae74
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.14002ad5c
movsxd r14, eax
test eax, eax
jne 0x14002aecf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002ae65
mov rcx, r14
call fcn.14002bd18
mov rdi, rax
test rax, rax
jne 0x14002aee8
xor ecx, ecx
call fcn.1400293bc
jmp 0x14002aec4
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.14002ad5c
test eax, eax
jne 0x14002af19
mov rcx, rdi
call fcn.1400293bc
jmp 0x14002af23
xor ecx, ecx
call fcn.1400293bc
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 0x14002e420
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.140029e2c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002e4aa
cmp byte [rbp - 0x21], r15b
je 0x14002e4a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002e4e0
call fcn.14002c528
test eax, eax
jne 0x14002e4cc
cmp byte [rbp - 0x21], r15b
je 0x14002e4c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002e4e0
cmp byte [rbp - 0x21], r15b
je 0x14002e4dd
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.14002940c
test eax, eax
jne 0x14002e580
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140029e2c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002e51f
cmp byte [rbp - 0x21], r15b
je 0x14002e554
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002e554
call fcn.14002c528
test eax, eax
jne 0x14002e540
cmp byte [rbp - 0x21], r15b
je 0x14002e539
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002e554
cmp byte [rbp - 0x21], r15b
je 0x14002e551
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.14002940c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002e580
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002e583
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002e591
mov rcx, rdi
call fcn.1400293bc
cmp byte [rbp + 0x3f], r15b
je 0x14002e5a0
mov rcx, qword [rbp + 0x27]
call fcn.1400293bc
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 0x140031450
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140031478
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140031478
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18000164a
Capabilities:
Print debug messages

Disassembly:
jmp 0x18004728c
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 0x1800472d7
test rbx, rbx
je 0x1800472c6
mov rcx, rbx
call fcn.1800014e2
call fcn.180001794
cmp eax, 1
je 0x1800472d7
mov eax, 4
jmp 0x18004731a
call fcn.180003751
cmp eax, 2
jne 0x180047313
call fcn.1800017f3
test al, al
je 0x180047313
call fcn.1800029eb
test al, al
jne 0x180047309
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.180003779
jmp 0x18004731a
call fcn.18000364d
mov rcx, rax
jmp 0x1800472f9
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 0x180001820
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x18004deac
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180072798]
mov ecx, 3
lea r8, [0x180072790]
lea rdx, str.FlsAlloc
call fcn.18004d558
test rax, rax
je 0x18004dee8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x18008f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

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

Disassembly:
jmp 0x180008294
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180008321
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180008321
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180008321
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 0x180008308
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180008302
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000830a
add rdx, 0x28
jmp 0x1800082e7
xor edx, edx
test rdx, rdx
jne 0x180008313
xor al, al
jmp 0x180008327
cmp dword [rdx + 0x24], 0
jge 0x18000831d
xor al, al
jmp 0x180008327
mov al, 1
jmp 0x180008327
xor al, al
jmp 0x180008327
add rsp, 0x18
ret

Function at 0x180002419
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180066244
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 0x180066272
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x1800662cb
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 0x1800662cb
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x1800662bd
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x18000262b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800170d8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180070a50]
mov ecx, 2
lea r8, [0x180070a48]
lea rdx, [0x180070a58]
call fcn.180016ba8
mov ecx, ebx
test rax, rax
je 0x180017112
add rsp, 0x20
pop rbx
jmp qword [0x18008f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x18000274d
Capabilities:
Query environment variable

Disassembly:
jmp 0x18004bbb8
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 0x18004bc8c
mov rsi, rax
cmp word [rax], r14w
je 0x18004bc0b
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x18004bbf3
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x18004bbef
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 qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x18004bc8c
mov rcx, rbp
call fcn.18000101e
mov rdi, rax
test rax, rax
je 0x18004bc7f
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 qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x18004bc7f
mov rsi, rdi
mov rdi, r14
jmp 0x18004bc82
mov rsi, r14
mov rcx, rdi
call fcn.180001140
jmp 0x18004bc8f
mov rsi, r14
test rbx, rbx
je 0x18004bc9d
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 0x180002752
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180017028
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180070a10]
xor ecx, ecx
lea r8, [0x180070a08]
lea rdx, [0x180070a18]
call fcn.180016ba8
test rax, rax
je 0x180017061
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x18008f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1800027c0
Capabilities:
Get geographical location

Disassembly:
jmp 0x18004e14c
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, [0x1800728c0]
mov rbp, rcx
lea r8, [0x1800728b8]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.18004d558
mov rcx, rbp
test rax, rax
je 0x18004e1a2
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x18008f020]
jmp 0x18004e1b9
xor edx, edx
call fcn.18000213a
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 0x1800027ca
Capabilities:
Terminate process

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

Disassembly:
jmp 0x18001e700
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18001e454

Function at 0x180002a90
Capabilities:
Parse pe header

Disassembly:
jmp 0x180066d00
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180066d2a
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x180066d2a
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x180066d2a
mov eax, 1
ret
xor eax, eax
ret

Function at 0x180002f9f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180066c40
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 0x180066c81
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x180066c75
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x180066c83
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x180066c63
xor eax, eax
ret

Function at 0x180003148
Capabilities:
Terminate process

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

Disassembly:
jmp 0x18004df60
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1800727d8]
mov ecx, 5
lea r8, [0x1800727d0]
lea rdx, str.FlsGetValue
call fcn.18004d558
mov ecx, ebx
test rax, rax
je 0x18004df9a
add rsp, 0x20
pop rbx
jmp qword [0x18008f020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x18000358f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x18004dfb8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1800727f8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1800727f0]
call fcn.18004d558
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x18004dff8
call qword [0x18008f020]
jmp 0x18004dffe
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800036bb
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x180066304
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x18006637c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x18006637c
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r11d, word [r8 + 6]
add rcx, rax
mov r10d, dword [r10 + rsi + 0xc]
test r11d, r11d
je 0x18006637c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180066370
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x18006638e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x18006635e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x18006637e

Function at 0x180003850
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x180017130
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180070a70]
mov edi, ecx
lea rdx, [0x180070a78]
mov ecx, 3
lea r8, [0x180070a68]
call fcn.180016ba8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180017170
call qword [0x18008f020]
jmp 0x180017176
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800039a4
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001e6f0
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x18001e4bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001e4bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001e4bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001e4bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001e4bb
cmp dword [rcx + 0x84], 0xe
jbe 0x18001e4bb
cmp dword [rcx + 0xf8], 0
je 0x18001e4bb
mov ecx, ebx
call fcn.18001e64c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.18001e19c
cmp dword [rbp + 0x20], 0
je 0x18001e508
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001e540
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001e454