joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b630
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005b63d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005b64d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14005b635
lea eax, [rcx + 1]
jmp 0x14005b65b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005b66e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14005b654
sub eax, 3
jb 0x14005b68e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005b6dd
sar eax, 1
movsxd rbp, eax
jb 0x14005b6c4
jmp 0x14005b69c
add ebx, ebx
jne 0x14005b69a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005b6c4
inc ecx
add ebx, ebx
jne 0x14005b6aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14005b6c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005b6bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005b6ac
add ecx, 2
jmp 0x14005b6c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14005b5f2
jmp 0x14005b63d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2a400
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14005b729
cmp rsi, rcx
jae 0x14005b731
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14005b710
cmp al, 0x8f
ja 0x14005b710
cmp byte [rsi - 2], 0xf
je 0x14005b716
sub al, 0xe8
cmp al, 1
ja 0x14005b6fa
cmp rsi, rcx
jae 0x14005b731
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14005b700
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005b731
lodsb al, byte [rsi]
jmp 0x14005b710
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x59000]
mov eax, dword [rdi]
or eax, eax
je 0x14005b78e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x69fb0]
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 0x14005b73e
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 0x14005b788
mov qword [rbx], rax
add rbx, 8
jmp 0x14005b75e
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 0x14005b7c8
cmp al, 0xef
ja 0x14005b7ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005b79a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14005b7a9
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 + 0x227]
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 0x14005b81c
sub rsp, 0xffffffffffffff80
jmp 0x14000b4d0
Function at 0x1b5db50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1b5db5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1b5db6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1b5db55
lea eax, [rcx + 1]
jmp 0x1b5db7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1b5db8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1b5db74
sub eax, 3
jb 0x1b5dbae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1b5dbfd
sar eax, 1
movsxd rbp, eax
jb 0x1b5dbe4
jmp 0x1b5dbbc
add ebx, ebx
jne 0x1b5dbba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1b5dbe4
inc ecx
add ebx, ebx
jne 0x1b5dbca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1b5dbe4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1b5dbdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1b5dbcc
add ecx, 2
jmp 0x1b5dbe9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01b5db12
jmp 0x1b5db5d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x1749000]
mov eax, dword [rdi]
or eax, eax
je 0x1b5dc5d
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x176f9d8]
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 0x1b5dc0d
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 0x1b5dc57
mov qword [rbx], rax
add rbx, 8
jmp 0x1b5dc2d
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 0x1b5dca1
cmp al, 0xef
ja 0x1b5dc89
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1b5dc69
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1b5dc78
mov eax, dword [rdi]
add rdi, 4
jmp 0x1b5dc78
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
mov byte [fcn.01b5dd20], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.01b5dd20
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1b5dd10
sub rsp, 0xffffffffffffff80
jmp 0x4014b0
Function at 0x1400012b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
mov eax, 0x1050
call fcn.14000bc60
sub rsp, rax
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rsi, rdx
mov r13, rcx
add rcx, 0x70
lea rdx, [0x14002b834]
mov ebp, 0xffffffff
call fcn.140003fd0
mov r14, rax
test rax, rax
jne 0x140001311
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002b30
xor ebx, ebx
jmp 0x14000143a
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r13]
mov rcx, r14
call fcn.140010814
test eax, eax
jns 0x14000134d
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140002890
mov rcx, r14
call fcn.14001018c
xor ebx, ebx
jmp 0x14000143a
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x1048], r12
call fcn.140014f90
mov r12, rax
mov rbx, rax
test rax, rax
jne 0x140001390
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140002890
mov rcx, r14
call fcn.14001018c
jmp 0x140001432
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x1090], rdi
mov qword [rsp + 0x1040], r15
jne 0x140001463
mov r9, r12
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
jne 0x1400014d7
mov rcx, r14
add rsi, 0x12
call fcn.14001018c
mov rdx, rsi
lea rcx, [r13 + 0x3070]
call fcn.1400077c0
test eax, eax
js 0x140001422
mov qword [rsp + 0x28], rsi
lea r9, [r13 + 0x3070]
lea r8, [0x14002b904]
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call fcn.140001ef0
cmp eax, 0x1000
jge 0x140001422
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.140004170
mov ebp, eax
mov rdi, qword [rsp + 0x1090]
mov r15, qword [rsp + 0x1040]
mov r12, qword [rsp + 0x1048]
mov rcx, rbx
call fcn.140014f7c
mov eax, ebp
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14000bcc0
add rsp, 0x1050
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov edi, dword [rsi + 0xc]
mov r15, r12
test rdi, rdi
je 0x1400013c3
mov eax, 0x2000
nop word [rax + rax]
cmp rdi, rax
mov rbp, rdi
mov r9, r14
mov r8d, 1
cmova rbp, rax
mov rcx, r15
mov rdx, rbp
call fcn.1400104dc
cmp rax, 1
jb 0x1400014bb
add r15, rbp
mov eax, 0x2000
sub rdi, rbp
jne 0x140001480
mov ebp, 0xffffffff
jmp 0x1400013c3
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140002890
mov ebp, 0xffffffff
mov rcx, r12
call fcn.140014f7c
mov rcx, r14
call fcn.14001018c
xor ebx, ebx
jmp 0x140001422
Function at 0x1400075a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2040
call fcn.14000bc60
sub rsp, rax
mov rax, qword [0x14003e018]
xor rax, rsp
mov qword [rsp + 0x2030], rax
mov rbx, rdx
mov qword [rsp + 0x2078], rbp
lea rdx, [0x14002b834]
mov rbp, r8
call fcn.140003fd0
mov r9, rbx
mov qword [rsp + 0x28], rbp
lea r8, [0x14002b904]
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea rcx, [rsp + 0x30]
mov rdi, rax
call fcn.140001ef0
cmp eax, 0x1000
jl 0x140007616
xor esi, esi
mov ebx, esi
jmp 0x1400076cc
lea rcx, [rsp + 0x30]
call fcn.140003f60
xor esi, esi
cmp eax, 1
jne 0x1400076a4
mov eax, dword [0x14003e004]
cmp eax, 0xffffffff
jne 0x140007673
lea rcx, str.PYINSTALLER_STRICT_UNPACK_MODE
call fcn.140007b60
mov r8, rax
test rax, rax
je 0x14000768d
movzx edx, byte [rax]
sub edx, 0x30
jne 0x140007658
movzx edx, byte [rax + 1]
movzx ecx, sil
sub edx, ecx
mov eax, esi
test edx, edx
mov rcx, r8
setne al
mov dword [0x14003e004], eax
call fcn.140014f7c
mov eax, dword [0x14003e004]
test eax, eax
je 0x140007693
lea rdx, [rsp + 0x30]
lea rcx, str.ERROR:_file_already_exists_but_should_not:__s_n
call fcn.140002c50
mov rbx, rsi
jmp 0x1400076cc
mov dword [0x14003e004], esi
lea rdx, [rsp + 0x30]
lea rcx, str.WARNING:_file_already_exists_but_should_not:__s_n
call fcn.140002c50
mov rdx, rbp
mov rcx, rbx
call fcn.1400077c0
test eax, eax
jns 0x1400076b8
mov rbx, rsi
jmp 0x1400076cc
lea rdx, [0x14002dc5c]
lea rcx, [rsp + 0x30]
call fcn.140003fd0
mov rbx, rax
mov rbp, qword [rsp + 0x2078]
test rdi, rdi
je 0x140007789
mov rcx, rdi
test rbx, rbx
je 0x140007791
call fcn.140010224
test eax, eax
jne 0x140007775
nop word [rax + rax]
mov r9, rdi
lea rcx, [rsp + 0x1030]
mov edx, 1
mov r8d, 0x1000
call fcn.1400104dc
test rax, rax
jne 0x140007731
mov rcx, rdi
call fcn.140010250
test eax, eax
je 0x14000775a
mov rcx, rdi
jmp 0x14000776b
mov r9, rbx
lea rcx, [rsp + 0x1030]
mov r8, rax
mov edx, 1
call fcn.140010c1c
test rax, rax
je 0x140007768
mov rcx, rbx
call fcn.140010250
test eax, eax
jne 0x140007768
mov rcx, rdi
call fcn.140010224
test eax, eax
je 0x140007700
jmp 0x140007775
mov rcx, rbx
call fcn.140018ac0
mov esi, 0xffffffff
mov rcx, rdi
call fcn.14001018c
mov rcx, rbx
call fcn.14001018c
mov eax, esi
jmp 0x14000779b
test rbx, rbx
je 0x140007796
mov rcx, rbx
call fcn.14001018c
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.14000bcc0
add rsp, 0x2040
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400013a2
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004eb60
xor r8d, r8d
xor edx, edx
jmp 0x14004e850

Function at 0x140001af5
Capabilities:
Parse pe header

Disassembly:
jmp 0x140007450
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x3f0
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x94
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x1400a80a0]
call fcn.140003d55
cmp qword [rbp + 0x3f0], 0
je 0x1400074b3
mov eax, dword [rbp + 0x3f8]
test rax, rax
jne 0x1400074ba
xor eax, eax
jmp 0x140007630
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400074e2
xor eax, eax
jmp 0x140007630
mov rax, qword [rbp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
cmp dword [rax], 0x4550
je 0x14000750b
xor eax, eax
jmp 0x140007630
lea rax, [rbp + 0x70]
mov rcx, qword [rbp + 0x48]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0xe0]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x1f4], 0
jmp 0x1400075ad
mov eax, dword [rbp + 0x1f4]
inc eax
mov dword [rbp + 0x1f4], eax
mov rax, qword [rbp + 0x178]
mov eax, dword [rax + 0x14]
cmp dword [rbp + 0x1f4], eax
jae 0x14000762e
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x198]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0x1f4]
mov rcx, qword [rbp + 0x1d8]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x1b8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x238], rax
mov rcx, qword [rbp + 0x218]
call fcn.1400024be
cmp dword [rbp + 0x3f8], eax
jne 0x140007629
mov rax, qword [rbp + 0x238]
jmp 0x140007630
jmp 0x14000759f
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140085000]
call fcn.140003549
mov rax, rdi
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.1400025ea
lea rsp, [rbp + 0x3d0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002176
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140077ae0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14009f1e8]
xor r11d, r11d
lea rdi, [0x1400869f4]
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 0x140077b50
mov rax, 0xfffffffffffffffe
jmp 0x140077c9d
cmp word [r10 + 6], r11w
jne 0x140077bbf
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x140077b7a
test r14, r14
je 0x140077b6b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x140077c9d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140077b88
mov r8b, 2
jmp 0x140077ba6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140077b96
mov r8b, 3
jmp 0x140077ba6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140077c92
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 0x140077be8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140077c92
cmp bl, bpl
jb 0x140077c92
cmp bl, r8b
jae 0x140077c92
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140077c15
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140077c92
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 0x140077bf7
cmp r9, rbp
jae 0x140077c41
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140077b44
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140077c92
cmp edx, 0x110000
jae 0x140077c92
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 0x140077c92
test r14, r14
je 0x140077c80
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400039fe
jmp 0x140077c9d
mov rdx, rsi
mov rcx, r10
call fcn.14000405c
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400025ea
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
jmp 0x14000a3d0
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a45d
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14000a45d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a45d
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 0x14000a444
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000a43e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000a446
add rdx, 0x28
jmp 0x14000a423
xor edx, edx
test rdx, rdx
jne 0x14000a44f
xor al, al
jmp 0x14000a463
cmp dword [rdx + 0x24], 0
jge 0x14000a459
xor al, al
jmp 0x14000a463
mov al, 1
jmp 0x14000a463
xor al, al
jmp 0x14000a463
add rsp, 0x18
ret
Function at 0x14000272a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400184a8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400879b8]
mov ecx, 2
lea r8, [0x1400879b0]
lea rdx, str.FlsGetValue
call fcn.140017f78
mov ecx, ebx
test rax, rax
je 0x1400184e2
add rsp, 0x20
pop rbx
jmp qword [0x1400a9020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14000286a
Capabilities:
Query environment variable

Disassembly:
jmp 0x140063260
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 0x140063290
xor eax, eax
jmp 0x140063353
mov rbp, rbx
cmp word [rax], si
je 0x1400632b5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14006329c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140063298
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.1400031f7
movsxd r14, eax
test eax, eax
jne 0x1400632f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140063289
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x14006330c
xor ecx, ecx
call fcn.140001172
jmp 0x1400632e8
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.1400031f7
test eax, eax
jne 0x14006333d
mov rcx, rdi
call fcn.140001172
jmp 0x140063347
xor ecx, ecx
call fcn.140001172
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 0x140002879
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400183f8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140087978]
xor ecx, ecx
lea r8, [0x140087970]
lea rdx, str.FlsAlloc
call fcn.140017f78
test rax, rax
je 0x140018431
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400a9020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1400028f1
Capabilities:
Get geographical location

Disassembly:
jmp 0x140058eac
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, [0x1400897a8]
mov rbp, rcx
lea r8, [0x1400897a0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400583cc
test rax, rax
je 0x140058f0c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400a9030]
jmp 0x140058f26
xor edx, edx
mov rcx, rbp
call fcn.140002216
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 0x140002905
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14004eaf4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14004e850

Function at 0x140002bc6
Capabilities:
Parse pe header

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

Function at 0x140002ee6
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x14007b140
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 0x14007b181
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x14007b175
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x14007b183
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x14007b163
xor eax, eax
ret

Function at 0x140003364
Capabilities:
Terminate process

Disassembly:
jmp 0x140057920
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14005793a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140003a08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]