joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18005f6cc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18005f703
call fcn.18006cb9c
mov dword [rax], 0x16
call fcn.18005f4e4
xor eax, eax
jmp 0x18005f795
mov rdx, r9
mov rcx, r8
call fcn.18005f668
mov rbx, rax
test rax, rax
je 0x18005f792
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x18005f59c]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x18005f77f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18006cb2c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18005f766
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18005f775
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180070470
jmp 0x18005f792
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18005f78f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18006980c
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.1800599a0
sub rsp, rax
mov rax, qword [0x1800aa380]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180073e98
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18006985b
mov rax, rbp
jmp 0x180069967
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xb4ea0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180076844
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xb4ea0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180069963
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180069963
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180076844
test rax, rax
js 0x180069963
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180069963
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180069955
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180069955
cmp byte [rcx], 0xd
jne 0x18006993b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18006994a
cmp byte [rcx + 1], 0xa
jne 0x18006994a
inc rcx
jmp 0x18006994a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xaa7e0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18006991d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180069967
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180059160
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 0x18006d688
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 0x18006d6f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18006d6f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18006d6f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18006d6f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18006d6f7
cmp dword [rcx + 0x84], 0xe
jbe 0x18006d6f7
cmp dword [rcx + 0xf8], 0
je 0x18006d6f7
mov ecx, ebx
call fcn.18006d79c
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.18006d590
nop
cmp dword [rbp + 0x20], 0
jne 0x18006d758
call fcn.180070f94
cmp eax, 1
jne 0x18006d748
xor dl, dl
jmp 0x18006d752
call fcn.18007872c
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18006d763
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18006d76c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x18006d688

Function at 0x1800708f8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800bd050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x18007095d
test rax, rax
jne 0x18007094b
lea r9, str.GetLocaleInfoEx
lea r8, [0x1800975f8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.180070570
test rax, rax
je 0x18007095d
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.180082070
jmp 0x180070977
xor edx, edx
mov rcx, rbp
call fcn.180070be8
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800759d8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800759ee
mov al, 1
jmp 0x180075a5a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800759ff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180075a58
mov ecx, dword [rcx + 0x18]
nop
call fcn.18007ea10
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180075a58
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180075a58
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180075a58
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180075a5a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180075b2c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x1800b4ea0]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x180075b82
cmp word [rdx], r9w
jne 0x180075b82
or byte [rax + rbp*8 + 0x38], 4
jmp 0x180075b87
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x180075d06
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x180075cd1
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x180075bcf
cmp rcx, r8
jae 0x180075bef
cmp word [rcx], r9w
jne 0x180075bcf
add rax, 4
mov edx, r9d
jmp 0x180075bd2
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x180075ba4
jmp 0x180075d06
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180075cca
cmp dword [rsp + 0x80], edi
je 0x180075cca
lea r9, [0x1800b4ea0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x180075ca4
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x180075c57
mov word [rbx], bp
jmp 0x180075d03
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x180075c72
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x180075d03
cmp word [rsp + 0x70], bp
jne 0x180075cb0
cmp rbx, rsi
je 0x180075c4f
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18007684c
cmp word [rsp + 0x70], bp
je 0x180075d06
mov word [rbx], 0xd
jmp 0x180075d03
mov rcx, r15
lea r9, [0x1800b4ea0]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x180075d00
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180075d06
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180079d68
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 0x180079d98
xor eax, eax
jmp 0x180079e5b
mov rbp, rbx
cmp word [rax], si
je 0x180079dbd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180079da4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180079da0
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.180078430
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x180079dfe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180079d91
call fcn.180072700
mov rdi, rax
test rax, rax
jne 0x180079e14
xor ecx, ecx
call fcn.180070470
jmp 0x180079df3
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.180078430
test eax, eax
jne 0x180079e45
mov rcx, rdi
call fcn.180070470
jmp 0x180079e4f
xor ecx, ecx
call fcn.180070470
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 0x18007c69c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x18007c70f
cmp word [rcx], si
je 0x18007c70f
lea rdx, [0x180099888]
call fcn.1800806f8
test eax, eax
je 0x18007c70f
lea rdx, [0x1800998a0]
mov rcx, rbx
call fcn.1800806f8
test eax, eax
jne 0x18007c705
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18007c72c
mov eax, dword [rsp + 0x30]
jmp 0x18007c73e
mov rcx, rbx
call fcn.18006e42c
jmp 0x18007c73e
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x18007c730
xor eax, eax
jmp 0x18007c73e
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x18007c73e
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18007c750
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.18006e988
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18007c7f3
cmp edi, dword [rsp + 0x30]
je 0x18007c7ec
test ebp, ebp
je 0x18007c7ec
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x18007c7c8
sub dx, 0x61
cmp dx, 0x19
ja 0x18007c7d4
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x18007c7b5
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x18007c7d8
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x18007c7f5
mov eax, 1
jmp 0x18007c7f5
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800811f0
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.18007684c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.18007684c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x18008133d
cmp rax, 0xffffffffffffffff
je 0x18008133d
xor edi, edi
test rbp, rbp
jle 0x1800812eb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800703f0
mov rbx, rax
test rax, rax
jne 0x180081278
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800812e1
mov edx, 0x8000
mov ecx, r14d
call fcn.180081074
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.180075444
cmp eax, 0xffffffff
je 0x1800812c1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180081288
mov edx, r15d
mov ecx, r14d
call fcn.180081074
jmp 0x1800812e1
cmp byte [rsi + 0x38], dil
je 0x1800812d8
cmp dword [rsi + 0x34], 5
jne 0x1800812d8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800812e1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180070470
jmp 0x18008134f
jns 0x18008134f
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.18007684c
cmp rax, 0xffffffffffffffff
jne 0x180081309
cmp byte [rsi + 0x30], dil
je 0x18008134f
jmp 0x180081345
mov ecx, r14d
call fcn.18007ea10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18008134f
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 0x18008134f
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x18008134a
mov edi, dword [rsi + 0x2c]
jmp 0x18008134f
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.18007684c
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 0x1800819f0
Capabilities:
Check for time delay via queryperformancecounter
Check os version

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov edx, dword [0x1800b4280]
mov rax, qword gs:[0x58]
mov esi, 0x28
mov rbx, qword [rax + rdx*8]
mov eax, dword [rbx + rsi]
cmp dword [0x1800b5438], eax
jg 0x180081af0
mov eax, dword [rbx + rsi]
cmp dword [0x1800b5440], eax
jg 0x180081b43
cmp byte [0x1800b543c], 0
je 0x180081a74
mov eax, dword [rbx + rsi]
cmp dword [0x1800b5450], eax
jg 0x180081ab1
lea rdx, [0x1800b5448]
lea rcx, [rsp + 0x38]
call fcn.18002ece0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
call fcn.18002ed00
jmp 0x180081a7f
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1800b5430]
cvttsd2si rdx, xmm0
mov rcx, rdi
call fcn.180008b90
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
lea rcx, [0x1800b5450]
call fcn.180059914
cmp dword [0x1800b5450], 0xffffffff
jne 0x180081a4c
lea rcx, [0x1800b5448]
call fcn.18002ec50
lea rcx, [0x180085200]
call fcn.180059854
nop
lea rcx, [0x1800b5450]
call fcn.1800598a8
jmp 0x180081a4c
lea rcx, [0x1800b5438]
call fcn.180059914
cmp dword [0x1800b5438], 0xffffffff
jne 0x180081a29
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x38]
movsd xmm1, qword [0x18009de88]
divsd xmm1, xmm0
movsd qword [0x1800b5430], xmm1
lea rcx, [0x1800b5438]
call fcn.1800598a8
jmp 0x180081a29
lea rcx, [0x1800b5440]
call fcn.180059914
cmp dword [0x1800b5440], 0xffffffff
jne 0x180081a38
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
setb byte [0x1800b543c]
lea rcx, [0x1800b5440]
call fcn.1800598a8
jmp 0x180081a38

Function at 0x180081cc0
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1805fa1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1805fa089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805fa06f
add dl, dl
jne 0x1805fa096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805fa0f6
xor eax, eax
add dl, dl
jne 0x1805fa0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1805fa1ad
add dl, dl
jne 0x1805fa0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805fa0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805fa0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805fa0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1805fa0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1805fa07e
mov eax, 1
add dl, dl
jne 0x1805fa106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1805fa113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805fa0fb
sub eax, ebx
mov ebx, 1
jne 0x1805fa14c
mov ecx, 1
add dl, dl
jne 0x1805fa12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1805fa13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805fa123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805fa07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1805fa168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1805fa175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1805fa15d
cmp eax, 0x7d00
jae 0x1805fa19b
cmp eax, 0x500
jb 0x1805fa196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805fa07e
cmp eax, 0x7f
ja 0x1805fa19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1805fa07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1805fa1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1805fa07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1417c20b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1417c2237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1417c20e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417c20c7
add dl, dl
jne 0x1417c20ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417c214e
xor eax, eax
add dl, dl
jne 0x1417c20fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417c2205
add dl, dl
jne 0x1417c210e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417c211b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417c2128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417c2135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417c2142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417c20d6
mov eax, 1
add dl, dl
jne 0x1417c215e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417c216b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417c2153
sub eax, ebx
mov ebx, 1
jne 0x1417c21a4
mov ecx, 1
add dl, dl
jne 0x1417c2186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417c2193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417c217b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417c20d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417c21c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417c21cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417c21b5
cmp eax, 0x7d00
jae 0x1417c21f3
cmp eax, 0x500
jb 0x1417c21ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417c20d6
cmp eax, 0x7f
ja 0x1417c21f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417c20d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417c222a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1417c20d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14197f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14197f1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14197f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14197f06f
add dl, dl
jne 0x14197f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14197f0f6
xor eax, eax
add dl, dl
jne 0x14197f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14197f1ad
add dl, dl
jne 0x14197f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14197f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14197f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14197f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14197f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14197f07e
mov eax, 1
add dl, dl
jne 0x14197f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14197f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14197f0fb
sub eax, ebx
mov ebx, 1
jne 0x14197f14c
mov ecx, 1
add dl, dl
jne 0x14197f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14197f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14197f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14197f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14197f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14197f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14197f15d
cmp eax, 0x7d00
jae 0x14197f19b
cmp eax, 0x500
jb 0x14197f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14197f07e
cmp eax, 0x7f
ja 0x14197f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14197f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14197f1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14197f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20