joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
sub dword [rax + 0x6676601e], esi
wait
invalid
invalid
out dx, eax
jbe 0x1400c3e33
add al, 0x1f
invalid
test byte [rdi], dh
xor dh, ch
add ah, byte [rax - 0x15e0e570]
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002d8e0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x68], rbx
je 0x14002da52
cmp byte [rcx + 0x71], bl
je 0x14002da52
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x18]
call qword [case.0x14002a26e.0]
cmp eax, 0xffffffff
jne 0x14002d945
xor al, al
jmp 0x14002da57
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.14002a7d4
nop
mov esi, 1
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r9, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rcx]
add r9, qword [rbp - 0x20]
mov rax, qword [rdx + 0x40]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x74]
call qword [case.0x14002a26e.0]
mov ecx, eax
test eax, eax
je 0x14002d9a5
sub ecx, esi
je 0x14002d9a8
cmp ecx, 2
jne 0x14002da14
jmp 0x14002da11
mov byte [rdi + 0x71], bl
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r10
mov r14, qword [rbp - 0x40]
sub r14, rax
je 0x14002d9e8
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, r14
mov rdx, rsi
call fcn.1400375f0
cmp r14, rax
jne 0x14002da0e
cmp byte [rdi + 0x71], bl
je 0x14002da0b
test r14, r14
jne 0x14002d95b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140007da0
jmp 0x14002d95b
mov bl, sil
mov sil, bl
mov bl, sil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14002da4e
inc rdx
mov r10, qword [rbp - 0x30]
mov rax, r10
cmp rdx, 0x1000
jb 0x14002da46
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002da7d
mov rcx, r10
call fcn.14002a000
mov al, bl
jmp 0x14002da57
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002a340
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140034cb0
int3

Function at 0x140032354
Capabilities:
Parse pe header

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

Function at 0x1400fd33e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x1400fd341
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x1400fd3ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x180009a14
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 0x180009a44
xor eax, eax
jmp 0x180009b07
mov rbp, rbx
cmp word [rax], si
je 0x180009a69
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180009a50
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180009a4c
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.180009934
movsxd r14, eax
test eax, eax
jne 0x180009aa7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180009a3d
mov rcx, r14
call fcn.18000b1d8
mov rdi, rax
test rax, rax
jne 0x180009ac0
xor ecx, ecx
call fcn.1800068d4
jmp 0x180009a9c
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.180009934
test eax, eax
jne 0x180009af1
mov rcx, rdi
call fcn.1800068d4
jmp 0x180009afb
xor ecx, ecx
call fcn.1800068d4
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 0x18000d248
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.180007784
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18000d2d2
cmp byte [rbp - 0x21], r15b
je 0x18000d2cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18000d308
call fcn.18000a218
test eax, eax
jne 0x18000d2f4
cmp byte [rbp - 0x21], r15b
je 0x18000d2ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18000d308
cmp byte [rbp - 0x21], r15b
je 0x18000d305
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.180007608
test eax, eax
jne 0x18000d3a8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180007784
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18000d347
cmp byte [rbp - 0x21], r15b
je 0x18000d37c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18000d37c
call fcn.18000a218
test eax, eax
jne 0x18000d368
cmp byte [rbp - 0x21], r15b
je 0x18000d361
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18000d37c
cmp byte [rbp - 0x21], r15b
je 0x18000d379
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.180007608
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18000d3a8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18000d3ab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18000d3b9
mov rcx, rdi
call fcn.1800068d4
cmp byte [rbp + 0x3f], r15b
je 0x18000d3c8
mov rcx, qword [rbp + 0x27]
call fcn.1800068d4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180001dd4
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rdi, rcx
lea rcx, [rbp - 0x20]
xor esi, esi
mov edx, 0x100000
mov dword [rbp + 0x28], 8
mov ebx, esi
call fcn.1800010d0
test eax, eax
je 0x180001e69
lea rdx, [rbp + 0x30]
lea rcx, str..pipePIPEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
mov r8d, 0x100000
call fcn.1800025e8
test eax, eax
jne 0x180001e28
lea rcx, [rbp - 0x20]
call fcn.1800010ac
jmp 0x180001e69
cmp dword [str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR], esi
jne 0x180001e76
mov rdx, qword [rbp + 0x30]
lea r8, [rbp - 0x20]
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov r9, rdi
call fcn.180001ee8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x30]
call fcn.1800025c0
lea rcx, [rbp - 0x20]
call fcn.1800010ac
call fcn.180002014
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp + 0x28]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
jne 0x180001e8c
lea eax, [rbx + 1]
mov dword [rbp + 0x2c], eax
jmp 0x180001e8f
mov eax, dword [rbp + 0x2c]
cmp ebx, eax
jae 0x180001eb8
mov rdx, qword [rbp + 0x30]
lea r8, [rbp - 0x20]
lea rcx, str.AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRR
mov r9, rdi
call fcn.180001ee8
test eax, eax
je 0x180001e47
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x180001ec8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x2ab98
cmova ebx, esi
mov rcx, rdi
call fcn.180002078
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.180002078
jmp 0x180001e76

Function at 0x18000204c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [rcx], 0xa2a1de0
je 0x180002069
cmp dword [rcx], 0x56a2b5f0
jne 0x180002072
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]
add rsp, 0x28
ret

Function at 0x180002078
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x180030768]
mov r10, rcx
test eax, eax
je 0x1800020c2
mov r9, qword [0x180030760]
test r9, r9
je 0x1800020c2
mov r8d, dword [0x18003076c]
mov edx, r8d
cmp r8d, eax
jae 0x1800020c2
sub eax, r8d
lea rcx, [r8 + r9]
mov r8d, eax
mov rax, rdx
inc rdx
and eax, 3
mov al, byte [rax + r10 + 4]
xor byte [rcx], al
inc rcx
dec r8
jne 0x1800020aa
repz ret
Function at 0x1800021b8
Capabilities:
Get graphical window text
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x18002f0a0]
xor rax, rsp
mov qword [rbp + 0x330], rax
and dword [rsp + 0x24], 0
and dword [rsp + 0x20], 0
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x24]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov edx, dword [rsp + 0x24]
mov rcx, rdi
call fcn.18000110c
call qword [sym.imp.USER32.dll_GetForegroundWindow]
or rbx, 0xffffffffffffffff
test rax, rax
je 0x180002253
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [rsp + 0x20], eax
test eax, eax
je 0x180002253
lea rax, [rsp + 0x30]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180002242
lea rdx, [rsp + 0x30]
jmp 0x180002258
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180001000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x400
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x180002294
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180002281
mov r8, rbx
lea rdx, [rsp + 0x30]
jmp 0x180002299
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.180001000
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.180014fd0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x18000255c
Capabilities:
Capture screenshot via keybd event
Open clipboard
Read clipboard data

Disassembly:
sub rsp, 0x28
xor r9d, r9d
mov dl, 0x37
mov cl, 0x2c
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
mov dl, 0x37
lea r8d, [r9 + 3]
mov cl, 0x2c
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov ecx, 2
add rsp, 0x28
jmp qword [sym.imp.USER32.dll_GetClipboardData]

Function at 0x1800025e8
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x40
and qword [rax - 0x10], 0
and dword [rax - 0x18], 0
or qword [rdx], 0xffffffffffffffff
mov dword [rax - 0x20], r8d
mov rbx, rdx
mov edx, 3
mov dword [rax - 0x28], r8d
lea r9d, [rdx - 2]
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x180002628
xor eax, eax
jmp 0x180002650
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x18000264b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x217
sete cl
test ecx, ecx
je 0x180002628
mov eax, 1
add rsp, 0x40
pop rbx
ret
Function at 0x180002658
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov dword [rax + 0x18], r8d
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rsi, rdx
lea r9, [rax + 0x20]
and dword [rax + 0x20], ebx
and qword [rax - 0x28], rbx
lea rdx, [rax + 0x18]
lea r8d, [rbx + 4]
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180002694
xor eax, eax
jmp 0x1800026e3
cmp dword [rsp + 0x68], 4
jne 0x180002690
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1800026de
mov r14d, 0x2000
sub eax, ebx
mov edx, ebx
lea r9, [rsp + 0x68]
cmp eax, r14d
mov rcx, rdi
cmova eax, r14d
and qword [rsp + 0x20], 0
add rdx, rsi
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x180002690
add ebx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x60]
cmp ebx, eax
jb 0x1800026a9
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x180005340
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov qword [rcx + 8], rsi
call fcn.180005640
mov edx, 0x98
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.180005620
mov rbx, rax
test rax, rax
jne 0x180005396
mov rcx, rdi
call fcn.180002ce0
mov rcx, qword [rdi]
mov dword [rcx + 0x28], 0x38
mov rcx, qword [rdi]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov dword [rbx + 0x5c], 0x3b9aca00
lea rax, [fcn.180004b50]
lea rcx, str.JPEGMEM
mov qword [rbx], rax
lea rax, [fcn.1800049a0]
mov qword [rbx + 8], rax
lea rax, [fcn.180004a70]
mov qword [rbx + 0x10], rax
lea rax, [fcn.1800048b0]
mov qword [rbx + 0x18], rax
lea rax, [0x180005240]
mov qword [rbx + 0x20], rax
lea rax, [0x180005190]
mov qword [rbx + 0x28], rax
lea rax, [0x180004fb0]
mov qword [rbx + 0x30], rax
lea rax, [0x180004750]
mov qword [rbx + 0x38], rax
lea rax, [0x1800045e0]
mov qword [rbx + 0x40], rax
lea rax, [fcn.180004e40]
mov qword [rbx + 0x48], rax
lea rax, [0x1800052f0]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x90], 0x98
mov qword [rdi + 8], rbx
call fcn.180016024
test rax, rax
je 0x180005499
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.180016090
test eax, eax
jle 0x180005499
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
mov eax, dword [rsp + 0x38]
jne 0x180005490
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800157b4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.18001561c
Function at 0x140c83058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c831df
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 0x140c83089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c8306f
add dl, dl
jne 0x140c83096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c830f6
xor eax, eax
add dl, dl
jne 0x140c830a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c831ad
add dl, dl
jne 0x140c830b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c830c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c830d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c830dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c830ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c8307e
mov eax, 1
add dl, dl
jne 0x140c83106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c83113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c830fb
sub eax, ebx
mov ebx, 1
jne 0x140c8314c
mov ecx, 1
add dl, dl
jne 0x140c8312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c8313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c83123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c8307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c83168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c83175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c8315d
cmp eax, 0x7d00
jae 0x140c8319b
cmp eax, 0x500
jb 0x140c83196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c8307e
cmp eax, 0x7f
ja 0x140c8319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c8307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c831d2
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 0x140c8307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov r14, rdx
lea r8, [0x1400dcd61]
mov rdi, rcx
mov r9d, 0x811c9dc5
mov eax, 0x44
nop dword [rax + rax]
xor eax, r9d
lea r8, [r8 + 1]
imul r9d, eax, 0x1000193
movzx eax, byte [r8 - 1]
test eax, eax
jne 0x140001d20
lea r8, str.D:BuildServerDworkpackage_cache_blz3.11.14include_blzmem_shared_ptr.h
mov dword [rsp + 0x20], 0x398
lea edx, [rax + 0xb]
lea ecx, [rax + 0x40]
call fcn.140025410
mov rbx, rax
test rax, rax
je 0x140001d9c
mov qword [rsp + 0x40], rsi
lea rsi, [rbx + 0x10]
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x1400dcd40]
mov qword [rbx], rax
test rsi, rsi
je 0x140001d95
mov r8, qword [r14 + 8]
mov rcx, rsi
mov rdx, qword [r14]
call fcn.1400027c0
mov eax, dword [r14 + 0x28]
mov dword [rsi + 0x28], eax
mov rsi, qword [rsp + 0x40]
jmp 0x140001d9e
xor ebx, ebx
lea rax, [rbx + 0x10]
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x48]
mov qword [rdi], rax
mov rax, rdi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140002a70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x30
mov rbx, rcx
movabs rsi, 0x7fffffffffffffff
mov rcx, qword [rcx + 0x10]
mov r8, rdx
mov rax, rcx
and rax, rsi
cmp rdx, rax
jbe 0x140002b6c
mov rdx, rcx
mov qword [rsp + 0x40], rdi
shr rdx, 1
movabs r9, 0x3fffffffffffffff
and rdx, r9
mov r9d, 0x811c9dc5
add rdx, rax
mov rax, rcx
cmp rdx, r8
cmovb rdx, r8
xor rax, rdx
and rax, rsi
xor rax, rcx
lea rcx, [0x1401262a1]
mov qword [rbx + 0x10], rax
movzx eax, byte [0x1401262a0]
test eax, eax
je 0x140002b06
nop word [rax + rax]
xor eax, r9d
lea rcx, [rcx + 1]
imul r9d, eax, 0x1000193
movzx eax, byte [rcx - 1]
test eax, eax
jne 0x140002af0
lea rcx, [rdx + 1]
mov dword [rsp + 0x28], 0
mov edx, ntohs
mov dword [rsp + 0x20], 0xfffffffa
lea r8, [0x1401262a0]
call fcn.140025e30
mov r8, qword [rbx + 8]
mov rdi, rax
add r8, 1
je 0x140002b43
mov rdx, qword [rbx]
mov rcx, rax
call fcn.1400bddc0
cmp qword [rbx + 0x10], 0
jl 0x140002b60
mov rcx, qword [rbx]
lea rdx, [0x1401262a0]
xor r9d, r9d
lea r8d, [r9 - 6]
call fcn.140025f00
and qword [rbx + 0x10], rsi
mov qword [rbx], rdi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rsi
ret
Function at 0x140002c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rsi, r8
mov rbx, rdx
mov r15, rcx
mov r8d, 2
lea rcx, [rbp + 0x27]
lea rdx, [rsi + 0x10]
call qword [rsi + reloc.WS2_32.dll_htonl]
mov rax, qword [rsi]
lea rcx, [0x1400dccf1]
mov qword [rbp + 0x17], rax
xor r13d, r13d
mov rax, qword [rsi + 8]
mov r9d, 0x811c9dc5
mov qword [rsi], r13
mov qword [rbp + 0x1f], rax
lea rax, [fcn.140002a40]
mov qword [rsi + 8], rax
mov eax, 0x44
mov rdi, qword [rbx]
mov r12, qword [rbx + 8]
mov rbx, qword [rbx + 0x10]
nop dword [rax + rax]
xor eax, r9d
lea rcx, [rcx + 1]
imul r9d, eax, 0x1000193
movzx eax, byte [rcx - 1]
test eax, eax
jne 0x140002cc0
lea r8, str.D:BuildServerDworkpackage_cache_blz3.11.14include_blzmem_unique_ptr.h
mov dword [rsp + 0x20], 0x20e
lea edx, [rax + 0xb]
lea ecx, [rax + 0x68]
call fcn.140025410
test rax, rax
je 0x140002d32
mov rcx, qword [rdi]
lea r9, [rbp - 0x29]
movzx r8d, byte [r12]
lea rdx, [rbp - 9]
mov qword [rbp - 0x29], rcx
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x21], rcx
mov rcx, qword [rbx]
mov qword [rbp - 9], rcx
mov rcx, qword [rbx + 8]
mov qword [rbp - 1], rcx
mov rcx, rax
mov qword [rsp + 0x20], r13
call fcn.140037c60
mov rdi, rax
jmp 0x140002d35
mov rdi, r13
mov r8d, 2
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call qword [rbp + 0x1f]
mov rax, qword [rbp + 0x17]
lea r12, [fcn.140002a40]
mov qword [rbp - 9], rax
xor r9d, r9d
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 1], rax
lea rax, [0x140007a20]
mov qword [rbp - 0x29], rax
lea rax, [0x140007ca0]
lea edx, [r9 + 8]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0xfffffffa
lea ecx, [rdx + 0x18]
lea r8d, [r9 + 0xb]
mov qword [rbp - 0x21], rax
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r12
mov dword [rsp + 0x20], r13d
call fcn.140025790
mov rbx, rax
test rax, rax
je 0x140002dd2
lea rcx, [rax + 0x10]
mov r8d, 2
lea rdx, [rbp + 7]
call qword [rbp - 1]
mov rcx, qword [rbp - 9]
mov qword [rbx], rcx
mov rcx, qword [rbp - 1]
mov qword [rbx + 8], rcx
mov qword [rbp - 9], r13
mov qword [rbp - 1], r12
jmp 0x140002dd5
mov rbx, r13
lea r8, [rbp - 0x29]
mov qword [rbp - 0x19], rbx
lea rdx, [rbp + 0x6f]
mov qword [rbp + 0x6f], rdi
mov rcx, r15
call fcn.14000e6b0
mov rax, qword [rbp - 1]
cmp rax, r12
je 0x140002e01
xor r8d, r8d
lea rcx, [rbp + 7]
xor edx, edx
call rax
mov rax, qword [rbp + 0x1f]
cmp rax, r12
je 0x140002e15
xor r8d, r8d
lea rcx, [rbp + 0x27]
xor edx, edx
call rax
mov rax, qword [rsi + 8]
cmp rax, r12
je 0x140002e29
xor r8d, r8d
lea rcx, [rsi + 0x10]
xor edx, edx
call rax
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret