joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023100
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor edi, edi
mov qword [rsp + 0x20], rcx
mov r9, rcx
lea r8, [rsp + 0x30]
mov ecx, edi
lea eax, [rcx*4]
inc ecx
mov eax, dword [rax + r9 + 0x28]
bswap eax
mov dword [r8], eax
lea r8, [r8 + 4]
cmp ecx, 0x10
jb 0x140023142
lea r11, [rsp + 0x70]
mov ebx, 0x30
lea r10, [rsp + 0x68]
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [r11], r8d
lea r11, [r11 + 4]
sub rbx, 1
jne 0x14002316d
movups xmm0, xmmword [r9]
lea r12d, [rbx + 0x40]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsp], xmm0
mov ebx, dword [rsp + 8]
mov esi, dword [rsp + 4]
mov r11d, dword [rsp]
mov r9d, dword [rsp + 0xc]
movups xmmword [rsp + 0x10], xmm1
mov r13d, dword [rsp + 0x1c]
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x14]
mov r10d, dword [rsp + 0x10]
mov eax, r10d
mov r8d, r10d
rol eax, 7
mov ecx, r10d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r10d
mov edx, r11d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r10d
xor ecx, eax
lea rax, [0x14004b280]
add r8d, ecx
mov ecx, esi
add r8d, dword [rdi + rax]
xor ecx, ebx
add r8d, dword [rsp + rdi + 0x30]
lea rdi, [rdi + 4]
add r8d, r13d
and ecx, r11d
mov eax, r11d
mov r13d, r14d
rol eax, 0xa
mov r14d, r15d
xor edx, eax
mov r15d, r10d
mov eax, r11d
lea r10d, [r9 + r8]
ror eax, 2
mov r9d, ebx
xor edx, eax
mov eax, esi
and eax, ebx
mov ebx, esi
xor ecx, eax
mov esi, r11d
add edx, ecx
lea r11d, [rdx + r8]
sub r12, 1
jne 0x1400231f1
mov dword [rsp + 0xc], r9d
lea rcx, [rsp]
mov r9, qword [rsp + 0x20]
lea edx, [r12 + 8]
sub rcx, r9
mov dword [rsp + 0x10], r10d
mov dword [rsp], r11d
mov dword [rsp + 8], ebx
mov dword [rsp + 4], esi
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x14], r15d
mov dword [rsp + 0x1c], r13d
mov eax, dword [rcx + r9]
add dword [r9], eax
lea r9, [r9 + 4]
sub rdx, 1
jne 0x1400232b2
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140030ce0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140023c94
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x140023d24
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
test eax, eax
setne al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140030ce0
add rsp, 0x80
pop rbp
ret

Function at 0x140023d3c
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.140030c80
sub rsp, rax
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140023d78
xor eax, eax
jmp 0x140023d9b
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140018340
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140030ce0
add rsp, 0x1030
pop rbx
ret

Function at 0x140023eb4
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14005c318]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140023f2d
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp ebx, 1
jne 0x140023f37
lea ecx, [rbx + 4]
jmp 0x140023f60
cmp ebx, 3
jne 0x140023f45
xor r8d, r8d
xor edx, edx
xor ecx, ecx
jmp 0x140023f51
cmp ebx, 2
jne 0x140023f58
xor r8d, r8d
mov cl, 1
xor edx, edx
call sub.POWRPROF.dll_SetSuspendState
jmp 0x140023f6b
cmp ebx, 4
jne 0x140023f6b
lea ecx, [rbx + 2]
mov edx, 0x80000000
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140030ce0
add rsp, 0x50
pop rbx
ret
Function at 0x1400242e4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x140024386
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140024490]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x14002435c
lea rdx, str.CreateThread_failed
lea rcx, [0x140066ee8]
call fcn.14000ce48
lea rcx, [0x140066ee8]
call fcn.14000d160
lea edx, [rsi + 2]
lea rcx, [0x140066ee8]
call fcn.14000ce1c
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x140072060]
test edx, edx
je 0x14002437c
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x140024300
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140031aec
Capabilities:
Parse pe header

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

Function at 0x1400397b4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140039588
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140039588
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140039588
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140039588
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140039588
cmp dword [rcx + 0x84], 0xe
jbe 0x140039588
cmp dword [rcx + 0xf8], esi
je 0x140039588
mov ecx, r14d
call fcn.1400396d0
mov ecx, 2
call fcn.14003dc08
nop
cmp byte [0x140072a68], 0
jne 0x140039652
mov r15d, 1
mov eax, r15d
xchg dword [0x140072a58], eax
test ebx, ebx
jne 0x1400395fb
mov rdi, qword [0x14005c318]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140072a60]
cmp rcx, rax
je 0x1400395f2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000eb40]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140072bc8]
jmp 0x140039607
cmp ebx, r15d
jne 0x14003960d
lea rcx, [0x140072be0]
call fcn.14003b7a0
nop
test ebx, ebx
jne 0x140039624
lea rdx, [0x140047610]
lea rcx, [0x1400475f0]
call fcn.14003baa0
lea rdx, [0x140047620]
lea rcx, [0x140047618]
call fcn.14003baa0
movzx eax, byte [0x140072a68]
test esi, esi
cmove eax, r15d
mov byte [0x140072a68], al
jmp 0x140039652
mov ecx, 2
call fcn.14003dc68
test esi, esi
jne 0x140039669
mov ecx, r14d
call fcn.140039684
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140039518
Function at 0x1800012b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea rax, [r11 + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov qword [r11 - 0x68], rax
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0xa0]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x98]
xor r12d, r12d
lea rdx, str..Translated
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [rsp + 0x90]
call fcn.18004e1e0
mov rcx, qword [rsp + 0xa0]
lea r9, [rsp + 0x98]
mov r15, rax
lea rdx, str..Translated
lea rax, [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r14d, dword [r15 + 0x10]
mov esi, r12d
test r14d, r14d
je 0x180001496
mov rbp, qword [0x18005fb18]
lea rdi, [r15 + 0x20]
mov edx, 0x200
mov r8d, 0x400
mov r9d, 0x800
movabs r13, 0x555555555555555
nop dword [rax + rax]
movzx ecx, word [rdi - 0xa]
mov eax, dword [rdi]
mov ebx, eax
test dx, cx
je 0x1800013b3
shl rbx, 8
jmp 0x1800013c9
test r8w, cx
je 0x1800013bf
shl rbx, 0x10
jmp 0x1800013c9
test r9w, cx
je 0x1800013c9
shl rbx, 0x20
mov rax, qword [rbp + 8]
mov rcx, rbp
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r12d
cmp byte [rax + 0x19], r12b
jne 0x18000140e
mov rdx, qword [rdi - 8]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x20], rdx
jae 0x1800013fa
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x38], r12d
jmp 0x180001408
mov rcx, rax
mov dword [rsp + 0x38], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x1800013e4
cmp byte [rcx + 0x19], r12b
jne 0x18000141e
mov rax, qword [rcx + 0x20]
cmp qword [rdi - 8], rax
jae 0x180001482
cmp qword [0x18005fb20], r13
je 0x1800014c6
mov ecx, 0x30
call fcn.18004de24
mov rcx, qword [rdi - 8]
lea rdx, [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x30]
mov r8, rax
mov qword [rax + 0x20], rcx
lea rcx, [0x18005fb18]
mov qword [rax + 0x28], rbx
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov word [rax + 0x18], r12w
movaps xmmword [rsp + 0x30], xmm0
call fcn.1800031a0
mov rbp, qword [0x18005fb18]
mov r8d, 0x400
mov r9d, 0x800
add rdi, 0x14
inc esi
mov edx, 0x200
cmp esi, r14d
jb 0x1800013a0
mov rcx, r15
call fcn.18004dbb4
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0xa8]
mov al, 1
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180001290
int3
Function at 0x180004d80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x180004ddd
lea rbx, [0x18004fa50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180004dc4
cmp r10, 2
jb 0x180004dc4
cmp byte [r9], r8b
jne 0x180004dc4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180004da0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180004e1f
lea rbx, [0x18004fa50]
cmp r8b, 0x23
jne 0x180004e03
cmp byte [r9], r8b
jne 0x180004e03
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180004df0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180004f60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180004f7a
mov qword [r8], 0
lea rdx, [0x180053b74]
call fcn.180004e30
mov rbx, rax
test rax, rax
jne 0x180004f9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180005085
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180005085
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180005085
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180005085
cmp rdi, 0xffffffffffffffff
je 0x180005085
mov rax, qword [0x18005f8f0]
test rax, rax
je 0x180005016
inc dword [rax + 0x3b4]
mov rdx, qword [0x18005f8e0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x180005085
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180005072
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18005f8f0]
test rax, rax
je 0x180005061
dec dword [rax + 0x3b4]
mov rdx, qword [0x18005f8e0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18000508e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180005080
mov qword [r14], rdi
mov rax, rsi
jmp 0x180005090
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180010640
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x18005f8f0]
mov r8d, ecx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xc8
movzx eax, r8b
lea r8, [0x18004fa50]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x180010700
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1800106e6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800106eb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180018360
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180011610
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x18005f8f0]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x180011661
cmp byte [rbx + 0x1f4e], 0
jne 0x180011661
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.180004c70
test dil, 1
je 0x180011786
jmp 0x1800116e9
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180054a6c]
mulss xmm1, dword [0x180054a5c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x180054978]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.180004c70
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180011740
lea r11, [0x18004fa50]
nop dword [rax]
cmp r9b, 0x23
jne 0x180011723
cmp byte [r8], r9b
jne 0x180011723
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180011710
not ecx
call fcn.18000b450
test rax, rax
je 0x180011786
cmp byte [rax + 0x8e], 0
je 0x180011786
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, dword [rbx + 0x2ff8]
call fcn.180004c70
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000dac0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180016420
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3098], 0
lea rbx, [rcx + 0x30a0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800164c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001647a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180018190
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180005720
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3098]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x30a8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18005f8e8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800164cf
mov rcx, rbx
call fcn.180005720
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180040a50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x98
cmp byte [0x18005fac0], 1
mov qword [rax + 0x18], rbp
mov ebp, edx
mov qword [rax + 0x20], rsi
mov rsi, r8
mov qword [rax - 8], rdi
mov edi, r9d
jne 0x180040b24
mov qword [rax + 0x10], rbx
mov qword [rax - 0x10], r14
movabs r14, 0x7fffffffffffffff
mov qword [rax - 0x18], r15
movabs r15, 0x7ffffffffffffffe
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x180040abe
imul rax, rax, 0x64
jmp 0x180040adc
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r15
jge 0x180040aee
inc rax
mov qword [rsp + 0xa0], rax
jmp 0x180040af6
mov qword [rsp + 0xa0], r14
lea rcx, [rsp + 0xa0]
call fcn.18004d8a0
cmp byte [0x18005fac0], 1
je 0x180040aa0
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa8]
xor eax, eax
mov byte [0x18005fac0], 1
xorps xmm0, xmm0
mov dword [rsp + 0x2c], eax
xor r9d, r9d
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xc0]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x1234ffff
mov dword [rsp + 0x38], ebp
lea r8d, [r9 + 0x30]
mov qword [rsp + 0x40], rsi
lea rcx, [r9 - 1]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x4c], 1
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.WS2_32.dll_send]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
cmp eax, 0xffffffff
je 0x180040bf0
xor r9d, r9d
lea rdx, [rsp + 0x50]
lea r8d, [r9 + 0x30]
lea rcx, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 8
jb 0x180040bf0
cmp dword [rsp + 0x50], 0x1234ffff
jne 0x180040bf0
cmp dword [rsp + 0x54], 4
jne 0x180040bf0
mov eax, dword [rsp + 0x58]
mov byte [0x18005fac0], 0
add rsp, 0x98
ret
xor eax, eax
mov byte [0x18005fac0], al
add rsp, 0x98
ret
Function at 0x1400021f8
Capabilities:
Parse pe header

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

Function at 0x141b22058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141b221df
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 0x141b22089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b2206f
add dl, dl
jne 0x141b22096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b220f6
xor eax, eax
add dl, dl
jne 0x141b220a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b221ad
add dl, dl
jne 0x141b220b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b220c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b220d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b220dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b220ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b2207e
mov eax, 1
add dl, dl
jne 0x141b22106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b22113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b220fb
sub eax, ebx
mov ebx, 1
jne 0x141b2214c
mov ecx, 1
add dl, dl
jne 0x141b2212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b2213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b22123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b2207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b22168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b22175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b2215d
cmp eax, 0x7d00
jae 0x141b2219b
cmp eax, 0x500
jb 0x141b22196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b2207e
cmp eax, 0x7f
ja 0x141b2219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b2207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b221d2
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 0x141b2207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20