joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000d76e
mov word [rbp + 0x50], 0x6247
mov word [rbp + 0x58], 0x6247
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d5f4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000d5e0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000d625
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000d610
cmp rdi, rbx
jne 0x14000d742
mov r13, rsi
mov word [rbp - 0x50], 0x6247
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d666
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000d652
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000d768
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x620026
call fcn.1400028d0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000d6d8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x62003d
call fcn.1400028d0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000d6d8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x620026
mov dword [rbp - 0x42], 0x620006
call fcn.1400028d0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400028d0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x620026
call fcn.1400028d0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000d735
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x62003d
call fcn.1400028d0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000d735
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x620026
mov dword [rbp - 0x32], 0x620006
call fcn.1400028d0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400028d0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000d742
inc r14
jmp 0x14000d640
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000d76e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000d5b0
mov rax, qword [rbp - 8]
jmp 0x14000d770
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002074
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x14000f0e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r8d, 0x40
lea rdx, [rsp + 0x20]
lea rcx, str._MSI_TEST
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400020d6
movzx eax, word [rsp + 0x20]
lea rdx, [rsp + 0x20]
test eax, eax
je 0x1400020d4
mov ecx, dword [0x14000fbb0]
and eax, 0x1f
lea rdx, [rdx + 2]
bts ecx, eax
movzx eax, word [rdx]
test eax, eax
jne 0x1400020bd
mov dword [0x14000fbb0], ecx
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140008df0
add rsp, 0xb8
ret
Function at 0x1400086b4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x14000f0e0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call sub.msvcrt.dll_memset
xor r15d, r15d
mov r12d, 0x5c
test rbx, rbx
je 0x140008738
cmp word [rbx], r15w
je 0x140008738
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jl 0x140008738
cmp word [rbx], 0x7f
jae 0x140008727
cmp word [rbx + 2], 0x3a
je 0x140008822
cmp word [rbx], r12w
jne 0x140008738
cmp word [rbx + 2], r12w
je 0x140008822
cmp byte [0x1400100da], r15b
mov ebp, r15d
jne 0x1400087b9
cmp byte [0x14000fdc4], r15b
je 0x1400087b9
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
test rax, rax
je 0x140008822
lea rdx, str.GetSystemWow64DirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 0x105
test rax, rax
jne 0x14000878b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, r15d
jmp 0x1400087a4
mov edx, esi
lea rcx, [rsp + 0x20]
call qword [0x14000a618]
mov edi, eax
test eax, eax
jne 0x1400087a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400087cd
mov esi, 0x105
lea rcx, [rsp + 0x20]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test edi, edi
je 0x140008822
lea ecx, [rdi + 2]
cmp ecx, esi
ja 0x140008822
mov ecx, edi
lea eax, [rdi + 1]
mov r8, rbx
mov rdx, rsi
mov word [rsp + rcx*2 + 0x20], r12w
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x20], r15w
call fcn.1400011a4
test eax, eax
js 0x140008822
lea r8, str..DLL
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400011a4
test eax, eax
js 0x140008822
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x140008824
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140008df0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140009240
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000928c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140009284
cmp dword [rcx + 0x3c], edx
jl 0x140009284
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140009284
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 0x14000928c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140002454
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000249e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000249e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000249e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000249e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000249e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400024a0
xor al, al
add rsp, 0x28
ret
Function at 0x14001ab60
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140038c40
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.14001e640
lea rdx, [rsp + 0x70]
xor bl, bl
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.14001a624
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004f0da
mov eax, dword [0x1400e4570]
test eax, eax
je 0x14001acf2
mov r15d, 1
lea rcx, [0x1400e6320]
cmp eax, r15d
je 0x14004f0fc
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400e4570]
lea rdx, [0x1400e4598]
mov qword [rsp + 0x20], rax
call fcn.14001cb64
test al, al
je 0x14001acfb
mov al, byte [0x1400e6320]
mov rcx, qword [0x1400e4598]
mov dil, byte [0x1400e6321]
lea r9, [rbp + 0x1ffb8]
lea r8, [rbp + 0xff70]
mov edx, 0x7fff
mov byte [0x1400e4574], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400e4550]
call fcn.14001edf8
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400e4570]
lea rdx, [0x1400e4598]
call fcn.14000bdc0
test eax, eax
jne 0x14004f120
cmp dil, r15b
je 0x14004f143
call fcn.14001aa30
call fcn.14001a95c
cmp byte [0x1400e4574], 0
jne 0x14001ac9f
lea rcx, [0x1400e4f50]
call fcn.14000175c
lea rcx, [0x1400e45c0]
mov edx, r15d
call fcn.14000bea0
cmp byte [0x1400e4574], 0
jne 0x14001acc3
lea rcx, [0x1400e4f50]
call fcn.1400018ac
lea rcx, [0x1400e6320]
call fcn.14001cbfc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.14001c29c
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
or dword [0x1400e44c0], 0xffffffff
jmp 0x14001accf
mov dword [0x1400e44c0], r15d
jmp 0x14001accf
lea r8, [0x1400cf2a4]
lea rdx, str.This_is_a_third_party_compiled
mov r9d, reloc.WSOCK32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14001acda
mov r8, qword [0x1400e4578]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14001cab8
mov al, byte [0x1400e44c8]
mov byte [0x1400e6322], al
jmp 0x14001ac5c
lea rcx, [0x1400e6320]
call fcn.14001cbfc
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400e44c0], r15d
jmp 0x14001acda
call fcn.1400749b0
test al, al
jne 0x14001ac80
cmp byte [rbp + 0x1ffb0], al
jne 0x14001ac80
lea rcx, [rsp + 0x50]
call fcn.14001a3c8
lea rdx, [0x1400cb8a0]
lea rcx, [rsp + 0x30]
call fcn.14001f0bc
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004f1ab
lea rdx, [0x1400cf2d8]
call fcn.14001ef20
lea rdx, [0x1400e4598]
lea rcx, [rsp + 0x30]
call fcn.14001ec60
lea rdx, [0x1400cf2d8]
lea rcx, [rsp + 0x30]
jmp 0x14004f1ae
mov rdx, rsi
call fcn.14001ef20
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
mov rcx, rax
lea rax, [rsp + 0x70]
lea rdx, str.runas
mov r9, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.14001c29c
nop
jmp 0x14001acc3
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x1400134e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011294
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x140011c90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x5a8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x102
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x5c8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x578], rax
lea rcx, [0x1400bd0ad]
call fcn.14001139d
lea rax, [rbp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rbp + 0x2a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov qword [rbp + 0x3c8], 0xffffffffffffffff
mov dword [rbp + 0x3e4], 0
cmp dword [rbp + 0x5a0], 2
je 0x140011d4a
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x5a8]
mov rdx, qword [rcx + rax]
lea rcx, str._nUsage:__s__directory_name__n
call fcn.1400111b3
mov eax, 0xffffffff
jmp 0x140011e47
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x5a8]
mov rdx, qword [rcx + rax]
lea rcx, [rbp + 0x170]
call fcn.14001112c
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x2a0]
call fcn.14001112c
lea rdx, [0x14001af88]
lea rcx, [rbp + 0x170]
call fcn.14001120d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x3c8], rax
cmp qword [rbp + 0x3c8], 0xffffffffffffffff
jne 0x140011dbd
mov eax, dword [rbp + 0x3e4]
jmp 0x140011e47
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x140011e13
lea rdx, [0x14001af8c]
lea rcx, [rbp + 0x3c]
call fcn.140011401
test eax, eax
je 0x140011def
lea rdx, [0x14001ac10]
lea rcx, [rbp + 0x3c]
call fcn.140011401
test eax, eax
jne 0x140011df3
jmp 0x140011e13
lea rdx, [rbp + 0x3c]
lea rcx, str.Folder_Name____s____DIR__n
call fcn.1400111b3
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x2a0]
call fcn.140011140
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140011dbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3e4], eax
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rbp + 0x3e4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001aed0]
call fcn.140011334
mov rax, rdi
mov rcx, qword [rbp + 0x578]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x588]
pop rdi
pop rbp
ret
Function at 0x10000129c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1000036f8]
lea rdx, [0x100003700]
call qword [sym.imp.API_MS_WIN_Service_Core_L1_1_0.dll_SetServiceStatus]
test eax, eax
jne 0x1000012e6
mov dword [0x100003704], 1
call qword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp qword [0x1000036f8], 0
mov dword [0x10000370c], eax
je 0x1000012dd
call fcn.10000129c
xor ecx, ecx
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_ExitProcess]
inc dword [0x100003714]
add rsp, 0x28
ret

Function at 0x1000014b0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100003740], rdi
je 0x1000014fe
cmp rax, rdi
jne 0x1000014f1
mov edi, 1
mov r12d, edi
jmp 0x100001503
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x1000014d5
mov edi, 1
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x100001519
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x100001576
mov eax, dword [0x100003738]
test eax, eax
jne 0x100001570
mov dword [0x100003738], edi
lea r13, [0x1000011a0]
lea rsi, [0x100001188]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100001562
test eax, eax
jne 0x100001562
mov rcx, qword [rsi]
test rcx, rcx
je 0x100001557
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x100001540
test eax, eax
je 0x100001576
mov eax, 0xff
jmp 0x100001648
mov dword [0x100003164], edi
mov eax, dword [0x100003738]
cmp eax, edi
jne 0x10000159d
lea rdx, [0x100001180]
lea rcx, [0x100001170]
call sub.msvcrt.dll__initterm
mov dword [0x100003738], 2
test r12d, r12d
jne 0x1000015ab
xor eax, eax
xchg qword [0x100003740], rax
cmp qword [0x100003748], 0
je 0x1000015d4
lea rcx, [0x100003748]
call fcn.10000189c
test eax, eax
je 0x1000015d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100003748]
mov r8, qword [0x100003148]
mov rdx, qword [0x100003150]
mov ecx, dword [0x100003140]
call fcn.100001440
mov dword [0x100003160], eax
cmp dword [0x100003144], 0
jne 0x100001604
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100003164], 0
jne 0x100001619
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100003160]
jmp 0x100001648
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100154000
add rsp, 0x28
jmp 0x1000014b0

Function at 0x100001908
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100001955
cmp rcx, 0xffffffffffffffff
je 0x100001955
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000194d
cmp dword [rcx + 0x3c], edx
jl 0x10000194d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000194d
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 0x100001955
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

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

Function at 0x1415b7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1415b71df
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 0x1415b7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b706f
add dl, dl
jne 0x1415b7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b70f6
xor eax, eax
add dl, dl
jne 0x1415b70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b71ad
add dl, dl
jne 0x1415b70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415b70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415b707e
mov eax, 1
add dl, dl
jne 0x1415b7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b70fb
sub eax, ebx
mov ebx, 1
jne 0x1415b714c
mov ecx, 1
add dl, dl
jne 0x1415b712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415b7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b715d
cmp eax, 0x7d00
jae 0x1415b719b
cmp eax, 0x500
jb 0x1415b7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
cmp eax, 0x7f
ja 0x1415b719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415b71d2
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 0x1415b707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000138e
Capabilities:
Check os version

Disassembly:
jmp 0x140034690
push rbx
sub rsp, 0x150
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x14007cbc4], ebx
jne 0x140034883
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov dword [0x14007cbc4], ebx
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140034883
cmp dword [rsp + 0x30], 2
je 0x140034711
cmp byte [0x14007ca62], bl
je 0x140034823
mov r9d, 0x16c
lea rdx, str.__Unknown_platform_ID_
jmp 0x140034810
mov eax, dword [rsp + 0x24]
cmp eax, 3
jb 0x14003482f
cmp eax, 4
jbe 0x1400347fb
cmp eax, 5
je 0x140034798
cmp eax, 6
jne 0x14003482f
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140034789
dec eax
je 0x140034857
dec eax
je 0x14003477a
dec eax
je 0x14003476b
cmp byte [0x14007ca62], bl
je 0x140034857
mov r9d, 0x15d
lea rdx, str.__Unknown_minor_version__assume_Win7__
jmp 0x140034844
mov dword [0x14007cbc4], 6
jmp 0x140034861
mov dword [0x14007cbc4], 5
jmp 0x140034861
mov dword [0x14007cbc4], 3
jmp 0x140034861
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400347eb
dec eax
je 0x1400347d0
dec eax
je 0x1400347df
cmp byte [0x14007ca62], bl
je 0x1400347d0
lea r8, str...Commonwinplats.cpp
lea rdx, str.__Unknown_minor_version__assume_XP__
lea rcx, str.Assert:__s__in__s_at__i_n
mov r9d, 0x143
call fcn.1400031a2
mov dword [0x14007cbc4], 1
jmp 0x140034861
mov dword [0x14007cbc4], 2
jmp 0x140034861
cmp byte [0x14007ca62], bl
je 0x140034823
mov r9d, 0x136
jmp 0x140034809
cmp byte [0x14007ca62], bl
je 0x140034823
mov r9d, 0x12e
lea rdx, str.__Obsolete_platform_ID_
lea r8, str...Commonwinplats.cpp
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
mov dword [0x14007cbc4], 7
jmp 0x140034861
cmp byte [0x14007ca62], bl
je 0x140034857
mov r9d, 0x164
lea rdx, str.__Unknown_NT_Platform__assume_Win7__
lea r8, str...Commonwinplats.cpp
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
mov dword [0x14007cbc4], 4
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
call fcn.140002a27
movzx ecx, word [rsp + 0x134]
mov word [0x14007cbc8], cx
mov dword [0x14007cbcc], eax
cmp dword [0x14007cbc4], 5
sete al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140052d40
add rsp, 0x150
pop rbx
ret
Function at 0x1400015a5
Capabilities:
Check os version

Disassembly:
jmp 0x1400330e0
push rbx
sub rsp, 0x150
mov rax, qword [0x14007c860]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor ebx, ebx
cmp dword [0x14007cbc4], ebx
jne 0x1400332d5
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov dword [0x14007cbc4], ebx
call sub.MSVCR110.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400332d5
cmp dword [rsp + 0x30], 2
je 0x140033161
cmp byte [0x14007ca62], bl
je 0x140033273
mov r9d, 0x16c
lea rdx, str.__Unknown_platform_ID_
jmp 0x140033260
mov eax, dword [rsp + 0x24]
cmp eax, 3
jb 0x14003327f
cmp eax, 4
jbe 0x14003324b
cmp eax, 5
je 0x1400331e8
cmp eax, 6
jne 0x14003327f
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400331d9
dec eax
je 0x1400332a7
dec eax
je 0x1400331ca
dec eax
je 0x1400331bb
cmp byte [0x14007ca62], bl
je 0x1400332a7
mov r9d, 0x15d
lea rdx, str.__Unknown_minor_version__assume_Win7__
jmp 0x140033294
mov dword [0x14007cbc4], 6
jmp 0x1400332b1
mov dword [0x14007cbc4], 5
jmp 0x1400332b1
mov dword [0x14007cbc4], 3
jmp 0x1400332b1
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14003323b
dec eax
je 0x140033220
dec eax
je 0x14003322f
cmp byte [0x14007ca62], bl
je 0x140033220
lea r8, str...Commonwinplats.cpp
lea rdx, str.__Unknown_minor_version__assume_XP__
lea rcx, str.Assert:__s__in__s_at__i_n
mov r9d, 0x143
call fcn.1400031a2
mov dword [0x14007cbc4], 1
jmp 0x1400332b1
mov dword [0x14007cbc4], 2
jmp 0x1400332b1
cmp byte [0x14007ca62], bl
je 0x140033273
mov r9d, 0x136
jmp 0x140033259
cmp byte [0x14007ca62], bl
je 0x140033273
mov r9d, 0x12e
lea rdx, str.__Obsolete_platform_ID_
lea r8, str...Commonwinplats.cpp
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
mov dword [0x14007cbc4], 7
jmp 0x1400332b1
cmp byte [0x14007ca62], bl
je 0x1400332a7
mov r9d, 0x164
lea rdx, str.__Unknown_NT_Platform__assume_Win7__
lea r8, str...Commonwinplats.cpp
lea rcx, str.Assert:__s__in__s_at__i_n
call fcn.1400031a2
mov dword [0x14007cbc4], 4
mov edx, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
call fcn.140002a27
movzx ecx, word [rsp + 0x134]
mov word [0x14007cbc8], cx
mov dword [0x14007cbcc], eax
jmp 0x1400332db
mov eax, dword [0x14007cbcc]
cmp eax, 2
sete al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140052d40
add rsp, 0x150
pop rbx
ret