joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002200
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000224d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002244
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000224f
add rax, 0x28
cmp rax, r9
jne 0x140002230
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400022e0
mov rdx, qword [0x1400043f0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400022ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400022ce
cmp word [rax + 0x18], 0x20b
jne 0x1400022ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400022e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400022b9
add rbx, 0x28
cmp rbx, rdi
je 0x1400022e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400022b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400022f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002310
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002318
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002310
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000236d
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 0x140002364
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002310
add rax, 0x28
cmp rax, r9
jne 0x140002350
xor eax, eax
ret

Function at 0x140002370
Capabilities:
Parse pe header

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

Function at 0x1400023b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043f0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400023d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400023d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400023d0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002420
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002417
test rcx, rcx
je 0x1400023d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002408
xor eax, eax
ret
Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000244f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002458
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002490
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002498
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002490
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002490
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400024e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400024f0
add rdx, 0x28
cmp r9, rdx
jne 0x1400024d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002522
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002530
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002522
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002522
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002522
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002585
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002598
add rdx, 0x28
cmp rdx, r10
jne 0x140002570
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400025a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000258e
test ecx, ecx
jg 0x1400025a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400012f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400035e8], rbx
je 0x14000133c
cmp rax, rbx
jne 0x14000132f
mov ebx, 1
mov esi, ebx
jmp 0x140001341
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001314
mov ebx, 1
mov eax, dword [0x1400035f0]
cmp eax, ebx
jne 0x140001357
mov ecx, 0x1f
call fcn.140093000
jmp 0x1400013bc
mov eax, dword [0x1400035f0]
test eax, eax
jne 0x1400013b6
mov dword [0x1400035f0], ebx
lea r15, [0x140002298]
lea rdi, [0x140002280]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400013a8
test eax, eax
jne 0x1400013ac
cmp qword [rdi], 0
je 0x14000139d
mov rax, qword [rdi]
mov rcx, qword [0x140002260]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000137e
test eax, eax
je 0x1400013bc
mov eax, 0xff
jmp 0x140001498
mov dword [0x140003024], ebx
mov eax, dword [0x1400035f0]
cmp eax, ebx
jne 0x1400013e3
lea rdx, [0x140002278]
lea rcx, [0x140002268]
call sub.msvcrt.dll__initterm
mov dword [0x1400035f0], 2
test esi, esi
jne 0x1400013f0
xor eax, eax
xchg qword [0x1400035e8], rax
cmp qword [0x1400035f8], 0
je 0x140001424
lea rcx, [0x1400035f8]
call fcn.1400016a0
test eax, eax
je 0x140001424
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400035f8]
mov r9, qword [0x140002260]
call r9
mov r8, qword [0x140003038]
mov rdx, qword [0x140003030]
mov ecx, dword [0x140003028]
call fcn.140001138
mov dword [0x140003020], eax
cmp dword [0x140003040], 0
jne 0x140001454
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003024], 0
jne 0x140001469
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003020]
jmp 0x140001498
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140001734
add rsp, 0x28
jmp 0x1400012f0

Function at 0x14000158c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400015d8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400015d0
cmp dword [rcx + 0x3c], edx
jl 0x1400015d0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400015d0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400015d8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140027db0
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.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
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.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
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 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
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 0x180024440
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002445d
mov eax, 1
cmp edx, eax
jne 0x18002449f
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002449a
cmp qword [0x180060a78], 8
lea rcx, [0x180060a60]
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [0x180034acc]
lea rcx, [0x180060a60]
call fcn.1800014a0
mov eax, 1
add rsp, 0x28
ret
Function at 0x14001cb10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001cb1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001cb2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001cb15
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001cb45
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001cb32
sub eax, 3
jb 0x14001cb5f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001cb96
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001cb86
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001cb84
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001cb73
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001cad2
jmp 0x14001cb1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xbe00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001cbe2
cmp rsi, rcx
jae 0x14001cbea
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001cbc9
cmp al, 0x8f
ja 0x14001cbc9
cmp byte [rsi - 2], 0xf
je 0x14001cbcf
sub al, 0xe8
cmp al, 1
ja 0x14001cbb3
cmp rsi, rcx
jae 0x14001cbea
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001cbb9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001cbea
lodsb al, byte [rsi]
jmp 0x14001cbc9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1a000]
mov eax, dword [rdi]
or eax, eax
je 0x14001cc47
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1c000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14001cbf7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14001cc41
mov qword [rbx], rax
add rbx, 8
jmp 0x14001cc17
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14001cc81
cmp al, 0xef
ja 0x14001cc73
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14001cc53
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14001cc62
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14001ccd5
sub rsp, 0xffffffffffffff80
jmp 0x1400012f4
Function at 0x180004870
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r8
push rdi
sub rsp, 0x20
and dword [rax + 0x18], 0
lea rcx, str.Press_Key
and dword [rax + 0x1c], 0
mov rdi, rdx
movsxd rax, dword [rdx]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + rax*8]
call fcn.18003e1a8
xor esi, esi
test al, al
je 0x1800048ca
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800048ad
mov dword [rdi], esi
cmp dword [rdi], esi
jne 0x1800048fb
mov ebx, esi
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800048fb
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800048f9
inc ebx
cmp ebx, 0x100
jl 0x1800048d0
jmp 0x1800048fb
mov dword [rdi], ebx
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180005370
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
cmp qword [0x180059ff8], rsi
je 0x1800053eb
mov ecx, dword [0x1800590e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800053b4
and dword [0x18005a1b0], esi
and dword [0x18005a1b4], esi
and dword [0x18005a1b8], esi
mov qword [0x18005a1c0], rsi
mov ecx, dword [0x1800590e0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800053eb
mov rdi, qword [0x18005a170]
mov rbx, qword [0x18005a168]
jmp 0x1800053e6
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800053e2
call fcn.180004ccc
add rbx, 8
cmp rbx, rdi
jne 0x1800053d5
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18000f868
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x60]
xor edi, edi
mov rdx, rcx
test rax, rax
je 0x18000f925
mov rbx, qword [rax + 0x18]
add rbx, 0x20
mov r8, qword [rbx]
cmp r8, rbx
je 0x18000f925
lea rsi, str.GameAssembly.dll
mov r9, qword [r8 + 0x50]
test r9, r9
je 0x18000f91d
mov rax, r9
mov ecx, edi
cmp word [r9], di
je 0x18000f8c8
inc ecx
lea rax, [rax + 2]
cmp word [rax], di
jne 0x18000f8bd
mov rax, rsi
mov r10d, edi
inc r10d
lea rax, [rax + 2]
cmp word [rax], di
jne 0x18000f8ce
cmp ecx, r10d
jne 0x18000f91d
mov r11d, ecx
mov r10, rdi
test ecx, ecx
je 0x18000f908
movzx ecx, word [r9 + r10*2]
movzx eax, word [rsi + r10*2]
or cx, 0x20
or ax, 0x20
cmp cx, ax
jne 0x18000f91d
inc r10
cmp r10, r11
jb 0x18000f8e9
mov rax, qword [r8 + 0x20]
mov qword [rdx], rax
mov eax, dword [r8 + 0x30]
mov qword [rdx + 0x10], rax
mov qword [rdx + 8], r9
jmp 0x18000f937
mov r8, qword [r8]
cmp r8, rbx
jne 0x18000f8a9
lea rax, [0x18004e740]
mov qword [rdx], rdi
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rdi
mov rbx, qword [rsp + 8]
mov rax, rdx
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

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

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
mov r8, qword [rcx]
mov r10, rdx
test r8, r8
je 0x18000f9f8
movsxd rax, dword [r8 + 0x3c]
xor r11d, r11d
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
mov ebx, dword [r9 + 0x24]
add rbx, r8
cmp dword [r9 + 0x18], r11d
jbe 0x18000f9f8
mov r14d, dword [r9 + 0x20]
mov ebp, 0xffffffff
lea rax, [r14 + r11*4]
mov edx, dword [rax + r8]
add rdx, r8
cmp rdx, rbp
je 0x18000f9ef
cmp r10, rbp
je 0x18000f9ef
cmp rdx, 0x7d
je 0x18000f9ef
cmp r10, 0x7d
je 0x18000f9ef
test rdx, rdx
je 0x18000f9ea
test r10, r10
je 0x18000f9ef
movzx eax, byte [r10]
movzx ecx, byte [rdx]
sub ecx, eax
jne 0x18000f9e6
mov rdi, r10
sub rdi, rdx
test al, al
je 0x18000f9e6
inc rdx
movzx eax, byte [rdi + rdx]
movzx ecx, byte [rdx]
sub ecx, eax
je 0x18000f9d4
test ecx, ecx
jmp 0x18000f9ed
test r10, r10
je 0x18000fa11
inc r11d
cmp r11d, dword [r9 + 0x18]
jb 0x18000f998
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
mov ecx, dword [r9 + 0x1c]
movzx edx, word [rbx + r11*2]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18000f9fa
Function at 0x18001e5c8
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rsi, qword [rcx + 0x18]
add rsi, 0x20
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x18001e63f
lea rbp, str.tier0_s64.dll
cmp rbp, 1
jbe 0x18001e61b
mov rdx, qword [rbx + 0x50]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x18001e656
cmp rbp, 1
jne 0x18001e637
cmp word [rbx + 0x48], 0x12
jne 0x18001e637
mov rax, qword [rbx + 0x50]
movabs rcx, 0x6c00640074006e
cmp qword [rax], rcx
je 0x18001e656
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x18001e600
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x18001e641

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

Disassembly:
not r8d
mov r9d, 4
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x18004fa90]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x18002158d
not r8d
mov eax, r8d
ret

Function at 0x1800215b8
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 0x180021612
mov r11b, 0x23
lea rdi, [0x18004fa90]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1800215fc
cmp rdx, 2
jb 0x1800215fc
cmp byte [r10], r11b
jne 0x1800215fc
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 0x1800215da
jmp 0x180021653
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180021653
mov r11b, 0x23
lea rdi, [0x18004fa90]
cmp dl, r11b
jne 0x180021637
cmp byte [r10], r11b
jne 0x180021637
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 0x180021625
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x18002174c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x18002176c
and qword [r8], 0
lea rdx, [0x180053b70]
call fcn.180021664
mov rbx, rax
test rax, rax
je 0x18002185d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180021854
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180021854
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180021854
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180021854
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x180021854
mov rax, qword [0x18005a0d0]
test rax, rax
je 0x1800217f1
inc dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180021854
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x180021841
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18005a0d0]
test rax, rax
je 0x180021836
dec dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002185d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18002184f
mov qword [rsi], rbp
mov rax, rdi
jmp 0x18002185f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002e754
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x18005a0d0]
cmp byte [rbx + 0x2f30], 0
je 0x18002e815
cmp qword [rbx + 0x2f38], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x2f40]
je 0x18002e807
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x18002e7bf
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18002fc00
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.180021e44
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f38]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x18005a0c5]
movsxd r8, eax
mov rax, qword [rbx + 0x2f48]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18002e815
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.180021e44
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x18002edb8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x18005a0d0]
mov rbx, rcx
and dword [rax + 0x2ef8], 0
test rcx, rcx
je 0x18002ee21
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18002ee2c
lea rdx, [0x180053b74]
mov rcx, rbx
mov rdi, rax
call fcn.180021664
mov rbx, rax
test rax, rax
je 0x18002ee21
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret