joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007f710
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov r15, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.1400524e0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x20
call fcn.1400848ec
mov rsi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x14
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str.NtQueryVirtualMemory]
movups xmmword [rax], xmm0
mov ecx, dword [0x14009e320]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.14006c8c0
lea rbp, [rdi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x14
jb 0x14007f7d0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140052dd0
mov r8, qword [rax + 8]
test r8, r8
je 0x14007f83e
cmp r8, qword [rdi + 8]
je 0x14007f83e
mov rdi, qword [r8 + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14007f847
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x30
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14 + 8]
call rdi
mov edi, eax
jmp 0x14007f84c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
mov edx, 0x20
mov rcx, rsi
call fcn.140084b70
test edi, edi
je 0x14007f861
mov eax, edi
jmp 0x14007f8a2
mov rax, qword [rsp + 0x68]
mov qword [rbx + 8], rax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov qword [rbx], rax
mov eax, dword [rsp + 0x84]
mov dword [rbx + 0x24], eax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x18], rax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x28], eax
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140084e30
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f8e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, rdx
mov r14, rcx
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x40], xmm0
mov dword [r11 - 0x30], 0
call fcn.1400524e0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov ecx, 0x20
call fcn.1400848ec
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x19
mov qword [rsp + 0x50], 0x1f
movups xmm0, xmmword [str.NtQueryInformationProcess]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14009e298]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x14009e2a0]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], 0
mov dword [rsp + 0x30], 1
call fcn.14006c8c0
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop dword [rax]
movzx eax, byte [rdi + rcx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x19
jb 0x14007f9c0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140052dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14007fa3b
cmp rdx, qword [rsi + 8]
je 0x14007fa3b
mov rsi, qword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x14007fa44
lea rbx, [r14 + 8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rbx]
call rsi
mov rcx, rbx
test eax, eax
js 0x14007fa48
test rbp, rbp
je 0x14007fa48
mov sil, 1
jmp 0x14007fa4e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r14 + 8]
xor sil, sil
mov rbx, rcx
mov edx, 0x20
mov rcx, rdi
call fcn.140084b70
test sil, sil
je 0x14007fa80
mov qword [rsp + 0x20], 0
mov r9d, 0x250
mov r8, rbp
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140084e30
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14007fad0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, r8
mov r15, rdx
mov r14, rcx
mov dword [rsp + 0x30], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x50], rax
mov dword [r11 - 0x48], eax
mov dword [r11 - 0x40], eax
call fcn.1400524e0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov ecx, 0x20
call fcn.1400848ec
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], 0x1f
movups xmm0, xmmword [str.NtQueryInformationThread]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14009e2e8]
movsd qword [rax + 0x10], xmm0
mov byte [rax + 0x18], 0
mov dword [rsp + 0x30], 1
call fcn.14006c8c0
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop dword [rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0x18
jb 0x14007fba0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140052dd0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14007fc14
cmp rcx, qword [rdi + 8]
je 0x14007fc14
mov rdi, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14007fc1d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r15
call rdi
test eax, eax
js 0x14007fc1d
test rbp, rbp
je 0x14007fc1d
mov dil, 1
jmp 0x14007fc20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
mov edx, 0x20
mov rcx, rbx
call fcn.140084b70
test dil, dil
je 0x14007fc52
mov edx, dword [rsp + 0x6c]
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, rbp
mov rcx, qword [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140084e30
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14007fc80
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140084e30
add rsp, 0x68
ret
Function at 0x140083670
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400836a5
lea rcx, [0x14009d960]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140051370
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140083814
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14008378c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140083803
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1400837c9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400837c3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140083803
cmp r9, rdx
je 0x1400837df
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140083825
cmp r9, rdx
jne 0x1400837d0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140083710
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140083803
Function at 0x140085768
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x180057124
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 0x180057170
test rbx, rbx
je 0x18005715f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.180001802
cmp eax, 1
je 0x180057170
mov eax, 4
jmp 0x1800571b3
call fcn.1800039b3
cmp eax, 2
jne 0x1800571ac
call fcn.180001861
test al, al
je 0x1800571ac
call fcn.180002b1c
test al, al
jne 0x1800571a2
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.1800039ef
jmp 0x1800571b3
call fcn.180003896
mov rcx, rax
jmp 0x180057192
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 0x180002171
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180076ac0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18009b080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x18009dbb8]
xor r11d, r11d
lea rdi, [0x1800858e4]
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 0x180076b30
mov rax, 0xfffffffffffffffe
jmp 0x180076c7d
cmp word [r10 + 6], r11w
jne 0x180076b9f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x180076b5a
test r14, r14
je 0x180076b4b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x180076c7d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x180076b68
mov r8b, 2
jmp 0x180076b86
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x180076b76
mov r8b, 3
jmp 0x180076b86
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x180076c72
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 0x180076bc8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x180076c72
cmp bl, bpl
jb 0x180076c72
cmp bl, r8b
jae 0x180076c72
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x180076bf5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x180076c72
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 0x180076bd7
cmp r9, rbp
jae 0x180076c21
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x180076b24
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x180076c72
cmp edx, 0x110000
jae 0x180076c72
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 0x180076c72
test r14, r14
je 0x180076c60
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1800039ea
jmp 0x180076c7d
mov rdx, rsi
mov rcx, r10
call fcn.180004052
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800025ef
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800021b7
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x180008924
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800089b1
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1800089b1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800089b1
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 0x180008998
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180008992
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000899a
add rdx, 0x28
jmp 0x180008977
xor edx, edx
test rdx, rdx
jne 0x1800089a3
xor al, al
jmp 0x1800089b7
cmp dword [rdx + 0x24], 0
jge 0x1800089ad
xor al, al
jmp 0x1800089b7
mov al, 1
jmp 0x1800089b7
xor al, al
jmp 0x1800089b7
add rsp, 0x18
ret

Function at 0x1800024e6
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180079f50
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180079f7e
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x180079fd7
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
mov r8d, r9d
neg r8
and r8, rbx
lea ecx, [r9 - 1]
mov eax, ecx
and ecx, ebx
and eax, edi
add eax, ecx
dec rax
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add rcx, rax
mov eax, ecx
test ecx, ecx
je 0x180079fd7
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x180079fc9
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x18000272a
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x180017498
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180086a50]
mov ecx, 2
lea r8, [0x180086a48]
lea rdx, str.FlsGetValue
call fcn.180016f68
mov ecx, ebx
test rax, rax
je 0x1800174d2
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x180002874
Capabilities:
Query environment variable

Disassembly:
jmp 0x18005cd1c
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 0x18005cd4c
xor eax, eax
jmp 0x18005ce0f
mov rbp, rbx
cmp word [rax], si
je 0x18005cd71
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005cd58
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005cd54
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.1800031f2
movsxd r14, eax
test eax, eax
jne 0x18005cdaf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005cd45
mov rcx, r14
call fcn.180001037
mov rdi, rax
test rax, rax
jne 0x18005cdc8
xor ecx, ecx
call fcn.18000116d
jmp 0x18005cda4
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.1800031f2
test eax, eax
jne 0x18005cdf9
mov rcx, rdi
call fcn.18000116d
jmp 0x18005ce03
xor ecx, ecx
call fcn.18000116d
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 0x180002879
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800173e8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x180086a10]
xor ecx, ecx
lea r8, [0x180086a08]
lea rdx, str.FlsAlloc
call fcn.180016f68
test rax, rax
je 0x180017421
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1800a8020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1800028f6
Capabilities:
Get geographical location

Disassembly:
jmp 0x18005f174
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, [0x180088b48]
mov rbp, rcx
lea r8, [0x180088b40]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.18005e694
test rax, rax
je 0x18005f1d4
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1800a8030]
jmp 0x18005f1ee
xor edx, edx
mov rcx, rbp
call fcn.18000220c
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 0x180002905
Capabilities:
Terminate process

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

Disassembly:
jmp 0x18001f7c8
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x18001f524

Function at 0x180002bd5
Capabilities:
Parse pe header

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

Function at 0x18000316b
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18007a950
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 0x18007a991
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x18007a985
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x18007a993
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x18007a973
xor eax, eax
ret

Function at 0x180003355
Capabilities:
Terminate process

Disassembly:
jmp 0x180051418
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180051432
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1800039f9
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 0x180003918
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x18007a010
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x18007a088
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x18007a088
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x18007a088
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x18007a07c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x18007a09a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x18007a06a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x18007a08a

Function at 0x180003ada
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800174f0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180086a70]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180086a68]
call fcn.180016f68
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x180017530
call qword [0x1800a8020]
jmp 0x180017536
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003c60
Capabilities:
Parse pe header

Disassembly:
jmp 0x18001f7b8
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 0x18001f593
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18001f593
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18001f593
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18001f593
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18001f593
cmp dword [rcx + 0x84], 0xe
jbe 0x18001f593
cmp dword [rcx + 0xf8], 0
je 0x18001f593
mov ecx, ebx
call fcn.18001f6fc
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.18001f270
nop
cmp dword [rbp + 0x20], 0
je 0x18001f5e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18001f61c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18001f524
Function at 0x180071ee0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180071ef6
mov al, 1
jmp 0x180071f56
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180071f07
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180071f54
mov ecx, dword [rcx + 0x18]
nop
call fcn.180003ec7
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180071f54
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180071f54
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180071f54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180071f56
xor al, al
add rsp, 0x20
pop rbx
ret