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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3260], 0
lea rbx, [rcx + 0x3268]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016c77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140016c2a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023620
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003100
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3260]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3270]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140059948]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140016c7f
mov rcx, rbx
call fcn.140003100
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400170c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140017112
lea r11, [0x14004cdc0]
cmp r9b, 0x23
jne 0x1400170f5
cmp byte [r8], r9b
jne 0x1400170f5
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400170e2
mov r11, qword [0x140059950]
xor r9d, r9d
mov r10, qword [r11 + 0x3228]
test r10, r10
lea rcx, [r10 + 4]
cmovne r9, rcx
test r9, r9
je 0x14001715e
not eax
cmp dword [r9], eax
je 0x140017167
movsxd r8, dword [r9 - 4]
movsxd rdx, dword [r11 + 0x3220]
add r8, r9
add rdx, 4
xor r9d, r9d
add rdx, r10
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140017135
mov rcx, rbx
pop rbx
jmp fcn.140016fd0
mov rax, r9
pop rbx
ret
Function at 0x14001a600
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x14001a83e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14004cdc0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x14001a806
mov rcx, rbp
call fcn.140019ce0
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x14001a6d1
movsxd rdx, dword [rbp + 0x31c0]
mov r8, qword [rbp + 0x31c8]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x14001a6c1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x14001a6b9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x14001a6bc
mov rdx, rcx
test rdx, rdx
jne 0x14001a690
cmp r8, r10
je 0x14001a6d1
cmp dword [r8], r9d
jne 0x14001a6d1
mov rcx, qword [r8 + 8]
jmp 0x14001a6d3
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xb8]
and eax, 0xfffffe49
movss dword [rbx + 0x50], xmm1
or eax, 0x49
mov dword [rbx + 0xb8], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001a767
cmp qword [rcx + 0x18], 0
jne 0x14001a75c
mov qword [rcx + 0x18], rbx
jmp 0x14001a767
cmp qword [rcx + 0x20], 0
jne 0x14001a767
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 6]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001a79c
nop
mov r9, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001a790
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, 0x14
lea rcx, [rsp + 0x20]
call fcn.1400027e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x14001a7f8
cmp r9b, 0x23
jne 0x14001a7db
cmp byte [r8], r9b
jne 0x14001a7db
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x14001a7c8
not ecx
call fcn.14000a870
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001a650
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004a3c0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400488a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004891e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004891e
nop
lea rdx, str.ProSoccerOnline_Win64_Shipping.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14004891a
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400488f0
jmp 0x14004891e
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14004a3c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x14004aff4
Capabilities:
Parse pe header

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

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

Function at 0x1409cc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409cc1df
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 0x1409cc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409cc06f
add dl, dl
jne 0x1409cc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409cc0f6
xor eax, eax
add dl, dl
jne 0x1409cc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409cc1ad
add dl, dl
jne 0x1409cc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409cc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409cc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409cc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409cc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409cc07e
mov eax, 1
add dl, dl
jne 0x1409cc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409cc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409cc0fb
sub eax, ebx
mov ebx, 1
jne 0x1409cc14c
mov ecx, 1
add dl, dl
jne 0x1409cc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409cc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409cc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409cc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409cc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409cc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409cc15d
cmp eax, 0x7d00
jae 0x1409cc19b
cmp eax, 0x500
jb 0x1409cc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409cc07e
cmp eax, 0x7f
ja 0x1409cc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409cc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409cc1d2
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 0x1409cc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000162c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b42b8
xor r8d, r8d
xor edx, edx
jmp 0x1400b3fa8

Function at 0x140001c44
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400d4fd8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x1400d5024
test rbx, rbx
je 0x1400d5013
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001e74
cmp eax, 1
je 0x1400d5024
mov eax, 4
jmp 0x1400d5067
call fcn.140005aa6
cmp eax, 2
jne 0x1400d5060
call fcn.140001f00
test al, al
je 0x1400d5060
call fcn.140004066
test al, al
jne 0x1400d5056
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.140005af6
jmp 0x1400d5067
call fcn.14000588f
mov rcx, rax
jmp 0x1400d5046
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002c4d
Capabilities:
Get geographical location

Disassembly:
jmp 0x14006ae44
sub rsp, 0x28
call fcn.140003ed6
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14006ae96
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14006ae96
sub ecx, 1
je 0x14006ae8f
cmp ecx, 1
je 0x14006ae88
xor eax, eax
jmp 0x14006ae9b
mov eax, 3
jmp 0x14006ae9b
mov eax, 1
jmp 0x14006ae9b
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002e78
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400ed070
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1401234c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140127e88]
xor r11d, r11d
lea rdi, [0x1400fd2bb]
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 0x1400ed0e0
mov rax, 0xfffffffffffffffe
jmp 0x1400ed22d
cmp word [r10 + 6], r11w
jne 0x1400ed14f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400ed10a
test r14, r14
je 0x1400ed0fb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400ed22d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400ed118
mov r8b, 2
jmp 0x1400ed136
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400ed126
mov r8b, 3
jmp 0x1400ed136
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400ed222
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 0x1400ed178
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400ed222
cmp bl, bpl
jb 0x1400ed222
cmp bl, r8b
jae 0x1400ed222
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400ed1a5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400ed222
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 0x1400ed187
cmp r9, rbp
jae 0x1400ed1d1
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400ed0d4
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400ed222
cmp edx, 0x110000
jae 0x1400ed222
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 0x1400ed222
test r14, r14
je 0x1400ed210
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140005af1
jmp 0x1400ed22d
mov rdx, rsi
mov rcx, r10
call fcn.1400066b8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400036ac
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002ef0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14002386c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400238f9
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400238f9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400238f9
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 0x1400238e0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400238da
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400238e2
add rdx, 0x28
jmp 0x1400238bf
xor edx, edx
test rdx, rdx
jne 0x1400238eb
xor al, al
jmp 0x1400238ff
cmp dword [rdx + 0x24], 0
jge 0x1400238f5
xor al, al
jmp 0x1400238ff
mov al, 1
jmp 0x1400238ff
xor al, al
jmp 0x1400238ff
add rsp, 0x18
ret

Function at 0x14000342c
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400d0cc8
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 0x1400d0d4f
mov rsi, rbx
cmp word [rax], bp
je 0x1400d0d0e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400d0cf8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400d0cf4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x1400d0d3c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400036d9
mov rbp, rdi
xor ecx, ecx
call fcn.140001276
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 0x1400036f7
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400631d8
jmp 0x140069bbc
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140063208
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x1400631ea
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x1400023f6

Function at 0x14000390e
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007e580
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401025e8]
mov ecx, 2
lea r8, [0x1401025e0]
lea rdx, str.FlsGetValue
call fcn.14007e050
mov ecx, ebx
test rax, rax
je 0x14007e5ba
add rsp, 0x20
pop rbx
jmp qword [0x140137020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140003b7a
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400d0b74
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 0x1400d0ba4
xor eax, eax
jmp 0x1400d0c67
mov rbp, rbx
cmp word [rax], si
je 0x1400d0bc9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400d0bb0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400d0bac
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.140004cc8
movsxd r14, eax
test eax, eax
jne 0x1400d0c07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400d0b9d
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400d0c20
xor ecx, ecx
call fcn.140001276
jmp 0x1400d0bfc
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.140004cc8
test eax, eax
jne 0x1400d0c51
mov rcx, rdi
call fcn.140001276
jmp 0x1400d0c5b
xor ecx, ecx
call fcn.140001276
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 0x140003b8e
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14007e4d0
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1401025a8]
xor ecx, ecx
lea r8, [0x1401025a0]
lea rdx, str.FlsAlloc
call fcn.14007e050
test rax, rax
je 0x14007e509
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140137020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003c4c
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400d2ffc
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, [0x140105eb8]
mov rbp, rcx
lea r8, [0x140105eb0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400d251c
test rax, rax
je 0x1400d305c
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140137030]
jmp 0x1400d3076
xor edx, edx
mov rcx, rbp
call fcn.140002f68
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 0x140003c5b
Capabilities:
Terminate process

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

Disassembly:
jmp 0x1400b424c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400b3fa8

Function at 0x1400041ba
Capabilities:
Parse pe header

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

Function at 0x140004723
Capabilities:
Parse pe header

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

Function at 0x140004822
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14003f13c
jmp 0x14005c6e0
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003f16e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003f151
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140001190
Function at 0x140004bc9
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400ef110
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 0x1400ef151
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400ef145
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400ef153
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400ef133
xor eax, eax
ret

Function at 0x140004f6b
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14007e5d8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140102608]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140102600]
call fcn.14007e050
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14007e618
call qword [0x140137020]
jmp 0x14007e61e
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005ddf
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400e73ac
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.140002e19
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400e7436
cmp byte [rbp - 0x21], r15b
je 0x1400e7431
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400e746c
call fcn.14000646f
test eax, eax
jne 0x1400e7458
cmp byte [rbp - 0x21], r15b
je 0x1400e7450
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400e746c
cmp byte [rbp - 0x21], r15b
je 0x1400e7469
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.1400067fd
test eax, eax
jne 0x1400e750c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002e19
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400e74ab
cmp byte [rbp - 0x21], r15b
je 0x1400e74e0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400e74e0
call fcn.14000646f
test eax, eax
jne 0x1400e74cc
cmp byte [rbp - 0x21], r15b
je 0x1400e74c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400e74e0
cmp byte [rbp - 0x21], r15b
je 0x1400e74dd
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.1400067fd
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400e750c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400e750f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400e751d
mov rcx, rdi
call fcn.140001276
cmp byte [rbp + 0x3f], r15b
je 0x1400e752c
mov rcx, qword [rbp + 0x27]
call fcn.140001276
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