joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f7f40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x14028a840]
mov rax, qword [rsi]
test rax, rax
je 0x1400f8130
cmp qword [rax + 0x28], 0
jne 0x1400f8118
lea rcx, [0x1402ed558]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x1400f8125
call fcn.1400f7550
mov rax, qword [rsi]
test rax, rax
je 0x1400f7fc0
cmp qword [rax + 0x30], 0
jne 0x1400f7fe0
lea rdx, [0x140119608]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x1400f7ff4
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1400fc260
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400f7f90
test rax, rax
jne 0x1400f7fe0
call fcn.1400fc260
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x1400f7fae
call fcn.1400f7090
cmp qword [0x1402f1050], 0
mov rbx, rax
je 0x1400f7fae
test rax, rax
je 0x1400f7fae
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1400fe100
cmp eax, 1
je 0x1400f819d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1401001d6
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x1400f8178
cmp qword [rax + 0x30], 0
je 0x1400f8160
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1401001d6
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400f7f7c
mov rax, qword [rsi]
jmp 0x1400f7f89
call fcn.1400fc260
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x1400f7f68
test rax, rax
jne 0x1400f8118
call fcn.1400fc260
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x1400f7f7c
jmp 0x1400f7f81
lea rdx, [0x140119608]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x1400f80ee
call fcn.1400fc260
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x1400f8160
test rax, rax
jne 0x1400f80ea
call fcn.1400fc260
jmp 0x1400f80ea
call fcn.1400f7420
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x14028a840]
mov rdx, qword [rax]
lea rax, [0x1402ed568]
mov qword [rdx + 0x10], rax
ret
Function at 0x1400fc0e0
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400fc100
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x1400fc148
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400fc0f4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400fc135
Function at 0x1400fc260
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1402ed640]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400fc283
lea rax, [0x1402ed648]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x1400fc2cb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400fc2c8
lea rax, [0x1402ed680]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x1400fc2fb
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x1400fc2f8
xor ecx, ecx
mov byte [0x1402ed699], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x1402ed6a2], rdx
lea r8, [0x1402ed640]
lea rbx, [0x1402ed69a]
mov qword [0x1402ed6b2], rdx
mov qword [0x1402ed6c2], rdx
mov qword [0x1402ed6d2], rdx
xor edx, edx
mov qword [0x1402ed69a], rax
mov qword [0x1402ed6aa], rax
mov qword [0x1402ed6ba], rax
mov qword [0x1402ed6ca], rax
mov byte [0x1402ed6da], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400fc4d6
lea rcx, [0x1402ed680]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x1400fc421
lea rsi, [0x1402ed580]
lea r8, [0x1402ed6da]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x1400fc3cd
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x1400fc3c0
lea rcx, [0x1402ed680]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x1400fc4c3
lea rcx, [0x1400fc170]
mov qword [0x1402ed580], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x1402ed580]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x1402ed680]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x1402ed6da]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x1400fc4f6
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400fc473
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400fc460
mov rax, rdx
mov qword [0x1402ed580], rax
lea rsi, [0x1402ed580]
jmp 0x1400fc499
cmp rdx, rsi
je 0x1400fc3ff
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400fc490
cmp rdx, rsi
je 0x1400fc3ff
mov qword [rdx + 8], rsi
lea rcx, [0x1400fc170]
call sub.msvcrt.dll__onexit
jmp 0x1400fc3ff
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.1400fc0e0
xor eax, eax
jmp 0x1400fc418
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.1400fc0e0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.1400fc0e0
xor eax, eax
jmp 0x1400fc47f
Function at 0x180002360
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov edi, dword [rdx + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002407
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002407
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x32231021
lea rcx, [rbx + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002402
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1800023e0
cmp r8d, 0x53f47353
je 0x18000240c
test r9d, r9d
jne 0x1800023c0
mov rax, qword [rax]
jmp 0x180002390
mov eax, dword [rdi + 0x24]
mov ecx, dword [rdi + 0x1c]
add rax, r10
add rcx, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rcx + rax*4]
mov rcx, r14
add rdx, r10
call rdx
mov rcx, 0xffffffffffffffff
lea rbp, [rax + 1]
mov eax, 2
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.18000f690
mov rcx, qword gs:[0x60]
mov rsi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x1800024d7
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x1800024d7
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x2f1400de
lea rax, [rdi + r9*4]
mov edx, dword [rax + r10]
add rdx, r10
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x1800024d2
nop
movsx eax, al
lea rdx, [rdx + 1]
xor eax, r8d
imul r8d, eax, 0x1000193
movzx eax, byte [rdx - 1]
test al, al
jne 0x1800024b0
cmp r8d, 0x751ff202
je 0x1800024dc
test r9d, r9d
jne 0x180002490
mov rcx, qword [rcx]
jmp 0x180002460
mov ecx, dword [r11 + 0x24]
mov r8, rbp
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, r14
add rax, r10
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180002520
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1800025c7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1800025c7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xd428a198
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1800025c2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800025a0
cmp r8d, 0x5d7199bc
je 0x1800025cc
test r9d, r9d
jne 0x180002580
mov rax, qword [rax]
jmp 0x180002550
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1401430af
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14038f460
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.14038e5c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14038f499
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x14038f4a3
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x38
ret
Function at 0x140143212
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14038a030
mov rax, rcx
neg rcx
test rax, 7
je 0x14038a04d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14038a0a8
test al, 7
jne 0x14038a040
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14038a061
mov rdx, qword [rax - 8]
test dl, dl
je 0x14038a0d2
test dh, dh
je 0x14038a0cc
shr rdx, 0x10
test dl, dl
je 0x14038a0c6
test dh, dh
je 0x14038a0c0
shr rdx, 0x10
test dl, dl
je 0x14038a0ba
test dh, dh
je 0x14038a0b4
shr edx, 0x10
test dl, dl
je 0x14038a0ae
test dh, dh
jne 0x14038a061
lea rax, [rcx + rax - 1]
ret
lea rax, [rcx + rax - 2]
ret
lea rax, [rcx + rax - 3]
ret
lea rax, [rcx + rax - 4]
ret
lea rax, [rcx + rax - 5]
ret
lea rax, [rcx + rax - 6]
ret
lea rax, [rcx + rax - 7]
ret
lea rax, [rcx + rax - 8]
ret
Function at 0x140143578
Capabilities:
Terminate process

Disassembly:
jmp 0x140313be0
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 0x140143794
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14038f4c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.14038e600
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14038f503
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x14038f512
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret

Function at 0x140143bc2
Capabilities:
Query environment variable

Disassembly:
jmp 0x1403a0050
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x1403a013a
mov rsi, rax
cmp word [rax], r14w
je 0x1403a00a3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1403a008b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1403a0087
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1403a013a
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.140143cbc
mov rdi, rax
test rax, rax
je 0x1403a0128
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1403a0128
mov rsi, rdi
mov rdi, r14
jmp 0x1403a012b
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.140144c7a
jmp 0x1403a013d
mov rsi, r14
test rbx, rbx
je 0x1403a014b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140144351
Capabilities:
Print debug messages

Disassembly:
jmp 0x1403932d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x14014452c
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140322800
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.140322110
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14032283f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1404d7010]
jmp 0x14032284e
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x140144928
Capabilities:
Parse pe header

Disassembly:
jmp 0x1403155e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140315600
xor al, al
jmp 0x140315681
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140315613
xor al, al
jmp 0x140315681
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 0x14031563d
xor al, al
jmp 0x140315681
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140315651
xor al, al
jmp 0x140315681
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140315663
xor al, al
jmp 0x140315681
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14031567f
xor al, al
jmp 0x140315681
mov al, 1
add rsp, 0x38
ret

Function at 0x140144c48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1403bf2d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1404c4558]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1403bf31b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jge 0x1403bf347
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0x20
jae 0x1403bf336
jmp 0x1403bf33b
call fcn.1401462d2
mov rax, qword [rsp + 0x38]
mov byte [rsp + rax + 0x40], 0
jmp 0x1403bf311
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
test eax, eax
je 0x1403bf39c
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
movzx eax, byte [rsp + rax + 0x40]
or eax, ecx
mov rcx, qword [rsp + 0x30]
movzx ecx, byte [rcx]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x40], al
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x1403bf347
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
test eax, eax
je 0x1403bf3ea
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x40]
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx]
and ecx, 7
mov edx, 1
shl edx, cl
mov ecx, edx
and eax, ecx
test eax, eax
je 0x1403bf3db
mov rax, qword [rsp + 0x28]
jmp 0x1403bf3ec
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x1403bf39c
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140145c01
add rsp, 0x78
ret
Function at 0x140144c52
Capabilities:
Terminate process

Disassembly:
jmp 0x1403344d0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call fcn.140143ab4
test eax, eax
je 0x1403344fd
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140144dc4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140144ed7
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x14038f3a0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14038e540
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14038f3db
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x14038f3e1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret

Function at 0x140145080
Capabilities:
Get geographical location

Disassembly:
jmp 0x14038f700
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14038e7c0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14038f757
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x14038f779
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1401461f1
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x38
ret

Function at 0x14014640d
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1403226e0
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.140322050
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140322717
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1404d7010]
jmp 0x14032271d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x140392d10
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
call fcn.14014651b
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140392d64
cmp qword [rsp + 0x90], 0
je 0x140392d51
lea rcx, [rsp + 0x90]
call fcn.140144351
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140392d64
mov eax, 4
jmp 0x140392ef2
call fcn.1401432c6
movzx eax, al
test eax, eax
jne 0x140392d95
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140392d84
mov dword [rsp + 0x34], 4
jmp 0x140392d8c
mov dword [rsp + 0x34], 3
mov eax, dword [rsp + 0x34]
jmp 0x140392ef2
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140392e81
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [0x140393230]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140145a6c
lea rcx, [rsp + 0x38]
call fcn.140145e0e
movzx eax, al
test eax, eax
jne 0x140392e2f
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x38]
call fcn.140144838
mov eax, dword [rsp + 0x4c]
jmp 0x140392ef2
lea rcx, [rsp + 0x38]
call fcn.1401459c7
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x140392e69
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x38]
call fcn.140144838
mov eax, dword [rsp + 0x44]
jmp 0x140392ef2
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x38]
call fcn.140144838
mov eax, dword [rsp + 0x40]
jmp 0x140392ef2
call fcn.1401453d2
movzx eax, al
test eax, eax
jne 0x140392ec6
mov eax, dword [rsp + 0xa0]
bts eax, 0x15
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140143c94
jmp 0x140392ef2
call fcn.140143721
mov qword [rsp + 0x58], rax
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140143bdb
add rsp, 0x88
ret
Function at 0x1400035e0
Capabilities:
Parse pe header

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

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