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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov r15, r8
mov r12, rdx
mov r14, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x1400a0b08
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x1400a0b37
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x1400a0b19
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [r14 + 0x28]
mov rsi, rdx
and rsi, rcx
cmp qword [r14 + 0x30], rsi
ja 0x1400a0b5e
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rbx, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x1400a0bd8
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x1400a0bd8
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r15
call fcn.14000ec80
test al, al
jne 0x1400a0b9e
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x1400a0b7e
jmp 0x1400a0bd8
mov rdx, r15
lea rcx, [rbx + 0x10]
call fcn.14000ec80
test al, al
jne 0x1400a0bb3
mov rbx, qword [rbx]
jmp 0x1400a0bd8
mov r8, rdi
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.140036d30
mov qword [r12], rbx
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x1400a0c6e
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400a0c0d
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi*8]
cmp rax, qword [r14]
jne 0x1400a0c29
mov qword [rdx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x1400a0c58
cmp rax, rbx
jne 0x1400a0c34
mov qword [rdx + rsi*8], rdi
jmp 0x1400a0c58
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + rsi*8 + 8], rcx
cmp rcx, rdi
je 0x1400a0c58
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi*8 + 8], rcx
mov rcx, r14
call fcn.1400a07dc
nop
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400bc724
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
call fcn.1400bc180
xor edi, edi
test al, al
je 0x1400bc8fc
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov esi, 7
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x1f], rdi
mov word [rbp + 0xf], di
cmp word [rax], di
jne 0x1400bc78d
mov r8, rdi
jmp 0x1400bc79b
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x1400bc791
mov rdx, rax
lea rcx, [rbp + 0xf]
call fcn.140007004
nop
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400bc7d6
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
cmp eax, 0x52e
jne 0x1400bc7d6
mov bl, dil
jmp 0x1400bc8e9
lea rcx, [rbp + 0xf]
call fcn.14003bae8
test al, al
je 0x1400bc86f
lea rdx, [0x1400fa498]
lea rcx, [rbp + 0xf]
call fcn.140084844
mov qword [rbp + 0x47], rsi
mov qword [rbp + 0x3f], rdi
mov word [rbp + 0x2f], di
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.140006c68
cmp qword [rbp + 0x27], 8
jb 0x1400bc827
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x1f], rdi
mov word [rbp + 0xf], di
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.1400085a4
cmp qword [rbp + 0x47], 8
jb 0x1400bc851
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rax, qword [rbp + 0xf]
mov qword [rbp - 9], rax
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.1400872e8
mov qword [rbp - 1], rdi
xor r8d, r8d
xor edx, edx
call fcn.14003bca8
mov qword [rbp - 9], rax
mov qword [rbp + 0x47], rsi
mov qword [rbp + 0x3f], rdi
mov word [rbp + 0x2f], di
mov r8d, 1
lea rdx, [0x1400fc0bc]
lea rcx, [rbp + 0x2f]
call fcn.140007004
nop
mov byte [rsp + 0x20], dil
xor r9d, r9d
lea r8, [rbp + 0x2f]
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 9]
call fcn.14003ad44
test eax, eax
setns bl
cmp qword [rbp + 0x47], 8
jb 0x1400bc8d3
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x47], rsi
mov qword [rbp + 0x3f], rdi
mov word [rbp + 0x2f], di
lea rcx, [rbp - 9]
call fcn.14000d768
nop
cmp qword [rbp + 0x27], 8
jb 0x1400bc8fa
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov al, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400c1ea0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1401426e0], rbx
je 0x1400c1eec
cmp rax, rbx
jne 0x1400c1edf
mov ebx, 1
mov esi, ebx
jmp 0x1400c1ef1
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_Sleep]
jmp 0x1400c1ec4
mov ebx, 1
mov eax, dword [0x1401426e8]
cmp eax, ebx
jne 0x1400c1f07
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400c1f6c
mov eax, dword [0x1401426e8]
test eax, eax
jne 0x1400c1f66
mov dword [0x1401426e8], ebx
lea r15, [0x1400f5f68]
lea rdi, [0x1400f5f50]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400c1f58
test eax, eax
jne 0x1400c1f5c
cmp qword [rdi], 0
je 0x1400c1f4d
mov rax, qword [rdi]
mov rcx, qword [0x1400f5e38]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400c1f2e
test eax, eax
je 0x1400c1f6c
mov eax, 0xff
jmp 0x1400c2048
mov dword [0x14014184c], ebx
mov eax, dword [0x1401426e8]
cmp eax, ebx
jne 0x1400c1f93
lea rdx, [0x1400f5f48]
lea rcx, [0x1400f5e40]
call sub.msvcrt.dll__initterm
mov dword [0x1401426e8], 2
test esi, esi
jne 0x1400c1fa0
xor eax, eax
xchg qword [0x1401426e0], rax
cmp qword [0x140142700], 0
je 0x1400c1fd4
lea rcx, [0x140142700]
call fcn.1400c2670
test eax, eax
je 0x1400c1fd4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140142700]
mov r9, qword [0x1400f5e38]
call r9
mov r8, qword [0x140141860]
mov rdx, qword [0x140141858]
mov ecx, dword [0x140141850]
call fcn.14000598c
mov dword [0x140141848], eax
cmp dword [0x140141868], 0
jne 0x1400c2004
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14014184c], 0
jne 0x1400c2019
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140141848]
jmp 0x1400c2048
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401dd000
add rsp, 0x28
jmp 0x1400c1ea0

Function at 0x1400c256c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c25b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c25b0
cmp dword [rcx + 0x3c], edx
jl 0x1400c25b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c25b0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400c25b8
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400e09e0
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
and dword [rsp + 0x30], 0
mov ecx, 5
call fcn.1400c93a0
mov ebx, 2
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, ebx
lea edx, [rbx + 0x20]
call sub.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLocaleInfoW
mov eax, dword [rsp + 0x30]
cmp ax, 0x30
je 0x1400e0a30
cmp ax, 0x31
jne 0x1400e0a24
mov ebx, 1
jmp 0x1400e0a30
xor ebx, ebx
cmp ax, 0x32
lea ecx, [rbx + 3]
cmove ebx, ecx
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400e1ce8
Capabilities:
Encrypt data using rc4 prga

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 rbx, rcx
mov ebp, 0x7ff
movzx ecx, word [rcx + 6]
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x1400e1d4c
test byte [rbx + 6], 0xf
jne 0x1400e1d3c
xor edi, edi
cmp word [rbx + 4], di
jne 0x1400e1d3c
cmp word [rbx + 2], di
jne 0x1400e1d3c
cmp word [rbx], di
jne 0x1400e1d3c
lea esi, [rdi + 1]
jmp 0x1400e1d44
mov eax, 2
movzx esi, ax
movzx eax, si
jmp 0x1400e1f4f
xor edi, edi
test cx, cx
jne 0x1400e1d67
mov rcx, rbx
call fcn.1400e35d4
movzx ecx, ax
cmp di, ax
jl 0x1400e1f4c
movsx edx, cx
test esi, esi
jle 0x1400e1d97
sub ebp, edx
cmp ebp, esi
jg 0x1400e1d97
movsd xmm0, qword [0x140141210]
cmp word [rbx + 6], di
jge 0x1400e1d89
xorps xmm0, xmmword [0x14010cf80]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x1400e1f4f
movzx r11d, word [rbx + 6]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400e1dc4
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [rbx + 6], si
or eax, 0xffffffff
jmp 0x1400e1f4f
movzx r15d, r11w
lea eax, [rdx + rsi]
and r11w, 0xf
lea ebp, [rax - 1]
mov r13d, 0x8000
mov r12d, 0x10
or r11w, r12w
and r15w, r13w
mov word [rbx + 6], r11w
cmp eax, 0xffffffcb
jle 0x1400e1f41
test ebp, ebp
jns 0x1400e1f41
lea esi, [r12 - 0xf]
movzx r14d, di
cmp bp, 0xfff0
jg 0x1400e1e65
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
movzx r9d, r11w
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r14w, r14w
mov eax, edi
setne al
movzx r14d, ax
or r14w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r9w
mov r9d, edi
sub r8, rsi
jne 0x1400e1e36
mov word [rbx + 4], cx
movzx r11d, di
mov word [rbx + 2], dx
neg bp
je 0x1400e1ee4
movzx r8d, word [rbx]
mov eax, edi
movzx r9d, word [rbx + 2]
movzx edx, r8w
movsx r10d, bp
sub r12d, r10d
mov ecx, r12d
shl dx, cl
test r14w, r14w
movzx r14d, dx
movzx edx, word [rbx + 4]
setne al
or r14w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r12d
or ax, r8w
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r12d
or ax, r9w
mov word [rbx + 2], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [rbx + 4], ax
shr r11w, cl
or r11w, r15w
mov word [rbx + 6], r11w
cmp r13w, r14w
jb 0x1400e1efa
jne 0x1400e1f19
test byte [rbx], sil
je 0x1400e1f19
add word [rbx], si
jne 0x1400e1f19
add word [rbx + 2], si
jne 0x1400e1f19
add word [rbx + 4], si
jne 0x1400e1f19
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400e1dbc
cmp r11w, r15w
jne 0x1400e1dbc
cmp word [rbx + 4], di
jne 0x1400e1dbc
cmp word [rbx + 2], di
jne 0x1400e1dbc
cmp word [rbx], di
je 0x1400e1f4c
jmp 0x1400e1dbc
mov word [rbx + 6], r15w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
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
Function at 0x1407667d0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1407667da
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140766803
pop rbp
sub rbp, 0x33
sub rbp, 0x7667d0
sub rsp, 0x20
jmp 0x140766822
mov rax, 0x7667d0
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xfffffffff5b9e131
xor byte [rax], dl
inc rax
dec rcx
jne 0x140766841
jmp 0x140766858
jns 0x140766812
fdivr dword [rdx + 0x31310db8]
xor dword [rcx - 0x50], edi
invalid
Function at 0x140002494
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x140001018]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, section..text
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007070], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001028]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007068], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001040]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007060], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001060]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007058], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001078]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007050], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001090]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007048], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007040], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010d4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007038], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010dc]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007030], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010e4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007028], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010ec]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007020], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010f4]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007018], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400010fc]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001104]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007010], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14000110c]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x140007008], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140001114]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [section..data], rax
add rsp, 0x20
pop rbx
ret
Function at 0x140002a68
Capabilities:
Check for time delay via gettickcount
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
movsxd rax, dword [rcx + 0x3c]
xor r13d, r13d
mov rbx, rcx
mov edi, r13d
cmp dword [rax + rcx + 0x8c], r13d
je 0x140002af2
mov esi, dword [rax + rcx + 0x88]
mov ebp, r13d
add rsi, rcx
mov r14d, dword [rsi + 0x1c]
mov r15d, dword [rsi + 0x20]
add r14, rcx
add r15, rcx
cmp dword [rsi + 0x14], r13d
jbe 0x140002af2
mov r12d, ebp
lea rdx, [0x1400015b4]
mov ecx, dword [r15 + r12*4]
add rcx, rbx
call qword [0x140007020]
test eax, eax
je 0x140002ae0
inc ebp
cmp ebp, dword [rsi + 0x14]
jb 0x140002abc
jmp 0x140002af2
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx eax, word [rcx + r12*2]
mov edi, dword [r14 + rax*4]
add rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140007080]
mov rbx, qword [rsp + 0x50]
cmp eax, 0x7fff
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmova rdi, r13
mov rax, rdi
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400039a8
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rcx
mov dword [rbp - 0x80], 0x11c
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x7c], 6
jae 0x140003acc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor ebx, ebx
xor ecx, ecx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003a79
mov ecx, dword [rsp + 0x78]
xor edx, edx
mov rax, qword [rsp + 0x20]
div rcx
test rdx, rdx
jne 0x140003a4d
cmp qword [rsp + 0x38], 0x1000
jne 0x140003a4d
cmp dword [rsp + 0x40], 0x1000
jne 0x140003a4d
cmp dword [rsp + 0x48], 0x20000
jne 0x140003a4d
cmp dword [rsp + 0x44], 4
jne 0x140003a4d
movabs rax, 0x74636a6e696d7678
cmp qword [rbx], rax
je 0x140003a60
add rbx, qword [rsp + 0x38]
cmp rbx, 0x7fff0000
jae 0x140003acc
mov rcx, rbx
jmp 0x1400039ef
mov r8d, 0x20
mov rdx, rbx
mov rcx, rdi
call qword [0x140007038]
mov eax, 1
jmp 0x140003ad1
or edi, 0xffffffff
lea rdx, [0x140001268]
mov r8d, edi
lea rcx, [0x140007090]
call fcn.1400028ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8d, 0xa
call fcn.1400027dc
mov r8d, edi
lea rdx, [0x14000127c]
lea rcx, [0x140007090]
call fcn.1400028ac
mov r8d, 0x10
mov edx, ebx
call fcn.1400027dc
xor eax, eax
jmp 0x140003ad1
mov eax, 2
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140001030
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, rdx
xor esi, esi
lea rdx, [0x14002d834]
mov r15d, esi
mov rdi, r8
mov rbx, rcx
mov r13d, 0xffffffff
call fcn.140003fd0
mov r12, rax
test rax, rax
jne 0x140001089
lea rdx, [r14 + 0x12]
lea rcx, str.Failed_to_extract__s:_failed_to_open_archive_file__n
call fcn.140002080
jmp 0x1400011aa
mov edx, dword [r14 + 4]
xor r8d, r8d
add rdx, qword [rbx + 0x1000]
mov rcx, r12
call fcn.14001089c
test eax, eax
jns 0x1400010c6
call fcn.140016ab8
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_seek_to_the_entrys_data__n
lea rcx, str.fseek
mov edx, dword [rax]
call fcn.140002260
jmp 0x14000118c
mov ecx, dword [r14 + 0xc]
call fcn.140016af4
mov r15, rax
test rax, rax
jne 0x140001102
mov ebx, dword [r14 + 0xc]
call fcn.140016ab8
lea r9, [r14 + 0x12]
mov dword [rsp + 0x20], ebx
lea r8, str.Failed_to_extract__s:_failed_to_allocate_data_buffer___u_bytes___n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002260
jmp 0x14000118c
cmp byte [r14 + 0x10], 1
jne 0x14000111c
mov r9, r15
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call fcn.1400011f0
jmp 0x14000117d
mov ebx, dword [r14 + 0xc]
mov qword [rsp + 0x60], rbp
mov rbp, r15
test rbx, rbx
je 0x140001171
mov eax, 0x2000
nop dword [rax]
nop word [rax + rax]
cmp rbx, rax
mov rdi, rbx
mov r9, r12
mov r8d, 1
cmova rdi, rax
mov rcx, rbp
mov rdx, rdi
call fcn.140010564
cmp rax, 1
jb 0x1400011cd
add rbp, rdi
mov eax, 0x2000
sub rbx, rdi
jne 0x140001140
mov eax, esi
mov rdi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
test eax, eax
je 0x14000118c
mov rcx, r15
call fcn.140016ae0
mov r15, rsi
mov rcx, r12
call fcn.140010214
mov rsi, r15
test r15, r15
je 0x1400011aa
mov rdx, rdi
mov rcx, r15
call fcn.140004100
mov r13d, eax
mov rcx, rsi
call fcn.140016ae0
mov rbx, qword [rsp + 0x68]
mov eax, r13d
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140016ab8
lea r9, [r14 + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_read_data_chunk__n
lea rcx, str.fread
mov edx, dword [rax]
call fcn.140002260
mov eax, r13d
jmp 0x140001173
Function at 0x1400011f0
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
mov r8d, 0x58
mov qword [rsp + 0x60], rax
lea rdx, str.1.3.1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov ebp, eax
mov rsi, r9
call fcn.14000bfb0
mov r15d, eax
test eax, eax
je 0x140001277
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.140002080
mov eax, 0xffffffff
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.140016af4
mov r13, rax
test rax, rax
jne 0x1400012b4
call fcn.140016ab8
lea r9, [rbx + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002260
jmp 0x140001419
mov ecx, 0x2000
call fcn.140016af4
mov rbp, rax
test rax, rax
jne 0x1400012e9
call fcn.140016ab8
lea r9, [rbx + 0x12]
lea r8, str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
lea rcx, str.malloc
mov edx, dword [rax]
call fcn.140002260
jmp 0x140001419
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [rax + rax]
mov eax, 0x2000
mov rbx, r12
cmp r12, rax
mov r9, rdi
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.140010564
cmp rax, rbx
jne 0x140001411
mov rcx, rdi
call fcn.1400102d8
test eax, eax
jne 0x140001411
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.14000a3f0
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x1400013f6
cmp eax, 2
je 0x1400013f1
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x1400013b4
mov r9, r14
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.140010ca4
cmp rax, rbx
jne 0x1400013af
mov rcx, r14
call fcn.1400102d8
test eax, eax
je 0x1400013ca
mov edi, r15d
jmp 0x1400013f6
test rsi, rsi
je 0x1400013ca
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14002bd10
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x140001350
cmp edi, 1
je 0x1400013ec
test r12, r12
je 0x1400013f6
mov rdi, qword [rsp + 0xc0]
jmp 0x140001300
xor r15d, r15d
jmp 0x140001411
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.140002080
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000bc90
mov rcx, r13
call fcn.140016ae0
mov rcx, rbp
call fcn.140016ae0
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret