joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001bb0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]

Function at 0x140001c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x14000e0b4]
mov r12, rcx
test ebx, ebx
jle 0x140001d50
mov rax, qword [0x14000e0b8]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x140001c6b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x140001cf5
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x140001c50
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x140001d72
mov rax, qword [0x14000e0b8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e0b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001d57
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001cee
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001d00
add dword [0x14000e0b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x14000e0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001cee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x140001c78
mov rax, qword [0x14000e0b8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400022f0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x14000e120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e100]
test rbx, rbx
je 0x14000234c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140002343
test r12, r12
je 0x140002343
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002328
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002580
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002598
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400025a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400025b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x1400025f5
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x1400025ec
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x1400025f7
add rax, 0x28
cmp rax, r9
jne 0x1400025d8
xor eax, eax
ret

Function at 0x140002600
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x140002690
mov rdx, qword [0x14000a7a0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000267e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000267e
cmp word [rax + 0x18], 0x20b
jne 0x14000267e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x140002690
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x140002669
add r12, 0x28
cmp r12, rsi
je 0x140002690
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x140002660
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x1400026a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a7a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140002715
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000270c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400026c0
add rax, 0x28
cmp rax, r9
jne 0x1400026f8
xor eax, eax
ret

Function at 0x140002720
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a7a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140002740
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002748
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002740
movzx r8d, word [rax + 6]
mov eax, r8d
ret
Function at 0x140002760
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000a7a0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002780
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002788
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002780
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x1400027c8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400027bf
test rcx, rcx
je 0x140002780
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400027b0
xor eax, eax
ret

Function at 0x1400027d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000a7a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1400027f0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1400027f8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x140002810
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000a7a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002830
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002838
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002830
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x140002830
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000287c
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002890
add rdx, 0x28
cmp rdx, r9
jne 0x140002868
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400028a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000a7a0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400028c2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400028d0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028c2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400028c2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x1400028c2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000291d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002930
add rdx, 0x28
cmp r10, rdx
jne 0x140002908
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000293f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000294f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002926
test ecx, ecx
jg 0x140002938
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1004010e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call sub.cygwin1.dll___getreent
mov rcx, qword [rax + 0x18]
lea r9, str._______________Q_msgkey____M_shmkey____S_semkey__...
lea r8, str.usage:_ipcrm___q_msqid____m_shmid____s_semid_
lea rdx, str._s_n_s_n
call sub.cygwin1.dll_fprintf
mov ecx, 1
call sub.cygwin1.dll_exit
nop
nop word cs:[rax + rax]
Function at 0x14078e1b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14078e33f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14078e1e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078e1cf
add dl, dl
jne 0x14078e1f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078e256
xor eax, eax
add dl, dl
jne 0x14078e205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078e30d
add dl, dl
jne 0x14078e216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078e223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078e230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078e23d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14078e24a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14078e1de
mov eax, 1
add dl, dl
jne 0x14078e266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14078e273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078e25b
sub eax, ebx
mov ebx, 1
jne 0x14078e2ac
mov ecx, 1
add dl, dl
jne 0x14078e28e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078e29b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078e283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078e1de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14078e2c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078e2d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078e2bd
cmp eax, 0x7d00
jae 0x14078e2fb
cmp eax, 0x500
jb 0x14078e2f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078e1de
cmp eax, 0x7f
ja 0x14078e2fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078e1de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14078e332
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14078e1de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000b3c8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x14002b020]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x14001d5c0]
mov rbp, rcx
call fcn.1400119cc
xor edi, edi
test rax, rax
je 0x14000b4ae
mov ebx, edi
call fcn.14000bf10
mov r14d, dword [rax]
call fcn.14000bf10
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.140011918
mov rsi, rax
test rax, rax
je 0x14000b43f
call fcn.14000bf10
mov dword [rax], r14d
jmp 0x14000b469
call fcn.14000bf10
cmp dword [rax], 0x22
jne 0x14000b4a6
call fcn.14000bf10
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140011918
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x14000b4a6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x14000b46d
cmp rax, 3
je 0x14000b488
mov rcx, rsi
call fcn.14000b324
test al, al
je 0x14000b499
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x14000b499
mov dil, 1
mov rcx, rbx
call fcn.14000be20
mov al, dil
jmp 0x14000b4b0
mov rcx, rbx
call fcn.14000be20
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004960
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400162d0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140016300
xor eax, eax
jmp 0x1400163c3
mov rbp, rbx
cmp word [rax], si
je 0x140016325
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001630c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140016308
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140013cac
movsxd r14, eax
test eax, eax
jne 0x140016363
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400162f9
mov rcx, r14
call fcn.140010838
mov rdi, rax
test rax, rax
jne 0x14001637c
xor ecx, ecx
call fcn.1400107fc
jmp 0x140016358
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140013cac
test eax, eax
jne 0x1400163ad
mov rcx, rdi
call fcn.1400107fc
jmp 0x1400163b7
xor ecx, ecx
call fcn.1400107fc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400163e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140016467
mov rsi, rbx
cmp word [rax], bp
je 0x140016426
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140016410
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001640c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140010838
mov rdi, rax
test rax, rax
je 0x140016454
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140006880
mov rbp, rdi
xor ecx, ecx
call fcn.1400107fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140013ec0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013cec

Function at 0x140027d00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140027d0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140027d1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140027d05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140027d35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140027d22
sub eax, 3
jb 0x140027d4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140027d86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140027d76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140027d74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140027d63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140027cc2
jmp 0x140027d0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xd800
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140027dd2
cmp rsi, rcx
jae 0x140027dda
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140027db9
cmp al, 0x8f
ja 0x140027db9
cmp byte [rsi - 2], 0xf
je 0x140027dbf
sub al, 0xe8
cmp al, 1
ja 0x140027da3
cmp rsi, rcx
jae 0x140027dda
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140027da9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140027dda
lodsb al, byte [rsi]
jmp 0x140027db9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x25000]
mov eax, dword [rdi]
or eax, eax
je 0x140027e37
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2e494]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140027de7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140027e31
mov qword [rbx], rax
add rbx, 8
jmp 0x140027e07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140027e71
cmp al, 0xef
ja 0x140027e63
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140027e43
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140027e52
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140027ec5
sub rsp, 0xffffffffffffff80
jmp 0x1400025c0
Function at 0x1400084b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14032f980]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14032fb10]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140008518
cmp byte [rbx + 0x424e], 0
jne 0x140008518
movsx r9d, word [rbx + 0x5356]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000d100
test sil, 1
je 0x140008649
jmp 0x1400085b1
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14004ddb8]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14004ddb0]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
or dword [rbx + 0x3fa0], 1
mov qword [rbx + 0x3fb8], rax
movss dword [rbx + 0x3fb0], xmm0
mov dword [rbx + 0x3fa4], 1
movss dword [rbx + 0x3fb4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mov rax, qword [0x14032fb10]
mulss xmm0, dword [0x14004c570]
or dword [rax + 0x3fa0], 0x40
movss dword [rax + 0x4000], xmm0
movsx r9d, word [rbx + 0x5356]
call fcn.14000d100
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140008601
lea r11, [0x14004c6b0]
cmp r9b, 0x23
jne 0x1400085e4
cmp byte [r8], r9b
jne 0x1400085e4
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 0x1400085d1
not ecx
call fcn.14000be40
test rax, rax
je 0x140008649
cmp byte [rax + 0x96], 0
je 0x140008649
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5356]
mov edx, 0x10
movsx r9d, word [rbx + 0x5356]
call fcn.14000d100
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140005530
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400477f0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000bd90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14032fb10]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000bdf3
mov qword [rsp], rbx
lea rbx, [0x14004c6b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000bdd3
cmp byte [r8], r9b
jne 0x14000bdd3
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 0x14000bdc0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53b0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14000be27
mov r10, qword [r10 + 0x53b8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14000be2e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14000be14
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 0x14000bec0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rcx
mov r10d, 0xffffffff
mov ecx, r10d
movzx r9d, byte [rax]
lea r8, [rax + 1]
test r9b, r9b
je 0x14000bf10
lea r11, [0x14004c6b0]
cmp r9b, 0x23
jne 0x14000bef3
cmp byte [r8], r9b
jne 0x14000bef3
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 0x14000bee0
not ecx
jmp fcn.14000be40

Function at 0x14000c4f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14004c6b0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14032fb10]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x14000c588
mov r8, r9
mov ecx, ebx
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.14000a230
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000e940
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 + 0x5400], 0
lea rbx, [rcx + 0x5408]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000e9e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14000e99a
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.14001c280
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001bd90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5400]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5410]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14032fb18]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14000e9ef
mov rcx, rbx
call fcn.14001bd90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret