joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007a820
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x48], rbx
cmp dword [0x180108694], ebx
jne 0x18007a8db
mov eax, dword [0x180108690]
test eax, eax
jne 0x18007a8db
mov edx, dword [0x18010869c]
test edx, edx
je 0x18007a87b
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x180108690]
mov edx, dword [0x18010869c]
test eax, eax
jne 0x18007a8db
test edx, edx
jne 0x18007a88c
call fcn.1800021b0
test eax, eax
je 0x18007a8a2
lea rdx, [rsp + 0x48]
mov rcx, qword [section..data]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x18007a8db
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x18007a8d1
cmp eax, 0x78
je 0x18007a8d1
cmp eax, 1
je 0x18007a8d1
cmp eax, 0x32
je 0x18007a8d1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [0x180108690], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov qword [rsp + 0x20], rax
cmp dword [0x180108694], 0
je 0x18007a8fe
cmp dword [0x180108690], 0
jne 0x18007a92c
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x18007a913
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x18007a92c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x15260f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x15260fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x152610d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x15260f5
lea eax, [rcx + 1]
jmp 0x152611b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x152612e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1526114
sub eax, 3
jb 0x152614e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x152619d
sar eax, 1
movsxd rbp, eax
jb 0x1526184
jmp 0x152615c
add ebx, ebx
jne 0x152615a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1526184
inc ecx
add ebx, ebx
jne 0x152616a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1526184
call r11
adc ecx, ecx
add ebx, ebx
jne 0x152617d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x152616c
add ecx, 2
jmp 0x1526189
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.015260b2
jmp 0x15260fd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x110e000]
mov eax, dword [rdi]
or eax, eax
je 0x15261f9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1126000]
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 0x15261a9
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 0x15261f3
mov qword [rbx], rax
add rbx, 8
jmp 0x15261c9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x152623d
cmp al, 0xef
ja 0x1526225
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1526205
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1526214
mov eax, dword [rdi]
add rdi, 4
jmp 0x1526214
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1526291
sub rsp, 0xffffffffffffff80
jmp 0x45d080
Function at 0x140001530
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400074d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov r9, qword [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x140001580
mov qword [rsp + 0x20], rax
mov r8d, 0x200
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x60]
nop
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400015c0
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x14000172b
mov qword [rsp + 0x50], 0xf
cmp rbx, 0xf
ja 0x14000160c
mov qword [rsp + 0x48], rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x38], sil
jmp 0x1400016a3
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140001641
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140004ea0
test rax, rax
je 0x14000166c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001680
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140001673
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001731
jmp 0x140001626
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001680
call fcn.140004ea0
mov rsi, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov r8d, 0x3b
lea rdx, str.PackagesMicrosoft.MinecraftUWP_8wekyb3d8bbweRoamingState
lea rcx, [rsp + 0x38]
call fcn.140003b90
lea rbx, [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
cmova rbx, rcx
jbe 0x140001703
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004edc
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140004e80
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140001260
int3
call fcn.1400011c0
int3
Function at 0x140005800
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14004396c
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 0x1400436cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400436cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400436cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400436cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400436cb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400436cb
cmp dword [rcx + 0xf8], 0
je 0x1400436cb
mov ecx, ebx
call fcn.140043834
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.1400433a0
nop
cmp dword [rbp + 0x20], 0
je 0x140043719
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140043754
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004365c

Function at 0x140001d16
Capabilities:
Delete file

Disassembly:
jmp 0x140055294
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400552b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140001f82
or eax, 0xffffffff
jmp 0x1400552b6
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002405
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400a5f3c
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140139798]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14013e258]
xor r11d, r11d
lea rdi, [0x1400b7bc4]
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 0x1400a5fac
mov rax, 0xfffffffffffffffe
jmp 0x1400a60f9
cmp word [r10 + 6], r11w
jne 0x1400a601b
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400a5fd6
test r14, r14
je 0x1400a5fc7
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400a60f9
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400a5fe4
mov r8b, 2
jmp 0x1400a6002
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400a5ff2
mov r8b, 3
jmp 0x1400a6002
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400a60ee
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 0x1400a6044
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400a60ee
cmp bl, bpl
jb 0x1400a60ee
cmp bl, r8b
jae 0x1400a60ee
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400a6071
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400a60ee
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 0x1400a6053
cmp r9, rbp
jae 0x1400a609d
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400a5fa0
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400a60ee
cmp edx, 0x110000
jae 0x1400a60ee
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 0x1400a60ee
test r14, r14
je 0x1400a60dc
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140004039
jmp 0x1400a60f9
mov rdx, rsi
mov rcx, r10
call fcn.140004737
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002955
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x14002ca24
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14002cab1
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14002cab1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002cab1
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 0x14002ca98
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14002ca92
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14002ca9a
add rdx, 0x28
jmp 0x14002ca77
xor edx, edx
test rdx, rdx
jne 0x14002caa3
xor al, al
jmp 0x14002cab7
cmp dword [rdx + 0x24], 0
jge 0x14002caad
xor al, al
jmp 0x14002cab7
mov al, 1
jmp 0x14002cab7
xor al, al
jmp 0x14002cab7
add rsp, 0x18
ret
Function at 0x140002784
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140053300
mov rax, rcx
neg rcx
test rax, 7
je 0x14005331d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140053378
test al, 7
jne 0x140053310
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 0x140053331
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400533a2
test dh, dh
je 0x14005339c
shr rdx, 0x10
test dl, dl
je 0x140053396
test dh, dh
je 0x140053390
shr rdx, 0x10
test dl, dl
je 0x14005338a
test dh, dh
je 0x140053384
shr edx, 0x10
test dl, dl
je 0x14005337e
test dh, dh
jne 0x140053331
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 0x1400027b6
Capabilities:
Query environment variable

Disassembly:
jmp 0x14008d7fc
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 0x14008d883
mov rsi, rbx
cmp word [rax], bp
je 0x14008d842
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14008d82c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14008d828
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140001037
mov rdi, rax
test rax, rax
je 0x14008d870
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140002964
mov rbp, rdi
xor ecx, ecx
call fcn.140001190
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 0x140002ab8
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140043070
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400b8b88]
mov ecx, 2
lea r8, [0x1400b8b80]
lea rdx, str.FlsGetValue
call fcn.140042b40
mov ecx, ebx
test rax, rax
je 0x1400430aa
add rsp, 0x20
pop rbx
jmp qword [0x140166020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140002c43
Capabilities:
Query environment variable

Disassembly:
jmp 0x14008d6a8
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 0x14008d6d8
xor eax, eax
jmp 0x14008d79b
mov rbp, rbx
cmp word [rax], si
je 0x14008d6fd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14008d6e4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14008d6e0
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.14000372e
movsxd r14, eax
test eax, eax
jne 0x14008d73b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14008d6d1
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x14008d754
xor ecx, ecx
call fcn.140001190
jmp 0x14008d730
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.14000372e
test eax, eax
jne 0x14008d785
mov rcx, rdi
call fcn.140001190
jmp 0x14008d78f
xor ecx, ecx
call fcn.140001190
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 0x140002c4d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140042fc0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400b8b48]
xor ecx, ecx
lea r8, [0x1400b8b40]
lea rdx, str.FlsAlloc
call fcn.140042b40
test rax, rax
je 0x140042ff9
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140166020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140002cd9
Capabilities:
Get geographical location

Disassembly:
jmp 0x14008661c
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, [0x1400ba7f8]
mov rbp, rcx
lea r8, [0x1400ba7f0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.140085b3c
test rax, rax
je 0x14008667c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140166030]
jmp 0x140086696
xor edx, edx
mov rcx, rbp
call fcn.1400024af
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 0x140002ce8
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140043900
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14004365c

Function at 0x14000332d
Capabilities:
Clear file content

Disassembly:
jmp 0x14009afd8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14000185c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14000185c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009b128
cmp rax, 0xffffffffffffffff
je 0x14009b128
xor edi, edi
test rbp, rbp
jle 0x14009b0d3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140003ecc
mov rbx, rax
test rax, rax
jne 0x14009b060
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009b0c9
mov edx, 0x8000
mov ecx, r14d
call fcn.140003512
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140003bac
cmp eax, 0xffffffff
je 0x14009b0a9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009b070
mov edx, r15d
mov ecx, r14d
call fcn.140003512
jmp 0x14009b0c9
cmp byte [rsi + 0x38], dil
je 0x14009b0c0
cmp dword [rsi + 0x34], 5
jne 0x14009b0c0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14009b0c9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001190
jmp 0x14009b13c
jns 0x14009b13c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14000185c
cmp rax, 0xffffffffffffffff
jne 0x14009b0f4
cmp byte [rsi + 0x30], dil
je 0x14009b13c
mov edi, dword [rsi + 0x2c]
jmp 0x14009b13c
mov ecx, r14d
call fcn.1400045a2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009b13c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14009b13c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009b135
mov eax, dword [rsi + 0x2c]
jmp 0x14009b13a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14000185c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400034e5
Capabilities:
Get common file path

Disassembly:
jmp 0x1400956bc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140139798]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.1400036cf
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x140095730
xor edi, edi
cmp word [rsp + 0x20], di
je 0x14009578b
cmp word [rsp + 0x22], 0x3a
jne 0x14009578b
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x14009578b
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.140003ecc
xor edi, edi
mov rbx, rax
test rax, rax
je 0x140095758
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x140095765
call fcn.14000231a
mov dword [rax], 0xc
jmp 0x140095783
cmp word [rbx], di
je 0x140095783
cmp word [rbx + 2], 0x3a
jne 0x140095783
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov rcx, rbx
call fcn.140001190
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140002955
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1400038b9
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400430c8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400b8ba8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400b8ba0]
call fcn.140042b40
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140043108
call qword [0x140166020]
jmp 0x14004310e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret