joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Execute command

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001070
mov rcx, rax
lea rdx, [0x140001220]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400012e0
add rsp, 0x38
ret

Function at 0x140001ba8
Capabilities:
Parse pe header

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

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

Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012e00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012e20
xor al, al
jmp 0x140012ea1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012e33
xor al, al
jmp 0x140012ea1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012e5d
xor al, al
jmp 0x140012ea1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012e71
xor al, al
jmp 0x140012ea1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012e83
xor al, al
jmp 0x140012ea1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012e9f
xor al, al
jmp 0x140012ea1
mov al, 1
add rsp, 0x38
ret

Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0xff
add al, 0x1c
xor al, 0x72
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
loope 0x1400010da
mov al, 0xbf
cmp dword [rbp + 0x7a], 0xe0a7f7f9
hlt
invalid
Function at 0x1400a0ae0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a0aed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a0afd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a0ae5
lea eax, [rcx + 1]
jmp 0x1400a0b0b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a0b1e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a0b04
sub eax, 3
jb 0x1400a0b3e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a0b8d
sar eax, 1
movsxd rbp, eax
jb 0x1400a0b74
jmp 0x1400a0b4c
add ebx, ebx
jne 0x1400a0b4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a0b74
inc ecx
add ebx, ebx
jne 0x1400a0b5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a0b74
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a0b6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a0b5c
add ecx, 2
jmp 0x1400a0b79
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a0aa2
jmp 0x1400a0aed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b400
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a0bd9
cmp rsi, rcx
jae 0x1400a0be1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a0bc0
cmp al, 0x8f
ja 0x1400a0bc0
cmp byte [rsi - 2], 0xf
je 0x1400a0bc6
sub al, 0xe8
cmp al, 1
ja 0x1400a0baa
cmp rsi, rcx
jae 0x1400a0be1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a0bb0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a0be1
lodsb al, byte [rsi]
jmp 0x1400a0bc0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9e000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a0c4a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x116970]
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 0x1400a0bee
jns 0x1400a0c23
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1400a0c2d
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 0x1400a0c44
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a0c0e
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 + 0x18f]
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 0x1400a0ca2
sub rsp, 0xffffffffffffff80
jmp 0x14001bce0
Function at 0x1414eb058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414eb1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1414eb089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414eb06f
add dl, dl
jne 0x1414eb096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414eb0f6
xor eax, eax
add dl, dl
jne 0x1414eb0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414eb1ad
add dl, dl
jne 0x1414eb0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414eb0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414eb0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414eb0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414eb0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414eb07e
mov eax, 1
add dl, dl
jne 0x1414eb106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414eb113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414eb0fb
sub eax, ebx
mov ebx, 1
jne 0x1414eb14c
mov ecx, 1
add dl, dl
jne 0x1414eb12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414eb13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414eb123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414eb07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414eb168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414eb175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414eb15d
cmp eax, 0x7d00
jae 0x1414eb19b
cmp eax, 0x500
jb 0x1414eb196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414eb07e
cmp eax, 0x7f
ja 0x1414eb19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414eb07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414eb1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1414eb07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14003e3c0
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005efe8
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 0x14005ed47
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005ed47
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005ed47
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005ed47
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005ed47
cmp dword [rcx + 0x84], 0xe
jbe 0x14005ed47
cmp dword [rcx + 0xf8], 0
je 0x14005ed47
mov ecx, ebx
call fcn.14005eeb0
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.14005ea1c
nop
cmp dword [rbp + 0x20], 0
je 0x14005ed95
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14005edd0
int3
xor r8d, r8d
xor edx, edx
jmp 0x14005ecd8

Function at 0x14003ef73
Capabilities:
Terminate process

Disassembly:
jmp 0x140045cd0
push rbp
push rsi
push rdi
sub rsp, 0x1e0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1400de2c0]
xor rax, rbp
mov qword [rbp + 0x1b0], rax
lea rcx, [0x1400ec0a7]
call fcn.140040f62
nop
xor ecx, ecx
call fcn.140048d30
mov ecx, eax
call fcn.140040297
nop
call fcn.14003fd06
cdq
and edx, 3
add eax, edx
and eax, 3
sub eax, edx
add eax, 7
mov dword [rbp + 4], eax
lea rax, [rbp + 0x30]
lea rcx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
mov rdi, rax
mov rsi, rcx
mov ecx, 0x6a
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rbp + 4]
lea eax, [rax + rax + 0xc]
cdqe
mov edx, 1
mov rcx, rax
call fcn.14003fb0d
mov qword [0x1400df4a8], rax
cmp qword [0x1400df4a8], 0
je 0x140045df0
mov dword [rbp + 0xb4], 0
jmp 0x140045d8d
mov eax, dword [rbp + 0xb4]
inc eax
mov dword [rbp + 0xb4], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0xb4], eax
jge 0x140045dee
call fcn.14003fd06
mov dword [rbp + 0x1a4], eax
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
mov dword [rbp + 0x1a8], eax
mov ecx, dword [rbp + 0x1a4]
mov eax, ecx
cdq
mov ecx, dword [rbp + 0x1a8]
idiv ecx
mov eax, edx
mov dword [rbp + 0xd4], eax
movsxd rax, dword [rbp + 0xd4]
movsxd rcx, dword [rbp + 0xb4]
mov rdx, qword [0x1400df4a8]
movzx eax, word [rbp + rax*2 + 0x30]
mov word [rdx + rcx*2], ax
jmp 0x140045d7f
jmp 0x140045e06
lea rcx, str.Random_Error__n
call fcn.14003f68a
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rbp - 0x20]
lea rdx, [0x1400c6b30]
call fcn.1400406f7
mov rcx, qword [rbp + 0x1b0]
xor rcx, rbp
call fcn.14003f70c
lea rsp, [rbp + 0x1c0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003f248
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400b7c68
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400de2c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400e27b8]
xor r11d, r11d
lea rdi, [0x1400c91c4]
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 0x1400b7cd8
mov rax, 0xfffffffffffffffe
jmp 0x1400b7e25
cmp word [r10 + 6], r11w
jne 0x1400b7d47
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400b7d02
test r14, r14
je 0x1400b7cf3
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400b7e25
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400b7d10
mov r8b, 2
jmp 0x1400b7d2e
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400b7d1e
mov r8b, 3
jmp 0x1400b7d2e
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400b7e1a
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 0x1400b7d70
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400b7e1a
cmp bl, bpl
jb 0x1400b7e1a
cmp bl, r8b
jae 0x1400b7e1a
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400b7d9d
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400b7e1a
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 0x1400b7d7f
cmp r9, rbp
jae 0x1400b7dc9
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400b7ccc
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400b7e1a
cmp edx, 0x110000
jae 0x1400b7e1a
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 0x1400b7e1a
test r14, r14
je 0x1400b7e08
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140040bf7
jmp 0x1400b7e25
mov rdx, rsi
mov rcx, r10
call fcn.14004128c
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003f70c
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x14004a7d8
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14004a865
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14004a865
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004a865
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 0x14004a84c
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14004a846
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14004a84e
add rdx, 0x28
jmp 0x14004a82b
xor edx, edx
test rdx, rdx
jne 0x14004a857
xor al, al
jmp 0x14004a86b
cmp dword [rdx + 0x24], 0
jge 0x14004a861
xor al, al
jmp 0x14004a86b
mov al, 1
jmp 0x14004a86b
xor al, al
jmp 0x14004a86b
add rsp, 0x18
ret
Function at 0x14003f554
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14005e910
mov rax, rcx
neg rcx
test rax, 7
je 0x14005e92d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14005e988
test al, 7
jne 0x14005e920
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 0x14005e941
mov rdx, qword [rax - 8]
test dl, dl
je 0x14005e9b2
test dh, dh
je 0x14005e9ac
shr rdx, 0x10
test dl, dl
je 0x14005e9a6
test dh, dh
je 0x14005e9a0
shr rdx, 0x10
test dl, dl
je 0x14005e99a
test dh, dh
je 0x14005e994
shr edx, 0x10
test dl, dl
je 0x14005e98e
test dh, dh
jne 0x14005e941
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 0x14003f860
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140058964
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400ca188]
mov ecx, 2
lea r8, [0x1400ca180]
lea rdx, str.FlsGetValue
call fcn.140058434
mov ecx, ebx
test rax, rax
je 0x14005899e
add rsp, 0x20
pop rbx
jmp qword [0x1400ed020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14003f9a5
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400a3444
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 0x1400a3474
xor eax, eax
jmp 0x1400a3537
mov rbp, rbx
cmp word [rax], si
je 0x1400a3499
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a3480
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a347c
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.14004036e
movsxd r14, eax
test eax, eax
jne 0x1400a34d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a346d
mov rcx, r14
call fcn.14003e037
mov rdi, rax
test rax, rax
jne 0x1400a34f0
xor ecx, ecx
call fcn.14003e177
jmp 0x1400a34cc
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.14004036e
test eax, eax
jne 0x1400a3521
mov rcx, rdi
call fcn.14003e177
jmp 0x1400a352b
xor ecx, ecx
call fcn.14003e177
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 0x14003f9b4
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400588b4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400ca148]
xor ecx, ecx
lea r8, [0x1400ca140]
lea rdx, str.FlsAlloc
call fcn.140058434
test rax, rax
je 0x1400588ed
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400ed020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14003fa2c
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400998fc
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, [0x1400cc968]
mov rbp, rcx
lea r8, [0x1400cc960]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.140098e1c
test rax, rax
je 0x14009995c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400ed030]
jmp 0x140099976
xor edx, edx
mov rcx, rbp
call fcn.14003f2e8
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 0x14003fa40
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14005ef7c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14005ecd8

Function at 0x140040049
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400589bc
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400ca1a8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400ca1a0]
call fcn.140058434
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400589fc
call qword [0x1400ed020]
jmp 0x140058a02
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140040d8c
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400b3044
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.14003f21b
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400b30ce
cmp byte [rbp - 0x21], r15b
je 0x1400b30c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400b3104
call fcn.14004116a
test eax, eax
jne 0x1400b30f0
cmp byte [rbp - 0x21], r15b
je 0x1400b30e8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400b3104
cmp byte [rbp - 0x21], r15b
je 0x1400b3101
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.140041354
test eax, eax
jne 0x1400b31a4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14003f21b
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400b3143
cmp byte [rbp - 0x21], r15b
je 0x1400b3178
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b3178
call fcn.14004116a
test eax, eax
jne 0x1400b3164
cmp byte [rbp - 0x21], r15b
je 0x1400b315d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400b3178
cmp byte [rbp - 0x21], r15b
je 0x1400b3175
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.140041354
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400b31a4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400b31a7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400b31b5
mov rcx, rdi
call fcn.14003e177
cmp byte [rbp + 0x3f], r15b
je 0x1400b31c4
mov rcx, qword [rbp + 0x27]
call fcn.14003e177
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 0x140040e86
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005ef6c
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14005ecd8