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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r12, r8
mov r13, rcx
lea rbp, [rcx + 0x188]
mov rdi, qword [rbp + 8]
mov rax, qword [rdi + 8]
cmp byte [rax + 0x29], 0
jne 0x1401836e7
nop
cmp dword [rax + 0x18], edx
jge 0x1401836db
mov rax, qword [rax + 0x10]
jmp 0x1401836e1
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x29], 0
je 0x1401836d0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbp
xor esi, esi
cmp rdi, qword [rbp + 8]
je 0x1401836fe
cmp edx, dword [rdi + 0x18]
jge 0x14018376b
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x40], edx
or edx, 0xffffffff
xor ecx, ecx
call fcn.14007b6e0
mov rbx, rax
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x50], xmm0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.1400818f0
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
mov rcx, rbx
call fcn.14011e0c0
nop
xor ecx, ecx
call fcn.14011e0c0
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
test rbp, rbp
jne 0x140183775
call fcn.14011ef50
cmp rdi, qword [rbp + 8]
jne 0x140183780
call fcn.14011ef50
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x1401837ad
test r12, r12
je 0x1401837b9
mov rdx, r12
sub rdx, rax
movzx ecx, byte [rax]
cmp cl, byte [rax + rdx]
jne 0x1401837a6
add rax, 1
test cl, cl
jne 0x140183794
jmp 0x1401837b5
sbb esi, esi
sbb esi, 0xffffffff
jmp 0x1401837b5
mov rax, r12
neg rax
sbb esi, esi
test esi, esi
je 0x1401837d4
or edx, 0xffffffff
mov rcx, r12
call fcn.14007b6e0
mov rbx, rax
mov rcx, qword [rdi + 0x20]
call fcn.14011e0c0
mov qword [rdi + 0x20], rbx
mov rcx, r13
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
jmp fcn.140183470
mov rax, rcx
mov r8, rdx
add rcx, 0xffffffffffffffb0
mov edx, dword [rax + 0x158]
jmp 0x140183690
Function at 0x140183b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rdi, rcx
lea rax, [0x1401ca568]
mov qword [rcx], rax
lea rax, [0x1401ca518]
mov qword [rcx + 0x50], rax
lea rbx, [rcx + 0x188]
mov rax, qword [rbx + 8]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rax, qword [rax]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [r11 - 0x38]
lea r8, [r11 - 0x48]
lea rdx, [r11 - 0x28]
mov rcx, rbx
call fcn.140164430
mov rcx, qword [rbx + 8]
call fcn.14011e950
xor esi, esi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
lea rbx, [rdi + 0xd8]
mov qword [rsp + 0x88], rbx
mov rcx, qword [rbx + 0x60]
call fcn.14011e0c0
lea rcx, [rbx + 0x28]
call fcn.140094640
nop
lea rcx, [rbx + 0x10]
call fcn.140009210
nop
lea rax, [0x140190b70]
mov qword [rbx + 8], rax
lea rax, [0x140190b58]
mov qword [rbx], rax
lea rcx, [rdi + 0x80]
call fcn.140044600
nop
lea rax, [0x1401ca428]
mov qword [rdi + 0x50], rax
mov rax, qword [rdi + 0x60]
mov rcx, qword [rax]
mov qword [rax], rax
mov rax, qword [rdi + 0x60]
mov qword [rax + 8], rax
mov qword [rdi + 0x68], rsi
cmp rcx, qword [rdi + 0x60]
je 0x140183c26
mov rbx, qword [rcx]
call fcn.14011e950
mov rcx, rbx
cmp rbx, qword [rdi + 0x60]
jne 0x140183c15
mov rcx, qword [rdi + 0x60]
call fcn.14011e950
mov qword [rdi + 0x60], rsi
mov rcx, rdi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.140092240
Function at 0x140185b30
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140185b57
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140185b57
mov ecx, eax
call fcn.140120610
or eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800010b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x180026410]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x18000111a
mov rax, qword [rsp + 0x50]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x18000110f
mov r8, qword [rsp + 0x50]
lea rdx, [0x18001fde4]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov ecx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x180001260
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x148
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str._version.dll
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180026410], rax
cmp qword [0x180026410], 0
jne 0x1800012a7
jmp 0x1800012ac
call fcn.180001130
cmp qword [0x180026410], 0
je 0x1800012c0
mov dword [rsp + 0x20], 1
jmp 0x1800012c8
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
add rsp, 0x148
ret
Function at 0x1800061d0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x180006231
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x180006231
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x180006259
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x180026510]
mov qword [rsp + 0x20], rax
jmp 0x180006284
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800062be
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x1800062a4
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x1800062a6
jmp 0x180006277
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x1800062bc
mov rax, qword [rsp + 0x20]
jmp 0x180006430
jmp 0x180006277
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x180006327
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.180005ff0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800062fa
jmp 0x180006327
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180006325
jmp 0x180006327
jmp 0x1800062cb
cmp qword [rsp + 0x20], 0
jne 0x180006398
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x180006398
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1800060c0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x18000636b
jmp 0x180006398
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180006396
jmp 0x180006398
jmp 0x18000633c
cmp qword [rsp + 0x20], 0
je 0x18000642b
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x1800063cb
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x180026510]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x180026510], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1800080e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18000815b
mov dword [rsp + 0x20], 0
jmp 0x180008108
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180008144
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800080fe
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1800264f0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x180008f00
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180008f59
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180008f59
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180008f59
xor eax, eax
jmp 0x180008fa0
mov dword [rsp], 1
jmp 0x180008f6a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180008f9b
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180008f99
xor eax, eax
jmp 0x180008fa0
jmp 0x180008f62
mov eax, 1
add rsp, 0x18
ret
Function at 0x180012d2c
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 0x180012d5c
xor eax, eax
jmp 0x180012e1f
mov rbp, rbx
cmp word [rax], si
je 0x180012d81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180012d68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180012d64
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.180012c7c
movsxd r14, eax
test eax, eax
jne 0x180012dbf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180012d55
mov rcx, r14
call fcn.180010518
mov rdi, rax
test rax, rax
jne 0x180012dd8
xor ecx, ecx
call fcn.18000f7fc
jmp 0x180012db4
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.180012c7c
test eax, eax
jne 0x180012e09
mov rcx, rdi
call fcn.18000f7fc
jmp 0x180012e13
xor ecx, ecx
call fcn.18000f7fc
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 0x1800174a0
Capabilities:
Terminate process

Disassembly:
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 0x14003b3bb
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005b4e0
xor r8d, r8d
xor edx, edx
jmp 0x14005b1c4

Function at 0x14003c216
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400adfa0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400d1008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400d4180]
xor r11d, r11d
lea rdi, [0x1400bc4d4]
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 0x1400ae010
mov rax, 0xfffffffffffffffe
jmp 0x1400ae15d
cmp word [r10 + 6], r11w
jne 0x1400ae07f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400ae03a
test r14, r14
je 0x1400ae02b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400ae15d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400ae048
mov r8b, 2
jmp 0x1400ae066
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400ae056
mov r8b, 3
jmp 0x1400ae066
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400ae152
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 0x1400ae0a8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400ae152
cmp bl, bpl
jb 0x1400ae152
cmp bl, r8b
jae 0x1400ae152
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400ae0d5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400ae152
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 0x1400ae0b7
cmp r9, rbp
jae 0x1400ae101
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400ae004
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400ae152
cmp edx, 0x110000
jae 0x1400ae152
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 0x1400ae152
test r14, r14
je 0x1400ae140
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14003db20
jmp 0x1400ae15d
mov rdx, rsi
mov rcx, r10
call fcn.14003e18d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003c69e
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003c266
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140044270
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400442fd
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400442fd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400442fd
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 0x1400442e4
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400442de
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400442e6
add rdx, 0x28
jmp 0x1400442c3
xor edx, edx
test rdx, rdx
jne 0x1400442ef
xor al, al
jmp 0x140044303
cmp dword [rdx + 0x24], 0
jge 0x1400442f9
xor al, al
jmp 0x140044303
mov al, 1
jmp 0x140044303
xor al, al
jmp 0x140044303
add rsp, 0x18
ret

Function at 0x14003c7ed
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140052d18
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400bd498]
mov ecx, 2
lea r8, [0x1400bd490]
lea rdx, str.FlsGetValue
call fcn.1400527e8
mov ecx, ebx
test rax, rax
je 0x140052d52
add rsp, 0x20
pop rbx
jmp qword [0x1400df020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14003c937
Capabilities:
Query environment variable

Disassembly:
jmp 0x140093af8
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 0x140093b28
xor eax, eax
jmp 0x140093beb
mov rbp, rbx
cmp word [rax], si
je 0x140093b4d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140093b34
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140093b30
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.14003d2dd
movsxd r14, eax
test eax, eax
jne 0x140093b8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140093b21
mov rcx, r14
call fcn.14003b037
mov rdi, rax
test rax, rax
jne 0x140093ba4
xor ecx, ecx
call fcn.14003b177
jmp 0x140093b80
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.14003d2dd
test eax, eax
jne 0x140093bd5
mov rcx, rdi
call fcn.14003b177
jmp 0x140093bdf
xor ecx, ecx
call fcn.14003b177
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 0x14003c941
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140052c68
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400bd458]
xor ecx, ecx
lea r8, [0x1400bd450]
lea rdx, str.FlsAlloc
call fcn.1400527e8
test rax, rax
je 0x140052ca1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400df020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14003c9be
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009c4d4
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, [0x1400c0f28]
mov rbp, rcx
lea r8, [0x1400c0f20]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.14009b9f0
test rax, rax
je 0x14009c534
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400df030]
jmp 0x14009c54e
xor edx, edx
mov rcx, rbp
call fcn.14003c2b6
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 0x14003c9cd
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14005b478
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14005b1c4

Function at 0x14003cfd1
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140052d70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400bd4b8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400bd4b0]
call fcn.1400527e8
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140052db0
call qword [0x1400df020]
jmp 0x140052db6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14003dca6
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400a2e1c
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.14003c1e9
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a2ea6
cmp byte [rbp - 0x21], r15b
je 0x1400a2ea1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a2edc
call fcn.14003e070
test eax, eax
jne 0x1400a2ec8
cmp byte [rbp - 0x21], r15b
je 0x1400a2ec0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a2edc
cmp byte [rbp - 0x21], r15b
je 0x1400a2ed9
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.14003e24b
test eax, eax
jne 0x1400a2f7c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003c1e9
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a2f1b
cmp byte [rbp - 0x21], r15b
je 0x1400a2f50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a2f50
call fcn.14003e070
test eax, eax
jne 0x1400a2f3c
cmp byte [rbp - 0x21], r15b
je 0x1400a2f35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a2f50
cmp byte [rbp - 0x21], r15b
je 0x1400a2f4d
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.14003e24b
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a2f7c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a2f7f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a2f8d
mov rcx, rdi
call fcn.14003b177
cmp byte [rbp + 0x3f], r15b
je 0x1400a2f9c
mov rcx, qword [rbp + 0x27]
call fcn.14003b177
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