joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400244a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x14008d2e0]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1400a2090]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x140024535
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140037850
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140024540
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xf0]
lea r10, [0x14008d2e0]
mov rax, qword [rcx + 0xd8]
movss xmm1, dword [rcx + 0xf4]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xd0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x140030aa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a1040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400a2090]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140030b01
cmp byte [rbx + 0x424e], 0
jne 0x140030b01
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400210a0
test dil, 1
je 0x140030c28
jmp 0x140030b8c
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140092f68]
mov edx, 0x10
mulss xmm1, dword [0x140092f4c]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
mov qword [rbx + 0x3fc8], rax
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc0], xmm0
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mulss xmm0, dword [0x140092e44]
or dword [rbx + 0x3fb0], 0x41
movss dword [rbx + 0x4010], xmm0
call fcn.1400210a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140030be0
lea r11, [0x14008d2e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140030bc3
cmp byte [r8], r9b
jne 0x140030bc3
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 0x140030bb0
not ecx
call fcn.1400296c0
test rax, rax
je 0x140030c28
cmp byte [rax + 0x96], 0
je 0x140030c28
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.1400210a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14002bdc0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400875c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140036410
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400364b7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14003646a
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.1400385a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140021cc0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400a2088]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400364bf
mov rcx, rbx
call fcn.140021cc0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140036a30
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400a2090]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140036a93
mov qword [rsp], rbx
lea rbx, [0x14008d2e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140036a73
cmp byte [r8], r9b
jne 0x140036a73
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 0x140036a60
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140036ac7
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140036ace
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140036ab4
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 0x14004f140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x188]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x14004f17c
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0xe0]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0xf8], xmm0
subss xmm0, dword [r9 + 0x18]
movss dword [r9 + 0xe4], xmm1
subss xmm0, dword [r9 + 0x124]
movss dword [r9 + 0x128], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x118], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x138], eax
movss dword [r9 + 0x204], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x200], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x208], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1a4], eax
cmp byte [rbx + 0x5a], 0
jne 0x14004f217
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0xe4], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0x9b], al
cmp byte [rbx + 0x60], 0
je 0x14004f23d
mov rax, qword [0x1400a2090]
xor ecx, ecx
mov dword [rax + 0x3f70], ecx
mov dword [rax + 0x3f78], ecx
test dword [r10 + 4], 0x100000
je 0x14004f24f
mov r8d, 2
jmp 0x14004f2c5
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x280]
movss xmm1, dword [rbx + 0x20]
movss xmm2, dword [rbx + 0x24]
movss xmm3, dword [rbx + 0x28]
movss xmm4, dword [rbx + 0x2c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rax + 0x88], xmm1
movss dword [rax + 0x8c], xmm2
movss dword [rax + 0x90], xmm3
movss dword [rax + 0x94], xmm4
mov rax, qword [r9 + 0x280]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movss dword [rcx + rdx*8 - 0x10], xmm1
movss dword [rcx + rdx*8 - 0xc], xmm2
movss dword [rcx + rdx*8 - 8], xmm3
movss dword [rcx + rdx*8 - 4], xmm4
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x280]
mov rcx, qword [r10 + 0x1a0]
call fcn.140044240
mov rdi, qword [0x1400a2090]
cmp byte [rdi + 0x53d4], 0
je 0x14004f30a
cmp byte [rbx + 0x60], 0
jne 0x14004f30a
xor r8d, r8d
lea rdx, [0x140091c08]
mov rcx, rsi
call fcn.140036520
mov dword [rdi + 0x5408], 0x7f7fffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140051860
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400a2090]
mov rdx, qword [rax + 0x4308]
cmp ecx, 0xffffffff
jne 0x14005187a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x1400518f9
mov r10d, dword [rdx]
lea r8, [0x140091bf9]
movzx eax, word [rdx + 0x80]
lea r11, [0x14008d2e0]
not r10d
mov byte [rdx + 0x200], cl
mov ecx, r10d
mov byte [rdx + 0x20e], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x1400518d3
cmp byte [r8], r9b
jne 0x1400518d3
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 0x1400518c0
not ecx
xor edx, edx
jmp fcn.140030d40
ret
Function at 0x140067390
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14006741c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400673f0
lea r11, [0x14008d2e0]
nop
cmp r9b, 0x23
jne 0x1400673d3
cmp byte [r8], r9b
jne 0x1400673d3
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 0x1400673c0
mov rcx, qword [0x1400a2090]
not eax
cmp dword [rcx + 0x3ef4], eax
jne 0x140067407
mov dword [rcx + 0x3ef8], eax
cmp dword [rcx + 0x3f20], eax
jne 0x140067476
mov byte [rcx + 0x3f24], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1400a2090]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ea8]
movsxd rax, dword [r8 + 0xd0]
mov r8, qword [r8 + 0xd8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.1400211e0
cmp dword [rbx + 0x3edc], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14006746f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140037850
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400704c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov r10, rcx
mov eax, r11d
test r9b, r9b
je 0x14007051b
mov qword [rsp], rbx
lea rbx, [0x14008d2e0]
cmp r9b, 0x23
jne 0x1400704fb
cmp byte [r8], r9b
jne 0x1400704fb
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 0x1400704e8
mov rbx, qword [rsp]
movsxd rdx, dword [r10 + 0x90]
not eax
mov r9, qword [r10 + 0x98]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x140070571
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140070569
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14007056c
mov rdx, r8
test rdx, rdx
jne 0x140070540
cmp r9, r10
je 0x140070584
cmp dword [r9], eax
jne 0x140070584
mov eax, dword [r9 + 8]
add rsp, 8
ret
mov eax, 0xffffffff
add rsp, 8
ret
Function at 0x140085e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax + 8], rbx
mov rsi, r9
mov qword [rax + 0x10], rbp
mov r14, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14002ede0
xor edi, edi
lea r10, str.Keybind_disabled
mov r11d, edi
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], dil
jne 0x140085e77
inc r10
inc r11d
add r10, rax
cmp byte [r10], dil
jne 0x140085e70
lea r9, str.Keybind_disabled
mov dword [rsp + 0x20], r11d
mov rdx, rbp
mov rcx, rbx
call fcn.1400582c0
mov rbp, qword [rsp + 0x88]
cmp byte [rsi], dil
jne 0x140085f36
mov rbx, qword [0x1400a2090]
lea rdx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x1400933c0]
mov dword [rsp + 0x30], 0x15
movups xmm0, xmmword [rbx + 0x3a10]
lea rcx, [rbx + 0x4020]
movups xmmword [rsp + 0x34], xmm0
call fcn.140038090
movups xmmword [rbx + 0x3a10], xmm6
mov rbx, qword [0x1400a2090]
lea rdx, [rsp + 0x30]
movdqa xmm6, xmmword [0x140093440]
mov dword [rsp + 0x30], 0x16
movups xmm0, xmmword [rbx + 0x3a20]
lea rcx, [rbx + 0x4020]
movups xmmword [rsp + 0x34], xmm0
call fcn.140038090
movups xmmword [rbx + 0x3a20], xmm6
movaps xmm6, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x98], rdi
lea rcx, str.Rebind
call fcn.140054600
movzx ecx, byte [rsi]
movzx r10d, al
test cl, cl
jne 0x140085fd1
mov r9, qword [0x1400a2090]
mov rdx, qword [r9 + 0x4028]
movsxd rcx, dword [r9 + 0x4020]
lea r8, [rcx + rcx*4]
movsxd rcx, dword [rdx + r8*4 - 0x14]
movups xmm0, xmmword [rdx + r8*4 - 0x10]
add rcx, 0x38c
add rcx, rcx
movups xmmword [r9 + rcx*8], xmm0
movsxd rcx, dword [r9 + 0x4020]
lea eax, [rcx - 1]
mov dword [r9 + 0x4020], eax
lea rax, [rcx - 2]
mov rcx, qword [r9 + 0x4028]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4]
movups xmm0, xmmword [rcx + rdx*4 + 4]
add rax, 0x38c
add rax, rax
movups xmmword [r9 + rax*8], xmm0
dec dword [r9 + 0x4020]
movzx ecx, byte [rsi]
test r10b, r10b
je 0x140085ff2
test cl, cl
mov ebx, edi
sete al
mov byte [rsi], al
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
inc ebx
cmp ebx, 0xfe
jl 0x140085fe0
movss xmm1, dword [0x140093020]
xorps xmm0, xmm0
call fcn.14002fc80
mov edx, dword [r14]
lea rcx, str.Bind:__d
call fcn.140053dc0
mov rbx, qword [rsp + 0x80]
cmp byte [rsi], dil
jne 0x14008604f
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140086049
nop
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140086049
inc edi
cmp edi, 0xfe
jl 0x140086030
jmp 0x14008604f
mov dword [r14], edi
mov byte [rsi], 1
mov rax, qword [0x1400a2090]
mov rcx, qword [rax + 0x3ea8]
dec dword [rcx + 0xd0]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
Function at 0x1400883dc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140088426
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140088426
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140088426
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140088426
cmp dword [rcx + 0x84], 0xe
jbe 0x140088426
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140088428
xor al, al
add rsp, 0x28
ret
Function at 0x140004600
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x58], 0
mov ebp, r8d
mov r12, rdx
mov rsi, rcx
je 0x14000462d
mov r8, rbp
xor edx, edx
mov rcx, r12
add rsp, 0x30
pop r12
pop rsi
pop rbp
jmp fcn.1401a9350
test r8d, r8d
je 0x140004722
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x58], rbx
mov dword [rcx + 0x28], ebp
mov qword [rsp + 0x60], rdi
mov qword [rcx + 0x20], rdx
xor r13d, r13d
nop
cmp dword [rsi + 0x10], r13d
jne 0x140004692
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000472b
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x14000472b
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], r13d
je 0x1400046c7
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a9000
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004650
jmp 0x140004713
lea rcx, [rsi + 8]
call fcn.1401819f0
test eax, eax
je 0x1400046d9
cmp eax, 4
jne 0x140004747
cmp dword [rsi + 0x28], r13d
je 0x140004713
cmp eax, 4
jne 0x140004650
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3e90
lea rcx, [rsi + 8]
call fcn.140181b20
mov r8, rbp
xor edx, edx
mov rcx, r12
mov dword [rsi + 0x58], 1
call fcn.1401a9350
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
add rsp, 0x30
pop r12
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], r13d
jne 0x1400046ff
jmp 0x1400046f6
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x1400046f1
Function at 0x140004760
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004777
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 1
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x1400047d9
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004881
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140004866
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004824
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a9000
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004798
mov al, byte [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.1401819f0
test eax, eax
je 0x140004836
cmp eax, 4
jne 0x14000489c
cmp dword [rsi + 0x28], ebp
je 0x14000480b
cmp eax, 4
jne 0x140004798
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3e90
lea rcx, [rsi + 8]
call fcn.140181b20
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x14000480f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], ebp
jne 0x14000485b
jmp 0x140004852
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], ebp
jne 0x14000485b
jmp 0x140004852
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x14000484d
Function at 0x1400048b0
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x1400048c7
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 8
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x140004929
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x50]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400049d2
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x1400049b7
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004975
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a9000
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x1400048e8
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.1401819f0
test eax, eax
je 0x140004987
cmp eax, 4
jne 0x1400049ed
cmp dword [rsi + 0x28], ebp
je 0x14000495b
cmp eax, 4
jne 0x1400048e8
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3e90
lea rcx, [rsi + 8]
call fcn.140181b20
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x140004960
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], ebp
jne 0x1400049ac
jmp 0x1400049a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], ebp
jne 0x1400049ac
jmp 0x1400049a3
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x14000499e
Function at 0x140004d70
Capabilities:
Read file on windows

Disassembly:
push rsi
sub rsp, 0x40
cmp dword [rcx + 0x58], 0
mov rsi, rcx
je 0x140004d87
xor eax, eax
add rsp, 0x40
pop rsi
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov dword [rcx + 0x28], 4
xor ebp, ebp
mov qword [rsp + 0x30], rdi
mov qword [rcx + 0x20], rax
cmp dword [rsi + 0x10], ebp
jne 0x140004de9
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi]
lea r9, [rsp + 0x58]
mov r8d, 0x10000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004e91
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x140004e76
mov rax, qword [rsi + 0x50]
mov dword [rsi + 0x10], ecx
mov qword [rsi + 8], rax
cmp dword [rsi + 0x5c], ebp
je 0x140004e34
mov edi, dword [rsi + 0x28]
mov eax, dword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
cmp edi, eax
cmova edi, eax
mov r8d, edi
mov ebx, edi
call fcn.1401a9000
add qword [rsi + 8], rbx
add qword [rsi + 0x20], rbx
sub dword [rsi + 0x10], edi
sub dword [rsi + 0x28], edi
jne 0x140004da8
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
lea rcx, [rsi + 8]
call fcn.1401819f0
test eax, eax
je 0x140004e46
cmp eax, 4
jne 0x140004eac
cmp dword [rsi + 0x28], ebp
je 0x140004e1b
cmp eax, 4
jne 0x140004da8
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Unexpected_EOF_in_decompression_stream._n
call fcn.1400b3e90
lea rcx, [rsi + 8]
call fcn.140181b20
mov dword [rsi + 0x58], 1
xor eax, eax
jmp 0x140004e1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], ebp
jne 0x140004e6b
jmp 0x140004e62
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ReadFile__:__d:_Failed_to_read._n
mov edx, eax
call fcn.1400b3e90
cmp dword [rsi + 0x5c], ebp
jne 0x140004e6b
jmp 0x140004e62
mov edx, eax
lea rcx, str.BZ2_bzDecompress__:__d:_Failed_to_decompress._n
jmp 0x140004e5d

Function at 0x140004ec0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140004760
cmp al, 0xff
jne 0x140004edf
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140004d70
movzx eax, al
add rsp, 0x20
pop rbx
ret