joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457c50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x268
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 0
nop
xor rbx, rbx
mov dword [rbp + 0x4c], 0xff
mov rcx, 0xffffffff80000002
lea rdx, [0x00457db4]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x258]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x457d4f
mov rcx, qword [rbp + 0x258]
lea rdx, [0x00457df4]
xor r8, r8
lea r9, [rbp + 0x48]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x457cd8
mov bl, 1
jmp 0x457d43
mov rcx, 0xffffffff80000002
lea rdx, [0x00457db4]
xor r8, r8
mov r9d, 0x20119
lea rax, [rbp + 0x250]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x457d43
mov rcx, qword [rbp + 0x250]
lea rdx, [0x00457df4]
xor r8, r8
lea r9, [rbp + 0x48]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x457d37
mov bl, 1
mov rcx, qword [rbp + 0x250]
call sub.advapi32.dll_RegCloseKey_1
mov rcx, qword [rbp + 0x258]
call sub.advapi32.dll_RegCloseKey_1
test bl, bl
je 0x457d74
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x50]
mov r8d, pe_nt_image_headers64
call fcn.0040b320
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
call fcn.0041ba40
nop
lea rcx, [rbp + 0x38]
call fcn.00409f90
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x268]
pop rbx
pop rbp
ret

Function at 0x457e10
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbfa0
ja 0x457e17
sub rsp, 0x4060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x2001
jne 0x457e61
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x457e93
test eax, eax
je 0x457ec5
sub eax, 1
test eax, eax
jne 0x457f1e
jmp 0x457f05
mov ecx, 0x2000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.0040a1e0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.0041bef0
jmp 0x457f1e
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.0040a1e0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.0041bef0
jmp 0x457f1e
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004058e0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041d0f0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.00426d10
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.0040a550
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.0040a070
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x4060]
pop rbp
ret
Function at 0x457f90
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x128
mov rbp, rsp
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x140], rcx
nop
lea rcx, [rbp + 0xf0]
mov edx, 0x18
xor r8, r8
call fcn.00406300
lea rcx, [rbp + 0x88]
mov edx, 0x68
xor r8, r8
call fcn.00406300
mov dword [rbp + 0x88], 0x68
mov dword [rbp + 0xf0], 0x18
mov dword [rbp + 0xc4], 1
mov word [rbp + 0xc8], 0
mov dword [rbp + 0x100], 0xffffffff
mov byte [rbp + 0x6f], 1
mov rcx, qword [rbp + 0x140]
call fcn.0040b250
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xf0]
lea r9, [rbp + 0xf0]
cmp byte [rbp + 0x6f], 0
setne al
movzx rax, al
neg eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4580f8
lea rcx, [rbp + 0x118]
lea rdx, [0x004579e0]
call fcn.0040ea60
lea rcx, [rbp + 0x110]
lea rdx, [0x004581d8]
call fcn.0040a5d0
nop
mov rcx, qword [rbp + 0x118]
call fcn.0040b250
mov rbx, rax
mov rcx, qword [rbp + 0x110]
call fcn.0040b250
xor rcx, rcx
mov rdx, rbx
mov r8, rax
mov r9d, 0x40
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x118]
call fcn.00409f90
lea rcx, [rbp + 0x110]
call fcn.00409f90
jmp 0x458126
mov rcx, qword [rbp + 0x70]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x10c]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x110]
mov edx, 2
call fcn.0040a070
mov eax, dword [rbp + 0x10c]
lea rsp, [rbp + 0x128]
pop rbx
pop rbp
ret

Function at 0x4586b0
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.0040a120
nop
mov rcx, qword [rbp + 0x68]
call fcn.0040b250
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x102
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x50], rax
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x50]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax + 0x58]
mov rax, qword [rbp + 0x60]
mov r8d, dword [rax + 0x60]
mov rax, qword [rbp + 0x60]
lea r9, [rax + 0x4c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x50]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x68]
call fcn.00409f90
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x402c50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408940]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00408968]
test rbx, rbx
je 0x402ca4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rdi
mov rbp, rax
call rsi
test eax, eax
jne 0x402c9b
test rbp, rbp
je 0x402c9b
mov rax, qword [rbx + 8]
mov rcx, rbp
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402c80
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x00408940]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax

Function at 0x14061f058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14061f1df
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 0x14061f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061f06f
add dl, dl
jne 0x14061f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061f0f6
xor eax, eax
add dl, dl
jne 0x14061f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061f1ad
add dl, dl
jne 0x14061f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14061f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14061f07e
mov eax, 1
add dl, dl
jne 0x14061f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14061f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061f0fb
sub eax, ebx
mov ebx, 1
jne 0x14061f14c
mov ecx, 1
add dl, dl
jne 0x14061f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14061f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061f15d
cmp eax, 0x7d00
jae 0x14061f19b
cmp eax, 0x500
jb 0x14061f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061f07e
cmp eax, 0x7f
ja 0x14061f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14061f1d2
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 0x14061f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140010740
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001074d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001075d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140010745
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140010775
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140010762
sub eax, 3
jb 0x14001078f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400107c6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400107b6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400107b4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400107a3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140010702
jmp 0x14001074d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4200
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140010812
cmp rsi, rcx
jae 0x14001081a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400107f9
cmp al, 0x8f
ja 0x1400107f9
cmp byte [rsi - 2], 0xf
je 0x1400107ff
sub al, 0xe8
cmp al, 1
ja 0x1400107e3
cmp rsi, rcx
jae 0x14001081a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400107e9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001081a
lodsb al, byte [rsi]
jmp 0x1400107f9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd000]
mov eax, dword [rdi]
or eax, eax
je 0x140010877
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x101dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140010827
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140010871
mov qword [rbx], rax
add rbx, 8
jmp 0x140010847
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400108b1
cmp al, 0xef
ja 0x1400108a3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140010883
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140010892
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140010905
sub rsp, 0xffffffffffffff80
jmp 0x140004388
Function at 0x140034a10
Capabilities:
Encode data using xor

Disassembly:
mov al, 0x25
sub al, 0xd9
xor r9, rbx
pop rcx
xor al, 0x76
xchg ebx, eax
ret
xchg ebp, eax
adc al, ch
sub esi, dword [0x1a8803c84]
and al, 0xf2
mov cl, 0xf3
jae 0x1400349a0
and dword [rcx + rcx*4 + 0x72ca7ccf], edi
imul byte [rdi - 0x63]
popfq
adc ch, byte [rbx - 0x77c95c00]
mov dl, 0x6d
mov byte [rsi], bh
cld
jae 0x1400349d5
sbb dword [rdi + 0x9f47ae9], 0xffffffb7
ja 0x140034a47
mov ch, 0x9e
invalid
rol dword [rsi + rdi*8], 1
mul byte gs:[rcx]
add al, 0xe5
je 0x140034a29
invalid

Function at 0x140ba5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140ba51df
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 0x140ba5089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba506f
add dl, dl
jne 0x140ba5096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba50f6
xor eax, eax
add dl, dl
jne 0x140ba50a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ba51ad
add dl, dl
jne 0x140ba50b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba50c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba50d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba50dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ba50ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ba507e
mov eax, 1
add dl, dl
jne 0x140ba5106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ba5113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba50fb
sub eax, ebx
mov ebx, 1
jne 0x140ba514c
mov ecx, 1
add dl, dl
jne 0x140ba512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba5123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ba5168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ba5175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ba515d
cmp eax, 0x7d00
jae 0x140ba519b
cmp eax, 0x500
jb 0x140ba5196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba507e
cmp eax, 0x7f
ja 0x140ba519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ba507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ba51d2
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 0x140ba507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140012290
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400149b0
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1002
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret

Function at 0x1400122a0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1400149e0
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea r9, [rsp + 0x48]
mov edx, 0xffff
mov r8d, 0x1001
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret

Function at 0x14001eccf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140041250]
jne 0x14001c28a
rol rcx, 0x10
test cx, 0xffff
jne 0x14001c286
repz ret
ror rcx, 0x10
jmp 0x14001ec28
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400473a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140047498]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001ecad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400473a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001eccf
mov rax, qword [rsp + 0x88]
mov qword [0x140047498], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140047438], rax
mov rax, qword [0x140047498]
mov qword [0x140047310], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140047420], rax
mov dword [0x140047300], 0xc0000409
mov dword [0x140047304], 1
mov rax, qword [0x140041250]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140041258]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140047398], eax
mov ecx, 1
call fcn.14002710c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140036750]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140047398], 0
jne 0x14001ed56
mov ecx, 1
call fcn.14002710c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140020e7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140020cec
Function at 0x140d6a000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140d6a00a
jmp 0x140d6c00f
jmp fcn.140965058
Function at 0x140b5b058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b5b1df
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 0x140b5b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5b06f
add dl, dl
jne 0x140b5b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5b0f6
xor eax, eax
add dl, dl
jne 0x140b5b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5b1ad
add dl, dl
jne 0x140b5b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b5b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b5b07e
mov eax, 1
add dl, dl
jne 0x140b5b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5b0fb
sub eax, ebx
mov ebx, 1
jne 0x140b5b14c
mov ecx, 1
add dl, dl
jne 0x140b5b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b5b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b5b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b5b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5b15d
cmp eax, 0x7d00
jae 0x140b5b19b
cmp eax, 0x500
jb 0x140b5b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5b07e
cmp eax, 0x7f
ja 0x140b5b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b5b1d2
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 0x140b5b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14000f340]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x1400062ad
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400062b4
mov al, 1
jmp 0x14000640c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140003210
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140003210
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.140003220
movzx eax, al
test eax, eax
je 0x140006309
xor al, al
jmp 0x14000640c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140006379
cmp dword [rsp + 0x30], 1
je 0x140006385
cmp dword [rsp + 0x30], 3
je 0x1400063fa
jmp 0x14000640a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x1400063d1
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x1400063d1
xor al, al
jmp 0x14000640c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400063eb
mov dword [rsp + 0x34], 1
jmp 0x1400063f3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14000640c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14000640c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140008530
add rsp, 0xa8
ret