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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov eax, dword [rsp + 0xa8]
mov rbx, qword [rsp + 0xb0]
mov ebp, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov edi, edx
mov esi, ecx
mov dword [rsp + 0x20], eax
call fcn.1800186a4
mov dword [rsp + 0x50], 0x105
mov dword [rsp + 0x54], 0x2e3d
mov dword [rsp + 0x58], 0x6db4
mov dword [rsp + 0x5c], 0xc363
mov dword [rsp + 0x48], 0x9bd2
add dword [rsp + 0x48], 0xffff5b30
imul eax, dword [rsp + 0x48], 0x55
mov dword [rsp + 0x48], eax
mov eax, 0x51eb851f
shr dword [rsp + 0x48], 6
xor dword [rsp + 0x48], 0x3f2fbc4
mov dword [rsp + 0x44], 0x436d
shr dword [rsp + 0x44], 9
add dword [rsp + 0x44], 0xffff9fb7
shl dword [rsp + 0x44], 5
xor dword [rsp + 0x44], 0xfff85619
mov dword [rsp + 0x40], 0x475c
add dword [rsp + 0x40], 0xfffff259
add dword [rsp + 0x40], 0xffff0b1c
mov ecx, dword [rsp + 0x40]
mul ecx
mov eax, 0xcccccccd
shr edx, 4
mov dword [rsp + 0x40], edx
xor dword [rsp + 0x40], 0x512ef85
mov dword [rsp + 0x80], 0xaedd
or dword [rsp + 0x80], 0xdebb304f
mov ecx, dword [rsp + 0x80]
mul ecx
mov eax, 0x2040811
shr edx, 5
mov dword [rsp + 0x80], edx
mov ecx, dword [rsp + 0x80]
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
mov dword [rsp + 0x80], ecx
mov ecx, esi
shr dword [rsp + 0x80], 3
shl ecx, 2
xor dword [rsp + 0x80], 0x63a96
mov eax, dword [rsp + 0x80]
mov eax, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
call fcn.180027d94
xor r14d, r14d
mov r10, rax
test rax, rax
je 0x180028f5f
lea rdx, [rbx + rsi*4]
mov r8, rax
mov r11d, r14d
mov r9, rdx
sub r9, rbx
add r9, 3
shr r9, 2
cmp rbx, rdx
cmova r9, r14
test r9, r9
je 0x180028f5b
mov ecx, dword [rbx]
inc r11
lea rbx, [rbx + 4]
xor ecx, ebp
mov byte [r8], cl
movzx eax, cx
shr ecx, 0x10
shr ax, 8
lea r8, [r8 + 4]
mov byte [r8 - 3], al
mov byte [r8 - 2], cl
shr cx, 8
mov byte [r8 - 1], cl
cmp r11, r9
jb 0x180028f2a
mov byte [rdi + r10], r14b
lea r11, [rsp + 0x60]
mov rax, r10
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18002a388
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [rbp + 0x40]
mov r14, rdx
mov dword [rsp + 0x20], eax
call fcn.1800186a4
movsxd rcx, dword [rdx + 0x3c]
mov dword [rbp - 0x10], 0x6adb
mov dword [rbp - 0xc], 0xfe97
xor eax, eax
mov qword [rbp - 8], rax
mov dword [rbp + 0x28], 0xaf04
add rcx, rdx
imul eax, dword [rbp + 0x28], 0x3c
mov dword [rbp + 0x28], eax
xor dword [rbp + 0x28], 0x2904f1
mov eax, dword [rbp + 0x28]
mov edx, dword [rcx + rax*8 + 0x88]
test edx, edx
je 0x18002a58b
cmp dword [rcx + rax*8 + 0x8c], 0
je 0x18002a58b
lea rbx, [r14 + rdx]
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x18002a58b
mov dword [rbp - 0x1c], 0x4174
mov r8d, eax
shr dword [rbp - 0x1c], 0xa
add r8, r14
or dword [rbp - 0x1c], 0x2511a248
add dword [rbp - 0x1c], 0xa92e
xor dword [rbp - 0x1c], 0x33c94355
xor dword [rbp - 0x1c], 0x16d1b192
mov dword [rbp - 0x20], 0x465e
shl dword [rbp - 0x20], 1
shl dword [rbp - 0x20], 6
shr dword [rbp - 0x20], 8
add dword [rbp - 0x20], 0xea34
xor dword [rbp - 0x20], 0xebff1
mov dword [rbp + 0x28], 0x2b77
add dword [rbp + 0x28], 0x53f4
shr dword [rbp + 0x28], 9
add dword [rbp + 0x28], 0xffff7598
add dword [rbp + 0x28], 0xad04
xor dword [rbp + 0x28], 0x58e48
mov dword [rbp - 0x18], 0x1bf0
shr dword [rbp - 0x18], 6
or dword [rbp - 0x18], 0xb24c20a1
xor dword [rbp - 0x18], 0xb24d4b51
mov eax, dword [rbp - 0x18]
mov r9d, dword [rbp + 0x28]
mov edx, dword [rbp - 0x20]
mov ecx, dword [rbp - 0x1c]
mov dword [rsp + 0x20], eax
call fcn.18000b01c
mov r15, rax
test rax, rax
je 0x18002a587
mov edi, dword [rbx]
mov esi, dword [rbx + 0x10]
add rdi, r14
add rsi, r14
jmp 0x18002a572
movabs rax, 0x8000000000000000
test rax, rcx
je 0x18002a4e5
movzx r9d, cx
jmp 0x18002a4ee
mov eax, dword [rdi]
lea r9, [r14 + 2]
add r9, rax
mov dword [rbp + 0x28], 0x4fae
mov eax, 0xaaaaaaab
xor dword [rbp + 0x28], 0x28a1e3bf
or dword [rbp + 0x28], 0x782cc814
add dword [rbp + 0x28], 0xffff39e0
add dword [rbp + 0x28], 0xffffd467
xor dword [rbp + 0x28], 0x78a47fba
mov dword [rbp - 0x1c], 0x417e
mov ecx, dword [rbp - 0x1c]
mul ecx
mov rcx, r15
shr edx, 5
mov dword [rbp - 0x1c], edx
xor dword [rbp - 0x1c], 0xd57b1
mov dword [rbp - 0x18], 0x5a4d
shr dword [rbp - 0x18], 0xf
shr dword [rbp - 0x18], 2
xor dword [rbp - 0x18], 0x38e9
mov eax, dword [rbp - 0x18]
mov r8d, dword [rbp - 0x1c]
mov edx, dword [rbp + 0x28]
mov dword [rsp + 0x20], eax
call fcn.1800214e0
test rax, rax
je 0x18002a587
mov qword [rsi], rax
add rdi, 8
add rsi, 8
mov rcx, qword [rdi]
test rcx, rcx
jne 0x18002a4d0
add rbx, 0x14
jmp 0x18002a406
xor eax, eax
jmp 0x18002a590
mov eax, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140002940
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004590
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004590
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400029b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140002ae0
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400029fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002a85
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400029e0
mov rcx, rbx
call fcn.140003400
mov rdi, rax
test rax, rax
je 0x140002b02
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003540
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002ae7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002a7e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002a90
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002a7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002940
nop dword [rax]
xor esi, esi
jmp 0x140002a08
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002940
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002940
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003070
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x1400030cc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400030c3
test rsi, rsi
je 0x1400030c3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400030a8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003400
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006ad0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003420
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003428
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003420
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000347d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003474
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003420
add rax, 0x28
cmp rax, r9
jne 0x140003460
xor eax, eax
ret

Function at 0x140003480
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ad0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000349f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400034a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000349f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ad0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000355f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003568
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001c60
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x140006050]
mov dword [0x140006050], 0x114
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
js 0x140001d1f
cmp dword [0x140006054], 0xa
jne 0x140001ca1
cmp dword [0x140006058], 0
jne 0x140001ca1
cmp dword [0x14000605c], 0x585d
ja 0x140001d1f
call fcn.1400015dc
test al, al
je 0x140001d1f
lea rcx, [0x140003fb0]
call fcn.140003744
lea rcx, [0x140003ff0]
mov qword [0x140006178], rax
call fcn.140003744
lea rcx, [0x140004010]
mov qword [0x140006180], rax
call fcn.140003744
mov qword [0x140006188], rax
call fcn.140001afc
cmp qword [0x140006178], 0
mov qword [0x140006190], rax
je 0x140001d1f
cmp qword [0x140006180], 0
je 0x140001d1f
cmp qword [0x140006188], 0
je 0x140001d1f
test rax, rax
je 0x140001d1f
call fcn.1400032c8
test al, al
je 0x140001d1f
mov al, 1
jmp 0x140001d21
xor al, al
add rsp, 0x28
ret
Function at 0x140002534
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rbx, rcx
mov rax, cr8
test al, al
je 0x14000255b
mov eax, 0xc0000001
jmp 0x14000266f
and qword [rbp + 0x6f], 0
lea rcx, [rbp - 9]
and qword [rbp + 0x77], 0
xor eax, eax
and dword [rbp + 0x23], eax
xor edx, edx
and dword [rbp + 0x3b], eax
mov qword [rbp - 0x19], rax
lea r8d, [rax + 0x28]
mov qword [rbp - 0x11], rax
call fcn.140003dc0
and qword [rbp + 0x27], 0
lea r9, [rbp - 0x19]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x20
lea r8, [rbp + 0x1f]
mov dword [rbp + 0x1f], 0x30
mov edx, 0x100180
mov dword [rbp + 0x37], 0x240
lea rcx, [rbp + 0x6f]
mov qword [rbp + 0x2f], rbx
movdqu xmmword [rbp + 0x3f], xmm0
mov dword [rsp + 0x20], 7
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
js 0x14000266f
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x77]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rbp + 0x6f]
mov edx, 0x180
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rbp + 0x6f]
mov ebx, eax
test eax, eax
jns 0x140002611
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
jmp 0x14000266f
mov r9d, 0x28
mov dword [rbp + 0x17], 0x80
lea r8, [rbp - 9]
mov dword [rsp + 0x20], 4
lea rdx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov rax, qword [rbp + 0x77]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140002652
and qword [rcx + 0x10], 0
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rax, qword [rbp + 0x77]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rbp
ret

Function at 0x140003284
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x40
mov qword [rax - 0x18], rdx
xor r9d, r9d
mov qword [rax - 0x20], rcx
xor r8d, r8d
and qword [rax - 0x28], 0
lea rcx, [rax + 0x18]
mov edx, 0x1fffff
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov ebx, eax
test eax, eax
js 0x1400032bf
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x140003948
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, 0x5000
xor esi, esi
mov edx, edi
xor ecx, ecx
mov r8d, 0x5975616e
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140003a1a
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400039a6
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
add edi, edi
jmp 0x14000395e
test eax, eax
js 0x140003a0c
mov rcx, qword [rbx + 0x18]
mov r9d, 0x51eb851f
mov qword [0x140006010], rcx
mov sil, 1
mov eax, dword [rbx + 0x20]
mov dword [0x140006004], eax
mov r8, qword [rbx + 0x140]
mov qword [0x140006008], r8
mov eax, dword [rbx + 0x148]
mov dword [section..data], eax
mov eax, r9d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r9d
mov dword [0x140006020], edx
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [0x140006024], edx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov al, sil
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001115e
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400205c0
push rbp
push rdi
sub rsp, 0x4a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140038048]
xor rax, rbp
mov qword [rbp + 0x470], rax
lea rcx, [0x140040104]
call fcn.140011c35
xor edx, edx
mov ecx, 2
call fcn.1400115d7
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011762
test eax, eax
je 0x1400206c8
lea rdx, [rbp + 0x5c]
lea rcx, [rbp + 0x428]
call fcn.14001141a
mov qword [rbp + 0x458], rax
mov rax, qword [rbp + 0x458]
mov qword [rbp + 0x460], rax
xor r8d, r8d
lea rdx, str.GameProcess
mov rcx, qword [rbp + 0x460]
call fcn.140011861
cmp rax, 0xffffffffffffffff
je 0x140020676
mov dword [rbp + 0x468], 1
jmp 0x140020680
mov dword [rbp + 0x468], 0
movzx eax, byte [rbp + 0x468]
mov byte [rbp + 0x404], al
lea rcx, [rbp + 0x428]
call fcn.140011a5f
movzx eax, byte [rbp + 0x404]
test eax, eax
je 0x1400206b3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x1400206d4
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011a73
test eax, eax
jne 0x140020629
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140030b00]
call fcn.1400119f1
mov rax, rdi
mov rcx, qword [rbp + 0x470]
xor rcx, rbp
call fcn.1400115f5
lea rsp, [rbp + 0x488]
pop rdi
pop rbp
ret
Function at 0x1400116d6
Capabilities:
Terminate process

Disassembly:
jmp 0x140027480
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 0x1400117ee
Capabilities:
Get geographical location

Disassembly:
jmp 0x140022480
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1400224bd
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140011c1c
add rsp, 0x58
ret

Function at 0x140011866
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400287d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400287f0
xor al, al
jmp 0x140028871
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140028803
xor al, al
jmp 0x140028871
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 0x14002882d
xor al, al
jmp 0x140028871
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140028841
xor al, al
jmp 0x140028871
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140028853
xor al, al
jmp 0x140028871
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002886f
xor al, al
jmp 0x140028871
mov al, 1
add rsp, 0x38
ret
Function at 0x140011b04
Capabilities:
Get common file path

Disassembly:
jmp 0x140023eb0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140023ef8
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x140023ef8
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x140023f0f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret
Function at 0x1400073e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x1400073f5
mov r8d, r8d
add rsp, 0x28
jmp fcn.140006af0
test r8d, r8d
jne 0x1400073ff
call fcn.140006a80
xor eax, eax
add rsp, 0x28
ret

Function at 0x140007a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov eax, 0xfffffffe
test rcx, rcx
je 0x140007a77
mov rsi, rcx
cmp qword [rcx + 0x30], 0
je 0x140007a77
cmp qword [rsi + 0x38], 0
je 0x140007a77
mov rdi, qword [rsi + 0x28]
test rdi, rdi
je 0x140007a77
cmp qword [rdi], rsi
je 0x140007a86
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, r8d
mov rbx, rdx
mov ecx, dword [rdi + 8]
lea edx, [rcx - 0x39]
cmp edx, 0x38
ja 0x140007af3
movabs r8, 0x100400400011001
bt r8, rdx
jae 0x140007af3
test rbx, rbx
je 0x140007a77
mov ebp, dword [rdi + 0x2c]
cmp ebp, 2
je 0x140007a77
cmp ebp, 1
jne 0x140007b06
cmp ecx, 0x2a
jne 0x140007a77
cmp dword [rdi + 0xec], 0
jne 0x140007a77
mov ecx, dword [rsi + 0x4c]
mov rdx, rbx
mov r8d, r14d
call fcn.140006a70
mov dword [rsi + 0x4c], eax
mov dword [rdi + 0x2c], 0
mov eax, dword [rdi + 0x94]
cmp eax, r14d
jbe 0x140007b7d
jmp 0x140007b86
cmp ecx, 0x29a
je 0x140007aa7
cmp ecx, 0x2a
jne 0x140007a77
jmp 0x140007aa7
cmp dword [rdi + 0xec], 0
jne 0x140007a77
mov dword [rdi + 0x2c], 0
mov eax, dword [rdi + 0x94]
cmp eax, r14d
ja 0x140007b86
test ebp, ebp
jne 0x140007b7d
mov rax, qword [rdi + 0xb8]
mov ecx, dword [rdi + 0xc4]
dec ecx
mov word [rax + rcx*2], 0
mov rcx, qword [rdi + 0xb8]
mov r8d, dword [rdi + 0xc4]
dec r8d
add r8, r8
xor edx, edx
call fcn.140260830
mov dword [rdi + 0xe4], 0
mov dword [rdi + 0xd4], 0
mov dword [rdi + 0x1758], 0
mov eax, dword [rdi + 0x94]
sub r14d, eax
add rbx, r14
mov r14d, eax
mov r15d, dword [rsi + 8]
mov r12, qword [rsi]
mov dword [rsi + 8], r14d
mov qword [rsi], rbx
mov rcx, rdi
call fcn.140007cb0
mov r14d, dword [rdi + 0xec]
cmp r14d, 3
jae 0x140007c20
mov eax, dword [rdi + 0xe4]
add eax, r14d
mov dword [rdi + 0xe4], eax
mov dword [rdi + 0xd4], eax
mov dword [rdi + 0x1758], r14d
movabs rax, 0x200000000
mov qword [rdi + 0xec], rax
mov dword [rdi + 0xd8], 2
mov dword [rdi + 0xe0], 0
mov qword [rsi], r12
mov dword [rsi + 8], r15d
mov dword [rdi + 0x2c], ebp
xor eax, eax
jmp 0x140007a77
mov dword [rdi + 0xe4], ebx
mov dword [rdi + 0xec], 2
mov rcx, rdi
call fcn.140007cb0
mov r14d, dword [rdi + 0xec]
cmp r14d, 2
jbe 0x140007ba9
mov ebx, dword [rdi + 0xe4]
add r14d, 0xfffffffe
jmp 0x140007c97
mov eax, dword [rdi + 0xc0]
movzx ecx, byte [rdi + 0xd0]
shl eax, cl
movzx ecx, bx
mov rdx, qword [rdi + 0xa0]
mov r8, qword [rdi + 0xb0]
movzx edx, byte [rcx + rdx + 2]
xor edx, eax
and edx, dword [rdi + 0xcc]
mov dword [rdi + 0xc0], edx
mov rax, qword [rdi + 0xb8]
movzx eax, word [rax + rdx*2]
mov edx, dword [rdi + 0x9c]
and edx, ecx
mov word [r8 + rdx*2], ax
mov rax, qword [rdi + 0xb8]
mov edx, dword [rdi + 0xc0]
mov word [rax + rdx*2], cx
inc ebx
dec r14d
je 0x140007bfb
cmp dword [0x1403986a8], 0
je 0x140007c30
mov rcx, rdi
mov edx, ebx
call fcn.140009cd0
jmp 0x140007c8c
Function at 0x14000e5d0
Capabilities:
Create tcp socket

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rcx
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rsi, [rcx + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_EnterCriticalSection
mov ecx, 0x180
call fcn.1400237b0
mov rbx, rax
lea r14, [rax + 0x58]
lea rcx, [rax + 0x48]
movaps xmm0, xmmword [0x140297aa0]
movups xmmword [rax + 0x28], xmm0
mov r8d, 0x130
xor edx, edx
call fcn.140260830
mov ecx, 2
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x20], rax
mov r10, qword [rdi + 0xd0]
xorps xmm0, xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rdi + 0xa0]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x90
mov dword [rsp + 0x20], 0x90
mov rdx, rax
mov r8, r14
xor r9d, r9d
call r10
test eax, eax
jne 0x14000e692
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x14000e69d
inc dword [rdi + 0xe0]
mov dil, 1
jmp 0x14000e6c1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call fcn.140266508
mov ecx, edi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor edi, edi
mov rcx, rsi
call fcn.1400ee400
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14025dfe0
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret