joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140051438
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rax - 0x128]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov esi, edx
mov rdi, rcx
lea r14, str..._nsService.cpp
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
lea r12, [rdi + 0x40]
mov rbx, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x17f
lea rdx, str.SetErrorControl___s:_d_
mov rcx, r12
call qword [rbx + 0x128]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rdx, [rdi + 0x10]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rbx, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r9, rax
mov dword [rsp + 0x20], 0x184
mov r8d, esi
lea rdx, str.ErrorControl_d___s:_d_
mov rcx, r12
call qword [rbx + 0x140]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rcx, [rdi + 0x2f0]
call fcn.14004cbe8
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, esi
or edx, 0xffffffff
mov r8d, edx
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x1400516ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
cmp eax, 0x3e5
je 0x1400516ad
test eax, eax
je 0x1400516ad
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov r14, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rsi, rax
mov ecx, r15d
call fcn.140023e14
mov ebx, eax
mov rdx, qword [rdi + 0x270]
lea rcx, [rdi + 0x270]
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x195
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea rdx, str.ChangeServiceConfig__s_0x_x___s:_d_
mov rcx, r12
call qword [r14 + 0x130]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp word [0x1400a6650], r13w
jne 0x140051620
mov eax, r13d
jmp 0x14005162c
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r13
mov byte [rbp + 0x60], r13b
lea rcx, str..._nsService.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, r15d
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x196
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov dword [rdi + 0x2d0], esi
lea rcx, [rbp]
call fcn.140022a60
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400522c4
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rax - 0x128]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov esi, edx
mov rdi, rcx
lea r14, str..._nsService.cpp
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
lea r12, [rdi + 0x40]
mov rbx, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x158
lea rdx, str.SetStartType___s:_d_
mov rcx, r12
call qword [rbx + 0x128]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rdx, [rdi + 0x10]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rbx, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r9, rax
mov dword [rsp + 0x20], 0x15d
mov r8d, esi
lea rdx, str.ServiceStart_d___s:_d_
mov rcx, r12
call qword [rbx + 0x140]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rcx, [rdi + 0x2f0]
call fcn.14004cbe8
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
or edx, 0xffffffff
mov r9d, edx
mov r8d, esi
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x140052539
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
cmp eax, 0x3e5
je 0x140052539
test eax, eax
je 0x140052539
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov r14, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rsi, rax
mov ecx, r15d
call fcn.140023e14
mov ebx, eax
mov rdx, qword [rdi + 0x270]
lea rcx, [rdi + 0x270]
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x16e
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea rdx, str.ChangeServiceConfig__s_0x_x___s:_d_
mov rcx, r12
call qword [r14 + 0x130]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp word [0x1400a6650], r13w
jne 0x1400524ac
mov eax, r13d
jmp 0x1400524b8
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r13
mov byte [rbp + 0x60], r13b
lea rcx, str..._nsService.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, r15d
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x16f
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov dword [rdi + 0x2bc], esi
lea rcx, [rbp]
call fcn.140022a60
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140052578
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rax - 0x128]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov esi, edx
mov rdi, rcx
lea r14, str..._nsService.cpp
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
lea r12, [rdi + 0x40]
mov rbx, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x131
lea rdx, str.SetType___s:_d_
mov rcx, r12
call qword [rbx + 0x128]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rdx, [rdi + 0x10]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022a08
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + pe_nt_image_headers64]
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rbx, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r9, rax
mov dword [rsp + 0x20], 0x136
mov r8d, esi
lea rdx, str.ServiceType_d___s:_d_
mov rcx, r12
call qword [rbx + 0x140]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rcx, [rdi + 0x2f0]
call fcn.14004cbe8
mov edx, dword [rdi + 0x2b8]
and edx, 0x100
or edx, esi
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
or r8d, 0xffffffff
mov r9d, r8d
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x1400527f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
cmp eax, 0x3e5
je 0x1400527f9
test eax, eax
je 0x1400527f9
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov r14, qword [r12]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rsi, rax
mov ecx, r15d
call fcn.140023e14
mov ebx, eax
mov rdx, qword [rdi + 0x270]
lea rcx, [rdi + 0x270]
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x147
mov qword [rsp + 0x20], rsi
mov r9d, ebx
lea rdx, str.ChangeServiceConfig__s_0x_x___s:_d_
mov rcx, r12
call qword [r14 + 0x130]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r13
mov word [rbp + 0x40], r13w
cmp word [0x1400a6650], r13w
jne 0x14005276c
mov eax, r13d
jmp 0x140052778
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r13
mov byte [rbp + 0x60], r13b
lea rcx, str..._nsService.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, r15d
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x148
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x80]
call fcn.14005ba94
nop
mov dword [rdi + 0x2b8], esi
lea rcx, [rbp]
call fcn.140022a60
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002934c
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.14001ca14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ca14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f340
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a348
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.14001d6f0
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a348
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b0dc
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ca14
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018804
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
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 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ca14
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 0x14000ec58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400100b0]
test rax, rax
je 0x14000eca2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000eca2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000eca2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000eca2
cmp dword [rcx + 0x84], 0xe
jbe 0x14000eca2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000eca4
xor al, al
add rsp, 0x28
ret
Function at 0x5eacd0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x5eacdd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x5eaced
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x5eacd5
lea eax, [rcx + 1]
jmp 0x5eacfb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x5ead0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x5eacf4
sub eax, 3
jb 0x5ead2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x5ead7d
sar eax, 1
movsxd rbp, eax
jb 0x5ead64
jmp 0x5ead3c
add ebx, ebx
jne 0x5ead3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5ead64
inc ecx
add ebx, ebx
jne 0x5ead4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5ead64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x5ead5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x5ead4c
add ecx, 2
jmp 0x5ead69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.005eac92
jmp 0x5eacdd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xafc00
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x5eadc9
cmp rsi, rcx
jae 0x5eadd1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x5eadb0
cmp al, 0x8f
ja 0x5eadb0
cmp byte [rsi - 2], 0xf
je 0x5eadb6
sub al, 0xe8
cmp al, 1
ja 0x5ead9a
cmp rsi, rcx
jae 0x5eadd1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x5eada0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x5eadd1
lodsb al, byte [rsi]
jmp 0x5eadb0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1e6000]
mov eax, dword [rdi]
or eax, eax
je 0x5eae2e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1ea000]
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 0x5eadde
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 0x5eae28
mov qword [rbx], rax
add rbx, 8
jmp 0x5eadfe
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 0x5eae68
cmp al, 0xef
ja 0x5eae5a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x5eae3a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x5eae49
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 + 0x1af]
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 0x5eaebc
sub rsp, 0xffffffffffffff80
jmp 0x463620
Function at 0x1800027a0
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 0x180002847
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002847
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0xabc3f57e
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002842
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002820
cmp r8d, 0x58a25c38
je 0x18000284c
test r9d, r9d
jne 0x180002800
mov rax, qword [rax]
jmp 0x1800027d0
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.180012690
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 0x180002915
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002915
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0xa2bf6a25
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002910
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x1800028f0
cmp edx, 0x802b8b25
je 0x18000291a
test r9d, r9d
jne 0x1800028d0
mov rcx, qword [rcx]
jmp 0x1800028a0
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 0x180002960
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 0x180002a07
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002a07
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x7c514bb4
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002a02
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800029e0
cmp r8d, 0x7bb4c348
je 0x180002a0c
test r9d, r9d
jne 0x1800029c0
mov rax, qword [rax]
jmp 0x180002990
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 0x180003080
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 0x180003157
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180003157
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x5cb1f8a6
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180003152
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180003130
cmp r8d, 0xf9e2b4e0
je 0x18000315c
test r9d, r9d
jne 0x180003110
mov rax, qword [rax]
jmp 0x1800030e0
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 [0x180015d38]
addsd xmm8, qword [0x180015d38]
movups xmm9, xmmword [0x180015c68]
movups xmm10, xmmword [0x18001c388]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.1800027a0
cmp word [rax], 0
je 0x1800031d6
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800031c0
xor edx, edx
add ecx, 1
je 0x1800031da
mov rdx, rax
jmp 0x1800031da
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800187f8]
movaps xmm0, xmmword [0x180016000]
mov rbx, qword [0x180018888]
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001c848]
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], 0x101
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 0x180003288
mov rax, qword [0x1800189a8]
lea r8, str.Canvas.K2_DrawText
add rax, 0x1909800
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x18001c848], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
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 0x140002260
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rsi, rdx
test rdx, rdx
je 0x1400022a9
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
mov edx, 1
mov r9, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x1400022bc
add rdi, rax
sub rbx, rax
jne 0x140002280
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140003860
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x58
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 0x38
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
movzx eax, word [rax + 0x18]
cmp eax, 0
jne 0x1400038e6
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
jmp 0x1400038f8
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x1400038af
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140003919
mov rax, qword [rsp + 0x20]
add rsp, 0x58
ret