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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14008207a
call fcn.1400788d0
mov dword [rax], socket
call fcn.14006fee4
jmp 0x140082199
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140082199
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140082199
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400820a9
lock or dword [rcx + 0x14], 0x10
jmp 0x140082199
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400820bd
call fcn.1400827f8
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14007cae8
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140083818
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140082187
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140082152
mov rcx, rsi
call fcn.14007cae8
cmp eax, edi
je 0x14008213d
mov rcx, rsi
call fcn.14007cae8
cmp eax, 0xfffffffe
je 0x14008213d
mov rcx, rsi
call fcn.14007cae8
movsxd rbx, eax
lea r14, [0x1400cdec0]
mov rcx, rsi
sar rbx, 6
call fcn.14007cae8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140082144
lea rdx, [0x1400cc340]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140082152
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140082176
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140082176
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140082176
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14008219c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140082578
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14008ebb0
sub rsp, rax
mov rax, qword [0x1400ccbe0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14007cae8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400825c7
mov rax, rbp
jmp 0x1400826cf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xcdec0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140083ff0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xcdec0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400826cb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400826cb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140083ff0
test rax, rax
js 0x1400826cb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400826cb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400826bd
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400826bd
cmp byte [rcx], 0xd
jne 0x1400826a3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400826b2
cmp byte [rcx + 1], 0xa
jne 0x1400826b2
inc rcx
jmp 0x1400826b2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcc560]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140082685
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400826cf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14008dd70
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008336c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400cdec0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400833ca
cmp word [rdx], r12w
jne 0x1400833ca
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400833d0
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14008352b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140083506
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140083409
mov rcx, r9
jmp 0x14008342c
cmp r9, rdx
jae 0x140083443
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x1400833ed
jmp 0x14008352b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140083500
cmp dword [rsp + 0x80], edi
je 0x140083500
mov rdx, r14
lea r11, [0x1400cdec0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400834d9
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400834ac
mov word [rbx], r12w
jmp 0x140083527
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400834b5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140083527
cmp word [rsp + 0x70], r12w
jne 0x1400834e6
cmp rbx, rsi
je 0x1400834a6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140083ff8
cmp word [rsp + 0x70], r12w
je 0x14008352b
mov word [rbx], r13w
jmp 0x140083527
lea r11, [0x1400cdec0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140083523
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14008352b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400841c8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140084237
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140084237
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140084237
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140084237
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140084237
cmp dword [rcx + 0x84], 0xe
jbe 0x140084237
cmp dword [rcx + 0xf8], 0
je 0x140084237
mov ecx, ebx
call fcn.1400842f4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400840c4
nop
cmp dword [rbp + 0x20], 0
je 0x140084285
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140084290
int3
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400841c8

Function at 0x1400843d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400841c8

Function at 0x14008cbc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14008cc47
mov rsi, rbx
cmp word [rax], bp
je 0x14008cc06
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14008cbf0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14008cbec
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14007c1c8
mov rdi, rax
test rax, rax
je 0x14008cc34
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400903b0
mov rbp, rdi
xor ecx, ecx
call fcn.1400794f8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14008ea60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008eaaa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008eaaa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008eaaa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008eaaa
cmp dword [rcx + 0x84], 0xe
jbe 0x14008eaaa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008eaac
xor al, al
add rsp, 0x28
ret

Function at 0x140094754
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400947d8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b3510]
cmp byte [rcx + rax], 0
je 0x1400947d8
dec r8
sub rdx, 1
jne 0x1400947be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14009b6d0
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.140083ff8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140083ff8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14009b820
cmp rax, 0xffffffffffffffff
je 0x14009b820
xor edi, edi
test rbp, rbp
jle 0x14009b7cb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007cfbc
mov rbx, rax
test rax, rax
jne 0x14009b758
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14009b7c1
mov edx, 0x8000
mov ecx, r14d
call fcn.140096858
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.14007ece0
cmp eax, 0xffffffff
je 0x14009b7a1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14009b768
mov edx, r15d
mov ecx, r14d
call fcn.140096858
jmp 0x14009b7c1
cmp byte [rsi + 0x38], dil
je 0x14009b7b8
cmp dword [rsi + 0x34], 5
jne 0x14009b7b8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
cmp byte [rsi + 0x30], dil
je 0x14009b7c1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400794f8
jmp 0x14009b834
jns 0x14009b834
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140083ff8
cmp rax, 0xffffffffffffffff
jne 0x14009b7ec
cmp byte [rsi + 0x30], dil
je 0x14009b834
mov edi, dword [rsi + 0x2c]
jmp 0x14009b834
mov ecx, r14d
call fcn.140088e3c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14009b834
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
jmp 0x14009b834
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14009b82d
mov eax, dword [rsi + 0x2c]
jmp 0x14009b832
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140083ff8
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 0x14009b910
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009b938
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009b938
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800022d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002367
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002367
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x281aa4bb
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002362
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002340
cmp r8d, 0x79fcbc3b
je 0x18000236c
test r9d, r9d
jne 0x180002320
mov rax, qword [rax]
jmp 0x1800022f0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 1
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
test ax, ax
setne byte [0x180018868]
add rsp, 0x20
pop rdi
ret
Function at 0x1800023a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002447
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002447
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x4f974e33
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002442
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002420
cmp r8d, 0xbb20d941
je 0x18000244c
test r9d, r9d
jne 0x180002400
mov rax, qword [rax]
jmp 0x1800023d0
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.180012800
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002515
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002515
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0x60b9fb38
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002510
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x1800024f0
cmp edx, 0x9ba125d4
je 0x18000251a
test r9d, r9d
jne 0x1800024d0
mov rcx, qword [rcx]
jmp 0x1800024a0
mov ecx, dword [r11 + 0x24]
mov r8, rsi
add rcx, r10
mov rdx, rbp
movzx r9d, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
mov rcx, rdi
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002560
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002607
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002607
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xa5671291
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002602
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800025e0
cmp r8d, 0x44083ef5
je 0x18000260c
test r9d, r9d
jne 0x1800025c0
mov rax, qword [rax]
jmp 0x180002590
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002660
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
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
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002737
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002737
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xe7706aab
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002732
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002710
cmp r8d, 0x76d45319
je 0x18000273c
test r9d, r9d
jne 0x1800026f0
mov rax, qword [rax]
jmp 0x1800026c0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x1800159e8]
addsd xmm8, qword [0x1800159e8]
movups xmm9, xmmword [0x1800158e0]
movups xmm10, xmmword [0x18001c328]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.1800023a0
cmp word [rax], 0
je 0x1800027b6
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800027a0
xor edx, edx
add ecx, 1
je 0x1800027ba
mov rdx, rax
jmp 0x1800027ba
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800187e0]
movaps xmm0, xmmword [0x180015c30]
mov rbx, qword [0x180018860]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001c7d8]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x100
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180002868
mov rax, qword [0x180018980]
lea r8, str.Canvas.K2_DrawText
add rax, 0x18e7260
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001c7d8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x1800028c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
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
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rbp, rdx
movaps xmmword [rax - 0x38], xmm8
mov rsi, rcx
movaps xmmword [rax - 0x48], xmm9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov ebx, dword [r9 + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002987
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002987
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x66555c1b
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002982
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002960
cmp r8d, 0x92b4bf29
je 0x18000298c
test r9d, r9d
jne 0x180002940
mov rax, qword [rax]
jmp 0x180002910
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rsi
add rax, r10
call rax
movsd xmm6, qword [rbp]
mov rcx, rsi
movsd xmm7, qword [rbp + 8]
addsd xmm6, qword [0x1800159e8]
addsd xmm7, qword [0x1800159e8]
movups xmm8, xmmword [0x1800158e0]
movups xmm9, xmmword [0x18001c328]
call fcn.1800023a0
cmp word [rax], 0
je 0x180002a06
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800029f0
xor edx, edx
add ecx, 1
je 0x180002a0a
mov rdx, rax
jmp 0x180002a0a
xor edx, edx
mov ecx, edx
movaps xmm0, xmmword [rbp]
mov rax, qword [0x1800187e0]
mov rbx, qword [0x180018860]
movsd qword [rsp + 0x38], xmm0
unpckhpd xmm0, xmm0
movsd qword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x180015c30]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001c7d8]
movsd qword [rsp + 0x80], xmm6
movsd qword [rsp + 0x88], xmm7
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movaps xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x6c], xmm9
movups xmmword [rsp + 0x94], xmm8
test rax, rax
jne 0x180002abe
mov rax, qword [0x180018980]
lea r8, str.Canvas.K2_DrawText
add rax, 0x18e7260
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001c7d8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
ret