joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004929c
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 0x1800492cc
xor eax, eax
jmp 0x18004938f
mov rbp, rbx
cmp word [rax], si
je 0x1800492f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800492d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800492d4
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.180047984
movsxd r14, eax
test eax, eax
jne 0x18004932f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800492c5
mov rcx, r14
call fcn.1800447b8
mov rdi, rax
test rax, rax
jne 0x180049348
xor ecx, ecx
call fcn.1800428ec
jmp 0x180049324
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.180047984
test eax, eax
jne 0x180049379
mov rcx, rdi
call fcn.1800428ec
jmp 0x180049383
xor ecx, ecx
call fcn.1800428ec
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 0x18004cf88
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.180040a20
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 0x18004d029
cmp ebx, dword [rsp + 0x30]
je 0x18004d022
test esi, esi
je 0x18004d022
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18004cffd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18004d00a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18004cfe7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18004d00e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18004d02b
mov eax, 1
jmp 0x18004d02b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18004e6b4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800462e8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800462e8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18004e804
cmp rax, 0xffffffffffffffff
je 0x18004e804
xor edi, edi
test rbp, rbp
jle 0x18004e7af
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180042874
mov rbx, rax
test rax, rax
jne 0x18004e73c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x18004e7a5
mov edx, 0x8000
mov ecx, r14d
call fcn.18004e538
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180043e60
cmp eax, 0xffffffff
je 0x18004e785
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18004e74c
mov edx, r15d
mov ecx, r14d
call fcn.18004e538
jmp 0x18004e7a5
cmp byte [rsi + 0x38], dil
je 0x18004e79c
cmp dword [rsi + 0x34], 5
jne 0x18004e79c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x18004e7a5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800428ec
jmp 0x18004e818
jns 0x18004e818
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800462e8
cmp rax, 0xffffffffffffffff
jne 0x18004e7d0
cmp byte [rsi + 0x30], dil
je 0x18004e818
mov edi, dword [rsi + 0x2c]
jmp 0x18004e818
mov ecx, r14d
call fcn.18004a8dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18004e818
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x18004e818
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18004e811
mov eax, dword [rsi + 0x2c]
jmp 0x18004e816
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800462e8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x18004f840
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18004f868
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18004f868
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002e10
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x180002e2f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x180002e37
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x180003bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 0
jmp 0x180003c8f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x180003d11
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x180005158]
call fcn.180003d90
test eax, eax
jne 0x180003d0c
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x180003d11
jmp 0x180003c85
add rsp, 0x88
ret
Function at 0x14006d398
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x14013fe10
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rcx, [0x1401a7479]
call fcn.14006efbd
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
mov rax, qword [0x140199980]
cmp qword [rbp + 8], rax
jne 0x14013fe86
mov edx, 3
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rbp + 0x28], rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x28]
mov rcx, qword [0x140199980]
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x14013ff06
movzx eax, byte [0x140192ae4]
test eax, eax
jne 0x14013feb0
mov dword [rbp + 0xf4], 1
jmp 0x14013feba
mov dword [rbp + 0xf4], 0
movzx eax, byte [rbp + 0xf4]
mov byte [0x140192ae4], al
movzx eax, byte [0x140192ae4]
test eax, eax
je 0x14013feed
mov r8d, 0xa0
mov edx, 0xffffffec
mov rcx, qword [0x140199980]
call qword [sym.imp.USER32.dll_SetWindowLongA]
nop
jmp 0x14013ff06
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140199980]
call qword [sym.imp.USER32.dll_SetWindowLongA]
nop
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14006d965
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140091380
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a7170]
call fcn.14006efbd
nop
mov eax, 4
imul rax, rax, 1
lea rcx, [0x140192bb0]
cmp dword [rcx + rax], 0
jne 0x140091429
mov dword [rbp + 4], 0xedb88320
mov dword [rbp + 0x24], 0
jmp 0x1400913d7
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x100
jae 0x140091429
mov eax, dword [rbp + 0x24]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x64], 0
jmp 0x1400913f7
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 8
jae 0x140091417
mov eax, dword [rbp + 0x44]
shr eax, 1
mov ecx, dword [rbp + 0x44]
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 0x44], eax
jmp 0x1400913ef
mov eax, dword [rbp + 0x24]
lea rcx, [0x140192bb0]
mov edx, dword [rbp + 0x44]
mov dword [rcx + rax*4], edx
jmp 0x1400913cf
mov eax, dword [rbp + 0x1d0]
not eax
mov dword [rbp + 0x1d0], eax
mov eax, dword [rbp + 0x1d0]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0xa8], rax
cmp dword [rbp + 0x1c8], 0
jle 0x1400914c8
mov eax, dword [rbp + 0x1c8]
mov dword [rbp + 0x194], eax
mov eax, dword [rbp + 0x1c8]
dec eax
mov dword [rbp + 0x1c8], eax
cmp dword [rbp + 0x194], 0
je 0x1400914c3
mov eax, dword [rbp + 0x84]
shr eax, 8
mov ecx, dword [rbp + 0x84]
and ecx, 0xff
mov rdx, qword [rbp + 0xa8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
lea rdx, [0x140192bb0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0xa8]
inc rax
mov qword [rbp + 0xa8], rax
jmp 0x14009145a
jmp 0x140091573
mov rax, qword [rbp + 0xa8]
movzx eax, byte [rax]
mov byte [rbp + 0xc4], al
mov rax, qword [rbp + 0xa8]
inc rax
mov qword [rbp + 0xa8], rax
movzx eax, byte [rbp + 0xc4]
test eax, eax
je 0x140091573
movzx eax, byte [rbp + 0xc4]
cmp eax, 0x23
jne 0x14009153e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0xa8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009153e
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0xa8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14009153e
mov eax, dword [rbp + 0x1d0]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
shr eax, 8
mov ecx, dword [rbp + 0x84]
and ecx, 0xff
movzx edx, byte [rbp + 0xc4]
xor ecx, edx
mov ecx, ecx
lea rdx, [0x140192bb0]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x84], eax
jmp 0x1400914c8
mov eax, dword [rbp + 0x84]
not eax
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x14006dc17
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400a48d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x140192540]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1401a7170]
call fcn.14006efbd
nop
mov rax, qword [0x140192b38]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
xorps xmm0, xmm0
movss dword [rax + 0x2d9c], xmm0
cmp qword [rbp + 0x160], 0
jne 0x1400a4940
jmp 0x1400a4998
mov qword [rbp + 0x28], 0
lea rcx, [rbp + 0x28]
call fcn.14006f288
mov qword [rbp + 0x48], rax
lea rdx, [0x14015a350]
mov rcx, qword [rbp + 0x160]
call fcn.14006dcd0
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x1400a4975
jmp 0x1400a4998
mov r9, qword [rbp + 0x68]
mov r8, qword [rbp + 0x28]
mov edx, 1
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ucrtbased.dll_fwrite]
nop
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1401530b0]
call fcn.14006ea81
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.14006def6
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14006e15d
Capabilities:
Terminate process

Disassembly:
jmp 0x140145db0
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]
nop
add rsp, 0x28
ret

Function at 0x14006e482
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1400fae50
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140192540]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1401a730f]
call fcn.14006efbd
nop
call fcn.14006e874
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x28]
mov rcx, qword [0x1401998e8]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
mov eax, dword [rbp + 0x2c]
mov ecx, dword [rbp + 0x34]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rbp + 0x28]
mov ecx, dword [rbp + 0x30]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rbp + 0x154]
call fcn.14006e400
mov rax, qword [rax]
mov rcx, qword [rbp + 8]
mov qword [rcx + 8], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
mov rax, qword [0x1401998f0]
mov rcx, qword [rbp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1401998f8]
divss xmm0, xmm1
mov rax, qword [rbp + 8]
movss dword [rax + 0x10], xmm0
mov rax, qword [rbp + 0x58]
mov qword [0x1401998f0], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400faf42
mov dword [rbp + 0x164], 1
jmp 0x1400faf4c
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x128], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400faf7e
mov dword [rbp + 0x164], 1
jmp 0x1400faf88
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x129], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1400fafba
mov dword [rbp + 0x164], 1
jmp 0x1400fafc4
mov dword [rbp + 0x164], 0
mov rax, qword [rbp + 8]
movzx ecx, byte [rbp + 0x164]
mov byte [rax + 0x12a], cl
mov rax, qword [rbp + 8]
mov byte [rax + 0x12b], 0
call fcn.1400fb2a0
nop
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x1400fb001
mov dword [rbp + 0x164], 0xffffffff
jmp 0x1400fb00c
call fcn.14006e185
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x74], eax
mov eax, dword [rbp + 0x74]
cmp dword [0x140192444], eax
je 0x1400fb02f
mov eax, dword [rbp + 0x74]
mov dword [0x140192444], eax
call fcn.1400fb120
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1401723b0]
call fcn.14006ea81
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14006def6
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x14006e513
Capabilities:
Enumerate processes

Disassembly:
jmp 0x14013dd40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x140192540]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x1401a7455]
call fcn.14006efbd
nop
xor edx, edx
mov ecx, 2
call fcn.14006dea1
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x238
lea rax, [rbp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14006e2f7
test eax, eax
je 0x14013ddf8
lea rdx, [rbp + 0x5c]
mov rcx, qword [rbp + 0x420]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14013dde7
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x38]
jmp 0x14013de05
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14006eb58
test eax, eax
jne 0x14013ddc2
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14017c410]
call fcn.14006ea81
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.14006def6
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret
Function at 0x14006e5d6
Capabilities:
Read file on windows

Disassembly:
jmp 0x140090b60
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a7170]
call fcn.14006efbd
nop
cmp qword [rbp + 0x160], 0
je 0x140090ba3
cmp qword [rbp + 0x168], 0
jne 0x140090bc4
mov eax, dword [0x14018d014]
inc eax
mov r8d, eax
lea rdx, str.E:PUBG_External_Cheat_FULL_Feature_PUBG_ExternalPUBG_Cheatimguiimgui.cpp
lea rcx, str.filename__file_open_mode
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
cmp qword [rbp + 0x170], 0
je 0x140090bdc
mov rax, qword [rbp + 0x170]
mov qword [rax], 0
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call fcn.14006dcd0
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140090c01
xor eax, eax
jmp 0x140090d13
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
jne 0x140090c3d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_ftell]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0xffffffff
je 0x140090c3d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fseek]
test eax, eax
je 0x140090c4f
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
xor eax, eax
jmp 0x140090d13
movsxd rax, dword [rbp + 0x24]
mov qword [rbp + 0x48], rax
movsxd rax, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14006d933
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140090c8d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
xor eax, eax
jmp 0x140090d13
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x48]
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ucrtbased.dll_fread]
cmp rax, qword [rbp + 0x48]
je 0x140090cc3
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
mov rcx, qword [rbp + 0x68]
call fcn.14006ebb7
nop
xor eax, eax
jmp 0x140090d13
cmp dword [rbp + 0x178], 0
jle 0x140090cec
movsxd rax, dword [rbp + 0x178]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x68]
add rdx, rcx
mov rcx, rdx
mov r8, rax
xor edx, edx
call fcn.14006e815
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
nop
cmp qword [rbp + 0x170], 0
je 0x140090d0f
mov rax, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov rax, qword [rbp + 0x68]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14006e63a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401477a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401477c0
xor al, al
jmp 0x140147841
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401477d3
xor al, al
jmp 0x140147841
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 0x1401477fd
xor al, al
jmp 0x140147841
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140147811
xor al, al
jmp 0x140147841
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140147823
xor al, al
jmp 0x140147841
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14014783f
xor al, al
jmp 0x140147841
mov al, 1
add rsp, 0x38
ret

Function at 0x14006e6a8
Capabilities:
Create thread
Terminate process

Disassembly:
jmp 0x14013b3d0
push rbp
push rsi
push rdi
sub rsp, 0x1a0
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140192540]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1401a7457]
call fcn.14006efbd
nop
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x1c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14013b448
jmp 0x14013b501
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 8], eax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x48]
add rax, 0x380
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
add rax, 0x10
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], 0x999
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 8]
lea r8, [0x14006e833]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
movzx eax, byte [0x140199944]
test eax, eax
je 0x14013b4dc
lea rdx, str.Error_Connecting
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006d348
nop
call qword [sym.imp.ucrtbased.dll_getchar]
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rax, [rbp + 0x130]
lea rcx, [rbp + 8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rcx, [rbp + 0x130]
call fcn.14006d672
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14017cc30]
call fcn.14006ea81
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14006def6
lea rsp, [rbp + 0x170]
pop rdi
pop rsi
pop rbp
ret