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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14000bdbc
call fcn.140008968
mov dword [rax], 0x16
call fcn.140008848
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14000bda4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14000bda4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14000bdee
lock or dword [rax + 0x14], 0x10
jmp 0x14000bda4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14000be0b
mov rcx, qword [rbp + 0x10]
call fcn.140011de0
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140008b24
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14000907c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14000be62
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14000bda4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14000bece
mov rcx, qword [rbp + 0x10]
call fcn.140008b24
cmp eax, 0xffffffff
je 0x14000beb5
mov rcx, qword [rbp + 0x10]
call fcn.140008b24
cmp eax, 0xfffffffe
je 0x14000beb5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140008b24
movsxd rdi, eax
lea rsi, [0x1400201b0]
mov rcx, rbx
sar rdi, 6
call fcn.140008b24
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14000bebc
lea rax, [0x14001f260]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14000bece
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14000bf04
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14000bf00
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14000bf00
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14000bda7
jmp 0x14000bd74
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.1400b6eb0
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.140095428
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.140095428
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.140095bf8
mov rcx, rax
call fcn.140095920
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.140094e70
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.1400958f4
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.140084740
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.1400958f4
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.140084740
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.140084740
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.140084740
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.140084740
add rsp, 0x58
ret
Function at 0x14001be30
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, [0x14001bed0]
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 0x14001be85
mov rcx, qword [rbx]
mov edx, 6
call qword [sym.imp.USER32.dll_ShowWindow]
add rbx, 8
cmp rbx, rdi
jne 0x14001be69
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14001bebf
mov rdx, qword [rsp + 0x30]
mov rax, rbx
sub rdx, rbx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14001beb7
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001beca
mov rcx, rbx
call fcn.140084ac0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call fcn.14008ed64
int3
Function at 0x14001c300
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 0x14001c35f
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.140023ec8
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 0x14001c403
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c3fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c4d0
call fcn.140084ac0
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 0x14001c492
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 0x14001c4a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c48b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c4ca
call fcn.140084ac0
jmp 0x14001c4a3
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.140084740
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14008ed64
nop
call fcn.14008ed64
nop
int3
Function at 0x14001c55c
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.14001c4d8
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 0x14001c5d1
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.1400b7550
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 0x14001c636
lea rdx, [rbp - 0x29]
lea rcx, str.17088
call fcn.14000a150
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x29]
call fcn.1400b7550
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 0x14001c698
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, str.46F85C53
call fcn.14000a150
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14001c6ec
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c6e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c70f
call fcn.140084ac0
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140084740
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14008ed64
int3
Function at 0x14001c718
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.14001c300
lea rcx, [0x1400e4fe8]
xor edi, edi
mov rbx, rax
cmp rcx, rax
je 0x14001c775
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.14001c4d8
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 0x14001c7ef
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c7ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c80c
call fcn.140084ac0
mov al, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140084740
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.14008ed64
int3

Function at 0x14001edac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xf
mov rbx, rcx
mov rdx, rcx
jbe 0x14001edc2
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 0x14001ee17
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14001ee12
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001ee2d
mov rcx, r8
call fcn.140084ac0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], recvfrom
mov byte [rbx], 0
add rsp, 0x20
pop rbx
ret
call fcn.14008ed64
int3

Function at 0x14001ee80
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 0x14001eede
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.14001edac
xor al, al
jmp 0x14001eee0
mov al, 1
add rsp, 0x48
ret

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

Disassembly:
mov rdx, rcx
jmp 0x140023984
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 0x140023991
mov rax, rcx
ret

Function at 0x140026478
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 0x14002647b
not r8d
mov eax, r8d
ret
Function at 0x1400264a4
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 0x1400264fe
mov r11b, 0x23
lea rdi, [0x1400c8cb0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1400264e8
cmp rdx, 2
jb 0x1400264e8
cmp byte [r10], r11b
jne 0x1400264e8
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 0x1400264c6
jmp 0x14002653f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14002653f
mov r11b, 0x23
lea rdi, [0x1400c8cb0]
cmp dl, r11b
jne 0x140026523
cmp byte [r10], r11b
jne 0x140026523
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 0x140026511
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1400266e4
Capabilities:
Read file on windows

Disassembly:
mov edx, 1
jmp fcn.140095428
Function at 0x14004b2cc
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 0x14004b3be
xor ecx, ecx
cmp ebx, 7
jbe 0x14004b36b
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 0x14004b306
cmp ecx, ebx
jae 0x14004b388
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 0x14004b375
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 0x14004b2fc
mov rbx, qword [rsp + 8]
shl r9d, 0x10
lea eax, [r10 + r9]
ret