joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000dc88
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180007e70
sub rsp, rax
mov rax, qword [0x18003f020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.18001a29c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18000dcd7
mov rax, rbp
jmp 0x18000dddf
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa25a0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18001a534
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xa25a0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18000dddb
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18000dddb
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18001a534
test rax, rax
js 0x18000dddb
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18000dddb
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18000ddcd
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18000ddcd
cmp byte [rcx], 0xd
jne 0x18000ddb3
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18000ddc2
cmp byte [rcx + 1], 0xa
jne 0x18000ddc2
inc rcx
jmp 0x18000ddc2
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3f3c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18000dd95
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18000dddf
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180007520
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001c58c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1800a25a0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x18001c5ea
cmp word [rdx], r12w
jne 0x18001c5ea
or byte [rax + r8*8 + 0x38], cl
jmp 0x18001c5f0
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x18001c74b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x18001c726
lea r9, [rcx + 2]
cmp ax, r13w
je 0x18001c629
mov rcx, r9
jmp 0x18001c64c
cmp r9, rdx
jae 0x18001c663
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x18001c60d
jmp 0x18001c74b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001c720
cmp dword [rsp + 0x80], edi
je 0x18001c720
mov rdx, r14
lea r11, [0x1800a25a0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x18001c6f9
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x18001c6cc
mov word [rbx], r12w
jmp 0x18001c747
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x18001c6d5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x18001c747
cmp word [rsp + 0x70], r12w
jne 0x18001c706
cmp rbx, rsi
je 0x18001c6c6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.18001a53c
cmp word [rsp + 0x70], r12w
je 0x18001c74b
mov word [rbx], r13w
jmp 0x18001c747
lea r11, [0x1800a25a0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x18001c743
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x18001c74b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18001f7f0
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x18001f512
call fcn.180015e9c
mov dword [rax], 0x16
call fcn.180012d98
jmp 0x18001f662
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18001f662
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x18001f662
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18001f541
lock or dword [rcx + 0x14], 0x10
jmp 0x18001f662
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x18001f555
call fcn.18001fd64
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x18001f565
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x18001f568
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.18001a29c
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.18001ca38
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x18001f650
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x18001f5fb
mov rcx, rbx
call fcn.18001a29c
cmp eax, 0xffffffff
je 0x18001f5e6
mov rcx, rbx
call fcn.18001a29c
cmp eax, 0xfffffffe
je 0x18001f5e6
mov rcx, rbx
call fcn.18001a29c
movsxd rdi, eax
lea rsi, [0x1800a25a0]
mov rcx, rbx
sar rdi, 6
call fcn.18001a29c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x18001f5ed
lea rdx, [0x18003f4c0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x18001f5fb
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x18001f61f
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x18001f61f
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x18001f61f
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x18001f63d
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x18001f648
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x18001f667
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x18001f4dc
Function at 0x180979058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1809791df
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 0x180979089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18097906f
add dl, dl
jne 0x180979096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809790f6
xor eax, eax
add dl, dl
jne 0x1809790a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809791ad
add dl, dl
jne 0x1809790b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809790c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809790d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809790dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1809790ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18097907e
mov eax, 1
add dl, dl
jne 0x180979106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180979113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809790fb
sub eax, ebx
mov ebx, 1
jne 0x18097914c
mov ecx, 1
add dl, dl
jne 0x18097912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18097913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180979123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18097907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180979168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180979175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18097915d
cmp eax, 0x7d00
jae 0x18097919b
cmp eax, 0x500
jb 0x180979196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18097907e
cmp eax, 0x7f
ja 0x18097919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18097907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1809791d2
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 0x18097907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4c50f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4c5af2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c5b8a
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c5b6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4c5b62
cmp qword [rbp - 0x10], 0
je 0x2fc4c5b62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4c5b28
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c5b8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c5c90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4c5cb8
mov eax, 0
jmp 0x2fc4c5d06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4c5ce1
mov eax, 0
jmp 0x2fc4c5d06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4c5d01
mov eax, 0
jmp 0x2fc4c5d06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c5d0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4c5d8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c5d81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4c5d81
mov rax, qword [rbp - 8]
jmp 0x2fc4c5d9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4c5d54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140002530
Capabilities:
Set current directory

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
call fcn.140021694
mov qword [0x140091968], rax
test rax, rax
je 0x1400025a6
lea rcx, [rsp + 0x20]
call fcn.14000ed3c
test eax, eax
jne 0x1400025b7
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
mov edx, 0x5c
call fcn.14000e8cc
test rax, rax
je 0x140002586
mov byte [rax], 0
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.14001c62c
test eax, eax
jne 0x1400025c8
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000d750
nop
add rsp, 0x30
pop rsi
ret
lea rcx, str._nCant_get_the_current_folder_name_n
mov edx, 0xa
call fcn.140001950
lea rcx, str._nCant_get_RTEmsg_application_start_folder_name_n
mov edx, 0xb
call fcn.140001950
lea rcx, str._nCant_change_to_the_RTEmsg_application_folder_n
mov edx, 0xc
call fcn.140001950
int3

Function at 0x140006d40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1030
call fcn.14000d6f0
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1028], rax
call fcn.140023b04
mov rcx, rsi
call fcn.140023b04
lea rbx, [rsp + 0x820]
lea r14, [rsp + 0x20]
nop word cs:[rax + rax]
mov edx, 1
mov r8d, 0x800
mov rcx, rbx
mov r9, rdi
call fcn.1400224b8
mov r15, rax
mov edx, 1
mov r8d, 0x800
mov rcx, r14
mov r9, rsi
call fcn.1400224b8
cmp r15, rax
jne 0x140006ddb
test r15, r15
je 0x140006ddf
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.14003fc60
test eax, eax
je 0x140006d90
xor ebx, ebx
jmp 0x140006de1
mov bl, 1
mov rcx, rdi
call fcn.140021c0c
mov rcx, rsi
call fcn.140021c0c
mov rcx, qword [rsp + 0x1028]
xor rcx, rsp
call fcn.14000d750
mov eax, ebx
add rsp, 0x1030
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140006e20
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
call fcn.140021b44
mov ebp, eax
lea r14, [0x140048617]
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax]
mov rcx, rsi
mov rdx, r14
call fcn.14000d250
test rax, rax
jne 0x140006e90
call fcn.14001eb80
cmp dword [rax], 0xd
jne 0x140006e80
mov ecx, 0xa
call r15
call fcn.140021b44
sub eax, ebp
cmp eax, 0x5dd
jl 0x140006e50
mov rcx, rdi
mov edx, 0xf2
mov r8, rsi
call fcn.14000a510
mov rbx, rax
mov rcx, rax
call fcn.1400023d0
cmp rax, 0x989681
jae 0x140006fbb
mov r12, rax
mov rcx, rax
add rcx, 2
lea rdx, str.Yfile
call fcn.14000a5b0
mov r14, rax
lea r15, [rax + 1]
mov edx, 1
mov rcx, r15
mov r8, r12
mov r9, rbx
call fcn.1400224b8
mov byte [rax + r14 + 1], 0
movzx r9d, byte [r14 + 1]
test r9b, r9b
je 0x140006fab
xor eax, eax
mov rcx, r14
mov r8, r14
jmp 0x140006f0e
inc rcx
mov r9d, r10d
mov r15, rdx
test r10b, r10b
je 0x140006f57
movzx r10d, byte [r15 + 1]
test r10b, r10b
je 0x140006f54
lea rdx, [r15 + 1]
cmp r9b, 0xa
jne 0x140006f00
mov r9, rcx
sub r9, r8
add r9, 0xffffffffffffff00
cmp r9, 0xffffffffffffff00
jbe 0x140006f8f
mov r9d, r8d
neg r9b
movzx r9d, r9b
add r9d, ecx
mov byte [r8], r9b
inc rax
movzx r10d, byte [rdx]
mov r8, r15
jmp 0x140006f00
mov rdx, r15
cmp rax, 1
jbe 0x140006fab
mov byte [rdx], 0
mov eax, dword [0x1400a1928]
lea rcx, [0x140091968]
shl rax, 5
mov qword [rax + rcx + 0x5b0], r14
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140021c0c
mov byte [r8], 0
mov rcx, rbx
call fcn.140021c0c
mov rcx, rdi
mov edx, 0xf4
mov r8, rsi
call fcn.14000a510
mov rcx, rdi
mov edx, 0xf5
mov r8, rsi
call fcn.14000a510
mov rcx, rbx
call fcn.140021c0c
mov rcx, rdi
mov edx, 0xf3
mov r8, rsi
call fcn.14000a510
int3
Function at 0x140008c30
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp byte [0x140091f04], 0
jne 0x140008d43
mov esi, dword [0x140091ad0]
mov eax, dword [0x140091ab8]
mov ebx, esi
mov edi, 0x20000
sub ebx, eax
jbe 0x140008c9b
cmp ebx, 0x20000
jae 0x140008d4e
mov rcx, qword [0x140091ad8]
lea rdx, [rcx + rax*4]
mov r8d, ebx
shl r8, 2
call fcn.14003fd60
mov eax, dword [0x140091ab8]
add qword [0x140091ac8], rax
mov edi, 0x20000
sub edi, ebx
mov esi, dword [0x140091ad0]
mov dword [0x140091ab8], 0
sub esi, ebx
mov dword [0x140091ad0], esi
mov r9, qword [0x140091970]
xor ebp, ebp
test r9, r9
je 0x140008d34
shl rsi, 2
add rsi, qword [0x140091ad8]
mov r14d, edi
mov edx, 4
mov rcx, rsi
mov r8, r14
call fcn.1400224b8
mov rbx, rax
cmp rax, r14
je 0x140008d1e
mov ecx, 0x6b
mov edx, ebx
call fcn.140002060
mov ecx, 0x163
call fcn.1400028e0
mov rcx, qword [0x140091978]
mov rdx, rax
mov r8d, edi
call fcn.140001dc0
lea rcx, [rsi + rbx*4]
sub r14, rbx
shl r14, 2
mov dl, 0xff
mov r8, r14
call fcn.140040400
test ebx, ebx
je 0x140008d34
mov rcx, qword [0x140091970]
call fcn.140021dc8
mov ebp, ebx
test eax, eax
je 0x140008d3d
mov byte [0x140091f04], 1
mov ebx, ebp
add dword [0x140091ad0], ebx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov r8d, ebx
lea rdx, str.remaining_words
mov ecx, 0x3b
call fcn.140001c40
int3

Function at 0x1400092d0
Capabilities:
Read file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov eax, dword [0x140091a00]
test eax, eax
je 0x140009452
mov esi, dword [0x140091a14]
test rsi, rsi
je 0x140009459
mov rdi, rcx
mov rax, rsi
shl rax, 2
mov ecx, 0x6e
cmp rax, rdi
jl 0x140009311
mov ecx, 0x6a
jle 0x14000931e
mov edx, esi
call fcn.140002060
shr rdi, 2
mov esi, edi
cmp esi, 0x8000006
jb 0x14000933a
mov ecx, 0x71
mov edx, 0x20000014
call fcn.140002060
mov esi, 0x8000005
mov eax, dword [0x140091a00]
cmp eax, esi
jbe 0x14000935a
mov dword [0x140091a00], esi
mov edx, dword [0x140091a00]
mov ecx, 0x72
call fcn.140002060
mov dword [0x140091ae0], esi
mov ebx, esi
lea rcx, [rbx*4]
lea rdx, str.binFil1
call fcn.14000a5b0
mov qword [0x140091ad8], rax
mov rcx, qword [0x140091970]
xor edi, edi
mov edx, 0x18
xor r8d, r8d
call fcn.14001ed64
mov r9, qword [0x140091970]
test r9, r9
je 0x140009430
mov r14, qword [0x140091ad8]
mov edx, 4
mov rcx, r14
mov r8, rbx
call fcn.1400224b8
mov rdi, rax
cmp rax, rbx
je 0x1400093ff
mov ecx, 0x6b
mov edx, edi
call fcn.140002060
mov ecx, 0x163
call fcn.1400028e0
mov rcx, qword [0x140091978]
mov rdx, rax
mov r8d, esi
call fcn.140001dc0
lea rcx, [r14 + rdi*4]
sub rbx, rdi
shl rbx, 2
mov dl, 0xff
mov r8, rbx
call fcn.140040400
mov dword [0x140091ad0], edi
test edi, edi
je 0x14000943c
mov rax, qword [0x140091ad8]
mov edx, edi
xor ecx, ecx
nop word cs:[rax + rax]
cmp dword [rax + rcx*4], 0xffffffff
jne 0x140009440
inc rcx
cmp rdx, rcx
jne 0x140009420
jmp 0x140009442
mov dword [0x140091ad0], 0
jmp 0x140009442
xor edi, edi
jmp 0x140009442
mov edi, ecx
mov dword [0x140091ab8], edi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov ecx, 0x1f
jmp 0x14000945e
mov ecx, 0x26
xor edx, edx
xor r8d, r8d
call fcn.140001c40
int3
Function at 0x14000a9e0
Capabilities:
Set current directory
Set environment variable

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400a2a30]
inc eax
mov dword [0x1400a2a30], eax
cmp eax, 1
ja 0x14000aa3b
mov r9, qword [0x140091980]
lea rcx, str._nFatal_exception_during_format_file_processing_
mov edx, 0x2f
mov r8d, 1
call fcn.140022d04
call fcn.1400024c0
lea rcx, str.Main.log
call fcn.1400026b0
call fcn.14001ecb0
mov rcx, qword [0x140091968]
add rsp, 0x28
jmp fcn.14001c4d0
nop
add rsp, 0x28
ret

Function at 0x14000ad20
Capabilities:
Set current directory
Set environment variable

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400a2a30]
inc eax
mov dword [0x1400a2a30], eax
cmp eax, 1
ja 0x14000ad9c
mov rax, qword [0x140091978]
mov r9, qword [0x140091980]
test rax, rax
je 0x14000ad70
cmp rax, r9
je 0x14000ad70
lea rcx, str._nFatal_exception_when_processing_binary_files_
mov edx, 0x2e
mov r8d, 1
mov r9, rax
call fcn.140022d04
mov r9, qword [0x140091980]
lea rcx, str._nFatal_exception_when_processing_binary_files_
mov edx, 0x2e
mov r8d, 1
call fcn.140022d04
call fcn.14001ecb0
mov rcx, qword [0x140091968]
add rsp, 0x28
jmp fcn.14001c4d0
nop
add rsp, 0x28
ret

Function at 0x14000d530
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x450
mov rsi, rdx
mov rdi, rcx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x448], rax
call fcn.140024390
mov rbx, rax
mov rcx, rsi
call fcn.140024390
lea rcx, [rbx - 0x104]
mov ebp, 0xffffffff
cmp rcx, 0xfffffffffffffefd
jb 0x14000d621
test rax, rax
je 0x14000d621
cmp rax, 0x103
ja 0x14000d621
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0x104
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, eax
call r14
mov ebp, eax
cdqe
mov word [rsp + rax*2 + 0x30], 0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x104
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, ebx
call r14
cdqe
mov word [rsp + rax*2 + 0x240], 0
test eax, eax
je 0x14000d614
test ebp, ebp
je 0x14000d614
lea rcx, [rsp + 0x240]
lea rdx, [rsp + 0x30]
call fcn.140021a48
jmp 0x14000d61f
mov rcx, rdi
mov rdx, rsi
call fcn.1400239c8
mov ebp, eax
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.14000d750
mov eax, ebp
add rsp, 0x450
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x14000dfd8
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c304
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001c373
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c373
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c373
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c373
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c373
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c373
cmp dword [rcx + 0xf8], 0
je 0x14001c373
mov ecx, ebx
call fcn.14001c23c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001c498
nop
cmp dword [rbp + 0x20], 0
je 0x14001c3c1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001c2d0
int3

Function at 0x14001c304
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c304
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001c373
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c373
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c373
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c373
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c373
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c373
cmp dword [rcx + 0xf8], 0
je 0x14001c373
mov ecx, ebx
call fcn.14001c23c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001c498
nop
cmp dword [rbp + 0x20], 0
je 0x14001c3c1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001c2d0
int3