joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007420
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000744e
xor eax, eax
jmp 0x140007534
cmp qword [rcx + 0x68], 0
je 0x14000745f
call fcn.140008564
jmp 0x140007534
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140007476
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007478
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400074aa
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400b6e90
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000752e
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400074e1
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000750a
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140095408
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000752e
cmp rsi, rbx
ja 0x1400074e8
test rsi, rsi
je 0x14000752e
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140095408
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140011c14
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1f0
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x101
lea rdx, [rsp + 0x40]
mov rsi, r8
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140011c5c
mov eax, 0xffffdcd8
jmp 0x140011db3
movzx eax, word [rsp + 0x40]
cmp al, 1
jne 0x140011da0
shr ax, 8
cmp al, 1
jne 0x140011da0
xor ecx, ecx
call fcn.140095bd8
mov rcx, rax
call fcn.140095900
xor r8d, r8d
lea ebp, [r8 + 2]
mov edx, ebp
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rbx
mov qword [0x1400e9230], rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, rdi
mov word [0x1400e9220], bp
mov dword [0x1400e9224], eax
call fcn.140094e50
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, rsi
mov word [0x1400e9222], ax
call fcn.140011b1c
mov dword [0x1400e89e0], eax
call fcn.1400958d4
mov rcx, qword [0x1400e9230]
lea ebx, [rbp + 0xe]
and dword [0x1400e89e8], 0
lea rdi, [0x1400e9220]
xorps xmm0, xmm0
mov dword [0x1400e89e4], eax
xor eax, eax
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov qword [0x1400e89d8], rax
mov r8d, ebx
mov qword [0x1400e8df0], rax
lea rdx, [0x1400e89e0]
mov dword [0x1400e8df8], eax
mov dword [0x1400e89ec], 0xaf3c2828
movups xmmword [0x1400e89a8], xmm0
mov qword [rsp + 0x20], rdi
movups xmmword [0x1400e89b8], xmm0
movups xmmword [0x1400e89c8], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
lea ecx, [rbp + 0x12]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400e9230]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400e8e00]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8d, 0x400
mov dword [rsp + 0x30], ebx
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140011d92
mov eax, 0xffffdcdb
jmp 0x140011db3
lea rdx, [0x1400e89e0]
call fcn.140011bec
jmp 0x140011db3
call qword [sym.imp.WS2_32.dll_WSACleanup]
or qword [0x1400e9230], 0xffffffffffffffff
mov eax, 0xffffdcd9
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140084720
mov rbx, qword [rsp + 0x228]
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011dd8
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x1400e9230], 0
mov ebx, ecx
ja 0x140011e03
mov eax, 0xffffdcd8
jmp 0x140011eed
inc dword [0x1400e89e8]
mov dword [0x1400e89ec], 0x9823ae8d
call fcn.1400958d4
mov ecx, dword [0x1400e89a8]
lea rdx, [0x1400e89e0]
movups xmm1, xmmword [0x1400e89b8]
mov dword [0x1400e89e4], eax
mov eax, ecx
or eax, 1
and ecx, 0xfffffffe
test ebx, ebx
movaps xmmword [0x1400e8a00], xmm1
movsd xmm1, qword [0x1400e89d8]
mov ebx, recvfrom
cmovne ecx, eax
mov dword [rsp + 0x28], ebx
mov dword [0x1400e89a8], ecx
lea rax, [0x1400e9220]
movups xmm0, xmmword [0x1400e89a8]
mov rcx, qword [0x1400e9230]
lea r8d, [rbx + 0x38]
xor r9d, r9d
movsd qword [0x1400e8a20], xmm1
movaps xmmword [0x1400e89f0], xmm0
movups xmm0, xmmword [0x1400e89c8]
mov qword [rsp + 0x20], rax
movaps xmmword [0x1400e8a10], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1400e9230]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400e8e00]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140011ee1
mov eax, 0xffffdcdb
jmp 0x140011eed
lea rdx, [0x1400e89e0]
call fcn.140011bec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140084720
add rsp, 0x50
pop rbx
ret

Function at 0x140011f00
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, ecx
mov rcx, qword [0x1400e9230]
test rcx, rcx
jne 0x140011f2b
mov eax, 0xffffdcd8
jmp 0x140012011
movups xmm1, xmmword [0x1400e89b8]
inc dword [0x1400e89e8]
xor r9d, r9d
mov dword [0x1400e89ac], eax
lea rax, [0x1400e9220]
mov dword [0x1400e89b0], edx
lea rdx, [0x1400e89e0]
movups xmm0, xmmword [0x1400e89a8]
and dword [0x1400e89ac], 0
lea r8d, [r9 + 0x48]
and dword [0x1400e89b0], 0
movaps xmmword [0x1400e89f0], xmm0
movups xmm0, xmmword [0x1400e89c8]
mov dword [rsp + 0x28], recvfrom
movaps xmmword [0x1400e8a00], xmm1
movsd xmm1, qword [0x1400e89d8]
movaps xmmword [0x1400e8a10], xmm0
mov dword [0x1400e89ec], 0xaede7346
mov dword [0x1400e89e4], 0x14
movsd qword [0x1400e8a20], xmm1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1400e9230]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400e8e00]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], recvfrom
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140012005
mov eax, 0xffffdcdb
jmp 0x140012011
lea rdx, [0x1400e89e0]
call fcn.140011bec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140084720
add rsp, 0x58
ret
Function at 0x140012150
Capabilities:
Create thread
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1400e9230]
test rcx, rcx
jne 0x14001217b
mov eax, 0xffffdcd8
jmp 0x140012267
movzx eax, word [0x1400e9222]
lea rdx, [0x1400e89e0]
inc dword [0x1400e89e8]
inc eax
or eax, 0xaa550000
mov dword [0x1400e89ec], 0x27388020
mov dword [0x1400e89e4], eax
mov ebx, recvfrom
lea rax, [0x1400e9220]
mov dword [rsp + 0x28], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, ebx
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1400e9230]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400e8e00]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp qword [0x1400e9340], 0
jne 0x14001223c
lea rax, [rsp + 0x34]
mov dword [0x1400e92ec], 1
mov qword [rsp + 0x28], rax
lea r8, [0x140012024]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1400e9340], rax
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1400e92ec], 2
jne 0x1400121fe
test ebx, ebx
jns 0x14001225b
mov eax, 0xffffdcdb
jmp 0x140012267
lea rdx, [0x1400e89e0]
call fcn.140011bec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140084720
add rsp, 0x50
pop rbx
ret

Function at 0x140012294
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, ecx
mov rcx, qword [0x1400e9230]
test rcx, rcx
jne 0x1400122bf
mov eax, 0xffffdcd8
jmp 0x140012365
inc dword [0x1400e89e8]
test eax, eax
mov dword [0x1400e89ec], 0x23234343
mov eax, dword [0x1400e9348]
je 0x1400122de
or eax, 1
jmp 0x1400122e1
and eax, 0xfffffffe
xor r9d, r9d
mov dword [0x1400e89e4], eax
mov dword [0x1400e9348], eax
lea rdx, [0x1400e89e0]
lea rax, [0x1400e9220]
mov dword [rsp + 0x28], recvfrom
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x10]
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x1400e9230]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400e8e00]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], recvfrom
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x140012359
mov eax, 0xffffdcdb
jmp 0x140012365
lea rdx, [0x1400e89e0]
call fcn.140011bec
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140084720
add rsp, 0x58
ret
Function at 0x14001be1c
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
lea rdx, [rax - 0x28]
xorps xmm0, xmm0
lea rcx, [0x14001bebc]
movdqu xmmword [rax - 0x28], xmm0
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
cmp rbx, rdi
je 0x14001be71
mov rcx, qword [rbx]
mov edx, 6
call qword [sym.imp.USER32.dll_ShowWindow]
add rbx, 8
cmp rbx, rdi
jne 0x14001be55
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14001beab
mov rdx, qword [rsp + 0x30]
mov rax, rbx
sub rdx, rbx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14001bea3
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001beb6
mov rcx, rbx
call fcn.140084aa0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.14008ed44
int3
Function at 0x14001c2ec
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14001c34b
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140011888
nop
mov r8d, recvfrom
lea rdx, str.offsets.ini
lea rcx, [rsp + 0x50]
call fcn.140023eb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001c3ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c3ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c4bc
call fcn.140084aa0
movdqa xmm0, xmmword [0x1400d0ea0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001c47e
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1400ced1c]
mov rcx, rbx
call fcn.140011888
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001c48f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c4b6
call fcn.140084aa0
jmp 0x14001c48f
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140084720
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14008ed44
nop
call fcn.14008ed44
nop
int3
Function at 0x14001c548
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, [rbp - 0x49]
call fcn.14001c4c4
nop
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov esi, 0x64
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x29]
lea r8, [0x1400c7f3d]
lea rdx, [0x1400ced20]
lea rcx, str.kmbox
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rax, [rbp - 0x29]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14001c5bd
lea rdx, [rbp - 0x29]
lea rcx, str.192.168.2.188
call fcn.14000a150
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.1400b7530
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x29]
lea r8, [0x1400c7f3d]
lea rdx, str.port
lea rcx, str.kmbox
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rax, [rbp - 0x29]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14001c622
lea rdx, [rbp - 0x29]
lea rcx, str.17088
call fcn.14000a150
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.1400b7530
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 0xf
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp - 0x29]
lea r8, [0x1400c7f3d]
lea rdx, str.uuid
lea rcx, str.kmbox
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rax, [rbp - 0x29]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001c684
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, str.46F85C53
call fcn.14000a150
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14001c6d8
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c6d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c6fb
call fcn.140084aa0
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140084720
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14008ed44
int3
Function at 0x14001c704
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400e4080]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.14001c2ec
lea rcx, [0x1400e4fe8]
xor edi, edi
mov rbx, rax
cmp rcx, rax
je 0x14001c761
call fcn.140002da0
movups xmm0, xmmword [rbx]
movups xmmword [0x1400e4fe8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1400e4ff8], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
lea rcx, [rsp + 0x40]
call fcn.140002da0
lea rcx, [rsp + 0x20]
call fcn.14001c4c4
cmp qword [rsp + 0x38], 0xf
lea r9, [rsp + 0x20]
lea rdx, str.enable
cmova r9, qword [rsp + 0x20]
lea rcx, str.debug
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rdx, qword [rsp + 0x38]
test eax, eax
setne bl
cmp rdx, 0xf
jbe 0x14001c7db
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c7d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c7f8
call fcn.140084aa0
mov al, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140084720
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.14008ed44
int3

Function at 0x14001ed94
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xf
mov rbx, rcx
mov rdx, rcx
jbe 0x14001edaa
mov rdx, qword [rcx]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14001edff
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001edfa
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ee15
mov rcx, r8
call fcn.140084aa0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], recvfrom
mov byte [rbx], 0
add rsp, 0x20
pop rbx
ret
call fcn.14008ed44
int3

Function at 0x14001ee68
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x48
lea r8, str.PUBG_DMA
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001eec6
and qword [rsp + 0x30], 0
lea rdx, str.Pubg_DMA_is_Opened_
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov r8d, socket
movups xmmword [rsp + 0x20], xmm0
call fcn.140003030
lea rcx, [rsp + 0x20]
call fcn.14001ed94
xor al, al
jmp 0x14001eec8
mov al, 1
add rsp, 0x48
ret

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

Disassembly:
mov rdx, rcx
jmp 0x14002396c
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 4
jb 0x140023979
mov rax, rcx
ret

Function at 0x140026460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
not r8d
movzx eax, byte [rcx]
inc rcx
movzx r9d, r8b
xor r9, rax
shr r8d, 8
lea rax, [0x1400c8cb0]
xor r8d, dword [rax + r9*4]
sub rdx, 1
jne 0x140026463
not r8d
mov eax, r8d
ret
Function at 0x14002648c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400264e6
mov r11b, 0x23
lea rdi, [0x1400c8cb0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400264d0
cmp rdx, 2
jb 0x1400264d0
cmp byte [r10], r11b
jne 0x1400264d0
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1400264ae
jmp 0x140026527
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140026527
mov r11b, 0x23
lea rdi, [0x1400c8cb0]
cmp dl, r11b
jne 0x14002650b
cmp byte [r10], r11b
jne 0x14002650b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1400264f9
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400266cc
Capabilities:
Read file on windows

Disassembly:
mov edx, 1
jmp fcn.140095408
Function at 0x14004b2b4
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov r10d, 1
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x14004b3a6
xor ecx, ecx
cmp ebx, 7
jbe 0x14004b353
lea edx, [rcx + 7]
movzx eax, byte [r11]
add ecx, 8
add r10d, eax
add edx, 8
movzx eax, byte [r11 + 1]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 2]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 3]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 4]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 5]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 6]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 7]
add r9d, r10d
add r10d, eax
add r11, 8
add r9d, r10d
cmp edx, ebx
jb 0x14004b2ee
cmp ecx, ebx
jae 0x14004b370
mov eax, ebx
sub eax, ecx
mov ecx, eax
movzx eax, byte [r11]
inc r11
add r10d, eax
add r9d, r10d
sub rcx, 1
jne 0x14004b35d
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r10d, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul ecx, edx, 0xffff000f
add r9d, ecx
sub r8d, ebx
mov ebx, 0x15b0
jne 0x14004b2e4
mov rbx, qword [rsp + 8]
shl r9d, 0x10
lea eax, [r10 + r9]
ret
Function at 0x14004ce60
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret

Function at 0x140060d34
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
and dword [rbp + 0x17], 0
lea rax, [0x140061048]
and dword [rbp + 0x1b], 0
mov rbx, rcx
xor ecx, ecx
mov qword [rbp + 0xf], rax
mov dword [rbp + 7], 0x50
mov dword [rbp + 0xb], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdi, [rbx + 0xc0]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp + 0x1f], rax
cmp qword [rdi + 0x18], 7
mov rax, rdi
movdqa xmmword [rbp + 0x27], xmm0
movdqa xmmword [rbp + 0x37], xmm1
jbe 0x140060d9f
mov rax, qword [rdi]
and qword [rbp + 0x4f], 0
lea rcx, [rbp + 7]
mov qword [rbp + 0x47], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si ecx, dword [rbx + 0xec]
lea r8, [rbx + 0x80]
cmp qword [r8 + 0x18], 7
cvttss2si edx, dword [rbx + 0xe8]
jbe 0x140060dd3
mov r8, qword [r8]
cmp qword [rdi + 0x18], 7
jbe 0x140060ddd
mov rdi, qword [rdi]
and qword [rsp + 0x58], 0
mov r9d, 0x80000000
mov rax, qword [rbp + 0x1f]
mov qword [rsp + 0x50], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], edx
mov rdx, rdi
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [rbp + 0x1f]
mov rdx, rax
mov qword [rbx + 0x58], rcx
mov qword [rbx + 0x50], rax
call fcn.1400606e4
test al, al
jne 0x140060e51
lea rcx, [0x1400e9458]
call fcn.140060860
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor al, al
jmp 0x140060e72
mov rcx, qword [rbx + 0x50]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rbx + 0x50], 0
setne al
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140061db4
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 0x140061dee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140061df3
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 0x140061e3c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400bb9b0]
cmp byte [rcx + rax], 0
je 0x140061e3c
dec r8
sub rdx, 1
jne 0x140061e22
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret