joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001a3c
Capabilities:
Delete file

Disassembly:
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400018e1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x80], 0
cmp byte [rsp + 0x9f], 0
js 0x14000195f
je 0x14000193c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rsp + 0x9f], 0
jns 0x14000193c
mov rax, qword [rsp + 0x88]
mov word [rax], 0
mov qword [rsp + 0x90], 0
cmp byte [rsp + 0x9f], 0
add byte [rcx + 0xd], bh
cmp qword [rsp + 0x90], 0
je 0x14000192f
mov rsi, qword [rsp + 0x88]
jmp 0x1400018f9
mov word [rax + riz*4], fs
add byte [rax], al
add byte [rcx + rcx*4 - 0x16], cl
call fcn.1400024a0
cmp byte [r13 + 0x1f], 0
jns 0x140001a5e
mov rcx, qword [rsp + 0x118]
call fcn.14000f300
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rsi
movaps xmmword [rcx], xmm6
lea rdx, str.Fatal_error_upon_loading_installer_executable:_r_n
call fcn.14003b720
mov r14, qword [rsp + 0xa0]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
cmp r14, rax
jne 0x140001b28
lea rdx, str._r_n_r_nWhen_reporting_this_error__click_on_this_text_and_press_CtrlC_to_copy_it.
mov r8d, 0x4e
lea rdi, [rsp + 0x60]
lea edi, [rsp + 0x60]
mov rcx, rdi
call fcn.14000c7a0
cmp byte [rsp + 0x77], 0
jns 0x140001ac4
mov rdi, qword [rsp + 0x60]
lea r8, str.Opera_installer_101.0.4843.43.0
xor ecx, ecx
mov rdx, rdi
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [rsp + 0x77], 0
lea rsi, [rsp + 0x88]
jns 0x140001af2
mov rcx, qword [rsp + 0x60]
call fcn.14000f300
mov edi, 2
jmp 0x1400018ce

Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret

Function at 0x14000f8e8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140010500
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140010500
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140010500
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400104f4
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140010512
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400104e2
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140010502

Function at 0x14001eccc
Capabilities:
Parse pe header

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

Function at 0x140026460
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140026488
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140026488
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140030910
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002a098
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400309b1
cmp ebx, dword [rsp + 0x30]
je 0x1400309aa
test esi, esi
je 0x1400309aa
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140030985
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140030992
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003096f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140030996
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400309b3
mov eax, 1
jmp 0x1400309b3
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140034de8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14006bd90]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140034e3f
cmp word [rdx], r13w
jne 0x140034e3f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140034e44
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140034f69
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140034f8a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140034e7d
mov rdx, r9
mov word [rbx], cx
jmp 0x140034ea4
cmp r9, r8
jae 0x140034eb4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140034e5e
jmp 0x140034f69
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140034f5e
cmp dword [rsp + 0x80], esi
je 0x140034f5e
lea r8, [0x14006bd90]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140034f36
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140034f06
mov word [rbx], r13w
jmp 0x140034f66
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140034f13
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140034f66
cmp word [rsp + 0x70], r13w
jne 0x140034f43
cmp rbx, r14
je 0x140034f00
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400351ac
cmp word [rsp + 0x70], r13w
je 0x140034f69
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14006bd90]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140034f63
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140034f69

Function at 0x1400354e8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400354fe
mov al, 1
jmp 0x14003555e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003550f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003555c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140031618
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003555c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003555c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003555c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003555e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140070220
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x40]
lea rcx, [0x1400a435a]
call fcn.140075a54
call fcn.140071830
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140070281
movzx eax, byte [0x1400977e0]
test eax, eax
jne 0x14007026a
mov dword [rbp + 0x114], 1
jmp 0x140070274
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov byte [0x1400977e0], al
call fcn.14004b4a0
call fcn.14004d0e0
call fcn.14001daf0
movzx eax, byte [0x1400977e0]
mov byte [rbp + 0x114], al
call fcn.140011db0
movzx ecx, byte [rbp + 0x114]
mov byte [rax + 0x68], cl
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0xe4]
call fcn.140004750
mov qword [rbp + 0x118], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rbp + 0x104]
call fcn.140004750
mov qword [rbp + 0x120], rax
mov r8, qword [rbp + 0x118]
xor edx, edx
mov rcx, qword [rbp + 0x120]
call fcn.1400241f0
mov r8d, 0x187
xor edx, edx
lea rcx, str.
call fcn.140006f00
lea rcx, str.Device_Ware
call fcn.140069c40
call fcn.14000e420
movzx eax, byte [0x1400977e0]
test eax, eax
je 0x140070332
call fcn.14006fc50
call fcn.140073000
call fcn.140071d70
call fcn.14000e990
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x118], rax
xor r8d, r8d
mov edx, 7
mov rcx, qword [0x14009e4b0]
call qword [rbp + 0x118]
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x118], rax
xor r8d, r8d
mov edx, 0x1b
mov rcx, qword [0x14009e4b0]
call qword [rbp + 0x118]
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rax, qword [rax + 0x1c8]
mov qword [rbp + 0x118], rax
xor r8d, r8d
mov edx, 0xae
mov rcx, qword [0x14009e4b0]
call qword [rbp + 0x118]
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rax, qword [rax + 0x158]
mov qword [rbp + 0x118], rax
mov dword [rsp + 0x30], 0
movss xmm0, dword [0x14007e61c]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14009e4b0]
call qword [rbp + 0x118]
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rcx, qword [0x14009e4b0]
call qword [rax + 0x148]
test eax, eax
jl 0x140070450
call fcn.14001f3c0
call fcn.1400119b0
mov rcx, rax
call fcn.14004b4e0
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rcx, qword [0x14009e4b0]
call qword [rax + 0x150]
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rax, qword [rax + 0x88]
mov qword [rbp + 0x118], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14009e4b0]
call qword [rbp + 0x118]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x88760868
jne 0x1400704e3
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rcx, qword [0x14009e4b0]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x1400704e3
call fcn.14004b3b0
mov rax, qword [0x14009e4b0]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x118], rax
lea rdx, [0x14009e4c0]
mov rcx, qword [0x14009e4b0]
call qword [rbp + 0x118]
call fcn.14004ae50
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0xbee058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbee1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xbee089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xbee06f
add dl, dl
jne 0xbee096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xbee0f6
xor eax, eax
add dl, dl
jne 0xbee0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xbee1ad
add dl, dl
jne 0xbee0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbee0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbee0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbee0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xbee0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xbee07e
mov eax, 1
add dl, dl
jne 0xbee106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbee113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xbee0fb
sub eax, ebx
mov ebx, 1
jne 0xbee14c
mov ecx, 1
add dl, dl
jne 0xbee12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbee13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xbee123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xbee07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbee168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbee175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xbee15d
cmp eax, 0x7d00
jae 0xbee19b
cmp eax, 0x500
jb 0xbee196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xbee07e
cmp eax, 0x7f
ja 0xbee19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xbee07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xbee1d2
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 0xbee07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll___p__environ]
xor edx, edx
mov rcx, qword [rax]
mov qword [0x1400040e8], rcx
xor ecx, ecx
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14000107a
lea rcx, str.Windows_original_main_args:_n
call fcn.140001158
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x14000107a
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.140001158
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000104f
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010c6
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010b3
mov rcx, qword [str.openjdk]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010dd
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010ec
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 1
xor r8d, r8d
mov byte [rsp + 0x58], 1
mov rdx, rbx
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x1400022dc]
mov qword [rsp + 0x38], rax
lea rax, [0x1400022e0]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x1400147d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112c6
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140011ae0
push r12
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
test rax, rax
jne 0x140011944
lea r8, str.Out_of_memory___aborting
lea rdx, str.Fatal_Error
lea ecx, [rax + 0x10]
xor r9d, r9d
call fcn.14001119a
xor eax, eax
add rsp, 0x30
pop r12
ret
mov eax, dword [rsp + 0x40]
mov edx, 8
mov qword [rsp + 0x50], rbp
inc eax
movsxd rcx, eax
call fcn.1400111a4
mov rbp, rax
test rax, rax
jne 0x14001198b
lea r8, str.Out_of_memory___aborting
lea rdx, str.Fatal_Error
lea ecx, [rax + 0x10]
xor r9d, r9d
call fcn.14001119a
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop r12
ret
mov qword [rsp + 0x48], rbx
xor ebx, ebx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
mov edi, ebx
cmp dword [rsp + 0x40], ebx
jle 0x1400119eb
mov r13, rax
mov rsi, r12
sub r13, r12
mov rcx, qword [rsi]
call fcn.1400112d0
mov r8, qword [rsi]
lea rdx, str.UTF_16LE
lea r9, [rax + rax + 2]
lea rcx, str.UTF_8
call fcn.1400113c5
mov qword [r13 + rsi], rax
test rax, rax
je 0x140011a56
inc edi
add rsi, 8
cmp edi, dword [rsp + 0x40]
jl 0x1400119b2
movsxd rax, edi
mov rcx, r12
mov qword [rbp + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.14001113b
mov ecx, dword [rsp + 0x40]
mov rdx, rbp
call fcn.1400112df
mov esi, eax
cmp dword [rsp + 0x40], ebx
jle 0x140011a2c
mov rdi, rbp
mov rcx, qword [rdi]
call fcn.140011037
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jl 0x140011a18
mov rcx, rbp
call fcn.140011037
mov eax, esi
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret
xor r9d, r9d
lea r8, str.Out_of_memory___aborting
lea rdx, str.Fatal_Error
lea ecx, [r9 + 0x10]
call fcn.14001119a
xor eax, eax
jmp 0x140011a36
jmp 0x140011900
Function at 0x1400112d5
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015b20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015b40
xor al, al
jmp 0x140015bc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015b53
xor al, al
jmp 0x140015bc1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015b7d
xor al, al
jmp 0x140015bc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015b91
xor al, al
jmp 0x140015bc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015ba3
xor al, al
jmp 0x140015bc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015bbf
xor al, al
jmp 0x140015bc1
mov al, 1
add rsp, 0x38
ret
Function at 0x140004f10
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 0x140004f6d
lea rbx, [0x14012e290]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004f54
cmp r10, 2
jb 0x140004f54
cmp byte [r9], r8b
jne 0x140004f54
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 0x140004f30
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004faf
lea rbx, [0x14012e290]
cmp r8b, 0x23
jne 0x140004f93
cmp byte [r9], r8b
jne 0x140004f93
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 0x140004f80
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400050f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000510a
mov qword [r8], 0
lea rdx, [0x14012de94]
call fcn.140004fc0
mov rbx, rax
test rax, rax
jne 0x14000512a
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 0x140005201
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 0x140005201
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005201
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 0x140005201
cmp rdi, 0xffffffffffffffff
je 0x140005201
mov rax, qword [0x1401cb4b0]
test rax, rax
je 0x14000519e
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005201
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 0x1400051ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401cb4b0]
test rax, rax
je 0x1400051e3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000520a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400051fc
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000520c
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 0x1400077f0
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, [0x14012e290]
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 [0x1401cb4b0]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ebc], ebx
jne 0x140007886
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140019c60
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007890
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x14012e290]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret