joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004e24
Capabilities:
Parse pe header

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

Function at 0x140005028
Capabilities:
Parse pe header

Disassembly:
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 0x140004e93
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004e93
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004e93
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004e93
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004e93
cmp dword [rcx + 0x84], 0xe
jbe 0x140004e93
cmp dword [rcx + 0xf8], 0
je 0x140004e93
mov ecx, ebx
call fcn.140004f44
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.140004d20
nop
cmp dword [rbp + 0x20], 0
je 0x140004ee1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140004eec
int3
xor r8d, r8d
xor edx, edx
jmp 0x140004e24
Function at 0x14000d1b0
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000d1e0
xor eax, eax
jmp 0x14000d2a3
mov rbp, rbx
cmp word [rax], si
je 0x14000d205
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000d1ec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000d1e8
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.14000d0d0
movsxd r14, eax
test eax, eax
jne 0x14000d243
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000d1d9
mov rcx, r14
call fcn.140009964
mov rdi, rax
test rax, rax
jne 0x14000d25c
xor ecx, ecx
call fcn.140008c90
jmp 0x14000d238
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.14000d0d0
test eax, eax
jne 0x14000d28d
mov rcx, rdi
call fcn.140008c90
jmp 0x14000d297
xor ecx, ecx
call fcn.140008c90
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 0x1400114ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400114c2
mov al, 1
jmp 0x140011522
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400114d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140011520
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000d9b4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140011520
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140011520
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140011520
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140011522
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140012560
Capabilities:
Set environment variable

Disassembly:
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.14000c1a0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400125ea
cmp byte [rbp - 0x21], r15b
je 0x1400125e5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140012620
call fcn.140008ee0
test eax, eax
jne 0x14001260c
cmp byte [rbp - 0x21], r15b
je 0x140012604
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140012620
cmp byte [rbp - 0x21], r15b
je 0x14001261d
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.14000b780
test eax, eax
jne 0x1400126c0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c1a0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001265f
cmp byte [rbp - 0x21], r15b
je 0x140012694
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012694
call fcn.140008ee0
test eax, eax
jne 0x140012680
cmp byte [rbp - 0x21], r15b
je 0x140012679
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012694
cmp byte [rbp - 0x21], r15b
je 0x140012691
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.14000b780
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400126c0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400126c3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400126d1
mov rcx, rdi
call fcn.140008c90
cmp byte [rbp + 0x3f], r15b
je 0x1400126e0
mov rcx, qword [rbp + 0x27]
call fcn.140008c90
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 0x140014cd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014cf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140014cf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400022b8
Capabilities:
Parse pe header

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

Function at 0x141c07058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141c071df
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 0x141c07089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c0706f
add dl, dl
jne 0x141c07096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c070f6
xor eax, eax
add dl, dl
jne 0x141c070a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141c071ad
add dl, dl
jne 0x141c070b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c070c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c070d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c070dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141c070ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141c0707e
mov eax, 1
add dl, dl
jne 0x141c07106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141c07113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c070fb
sub eax, ebx
mov ebx, 1
jne 0x141c0714c
mov ecx, 1
add dl, dl
jne 0x141c0712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c0713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c07123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c0707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141c07168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141c07175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141c0715d
cmp eax, 0x7d00
jae 0x141c0719b
cmp eax, 0x500
jb 0x141c07196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c0707e
cmp eax, 0x7f
ja 0x141c0719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141c0707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141c071d2
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 0x141c0707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14003c3c0
Capabilities:
Parse pe header

Disassembly:
jmp 0x14005d398
xor r8d, r8d
xor edx, edx
jmp 0x14005d088

Function at 0x14003c3d9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x1400436c0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x20]
lea rcx, [0x1400e20a3]
call fcn.14003eef4
nop
mov rax, qword [rbp + 0x240]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
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 eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x48]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xe4], 0
jmp 0x140043791
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x18]
cmp dword [rbp + 0xe4], eax
jae 0x14004381b
mov eax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0xa8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x108], rax
mov eax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0xc8]
movzx eax, word [rcx + rax*2]
mov word [rbp + 0x124], ax
movzx eax, word [rbp + 0x124]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx + rax*4]
mov dword [rbp + 0x144], eax
mov rcx, qword [rbp + 0x108]
call fcn.14003d88d
cmp dword [rbp + 0x248], eax
jne 0x140043816
mov eax, dword [rbp + 0x144]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
jmp 0x14004381d
jmp 0x140043783
xor eax, eax
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x14003cfd7
Capabilities:
Execute syscall

Disassembly:
jmp 0x140044c61
mov rax, rcx
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x14003d220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400b0b30
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400d6040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x1400d9248]
xor r11d, r11d
lea rdi, [0x1400c0d64]
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 0x1400b0ba0
mov rax, 0xfffffffffffffffe
jmp 0x1400b0ced
cmp word [r10 + 6], r11w
jne 0x1400b0c0f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400b0bca
test r14, r14
je 0x1400b0bbb
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400b0ced
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400b0bd8
mov r8b, 2
jmp 0x1400b0bf6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400b0be6
mov r8b, 3
jmp 0x1400b0bf6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400b0ce2
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 0x1400b0c38
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400b0ce2
cmp bl, bpl
jb 0x1400b0ce2
cmp bl, r8b
jae 0x1400b0ce2
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400b0c65
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400b0ce2
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 0x1400b0c47
cmp r9, rbp
jae 0x1400b0c91
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400b0b94
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400b0ce2
cmp edx, 0x110000
jae 0x1400b0ce2
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 0x1400b0ce2
test r14, r14
je 0x1400b0cd0
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.14003eb8e
jmp 0x1400b0ced
mov rdx, rsi
mov rcx, r10
call fcn.14003f214
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d6bc
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003d270
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x140046710
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14004679d
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14004679d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004679d
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 0x140046784
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14004677e
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140046786
add rdx, 0x28
jmp 0x140046763
xor edx, edx
test rdx, rdx
jne 0x14004678f
xor al, al
jmp 0x1400467a3
cmp dword [rdx + 0x24], 0
jge 0x140046799
xor al, al
jmp 0x1400467a3
mov al, 1
jmp 0x1400467a3
xor al, al
jmp 0x1400467a3
add rsp, 0x18
ret

Function at 0x14003d806
Capabilities:
Parse pe header

Disassembly:
jmp 0x140042720
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400e20a3]
call fcn.14003eef4
nop
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140042762
xor eax, eax
jmp 0x1400427bb
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x14004278b
xor eax, eax
jmp 0x1400427bb
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x128]
mov qword [rcx], rax
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x14003d81a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140054894
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400c1d28]
mov ecx, 2
lea r8, [0x1400c1d20]
lea rdx, str.FlsGetValue
call fcn.140054364
mov ecx, ebx
test rax, rax
je 0x1400548ce
add rsp, 0x20
pop rbx
jmp qword [0x1400e3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x14003d88d
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140043630
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400e20a3]
call fcn.14003eef4
nop
mov dword [rbp + 4], 0x811c9dc5
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
test eax, eax
je 0x140043696
mov rax, qword [rbp + 0x100]
movzx eax, byte [rax]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
imul eax, dword [rbp + 4], 0x1000193
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
inc rax
mov qword [rbp + 0x100], rax
jmp 0x140043657
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14003d969
Capabilities:
Query environment variable

Disassembly:
jmp 0x140096574
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 0x1400965a4
xor eax, eax
jmp 0x140096667
mov rbp, rbx
cmp word [rax], si
je 0x1400965c9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400965b0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400965ac
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.14003e33c
movsxd r14, eax
test eax, eax
jne 0x140096607
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14009659d
mov rcx, r14
call fcn.14003c037
mov rdi, rax
test rax, rax
jne 0x140096620
xor ecx, ecx
call fcn.14003c177
jmp 0x1400965fc
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.14003e33c
test eax, eax
jne 0x140096651
mov rcx, rdi
call fcn.14003c177
jmp 0x14009665b
xor ecx, ecx
call fcn.14003c177
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 0x14003d973
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400547e4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400c1ce8]
xor ecx, ecx
lea r8, [0x1400c1ce0]
lea rdx, str.FlsAlloc
call fcn.140054364
test rax, rax
je 0x14005481d
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400e3020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x14003d9f0
Capabilities:
Get geographical location

Disassembly:
jmp 0x14009ef28
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, [0x1400c58f8]
mov rbp, rcx
lea r8, [0x1400c58f0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.14009e448
test rax, rax
je 0x14009ef88
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400e3030]
jmp 0x14009efa2
xor edx, edx
mov rcx, rbp
call fcn.14003d2c0
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 0x14003d9ff
Capabilities:
Terminate process

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

Disassembly:
jmp 0x14005d32c
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14005d088

Function at 0x14003e017
Capabilities:
Parse pe header

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

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