joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001c940
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18001c986
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x18001c982
mov al, 1
jmp 0x18001c986
jmp 0x18001c986
add rsp, 0x20
pop rbx
ret

Function at 0x18001cad0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x18001caf7
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.18001c940
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x18001c990]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1800228b0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x180022a10
test r8, r8
je 0x180022a10
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x180022a10
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.18005dc88
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x180022910
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18002295d
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x180022930
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x1800229f4
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x1800229a4
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x1800229c5
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x180022990
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.18005db84
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x180022a12
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180055d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180055d8c
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180055da0
mov qword [rsp + 0x50], rdx
lea rcx, [0x180078ce0]
lea rdx, [rsp + 0x50]
call fcn.18001cbb0
mov rdx, qword [rax + 8]
cmp qword [rax], rdx
je 0x180055ea4
movaps xmmword [rsp + 0x30], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [0x180078ce0]
movaps xmmword [rsp + 0x20], xmm7
call fcn.18001cbb0
movsxd rcx, dword [rdi + 0x28]
mov rax, qword [rax]
movss xmm7, dword [rax + rcx*4 - 4]
lea eax, [rsi - 4]
cmp eax, 1
jbe 0x180055e10
movss xmm6, dword [rbx + 0x1a38]
jmp 0x180055e68
xor ecx, ecx
lea rax, [rbx + 0x43ac]
nop dword [rax]
cmp dword [rax], 0x209b
je 0x180055e3d
inc rcx
add rax, 4
cmp rcx, 6
jl 0x180055e20
movss xmm6, dword [rsp + 0x50]
jmp 0x180055e4b
movss xmm6, dword [rsp + 0x50]
addss xmm6, dword [0x18006d498]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rax + 0x2202ea8]
cmp dword [rcx + 8], 0xc
jne 0x180055e68
addss xmm6, dword [0x18006d4c4]
xorps xmm1, xmm1
comiss xmm6, xmm1
jbe 0x180055e87
movaps xmm1, xmm6
addss xmm1, dword [0x18006d4d4]
divss xmm6, xmm1
mulss xmm6, xmm7
subss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm0, xmm7
movaps xmm7, xmmword [rsp + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180055ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x130]
mov esi, r8d
movaps xmmword [rsp + 0x20], xmm7
mov rbx, rdx
mov rdi, rcx
cmp dword [rax + 0x40], 0xf
lea r9, [rax + 0x28]
jle 0x180055ef1
mov r9, qword [r9]
movabs rdx, 0xcbf29ce484222325
movabs r8, 0x100000001b3
nop word [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, r8
test cl, cl
jne 0x180055f10
mov rax, qword [0x180078cc8]
mov rcx, qword [0x180078cd0]
movss xmm0, dword [0x18006d534]
movaps xmm7, xmm0
cmp rax, rcx
je 0x180055f5c
cmp qword [rax + 8], rbx
jne 0x180055f4c
cmp qword [rax], rdx
je 0x180055f57
add rax, 0x18
cmp rax, rcx
jne 0x180055f41
jmp 0x180055f5c
movss xmm7, dword [rax + 0x10]
ucomiss xmm7, xmm0
jp 0x180055f68
jne 0x180055f68
xorps xmm0, xmm0
jmp 0x180055f9f
xor ecx, ecx
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
movss xmm6, dword [rax + 0x220d6e8]
call fcn.180055d60
addss xmm0, xmm7
xorps xmm1, xmm1
subss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
maxss xmm0, xmm1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x18005d120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9d, r8d
mov rdi, rdx
mov r8, rcx
lea rbx, [rcx + 0x3610]
lea r10, [rcx + 0x127e]
cmp byte [rcx + 0x127c], 0
jne 0x18005d1a3
mov byte [r10], 0
mov byte [rcx + 0x127d], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x30], rax
mov byte [rcx + 0x1280], al
movzx eax, byte [rsp + 0x31]
mov edx, 2
mov byte [rcx + 0x1281], al
movzx ecx, byte [rsp + rdx + 0x30]
inc edx
mov byte [r8 + 0x1282], cl
movzx eax, byte [rsp + rdx + 0x30]
mov byte [r8 + 0x1283], al
mov byte [r8 + 0x1284], 0
mov byte [r8 + 0x127c], 1
mov rax, r8
mov dword [rsp + 0x40], r9d
mov eax, dword [rax + 0x1280]
mov dword [rsp + 0x30], eax
movzx eax, byte [r8 + 0x127d]
test al, al
je 0x18005d1eb
xor ecx, ecx
mov edx, eax
nop word [rax + rax]
mov eax, dword [rsp + rcx + 0x30]
not eax
xor dword [rsp + rcx + 0x40], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x18005d1d0
lea r10, [r8 + 0x127e]
movzx eax, byte [r10]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x18005d214
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x30]
not al
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x18005d200
movzx eax, byte [r8 + 0x1284]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0x40]
mov dword [r8 + rcx*4 + 0x1288], eax
mov byte [r8 + 0x1284], cl
mov dword [rbx + 0x38], r9d
mov r8, qword [rbx + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r10
test cl, cl
jne 0x18005d260
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x18005d28d
lea eax, [r9 - 0x1d]
cmp eax, 7
jbe 0x18005d2d3
jmp 0x18005d2fa
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x18005d2a7
lea eax, [r9 - 0x1a]
cmp eax, 6
jbe 0x18005d2d3
jmp 0x18005d2fa
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x18005d2be
cmp r9d, 0x10
je 0x18005d2d3
jmp 0x18005d2fa
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x18005d2dc
cmp r9d, 6
jne 0x18005d2fa
mov byte [rbx + 0x9c], 0
jmp 0x18005d333
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x18005d31b
cmp rdx, rax
je 0x18005d31b
cmp byte [rbx + 0x9c], 0xff
je 0x18005d333
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x18005d333
mov byte [rbx + 0x9c], 0xff
jmp 0x18005d333
cmp r9d, 7
jne 0x18005d354
cmp rdx, rcx
je 0x18005d35f
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d333
mov qword [rbx + 8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0x18c4e0
mov dl, 1
mov rcx, rbx
call rax
nop
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r9d, 6
jne 0x18005d326
cmp rdx, rax
jne 0x18005d326
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18005d36c
mov qword [rbx + 8], rax
mov r8d, r9d
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1800511b0
Function at 0x18005d384
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 0x18005d408
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800658b0]
cmp byte [rcx + rax], 0
je 0x18005d408
dec r8
sub rdx, 1
jne 0x18005d3ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x18005e990
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18005ebb0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005ea97
mov rax, qword [0x180078040]
cmp qword [rsp + 0x20], rax
jb 0x18005e9f4
mov rax, qword [0x180078048]
cmp qword [rsp + 0x20], rax
ja 0x18005e9f4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005e9b6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005ea23
jmp 0x18005ea97
cmp dword [rsp + 0x50], 0x10000
jne 0x18005ea7a
cmp qword [rsp + 0x48], 0x10000
jb 0x18005ea7a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005ea68
mov rax, qword [rsp + 0x28]
jmp 0x18005ea99
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005ea92
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18005ebb0
mov qword [rsp + 0x20], rax
jmp 0x18005e9b6
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005eaa0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18005ebf0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18005eba3
mov rax, qword [0x180078040]
cmp qword [rsp + 0x20], rax
jb 0x18005eafb
mov rax, qword [0x180078048]
cmp qword [rsp + 0x20], rax
ja 0x18005eafb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005eabd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005eb2a
jmp 0x18005eba3
cmp dword [rsp + 0x50], 0x10000
jne 0x18005eb81
cmp qword [rsp + 0x48], 0x10000
jb 0x18005eb81
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005eb6f
mov rax, qword [rsp + 0x28]
jmp 0x18005eba5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005eb9e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18005ebf0
mov qword [rsp + 0x20], rax
jmp 0x18005eabd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400301f4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140056f20], eax
call fcn.140030aa0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140056f20], 0
jne case.default.0x14003024a
mov ecx, 1
call fcn.140030aa0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov ecx, 0x2a935f50
cmc
movabs dword [0x3efe7f74e941ebff], eax
invalid
Function at 0x1400113de
Capabilities:
Terminate process

Disassembly:
jmp 0x140018bb0
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 0x1400114dd
Capabilities:
Create thread

Disassembly:
jmp 0x1400132a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x188]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1400340fc]
call fcn.14001170d
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140011663
mov r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x108]
call fcn.140011258
mov qword [rbp + 0x118], rax
mov rdx, qword [rbp + 0x118]
lea rcx, [rbp + 8]
call fcn.1400110c8
nop
lea rcx, [rbp + 0x108]
call fcn.140011618
lea rax, [0x140011528]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x150]
add rax, 8
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 8]
call fcn.14001164a
mov rcx, qword [rbp + 0x118]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x150]
mov qword [rcx], rax
mov rax, qword [rbp + 0x150]
cmp qword [rax], 0
je 0x1400133ac
lea rcx, [rbp + 8]
call fcn.140011172
jmp 0x1400133c5
mov rax, qword [rbp + 0x150]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.14001119f
nop
lea rcx, [rbp + 8]
call fcn.140011618
lea rcx, [rbp - 0x30]
lea rdx, [0x140021360]
call fcn.1400115d2
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.140011352
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1400114ec
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019f00
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019f20
xor al, al
jmp 0x140019fa1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019f33
xor al, al
jmp 0x140019fa1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140019f5d
xor al, al
jmp 0x140019fa1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019f71
xor al, al
jmp 0x140019fa1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019f83
xor al, al
jmp 0x140019fa1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019f9f
xor al, al
jmp 0x140019fa1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140001807
movsxd r13, dword [rax + 0x3c]
mov r12d, dword [r13 + rax + 0x88]
mov r15d, dword [r12 + rax + 0x1c]
mov r10d, dword [r12 + rax + 0x20]
add r15, rax
mov r11d, dword [r12 + rax + 0x24]
add r10, rax
add r11, rax
test esi, 0xffff0000
jne 0x1400017be
movzx eax, si
sub eax, dword [r12 + rbx + 0x10]
mov eax, dword [r15 + rax*4]
add rax, rbx
jmp 0x140001809
mov edi, dword [r12 + rax + 0x18]
xor r14d, r14d
mov r9d, r14d
test edi, edi
je 0x140001807
nop dword [rax]
mov eax, dword [r10]
mov r8, rsi
movzx ebp, word [r11]
add rax, rbx
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400017f3
inc rax
test ecx, ecx
jne 0x1400017e0
test edx, edx
je 0x140001826
inc r9d
add r11, 2
add r10, 4
cmp r9d, edi
jb 0x1400017d0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, dword [r15 + rbp*4]
cmp r12, rcx
ja 0x1400018de
mov eax, dword [r13 + rbx + 0x8c]
add eax, r12d
cmp rcx, rax
jae 0x1400018de
lea rbp, [rcx + rbx]
mov rcx, rbp
lea rdx, [0x1400033a8]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rdi, rax
lea rsi, [rax + 1]
mov rax, 0xffffffffffffffff
sub rsi, rbp
mov rcx, rsi
add rcx, 4
lea edx, [rax + 2]
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x140001807
mov r8, rsi
mov rdx, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, word [0x1400033ac]
mov word [rbx + rsi], cx
movzx ecx, byte [0x1400033ae]
mov byte [rbx + rsi + 2], cl
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1400018cd
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140001750
mov r14, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, r14
jmp 0x140001809
lea rax, [rcx + rbx]
jmp 0x140001809
Function at 0x141651058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1416511df
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 0x141651089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14165106f
add dl, dl
jne 0x141651096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416510f6
xor eax, eax
add dl, dl
jne 0x1416510a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1416511ad
add dl, dl
jne 0x1416510b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416510c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416510d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1416510dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1416510ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14165107e
mov eax, 1
add dl, dl
jne 0x141651106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141651113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1416510fb
sub eax, ebx
mov ebx, 1
jne 0x14165114c
mov ecx, 1
add dl, dl
jne 0x14165112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14165113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141651123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141651168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141651175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14165115d
cmp eax, 0x7d00
jae 0x14165119b
cmp eax, 0x500
jb 0x141651196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165107e
cmp eax, 0x7f
ja 0x14165119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14165107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1416511d2
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 0x14165107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001478
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140055180]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, r8
call fcn.14000c0f0
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
movdqa xmm0, xmmword [0x14004dde0]
lea rdx, str._user_path
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
mov r8d, 0xa
mov rbx, rax
movdqu xmmword [rsp + 0x68], xmm0
call fcn.140001d20
movsxd rcx, dword [rsp + 0x30]
lea r8, [rsp + 0x58]
lea rdx, [rbx + rcx*8]
mov rcx, rbx
call fcn.14000c84c
lea rcx, [rsp + 0x58]
mov rbx, rax
call fcn.140001cbc
mov rcx, rbx
call fcn.14000eb00
and qword [rsp + 0x28], 0
lea r8, [0x1400015e0]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.140022e0c
lea rcx, str.ZoomCptService
mov rbx, rax
call fcn.14000f590
lea r8, str.ZoomCptService
mov qword [0x140058718], rax
mov edx, 0x80
lea rcx, [rbp - 0x80]
call fcn.140023c60
and qword [rsp + 0x48], 0
lea rax, [rbp - 0x80]
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rax, [0x140001ba0]
mov qword [rsp + 0x40], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov rcx, qword [0x140058708]
test rcx, rcx
je 0x1400015a6
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x140058708]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140019770
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rbp
ret