joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400259e8
Capabilities:
Query environment variable
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x140134380]
xor r13d, r13d
mov rdi, rcx
mov r12d, r13d
mov r15d, dword [rax]
mov r14d, r15d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x18], r13
mov dword [rcx + 0x28], r13d
mov byte [rcx + 0x2c], r13b
mov word [rcx + 0x2e], r13w
lea ecx, [r13 + 0x10]
shr r14d, 2
shr r15d, 0x13
and r14d, 1
and r15d, 1
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140025bf7
add dword [0x140134854], 0x10
lea edx, [r13 + 0xa]
mov rcx, rax
call fcn.1400c9b38
mov word [rbx + 2], r13w
mov qword [rdi + 0x40], rbx
test r14d, r14d
je 0x140025a8f
call fcn.1400c7c90
mov r12, rax
mov rcx, qword [0x140134380]
test dword [rcx + 8], 0x100
je 0x140025ad6
call fcn.1400c7d78
test rax, rax
je 0x140025ad6
lea rbx, [0x1400fa480]
mov rcx, rax
jmp 0x140025ac2
mov rdx, rax
mov rcx, rdi
call fcn.140027118
xor ecx, ecx
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_strtok]
nop dword [rax + rax]
test rax, rax
jne 0x140025ab5
lea rcx, str.INCLUDE
call qword [sym.imp.msvcrt.dll_getenv]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140025b0c
lea rcx, [0x1400f9578]
call qword [sym.imp.msvcrt.dll_getenv]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140025b4e
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rbx + rsi], r13b
jne 0x140025b10
inc rsi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
je 0x140025bf7
add dword [0x140134854], esi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rbx, rbp
mov rbp, r12
mov rsi, rbx
test r15d, r15d
je 0x140025b77
test r14d, r14d
je 0x140025b63
mov rsi, r13
jmp 0x140025b8e
test r15d, r15d
je 0x140025b77
test r14d, r14d
jne 0x140025b72
mov rsi, r13
jmp 0x140025b7c
test r15d, r15d
jne 0x140025b7f
test r14d, r14d
jne 0x140025b7f
mov rbp, r13
lea rdx, [0x1400f4974]
mov rcx, rdi
call fcn.140025c20
test rbp, rbp
je 0x140025b9e
mov rdx, rbp
mov rcx, rdi
call fcn.140025c20
test rsi, rsi
je 0x140025bae
mov rdx, rsi
mov rcx, rdi
call fcn.140025c20
test r12, r12
je 0x140025bc2
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
test rbx, rbx
je 0x140025bd6
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
Function at 0x140025c64
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x140134348]
xor ebp, ebp
movzx eax, word [rbx + 0x28]
test ax, ax
jle 0x140025e24
dec ax
mov word [rbx + 0x28], ax
mov rax, qword [rbx + 0x18]
cmp byte [rax + 0x27], bpl
jne 0x140025cae
mov rdx, rax
mov rcx, rbx
call fcn.140025ec8
mov rax, qword [rbx + 0x18]
mov rax, qword [rax + 8]
mov qword [rbx + 0x18], rax
mov rdi, qword [rax]
test rdi, rdi
je 0x140025ce2
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140025cd3
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
mov qword [rax], rbp
mov rcx, qword [rbx + 0x18]
mov rsi, qword [rcx + 0x48]
cmp byte [rcx + 0x24], bpl
jne 0x140025ded
mov rcx, qword [rcx + 0x40]
lea rdx, [0x1400fa4d4]
call qword [sym.imp.msvcrt.dll_fopen]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x18]
mov qword [rcx + 0x10], rax
test rax, rax
jne 0x140025d4b
mov ebx, 0x3e9
mov r9, rsi
xor edx, edx
mov r8d, ebx
xor ecx, ecx
call fcn.1400c9744
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rdi, qword [rbx + 0x18]
cmp qword [rdi + 0x18], rbp
jne 0x140025da0
mov ecx, 0x4000
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
jne 0x140025d8e
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], 0x4000
mov qword [rdi + 0x18], rax
mov rdi, qword [rbx + 0x18]
mov rdx, qword [rdi + 0x18]
mov r9d, 0x4000
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
call qword [sym.imp.msvcrt.dll_setvbuf]
nop dword [rax + rax]
mov rax, qword [rbx + 0x18]
xor r8d, r8d
mov byte [rax + 0x24], 1
mov rcx, qword [rbx + 0x18]
mov edx, dword [rcx + 0x20]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.msvcrt.dll_fseek]
nop dword [rax + rax]
test eax, eax
je 0x140025ded
mov ebx, 0x3ea
jmp 0x140025d24
mov rcx, qword [rbx + 0x18]
mov rdx, rsi
movzx eax, word [rcx + 0x50]
mov word [0x140132a78], ax
mov rax, qword [rcx + 0x10]
mov rcx, qword [0x140134340]
mov qword [0x140132a70], rax
call fcn.1400c9ae8
mov word [0x140132a98], ax
xor eax, eax
jmp 0x140025d35
lea r8, str.iCurLexLevel___0
mov edx, 0x158
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
Function at 0x140026774
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x140131c10]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov rbx, qword [rcx]
lea rax, [rbp + 0x460]
mov r14, rdx
mov qword [rsp + 0x20], rax
mov rsi, r8
lea r9, [rbp + 0x360]
mov r15, rcx
lea r8, [rbp + 0x260]
mov rcx, r14
lea rdx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll__splitpath]
nop dword [rax + rax]
lea r8, [rsp + 0x30]
mov r13d, 0x304
lea rax, [rsp + 0x50]
mov edx, r13d
sub r8, rax
lea rcx, [rsp + 0x50]
lea rax, [rdx + 0x7ffffcfa]
test rax, rax
je 0x14002681a
mov al, byte [r8 + rcx]
test al, al
je 0x14002681a
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1400267fb
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb eax, eax
not eax
and eax, 0x8007007a
test rdx, rdx
je 0x1400269d9
lea r8, [rbp + 0x260]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140001250
test eax, eax
jne 0x1400269d9
or r8, 0xffffffffffffffff
lea rax, [rsp + 0x50]
mov rdi, r8
inc rdi
cmp byte [rax + rdi], 0
jne 0x140026868
test rdi, rdi
jne 0x1400268ce
lea rax, [rsp + 0x50]
mov r9, rsi
sub r9, rax
lea rcx, [rsp + 0x50]
mov rdx, r13
lea rax, [rdx + 0x7ffffcfa]
test rax, rax
je 0x1400268a8
mov al, byte [r9 + rcx]
test al, al
je 0x1400268a8
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140026889
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb eax, eax
not eax
and eax, 0x8007007a
test rdx, rdx
je 0x1400269d9
inc r8
cmp byte [rsi + r8], 0
jne 0x1400268ce
cmp byte [r8 + rsi - 1], 0x5c
je 0x1400268fc
lea r8, [0x1400fa500]
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.140001250
test eax, eax
jne 0x1400269d9
lea rcx, [rsp + 0x50]
mov rdx, r13
test rdi, rdi
jne 0x14002693b
mov r8, r14
call fcn.140001250
test eax, eax
jne 0x1400269d9
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140026a0c
test eax, eax
je 0x140026960
mov eax, 0x7d5
jmp 0x1400269d9
lea r8, [rbp + 0x360]
call fcn.140001250
test eax, eax
jne 0x1400269d9
lea r8, [rbp + 0x460]
mov rdx, r13
lea rcx, [rsp + 0x50]
jmp 0x14002690c
test rbx, rbx
je 0x140026972
mov rax, qword [rbx]
test rax, rax
je 0x140026972
mov rbx, rax
jmp 0x140026965
mov ecx, 0x18
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rcx, rax
test rax, rax
jne 0x1400269ad
xor edx, edx
xor r9d, r9d
mov r8d, 0x7d5
call fcn.1400c9744
mov ecx, 0x7d5
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], 0x18
test rbx, rbx
je 0x1400269be
mov qword [rbx], rcx
jmp 0x1400269c1
mov qword [r15], rcx
mov rax, qword [rsp + 0x38]
and qword [rcx], 0
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
xor eax, eax
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.1400caef0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140026a0c
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x140131c10]
xor rax, rsp
mov qword [rbp + 0x550], rax
mov r14, rdx
mov r15, r8
mov rdx, rcx
mov r13d, 0x304
mov r8d, r13d
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__fullpath]
nop dword [rax + rax]
lea rax, [rbp + 0x450]
lea r9, [rbp + 0x350]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x250]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll__splitpath]
nop dword [rax + rax]
lea r8, [rsp + 0x30]
mov edx, r13d
lea rax, [rsp + 0x40]
sub r8, rax
lea rcx, [rsp + 0x40]
lea rax, [rdx + 0x7ffffcfa]
test rax, rax
je 0x140026abe
mov al, byte [r8 + rcx]
test al, al
je 0x140026abe
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140026a9f
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb eax, eax
not eax
and eax, 0x8007007a
test rdx, rdx
je 0x140026c0a
lea r8, [rbp + 0x250]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140001250
test eax, eax
jne 0x140026c0a
or rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140026b0c
lea rsi, [rax + 1]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x140026c2c
mov edi, dword [0x140134854]
lea r8, [rsp + 0x40]
add edi, esi
mov qword [r14], rax
mov rdx, rsi
mov dword [0x140134854], edi
mov rcx, rax
call fcn.1400011d4
test eax, eax
jne 0x140026c0a
lea r8, [rbp + 0x350]
mov rdx, r13
lea rax, [rsp + 0x40]
sub r8, rax
lea rcx, [rsp + 0x40]
lea rax, [rdx + 0x7ffffcfa]
test rax, rax
je 0x140026b90
mov al, byte [r8 + rcx]
test al, al
je 0x140026b90
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140026b71
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], 0
mov rax, rdx
neg rax
sbb eax, eax
not eax
and eax, 0x8007007a
test rdx, rdx
je 0x140026c0a
lea r8, [rbp + 0x450]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140001250
test eax, eax
jne 0x140026c0a
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140026bcf
inc rbx
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x140026c2c
add edi, ebx
mov qword [r15], rax
lea r8, [rsp + 0x40]
mov dword [0x140134854], edi
mov rdx, rbx
mov rcx, rax
call fcn.1400011d4
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.1400caef0
add rsp, 0x660
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
Function at 0x140026fa4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rbp, rdx
mov rdi, rcx
test rbx, rbx
je 0x140026fd8
mov rax, qword [rbx]
test rax, rax
je 0x140026fd8
mov rbx, rax
jmp 0x140026fcb
mov ecx, 0x10
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1400270bb
mov r14d, dword [0x140134854]
add r14d, 0x10
mov dword [0x140134854], r14d
test rbx, rbx
je 0x140027011
mov qword [rbx], rax
jmp 0x140027015
mov qword [rdi + 8], rsi
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rdi + rbp], 0
jne 0x14002701c
lea r15, [rdi + 2]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x1400270bb
and qword [rsi], 0
lea ecx, [r14 + r15]
mov dword [0x140134854], ecx
mov rdx, rbx
mov qword [rsi + 8], rax
inc rdx
cmp byte [rdx + rbp], 0
jne 0x140027052
add rdx, 2
mov r8, rbp
mov rcx, rax
call fcn.1400011d4
test eax, eax
jne 0x1400270f7
test rdi, rdi
je 0x14002709f
cmp byte [rdi + rbp - 1], 0x5c
je 0x14002709f
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14002707e
mov rcx, qword [rsi + 8]
lea rdx, [rbx + 2]
lea r8, [0x1400fa500]
call fcn.140001250
test eax, eax
jne 0x1400270de
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
lea r8, str.hr__S_OK
mov edx, 0x3ab
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
lea r8, str.hr__S_OK
mov edx, 0x3a6
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
Function at 0x140027118
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rbp, rdx
mov rdi, rcx
test rbx, rbx
je 0x14002714c
mov rax, qword [rbx]
test rax, rax
je 0x14002714c
mov rbx, rax
jmp 0x14002713f
mov ecx, 0x10
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14002722f
mov r14d, dword [0x140134854]
add r14d, 0x10
mov dword [0x140134854], r14d
test rbx, rbx
je 0x140027185
mov qword [rbx], rax
jmp 0x140027189
mov qword [rdi + 0x10], rsi
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rdi + rbp], 0
jne 0x140027190
lea r15, [rdi + 2]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
je 0x14002722f
and qword [rsi], 0
lea ecx, [r14 + r15]
mov dword [0x140134854], ecx
mov rdx, rbx
mov qword [rsi + 8], rax
inc rdx
cmp byte [rdx + rbp], 0
jne 0x1400271c6
add rdx, 2
mov r8, rbp
mov rcx, rax
call fcn.1400011d4
test eax, eax
jne 0x14002726b
test rdi, rdi
je 0x140027213
cmp byte [rdi + rbp - 1], 0x5c
je 0x140027213
inc rbx
cmp byte [rbx + rbp], 0
jne 0x1400271f2
mov rcx, qword [rsi + 8]
lea rdx, [rbx + 2]
lea r8, [0x1400fa500]
call fcn.140001250
test eax, eax
jne 0x140027252
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
lea r8, str.hr__S_OK
mov edx, 0x3d3
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
lea r8, str.hr__S_OK
mov edx, 0x3ce
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
Function at 0x140027b3c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [0x140132a80]
mov ebp, 0x100
mov ecx, ebp
mov r13, rbx
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x140027ba0
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], ebp
mov rdi, r14
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140027bad
inc rsi
cmp rsi, rbp
ja 0x140027c9a
test rbx, rbx
je 0x140027c6f
mov byte [rax], 0
jmp 0x140027c1b
movzx ecx, r15w
mov eax, ebp
sub cx, bx
mov r8, rbx
movsx r12, cx
movzx ecx, di
sub cx, r14w
mov r9, r12
movsx edx, cx
mov rcx, rdi
sub eax, edx
movsxd rdx, eax
call fcn.140025840
test eax, eax
jne 0x140027ccc
add rdi, r12
lea rbx, [r15 + 2]
mov byte [rdi], 0x5c
inc rdi
mov byte [rdi], al
jmp 0x140027c16
inc rbx
cmp byte [rbx], 0x5c
je 0x140027c13
lea rdx, [0x1400fa654]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_strstr]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x140027bd0
movzx eax, di
mov rcx, rdi
sub ax, r14w
movsx r8d, ax
sub ebp, r8d
mov r8, rbx
movsxd rdx, ebp
call fcn.140001250
test eax, eax
jne 0x140027ce5
mov r8, r14
mov rdx, rsi
mov rcx, r13
call fcn.1400011d4
test eax, eax
jne 0x140027cb3
mov rcx, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
jmp qword [sym.imp.msvcrt.dll_free]
lea r8, str.OrigLen___DEST_BUFFER_SIZE
mov edx, 0x6bb
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
lea r8, str.hr__S_OK
mov edx, 0x6d2
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
lea r8, str.hr__S_OK
mov edx, 0x6c7
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
lea r8, str.hr__S_OK
mov edx, 0x6d0
lea rcx, str.com_rpcmidl_front_filehndl.cxx
call fcn.1400c7a2c
int3
Function at 0x140027e64
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1401343c0]
or rsi, 0xffffffffffffffff
mov rbp, rdx
mov rcx, rsi
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
inc rcx
cmp byte [rcx + rbp], 0
jne 0x140027e90
mov rax, rdx
sub rax, r8
cmp rax, rcx
ja 0x140027f08
lea rax, [rdx + rdx]
mov edi, 0x7fbc
mov qword [rbx], rax
cmp rax, rdi
jbe 0x140027eba
mov qword [rbx], rdi
jmp 0x140027ebd
mov rdi, rax
and qword [rbx + 8], 0
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
test rax, rax
jne 0x140027ef9
mov ebx, 0x7d5
xor edx, edx
mov r8d, ebx
xor r9d, r9d
xor ecx, ecx
call fcn.1400c9744
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
add dword [0x140134854], edi
xor r8d, r8d
mov qword [rbx + 0x10], rax
jmp 0x140027f0c
mov rax, qword [rbx + 0x10]
lea r9, [rax + r8]
mov rcx, rbp
mov rdx, r9
sub rdx, rbp
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140027f19
inc rsi
cmp byte [rsi + rbp], 0
jne 0x140027f25
mov rbp, qword [rsp + 0x38]
inc rsi
add qword [rbx + 8], rsi
mov rax, r9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140027fb4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push r15
sub rsp, 0x20
lea r15, [0x1401354c0]
mov bl, byte [0x14013573c]
test bl, bl
je 0x14002804d
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140027fe3
inc word [0x140132a78]
mov byte [0x1401354b6], bl
test bl, bl
je 0x14002808c
movzx eax, bl
cmp byte [rax + r15], 0
jne 0x140028033
cmp bl, 0x2a
jne 0x140027fc6
mov bl, byte [0x14013573c]
test bl, bl
je 0x1400280a9
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140028021
inc word [0x140132a78]
test bl, bl
je 0x14002808c
movzx eax, bl
cmp byte [rax + r15], 0
je 0x14002812b
mov bl, byte [0x14013573c]
test bl, bl
je 0x1400280e2
and dword [0x14013573c], 0
jmp 0x140028116
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140027fd7
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x140027fe3
mov byte [0x1401354b6], 0
mov ebx, 0x83d
xor edx, edx
mov ecx, ebx
call fcn.14002bdbc
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140028015
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
jne 0x14002808c
jmp 0x140028025
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140028116
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
jne 0x140027fc6
cmp bl, 0xa
jne 0x140027fc6
inc word [0x140132a78]
jmp 0x140027fc6
cmp bl, 0x2f
je 0x140028145
cmp bl, 0x2a
jne 0x140027fc6
mov cl, bl
call fcn.140027f54
jmp 0x140027fc6
mov rbx, qword [rsp + 0x30]
mov eax, 0x1fa
add rsp, 0x20
pop r15
ret
Function at 0x140028160
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov bl, byte [0x14013573c]
test bl, bl
je 0x1400281b7
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x140028183
inc word [0x140132a78]
mov byte [0x1401354b6], bl
test bl, bl
je 0x1400281ee
movzx eax, bl
lea rcx, [0x1401354c0]
cmp byte [rax + rcx], 0
je 0x140028254
mov bl, byte [0x14013573c]
test bl, bl
je 0x14002820b
and dword [0x14013573c], 0
jmp 0x14002823f
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x140028177
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x140028183
mov byte [0x1401354b6], 0
mov ebx, 0x83d
xor edx, edx
mov ecx, ebx
call fcn.14002bdbc
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x14002823f
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
jne 0x140028166
cmp bl, 0xa
jne 0x140028166
inc word [0x140132a78]
jmp 0x140028166
cmp bl, 0xa
jne 0x140028166
mov eax, 0x1fa
add rsp, 0x20
pop rbx
ret
Function at 0x140028894
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov bl, byte [0x14013573c]
test bl, bl
je 0x140028916
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x1400288b7
inc word [0x140132a78]
movzx eax, bl
lea rcx, [0x1401354c0]
mov byte [0x1401354b6], bl
cmp byte [rax + rcx], 0
je 0x140028994
mov rax, qword [0x140132a80]
mov byte [rax], bl
mov bl, byte [0x14013573c]
test bl, bl
je 0x140028955
and dword [0x14013573c], 0
cmp bl, 0xa
jne 0x1400288f7
inc word [0x140132a78]
mov rax, qword [0x140132a80]
mov byte [rax + 1], bl
mov byte [rax + 2], 0
mov eax, 2
mov word [0x140132a88], ax
jmp 0x1400289c2
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x1400288ab
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x1400288b7
xor bl, bl
jmp 0x1400288b7
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
mov ebx, eax
cmp al, 0xff
jne 0x1400288eb
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
test eax, eax
je 0x1400288f7
xor bl, bl
jmp 0x1400288f7
cmp bl, 0x5c
jne 0x1400289a6
call fcn.1400285e0
mov bl, al
mov byte [0x1401354b6], al
mov rax, qword [0x140132a80]
mov byte [rax], bl
mov byte [rax + 1], 0
movsx eax, bl
mov dword [0x140132a8c], eax
mov dword [0x140132a48], eax
mov al, byte [0x14013573c]
test al, al
je 0x1400289ff
and dword [0x14013573c], 0
cmp al, 0xa
jne 0x1400289de
inc word [0x140132a78]
cmp al, 0x27
je 0x140028a2b
mov ebx, 0x83c
xor edx, edx
mov ecx, ebx
call fcn.14002bdbc
mov ecx, ebx
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_getc]
nop dword [rax + rax]
cmp al, 0xff
jne 0x1400289d3
mov rcx, qword [0x140132a70]
call qword [sym.imp.msvcrt.dll_feof]
nop dword [rax + rax]
jmp 0x1400289e2
mov eax, 0x1c7
add rsp, 0x20
pop rbx
ret