joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a5ef0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14049f410]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor edi, edi
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov r15, r8
mov dword [rsp + 0x28], 0x98badcfe
mov rsi, rdx
mov qword [rbp - 0x7d], 0x10325476
mov r14, rcx
mov qword [rbp - 0x75], rdi
cmp rdx, 0x40
jb 0x1400a5f67
mov rbx, rdx
lea r8, [rsp + 0x20]
and rbx, 0xffffffffffffffc0
mov rdx, rbx
call fcn.140075c70
mov edi, dword [rbp - 0x71]
add r14, rbx
and esi, 0x3f
mov r12d, 0x40
test rsi, rsi
je 0x1400a5fb3
lea rcx, [rbp - 0x6d]
mov r8, rsi
add rcx, rdi
mov rdx, r14
call fcn.1400fddb8
add rdi, rsi
cmp rdi, r12
jb 0x1400a5fb0
lea r8, [rsp + 0x20]
mov edx, r12d
lea rcx, [rbp - 0x6d]
call fcn.140075c70
sub rdi, r12
lea rdx, [rbp - 0x2d]
mov r8, rdi
lea rcx, [rbp - 0x6d]
call fcn.1400fddb8
mov dword [rbp - 0x71], edi
mov ecx, dword [rbp - 0x79]
add ecx, edi
mov dword [rbp - 0x79], ecx
cmp ecx, edi
jae 0x1400a5fc2
inc dword [rbp - 0x75]
lea ecx, [rcx*8]
cmp edi, 0x38
mov ebx, pe_nt_image_headers64
lea rdx, [0x14018f9f0]
mov eax, ebx
mov r8d, 0x78
cmovb rax, r12
cmovb rbx, r12
mov dword [rbp + rax - 0x75], ecx
mov eax, dword [rbp - 0x75]
mov ecx, dword [rbp - 0x79]
shr ecx, 0x1d
lea eax, [rax*8]
or ecx, eax
mov eax, edi
mov dword [rbp + rbx - 0x71], ecx
mov ecx, 0x38
cmp edi, ecx
cmovb r8d, ecx
lea rcx, [rbp - 0x6d]
add rcx, rax
sub r8, rax
call fcn.1400fddb8
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rbp - 0x6d]
call fcn.140075c70
mov ecx, dword [rsp + 0x20]
mov rax, r15
mov dword [r15], ecx
mov ecx, dword [rsp + 0x24]
mov dword [r15 + 4], ecx
mov ecx, dword [rsp + 0x28]
mov dword [r15 + 8], ecx
mov ecx, dword [rbp - 0x7d]
mov dword [r15 + 0xc], ecx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400fcc70
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140632855
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
jmp 0x1409f6515
mov qword [rsp + 8], 0x8614a0
call 0x14063c294
call rax
mov r11, rax
cmc
test r9b, r15b
cmp r13, r10
test rax, rax
jne 0x1409f651b
lea rcx, [rsp + 0x40]
mov rax, qword [0x14061b2a8]
jmp 0x140632853
sub eax, eax
jmp 0x1409f6484
jmp 0x1409f6675
je 0x1409f647d
cmp r11, rsi
jne 0x1409f65b8
cmp byte [rsp + 0x180], dil
je 0x1409f659c
lea rax, [rsp + 0x40]
sbb cl, spl
adc cl, 0xeb
sub rbp, rax
ror rdx, 0xfc
movzx eax, cx
nop
lea rdx, [rsp + rdi + 0x40]
clc
rcl ch, 0xf9
rcr ah, cl
mov ecx, edi
seta al
mov eax, 0x32fa43f0
rol eax, cl
cmp bpl, r13b
jmp 0x1409f656b
add al, dil
stc
xor al, byte [rdx + rbp]
jmp 0x1409f6577
mov byte [rdx], al
je 0x1409f6595
inc rdi
test r15w, 0x3deb
cmp rdi, 0x104
jb 0x1409f6548
lea rbp, [rsp + 0x40]
cdqe
mov rdx, rbp
cdqe
movzx ax, r11b
mov rcx, rsi
lahf
cbw
mov rax, qword [0x14061b2b8]
jmp 0x1409e3fea
cmp byte [rbx + 1], 0x23
movzx rdx, r10w
movsx dx, dh
bswap dx
lea rdx, [rbx + 1]
jmp 0x1409f65d0
jne 0x1409f6658
movzx edx, byte [rbx + 2]
test r15b, r10b
cmc
add rbx, 2
cmp r14w, 0x5d40
test dl, dl
jmp 0x1409f65ef
je 0x1409f664e
nop
dec ah
cbw
lea eax, [rdx - 0x30]
jmp 0x1409f6602
inc rbx
stc
test r8b, 0xb0
cmp al, 9
ja 0x1409f664e
movsx eax, dl
shld dx, r11w, 0x2e
movzx edx, byte [rbx]
sal rcx, 0x33
sar ch, 0xcd
bts ecx, esi
lea ecx, [rdi + rdi*4]
movsx rdi, si
adc di, bp
lea edi, [rax + rcx*2 - 0x30]
jmp 0x1409f6641
test dl, dl
jmp 0x1409f6648
jne 0x1409f65fa
movsxd rdx, edi
movsx rcx, di
bswap cx
xor r8d, r8d
movzx cx, r12b
movzx ecx, r8w
mov rcx, r11
call fcn.1409f60ce
jmp 0x1409f6675
Function at 0x180009df0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x180009e24
cmp ecx, r10d
jge 0x180009e12
mov rcx, rbx
call fcn.1800095d0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x180009e5e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x180009e40
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x180009e8d
mov edx, dword [0x1801138ac]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x180009ebf
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x180009ea9
xor dl, dl
jmp 0x180009eb2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x180009ea0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x180009e62
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x180009f34
mov edx, dword [0x1801138ac]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x180009f4e
mov rcx, rbx
call fcn.180009720
test eax, eax
je 0x180009f27
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18001e320
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18001e37d
lea rbx, [0x18006b350]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001e364
cmp r10, 2
jb 0x18001e364
cmp byte [r9], r8b
jne 0x18001e364
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18001e340
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001e3bf
lea rbx, [0x18006b350]
cmp r8b, 0x23
jne 0x18001e3a3
cmp byte [r9], r8b
jne 0x18001e3a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18001e390
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001e5a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001e5ba
mov qword [r8], 0
lea rdx, [0x180068bac]
call fcn.18001e3d0
mov rbx, rax
test rax, rax
jne 0x18001e5da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18001e6b1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001e6b1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001e6b1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001e6b1
cmp rdi, 0xffffffffffffffff
je 0x18001e6b1
mov rax, qword [0x180113b98]
test rax, rax
je 0x18001e64e
inc dword [rax + 0x3bc]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18001e6b1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001e69e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180113b98]
test rax, rax
je 0x18001e693
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001e6ba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001e6ac
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001e6bc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800228e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18006fe8d]
mov dword [rsp + 0x2c], eax
lea r11, [0x18006b350]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x180022933
cmp byte [r8], r9b
jne 0x180022933
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180022920
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x18002ede0]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x18002ee90]
mov qword [rsp + 0x38], rax
lea rax, [0x18002ef70]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180022a35
inc edi
test ecx, ecx
je 0x18002299f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800229a4
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180022a35
mov rax, qword [0x180113b98]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1800229c8
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x2f18]
mov rsi, rax
test rdx, rdx
je 0x180022a23
movsxd rcx, dword [rbx + 0x2f10]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x2f18]
test rcx, rcx
je 0x180022a1d
mov rax, qword [0x180113b98]
test rax, rax
je 0x180022a1d
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x2f18], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180023f20
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180023f70
lea r11, [0x18006b350]
nop dword [rax]
cmp r9b, 0x23
jne 0x180023f53
cmp byte [r8], r9b
jne 0x180023f53
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 0x180023f40
mov rcx, qword [0x180113b98]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180023fd1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180023fc9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180023fcc
mov rdx, r8
test rdx, rdx
jne 0x180023fa0
cmp r9, r10
je 0x180023fe0
cmp dword [r9], eax
jne 0x180023fe0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180029300
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180113b98]
lea rdx, [0x18006b350]
mov r8d, ecx
mov rsi, qword [rax + 0x1a18]
lea rbx, [rsi + 0xc0]
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rsi + 0xc4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x1800293bf
lea ecx, [r9 + 1]
test r8d, r8d
je 0x1800293ab
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800293b0
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180030190
movsxd rcx, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18002e5d0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x180113b98]
cmp byte [rbx + 0x2f30], 0
je 0x18002e6bc
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x18002e6a4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x18002e64b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18002ffd0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.18001ed30
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f38]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f48]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801139c1]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.18001ed30
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x18002ea40
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x180113b98]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x18002ea7e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x18002ea75
test r13, r13
je 0x18002ea8a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rsi, rax
lea r12, [rax + rbx]
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x18002ec53
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x18002ec97
cmp al, 0xd
je 0x18002ec97
mov rbx, rcx
cmp rcx, r12
jae 0x18002eb03
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x18002eb03
cmp al, 0xd
je 0x18002eb03
inc rbx
cmp rbx, r12
jb 0x18002eaf0
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x18002ec37
cmp al, 0x5b
jne 0x18002ec1e
cmp rbx, rcx
jbe 0x18002ec1e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x18002ec1e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call sub.VCRUNTIME140.dll_memchr
mov r15, rax
test rax, rax
je 0x18002ec37
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call sub.VCRUNTIME140.dll_memchr
mov r11, rax
test rax, rax
je 0x18002ec37
mov r10, qword [0x180113b98]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x18002ebca
cmp r9b, 0x23
jne 0x18002eba7
cmp byte [r8], r9b
jne 0x18002eba7
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x18006b350]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x18002eb95
mov r8d, dword [r10 + 0x2f10]
xor eax, eax
not ecx
test r8d, r8d
jle 0x18002ebf4
mov r9, qword [r10 + 0x2f18]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x18002ebfa
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x18002ebe5
xor edi, edi
xor ebp, ebp
jmp 0x18002ec37
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x18002ebf6
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x18002ec37
test rdi, rdi
je 0x18002ec37
test rbp, rbp
je 0x18002ec37
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x18002ead0
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x18002ec7e
mov rax, qword [0x180113b98]
test rax, rax
je 0x18002ec7e
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [r13 + 0x2ef4], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x18002ead0
Function at 0x18002eca0
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x180113b98]
xor r15d, r15d
mov r14, rcx
mov dword [rbx + 0x2ef8], r15d
test rcx, rcx
je 0x18002edcb
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
lea rdi, [rbx + 0x2f00]
mov dword [rbx + 0x2ef8], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x18002ed04
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.18002ffd0
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18002ed1a
mov edx, 8
mov rcx, rdi
call fcn.18002ffd0
movsxd rcx, dword [rdi]
mov ebp, r15d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
cmp dword [rbx + 0x2f10], r15d
jle 0x18002ed65
mov rsi, r15
nop word [rax + rax]
mov r9, qword [rbx + 0x2f18]
mov r8, rdi
add r9, rsi
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add rsi, 0x30
cmp ebp, dword [rbx + 0x2f10]
jl 0x18002ed40
mov eax, dword [rdi]
lea rdx, [0x18006ff68]
test eax, eax
lea rdi, [0x1801139c1]
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2f08]
cmove ecx, r15d
test rax, rax
movsxd rsi, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.18001e3d0
mov rbp, qword [rsp + 0x40]
mov rbx, rax
test rax, rax
je 0x18002edc1
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180039dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180039f61
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180039e40
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.1800397f0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180038e50
mov dword [rbx + 0x80], 0
jmp 0x180039f4d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.180037d10
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800558b0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18007d010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800558ff
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180113f00]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18005593d
cmp rsi, r14
jb 0x180055935
cmp rsi, r15
jae 0x180055935
cmp qword [rsi + 8], 0
jne 0x180055b07
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180055920
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800559d2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800559c9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800559c9
cmp dword [rsp + 0x40], 0x10000
je 0x180055a4b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800559c9
sub rbx, rbp
cmp rbx, r14
jae 0x180055990
test rsi, rsi
jne 0x180055ab0
cmp rdi, r15
ja 0x180055aef
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180055aef
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180055aef
cmp dword [rsp + 0x40], 0x10000
je 0x180055a81
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180055a02
jmp 0x180055aef
test rbx, rbx
je 0x1800559c9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180055ab0
cmp rbx, r14
jae 0x180055970
jmp 0x1800559d2
test rdi, rdi
je 0x180055aef
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180055ab0
cmp rdi, r15
jbe 0x1800559e0
jmp 0x180055aef
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180055ac0
mov rax, qword [0x180113f00]
mov qword [rsi], rax
mov qword [0x180113f00], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180064e10
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret