joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c87b0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x88
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [0x1403a6bb8]
xor eax, eax
mov edx, dword [rsp + 0x20]
lock cmpxchg dword [rcx], edx
test eax, eax
jne 0x1401c886c
call fcn.1401c8c70
nop
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x28]
call fcn.1400dc960
nop
lea rcx, [rsp + 0x28]
call fcn.1401c8a70
nop
lea rcx, [rsp + 0x28]
call fcn.1400dc870
nop
lea rdx, str.SeLoadDriverPrivilege
lea rcx, [rsp + 0x48]
call fcn.1400dc960
nop
lea rcx, [rsp + 0x48]
call fcn.1401c8a70
nop
lea rcx, [rsp + 0x48]
call fcn.1400dc870
nop
call fcn.1401c8ee0
lea rcx, [rsp + 0x68]
call fcn.1401ee8e0
lea rdx, [0x1403a6bc0]
lea rcx, [rsp + 0x68]
call fcn.1401eea10
call fcn.1401b2850
mov rcx, rax
call fcn.1401b27f0
nop
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x88
ret

Function at 0x1401c8890
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401c8a46
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x208
mov dword [rsp + 0x7c], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401c8a3a
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.1400dc960
nop
xor r8d, r8d
mov dx, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x80]
call fcn.1401ca970
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
inc rax
mov r8, rax
mov dx, reloc.WLDAP32.dll_Ordinal_46
lea rcx, [rsp + 0x80]
call fcn.1401ca970
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x40], rax
jbe 0x1401c8a2c
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x1401c8a2c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
dec rax
mov rcx, qword [rsp + 0x30]
inc rcx
mov r9, rax
mov r8, rcx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call fcn.1401836c0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400dc800
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call fcn.14028a0d8
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x50]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x80]
call fcn.1400dc870
mov eax, dword [rsp + 0x38]
jmp 0x1401c8a48
lea rcx, [rsp + 0x80]
call fcn.1400dc870
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x2c0
pop rdi
ret
Function at 0x1401ccca0
Capabilities:
Get system information on windows

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
lea rcx, vtable.blackbone::Native.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.1401ccea0
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_46
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x18], ecx
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x1401ccd74
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x14], 1
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x15], 1
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x16], 1
jmp 0x1401cce7e
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
lea rdx, [rsp + 0x2c]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x28], 1
jne 0x1401ccdc0
mov dword [rsp + 0x20], 1
jmp 0x1401ccdc8
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 0x14], cl
cmp dword [rsp + 0x2c], 1
jne 0x1401ccde9
mov dword [rsp + 0x24], 1
jmp 0x1401ccdf1
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x15], cl
cmp dword [rsp + 0x28], 1
jne 0x1401cce20
cmp dword [rsp + 0x2c], 1
jne 0x1401cce20
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 0
jmp 0x1401cce7e
cmp dword [rsp + 0x28], 0
jne 0x1401cce3f
cmp dword [rsp + 0x2c], 0
jne 0x1401cce3f
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 1
jmp 0x1401cce7e
cmp dword [rsp + 0x28], 1
jne 0x1401cce63
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 2
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x17], 1
jmp 0x1401cce7e
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x10], 3
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x17], 1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x70
pop rdi
ret
Function at 0x1401ccf70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov dword [rsp + 0x60], 0
call fcn.140176820
mov qword [rsp + 0x78], rax
lea rdx, [0x1402e7828]
lea rcx, [rsp + 0x88]
call fcn.1400d4c50
nop
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
call fcn.1401cbf30
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x88]
call fcn.1400d4b60
nop
cmp qword [rsp + 0x70], 0
je 0x1401cd07d
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 8]
xor r8d, r8d
mov edx, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0x80]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x1401cd078
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
jmp 0x1401cd113
mov dword [rsp + 0x64], 0
mov edx, 1
mov ecx, dword [rsp + 0xe0]
call fcn.1401ccf50
test eax, eax
je 0x1401cd0a2
mov dword [rsp + 0x64], 4
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rax], 0
je 0x1401cd102
mov dword [rsp + 0x68], 0
jmp 0x1401cd10b
call fcn.140165740
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add rsp, 0xb8
ret
Function at 0x1401d3a90
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 8], eax
jne 0x1401d3aad
mov al, 1
jmp 0x1401d3ae3
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov rcx, rax
call fcn.1401750f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1401d3ad6
mov dword [rsp + 0x20], 1
jmp 0x1401d3ade
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x1401d3c50
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x70]
cmp dword [rcx + 8], eax
jne 0x1401d3c70
mov al, 1
jmp 0x1401d3d41
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140183420
mov rcx, rax
call fcn.140165230
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 3
jne 0x1401d3d0b
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 6]
test eax, eax
jne 0x1401d3d0b
call fcn.140176820
mov qword [rsp + 0x38], rax
lea rdx, [0x1402e7f40]
lea rcx, [rsp + 0x40]
call fcn.1400d4c50
nop
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.1401d2b50
cmp eax, 0xffffffff
je 0x1401d3ce7
mov dword [rsp + 0x24], 1
jmp 0x1401d3cef
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x40]
call fcn.1400d4b60
movzx eax, byte [rsp + 0x20]
jmp 0x1401d3d41
mov rax, qword [rsp + 0x70]
add rax, 0x10
mov rcx, rax
call fcn.1401750f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1401d3d34
mov dword [rsp + 0x28], 1
jmp 0x1401d3d3c
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
add rsp, 0x68
ret

Function at 0x1401d3e70
Capabilities:
Terminate thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov rcx, rax
call fcn.1401750f0
mov edx, dword [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1401d3eb0
mov dword [rsp + 0x20], 0
jmp 0x1401d3eb9
call fcn.140165740
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1401ee8e0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov byte [rax], 0
mov rax, qword [rsp + 0x70]
mov byte [rax + 1], 0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop
movzx eax, word [rsp + 0x28]
test eax, eax
jne 0x1401ee93a
mov rax, qword [rsp + 0x70]
mov byte [rax], 1
jmp 0x1401ee97c
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x24], 0
je 0x1401ee967
mov dword [rsp + 0x20], 1
jmp 0x1401ee96f
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x20]
mov byte [rax + 1], cl
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x60
pop rdi
ret
Function at 0x1401eef50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x610
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov dword [rsp + 0x20], 0
mov edx, 0x180
lea rcx, [rsp + 0xf0]
call fcn.140182de0
lea rcx, [rsp + 0xf0]
call fcn.14018aae0
nop
mov edx, 0x180
lea rcx, [rsp + 0x270]
call fcn.140182de0
lea rcx, [rsp + 0x270]
call fcn.14018aae0
nop
lea rax, [rsp + 0x3f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0xc8]
call fcn.1400dc960
nop
mov rax, qword [rsp + 0x620]
movzx eax, byte [rax]
test eax, eax
je 0x1401ef056
lea r8, [0x1402e8780]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x58]
call fcn.1401afc00
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov r8b, 1
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.14018c010
nop
lea rcx, [rsp + 0x58]
call fcn.1400dc870
nop
jmp 0x1401ef128
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0xb8]
call fcn.14016c250
mov rax, qword [rsp + 0x620]
movzx edx, byte [rax + 1]
lea rcx, [rsp + 0xb8]
call fcn.14015e740
nop
lea r8, str.System32_ntdll.dll
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x78]
call fcn.1401afc00
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r8b, 1
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x270]
call fcn.14018c010
nop
lea rcx, [rsp + 0x78]
call fcn.1400dc870
nop
lea r8, str.SysWOW64_ntdll.dll
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x98]
call fcn.1401afc00
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov r8b, 1
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.14018c010
nop
lea rcx, [rsp + 0x98]
call fcn.1400dc870
nop
lea rcx, [rsp + 0xb8]
call fcn.14015f7f0
nop
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x628]
call fcn.1401ede10
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xc8]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x270]
call fcn.14018add0
nop
lea rcx, [rsp + 0xf0]
call fcn.14018add0
mov rax, qword [rsp + 0x628]
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x610
pop rdi
ret

Function at 0x1401ef3c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14034e740]
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.14023b7f0
add rsp, 0x68
ret
Function at 0x1401f2420
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x370
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x380]
mov rcx, rax
call fcn.1401f1950
nop
mov rax, qword [rsp + 0x380]
add rax, 8
mov rcx, rax
call fcn.1401f1990
nop
mov rax, qword [rsp + 0x380]
add rax, 0x10
mov rcx, rax
call fcn.1401f19b0
nop
mov rax, qword [rsp + 0x380]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x380]
add rax, 0x20
mov rcx, rax
call fcn.1400e5e90
nop
mov rax, qword [rsp + 0x380]
add rax, 0x40
mov rcx, rax
call fcn.1401f23b0
nop
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x150]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1401f25a4
lea rdx, [rsp + 0x150]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1401f25a4
mov edx, 0xf8
lea rcx, [rsp + 0x50]
call fcn.1401f5940
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.1401f2220
nop
lea rax, [rsp + 0x60]
lea rdx, str.srv
mov rcx, rax
call fcn.1401f0910
lea rdx, [rsp + 0x150]
mov rcx, rax
call fcn.1401f0910
lea rdx, str.Symbolshttp:__msdl.microsoft.com_download_symbols
mov rcx, rax
call fcn.1401f0910
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1401f74d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x380]
add rax, 0x20
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call fcn.14015fb30
lea rcx, [rsp + 0x28]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x50]
call fcn.1401f32b0
nop
mov rax, qword [rsp + 0x380]
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x370
pop rdi
ret
Function at 0x140203554
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14020358e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140203593
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1402035dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1402035dc
dec r8
sub rdx, 1
jne 0x1402035c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14021914e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140219131
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14021911c

Function at 0x14023afcc
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call fcn.1402956a8
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14023b01e
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 0x14023b01e
sub ecx, 1
je 0x14023b017
cmp ecx, 1
je 0x14023b010
xor eax, eax
jmp 0x14023b023
mov eax, 3
jmp 0x14023b023
mov eax, 1
jmp 0x14023b023
mov eax, 2
add rsp, 0x28
ret

Function at 0x14023ceec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14023cf36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14023cf36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14023cf36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14023cf36
cmp dword [rcx + 0x84], 0xe
jbe 0x14023cf36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14023cf38
xor al, al
add rsp, 0x28
ret
Function at 0x14024d008
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14023c6f0
sub rsp, rax
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1402a194c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14024d057
mov rax, rbp
jmp 0x14024d15f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3a8a70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140291c90
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3a8a70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14024d15b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14024d15b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140291c90
test rax, rax
js 0x14024d15b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14024d15b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14024d14d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14024d14d
cmp byte [rcx], 0xd
jne 0x14024d133
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14024d142
cmp byte [rcx + 1], 0xa
jne 0x14024d142
inc rcx
jmp 0x14024d142
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x34e9c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14024d115
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14024d15f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14023b7f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14028ae30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14028ae67
call fcn.14028d4fc
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.1402870c4
xor eax, eax
jmp 0x14028aef5
mov rdx, r9
mov rcx, r8
call fcn.14028ac80
mov rbx, rax
test rax, rax
je 0x14028aef2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14028aa80]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14028aedf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14028d470
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14028aec6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14028aed5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1402a2ea8
jmp 0x14028aef2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14028aeef
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140294070
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x1402f4500]
mov rbp, rcx
call fcn.1402ad338
xor edi, edi
test rax, rax
je 0x140294156
mov ebx, edi
call fcn.14028d4fc
mov r14d, dword [rax]
call fcn.14028d4fc
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1402ad1fc
mov rsi, rax
test rax, rax
je 0x1402940e7
call fcn.14028d4fc
mov dword [rax], r14d
jmp 0x140294111
call fcn.14028d4fc
cmp dword [rax], 0x22
jne 0x14029414e
call fcn.14028d4fc
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1402ad1fc
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14029414e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140294115
cmp rax, 3
je 0x140294130
mov rcx, rsi
call fcn.140293fb8
test al, al
je 0x140294141
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140294141
mov dil, 1
mov rcx, rbx
call fcn.140272de0
mov al, dil
jmp 0x140294158
mov rcx, rbx
call fcn.140272de0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14023b7f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140299ac4
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 0x140299b33
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140299b33
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140299b33
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140299b33
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140299b33
cmp dword [rcx + 0x84], 0xe
jbe 0x140299b33
cmp dword [rcx + 0xf8], 0
je 0x140299b33
mov ecx, ebx
call fcn.140299c44
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.1402998a8
nop
cmp dword [rbp + 0x20], 0
je 0x140299b81
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140299b8c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140299ac4

Function at 0x140299d3c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140299ac4