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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x7ff7a3988234
cmp r8d, 0xff
jne 0x7ff7a3988171
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x7ff7a398815b
lea r8, [0x7ff7a37f0000]
mov r9, qword [r8 + r10*8 + 0x21a7a0]
mov r8, rdx
lea rdx, [0x7ff7a3a0b228]
add rsp, 0x38
jmp fcn.7ff7a395d470
mov r8, rdx
mov r9d, r10d
lea rdx, [0x7ff7a3a0b238]
add rsp, 0x38
jmp fcn.7ff7a395d470
cmp r8d, 0xfb
jne 0x7ff7a3988183
lea r9, [0x7ff7a3a0b1b4]
jmp 0x7ff7a39881c1
cmp r8d, 0xfc
jne 0x7ff7a3988195
lea r9, [0x7ff7a3a0b1bc]
jmp 0x7ff7a39881c1
cmp r8d, 0xfd
jne 0x7ff7a39881a7
lea r9, [0x7ff7a3a0b1c4]
jmp 0x7ff7a39881c1
xor r9d, r9d
lea rax, [0x7ff7a3a0b1c8]
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x7ff7a398821d
cmp r10d, 0x27
jg 0x7ff7a39881f4
lea r8, [0x7ff7a37f0000]
mov r8, qword [r8 + r10*8 + 0x21adc0]
test r8, r8
jne 0x7ff7a3988204
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, [0x7ff7a3a0b260]
call fcn.7ff7a395d470
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x7ff7a39881db
lea r8, [0x7ff7a3a0b244]
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, [0x7ff7a3a0b250]
call fcn.7ff7a395d470
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, [0x7ff7a3a0b270]
call fcn.7ff7a395d470
add rsp, 0x38
ret

Function at 0x7ff7a3988930
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff7a398898f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff7a3a0b280]
mov rcx, rbp
mov r8d, eax
call fcn.7ff7a395d2f0
mov rcx, qword [rbx]
lea rdx, [0x7ff7a3a0b29c]
mov r9d, edi
mov r8d, esi
call fcn.7ff7a3988110
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x7ff7a3988b40
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x7ff7a3988ce8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x7ff7a3988ba5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x7ff7a3988ba5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x7ff7a3988ba5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.ws2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.ws2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x7ff7a3988bdc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x7ff7a3988c32
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff7a3988c32
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff7a3988c32
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff7a3988c32
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x7ff7a3988c32
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.7ff7a3988240
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.ws2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x7ff7a3988c94
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff7a3a0b280]
mov rcx, rbp
mov r8d, eax
call fcn.7ff7a395d2f0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.7ff7a39889c0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.ws2_32.dll_send]
test eax, eax
jns 0x7ff7a3988ce0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea rdx, [0x7ff7a3a0b280]
mov rcx, rbp
mov r8d, eax
call fcn.7ff7a395d2f0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x7ff7a398a7e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x7ff7a4317500]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x7ff7a398a875
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x7ff7a398a8d6
lea rdx, [0x7ff7a3a0bb10]
mov rcx, rdi
call fcn.7ff7a395d2f0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.7ff7a3937cf0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x7ff7a398a991
sub ecx, 1
je 0x7ff7a398aa04
sub ecx, 1
je 0x7ff7a398a940
cmp ecx, 1
je 0x7ff7a398a923
lea r8, [0x7ff7a3a0bb40]
mov rcx, rdi
lea rdx, [0x7ff7a3a0f00c]
call fcn.7ff7a395d2f0
jmp 0x7ff7a398aa04
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.7ff7a398a4c0
test eax, eax
je 0x7ff7a398aa04
jmp 0x7ff7a398a8aa
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x7ff7a398aa04
sub rax, rsi
cmp rax, rbp
jae 0x7ff7a398aa04
mov r8, rsi
lea rdx, [0x7ff7a3a0bb30]
mov rcx, rdi
call fcn.7ff7a395d470
jmp 0x7ff7a398aa04
cmp r8d, 4
jle 0x7ff7a398aa04
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x7ff7a398aa04
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.7ff7a395d210
mov esi, eax
test eax, eax
je 0x7ff7a398a9e3
mov edx, 5
mov rcx, rbx
call fcn.7ff7a398b4d0
mov eax, esi
jmp 0x7ff7a398a8aa
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.7ff7a396dfb0
mov rcx, r14
call fcn.7ff7a396e290
test eax, eax
je 0x7ff7a398a8a8
mov edx, 5
mov rcx, rbx
call fcn.7ff7a398b4d0
mov eax, 0x2a
jmp 0x7ff7a398a8aa
Function at 0x7ff7a39a0ab0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.ucrtbase.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x7ff7a39a0af2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x7ff7a39a0b39
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x7ff7a39a0b92
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x7ff7a39a0b50
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x7ff7a39a0bd3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x7ff7a3a0e3e2]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x7ff7a3a0e3e3]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x7ff7a39a0ba0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400112ad
Capabilities:
Terminate process

Disassembly:
jmp 0x140016da0
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 0x14001136b
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400129d0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x198]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x148], rax
lea rcx, [0x1400290c0]
call fcn.1400114b0
cmp dword [rbp + 0x170], 2
je 0x140012a38
lea rcx, str.usage:_rundotnet__.NET_assembly__n
call fcn.14001123f
xor eax, eax
jmp 0x140012b16
mov eax, 8
imul rax, rax, 1
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 0x178]
mov rcx, qword [rcx + rax]
call fcn.140012ca0
cmp dword [rbp + 0x3c], 0
jne 0x140012a6e
lea rcx, str.file_is_empty._n
call fcn.14001123f
xor eax, eax
jmp 0x140012b16
mov eax, 8
imul rax, rax, 1
lea rdx, [0x14001f684]
mov rcx, qword [rbp + 0x178]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
jne 0x140012abe
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x178]
mov rdx, qword [rcx + rax]
lea rcx, str.unable_to_open___s_._n
call fcn.14001123f
xor eax, eax
jmp 0x140012b16
movsxd rax, dword [rbp + 0x3c]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x140012b0a
movsxd rax, dword [rbp + 0x3c]
mov r9, qword [rbp + 0x78]
mov r8, rax
mov edx, 1
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fread]
movsxd rax, dword [rbp + 0x3c]
mov rdx, rax
mov rcx, qword [rbp + 8]
call fcn.14001131b
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ucrtbased.dll_fclose]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001f4e0]
call fcn.14001141f
mov rax, rdi
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x140011375
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019280
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400192a0
xor al, al
jmp 0x140019321
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400192b3
xor al, al
jmp 0x140019321
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 0x1400192dd
xor al, al
jmp 0x140019321
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400192f1
xor al, al
jmp 0x140019321
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019303
xor al, al
jmp 0x140019321
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001931f
xor al, al
jmp 0x140019321
mov al, 1
add rsp, 0x38
ret
Function at 0x1400013a7
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400267a0
xor r8d, r8d
xor edx, edx
jmp 0x140026490

Function at 0x1400021a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140078a30
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400a32a0]
xor r11d, r11d
lea rdi, [0x14008a764]
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 0x140078aa0
mov rax, 0xfffffffffffffffe
jmp 0x140078bed
cmp word [r10 + 6], r11w
jne 0x140078b0f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x140078aca
test r14, r14
je 0x140078abb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x140078bed
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140078ad8
mov r8b, 2
jmp 0x140078af6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140078ae6
mov r8b, 3
jmp 0x140078af6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140078be2
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 0x140078b38
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140078be2
cmp bl, bpl
jb 0x140078be2
cmp bl, r8b
jae 0x140078be2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140078b65
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140078be2
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 0x140078b47
cmp r9, rbp
jae 0x140078b91
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140078a94
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140078be2
cmp edx, 0x110000
jae 0x140078be2
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 0x140078be2
test r14, r14
je 0x140078bd0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140003a58
jmp 0x140078bed
mov rdx, rsi
mov rcx, r10
call fcn.1400040cf
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002617
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400021f3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000dbfc
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000dc89
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14000dc89
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000dc89
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 0x14000dc70
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000dc6a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000dc72
add rdx, 0x28
jmp 0x14000dc4f
xor edx, edx
test rdx, rdx
jne 0x14000dc7b
xor al, al
jmp 0x14000dc8f
cmp dword [rdx + 0x24], 0
jge 0x14000dc85
xor al, al
jmp 0x14000dc8f
mov al, 1
jmp 0x14000dc8f
xor al, al
jmp 0x14000dc8f
add rsp, 0x18
ret

Function at 0x140002757
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400214f0
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14008b728]
mov ecx, 2
lea r8, [0x14008b720]
lea rdx, str.FlsGetValue
call fcn.140020fc0
mov ecx, ebx
test rax, rax
je 0x14002152a
add rsp, 0x20
pop rbx
jmp qword [0x1400ad020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400028a1
Capabilities:
Query environment variable

Disassembly:
jmp 0x14005f830
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 0x14005f860
xor eax, eax
jmp 0x14005f923
mov rbp, rbx
cmp word [rax], si
je 0x14005f885
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14005f86c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14005f868
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.14000323d
movsxd r14, eax
test eax, eax
jne 0x14005f8c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14005f859
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x14005f8dc
xor ecx, ecx
call fcn.140001177
jmp 0x14005f8b8
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.14000323d
test eax, eax
jne 0x14005f90d
mov rcx, rdi
call fcn.140001177
jmp 0x14005f917
xor ecx, ecx
call fcn.140001177
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 0x1400028ab
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140021440
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x14008b6e8]
xor ecx, ecx
lea r8, [0x14008b6e0]
lea rdx, str.FlsAlloc
call fcn.140020fc0
test rax, rax
je 0x140021479
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400ad020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140002928
Capabilities:
Get geographical location

Disassembly:
jmp 0x140066fc4
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, [0x14008f038]
mov rbp, rcx
lea r8, [0x14008f030]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400664e4
test rax, rax
je 0x140067024
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400ad030]
jmp 0x14006703e
xor edx, edx
mov rcx, rbp
call fcn.140002248
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 0x140002937
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140026734
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140026490

Function at 0x140002c07
Capabilities:
Parse pe header

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

Function at 0x140002f36
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14007d830
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 0x14007d871
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x14007d865
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x14007d873
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x14007d853
xor eax, eax
ret

Function at 0x1400033a5
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140021548
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14008b748]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14008b740]
call fcn.140020fc0
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140021588
call qword [0x1400ad020]
jmp 0x14002158e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003bde
Capabilities:
Set environment variable

Disassembly:
jmp 0x14006d814
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.140002180
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006d89e
cmp byte [rbp - 0x21], r15b
je 0x14006d899
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006d8d4
call fcn.140003fb2
test eax, eax
jne 0x14006d8c0
cmp byte [rbp - 0x21], r15b
je 0x14006d8b8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006d8d4
cmp byte [rbp - 0x21], r15b
je 0x14006d8d1
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.140004188
test eax, eax
jne 0x14006d974
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002180
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006d913
cmp byte [rbp - 0x21], r15b
je 0x14006d948
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14006d948
call fcn.140003fb2
test eax, eax
jne 0x14006d934
cmp byte [rbp - 0x21], r15b
je 0x14006d92d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14006d948
cmp byte [rbp - 0x21], r15b
je 0x14006d945
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.140004188
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14006d974
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14006d977
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14006d985
mov rcx, rdi
call fcn.140001177
cmp byte [rbp + 0x3f], r15b
je 0x14006d994
mov rcx, qword [rbp + 0x27]
call fcn.140001177
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