joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ec70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x60
mov rsi, qword [0x140143fa0]
mov rbx, rcx
mov ebp, 5
mov rcx, rsi
call fcn.14002e9f0
test rax, rax
je 0x14002ee15
mov qword [rsp + 0x70], rdi
mov rdi, qword [rax + 8]
lea rcx, [rsp + 0x20]
mov rdx, qword [rdi]
inc dword [rax + 0x10]
mov qword [rsp + 0x20], rsi
mov qword [rax + 8], rdx
lea rax, [0x14002d510]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
call fcn.14002ef20
test eax, eax
je 0x14002ed02
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rbx], rax
test rax, rax
je 0x14002ed0a
lea r8d, [rbp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14002ed23
mov rcx, rdi
call fcn.14002ebf0
xor eax, eax
mov rdi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
mov ecx, dword [rsp + 0x40]
movzx edx, byte [rbx + 0x20]
mov rdi, qword [rsp + 0x20]
and dword [rbx + 0x21], 0xfffffff0
mov qword [rax], rdi
mov rax, qword [rsp + 0x38]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x30]
and dl, 0xf8
mov qword [rbx + 0x10], rax
movzx eax, cl
and al, 1
or dl, al
mov eax, dword [rsp + 0x44]
and eax, 0xf
mov byte [rbx + 0x20], dl
or dword [rbx + 0x21], eax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x25], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x2d], rax
test ecx, ecx
je 0x14002ed8d
mov eax, dword [rsi - 5]
mov dword [rbx + 0x18], eax
movzx eax, word [rsi - 1]
mov word [rbx + 0x1c], ax
movzx eax, byte [rsi + 1]
mov byte [rbx + 0x1e], al
jmp 0x14002ed99
mov eax, dword [rsi]
mov dword [rbx + 0x18], eax
movzx eax, byte [rsi + 4]
mov byte [rbx + 0x1c], al
test dl, 1
je 0x14002eda7
add rdi, 0xfffffffffffffffb
mov ebp, 7
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14002ed0a
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x14002ede2
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x78]
lea r9, [rsp + 0x78]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov rax, rbx
jmp 0x14002ed0c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x14002ee30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rcx + 0x20], 1
mov rbx, qword [rcx]
mov rdi, rcx
mov esi, 5
je 0x14002ee58
sub rbx, rsi
mov esi, 7
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14002ee83
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rdi + 0x18]
test byte [rdi + 0x20], 1
mov dword [rbx], eax
je 0x14002ee9f
movzx eax, word [rdi + 0x1c]
mov word [rbx + 4], ax
movzx eax, byte [rdi + 0x1e]
mov byte [rbx + 6], al
jmp 0x14002eea6
movzx eax, byte [rdi + 0x1c]
mov byte [rbx + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14002f2f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x14013e500], ecx
mov edx, 1
lea r8, [0x14013e504]
nop word [rax + rax]
mov eax, dword [r8 - 4]
add r8, 4
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul ecx, ecx, 0x6c078965
add ecx, edx
inc edx
mov dword [r8 - 4], ecx
cmp edx, 0x270
jl 0x14002f310
mov dword [0x14013a514], 1
mov dword [0x1401405f4], 1
ret

Function at 0x14002f350
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1401405f4], 0
lea rbx, [0x14013e500]
jne 0x14002f373
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.14002f2f0
mov dword [0x14013a514], 0x270
mov qword [0x14013e4f0], rbx
mov r8d, 0xe3
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
add rbx, 4
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx + 0x630]
dec r8d
mov dword [rbx - 4], ecx
jne 0x14002f390
mov r8d, 0x18c
nop word [rax + rax]
mov eax, dword [rbx + 4]
lea rdx, [rbx + 4]
mov ecx, eax
and al, 1
xor ecx, dword [rbx]
and ecx, 0x7ffffffe
xor ecx, dword [rbx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rbx - 0x38c]
dec r8d
mov dword [rbx], ecx
mov rbx, rdx
jne 0x14002f3d0
mov eax, dword [0x14013e500]
mov ecx, dword [rdx]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
xor ecx, dword [rdx]
shr ecx, 1
neg al
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rsp, 0x20
pop rbx
ret

Function at 0x14002f440
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [0x14013a514]
jne 0x14002f451
call fcn.14002f350
mov rax, qword [0x14013e4f0]
add rax, 4
mov ecx, dword [rax - 4]
mov qword [0x14013e4f0], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add rsp, 0x28
ret

Function at 0x14002f4a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
dec dword [0x14013a514]
jne 0x14002f4b1
call fcn.14002f350
mov rax, qword [0x14013e4f0]
pxor xmm0, xmm0
add rax, 4
mov ecx, dword [rax - 4]
mov qword [0x14013e4f0], rax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x140127a58]
add rsp, 0x28
ret
Function at 0x14002f9e0
Capabilities:
Print debug messages
Write clipboard data

Disassembly:
sub rsp, 0x38
movzx eax, byte [rcx + 0x23]
test al, al
jne 0x14002fa08
mov rcx, qword [rcx + 0x10]
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov byte [rsp + 0x20], 1
call fcn.1400e6e20
add rsp, 0x38
ret
cmp al, 2
jne 0x14002fa1e
lea rcx, [0x1401035ac]
xor edx, edx
add rsp, 0x38
jmp fcn.140006bc0
cmp qword [0x14013b0d0], 2
jae 0x14002fa4d
cmp qword [rcx + 0x18], 2
jae 0x14002fa4d
lea r8, [0x1401035ac]
lea rdx, [0x140124720]
lea rcx, [0x140143150]
add rsp, 0x38
jmp fcn.14005f7b0
xor r8d, r8d
lea edx, [r8 + 2]
call fcn.1400e74d0
mov eax, 1
add rsp, 0x38
ret

Function at 0x14002fe60
Capabilities:
Write clipboard data

Disassembly:
cmp byte [rcx + 0x23], 0
jne 0x14002fe6a
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x23], 2
jne 0x14002fe86
cmp qword [0x140143de8], 0
je 0x14002fe86
lea rcx, [0x140143dd0]
jmp fcn.140006d40
and byte [rcx + 0x21], 0x86
movzx eax, byte [rcx + 0x21]
test dl, dl
je 0x14002fe97
or al, 1
mov byte [rcx + 0x21], al
mov eax, 1
ret

Function at 0x140030360
Capabilities:
Log keystrokes via polling

Disassembly:
and al, 0x40
cmp edx, 7
ja case.0x1400303a3.3
movsxd rax, edx
lea rdx, [0x140000000]
mov eax, dword [rdx + rax*4 + 0x30428]
add rax, rdx
jmp rax
movzx eax, cl
dec eax
cmp eax, 0xde
ja case.0x1400303a3.3
cdqe
movzx eax, byte [rdx + rax + 0x30454]
mov ecx, dword [rdx + rax*4 + 0x30448]
add rcx, rdx
jmp rcx
mov al, 2
ret
movzx eax, cl
add eax, 0xffffffd4
cmp eax, 0x8d
ja case.0x1400303a3.3
cdqe
movzx eax, byte [rdx + rax + 0x30540]
mov ecx, dword [rdx + rax*4 + 0x30534]
add rcx, rdx
jmp rcx
mov al, 1
ret
movzx ecx, cl
sub ecx, 0x37
je 0x1400303ea
sub ecx, 0x13
je 0x1400303ea
sub ecx, 0xf
je 0x1400303ea
sub ecx, 0x35
je 0x1400303ea
cmp ecx, 0x2b
jne case.0x1400303a3.3
mov al, 2
ret
movzx eax, cl
add eax, 0xffffffc9
cmp eax, 0x82
ja case.0x1400303a3.3
cdqe
movzx eax, byte [rdx + rax + 0x305d8]
mov ecx, dword [rdx + rax*4 + 0x305d0]
add rcx, rdx
jmp rcx
cmp cl, 0x37
je 0x14003041a
cmp cl, 0xb9
jne case.0x1400303a3.3
mov al, 2
ret
cmp cl, 0xb9
je case.0x1400303a3.1
xor al, al
ret
Function at 0x140035a70
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x870
cmp qword [0x14013f6b0], 0
movzx esi, dl
mov rdi, rcx
je 0x140035aa7
mov rdx, qword [rcx + 0xbc0]
xor ebx, ebx
lea r8, str._restart
jmp 0x140035b4c
lea rdx, [rsp + 0x50]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ebx, ebx
mov dword [rsp + 0x890], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x890]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x890], 1
jne 0x140035b1d
mov r9, qword [rax]
lea rcx, [rsp + 0x50]
sub r9, rcx
nop
movzx r8d, word [rcx]
movzx edx, word [rcx + r9]
sub r8d, edx
jne 0x140035b06
add rcx, 2
test edx, edx
jne 0x140035af0
test r8d, r8d
jne 0x140035b1d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, str._restart
jmp 0x140035b45
mov r9, qword [rdi + 0xba8]
lea r8, str._restart___s_
lea rcx, [rsp + 0x260]
mov edx, 0x304
call fcn.1400e0640
lea r8, [rsp + 0x260]
mov rdx, qword [rdi + 0xbc0]
mov r9, qword [0x140140478]
mov qword [rsp + 0x48], rbx
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x38], bl
mov qword [rsp + 0x30], rbx
lea rcx, [0x140143150]
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], sil
call fcn.140060b90
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140035b90
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x160
cmp byte [0x140144003], 0
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov dword [rcx + 0xb6c], edx
jne 0x140035dba
cmp byte [rcx + 0xbd8], 0
je 0x140035dba
mov rcx, qword [0x140140268]
mov qword [rax + 8], rbx
mov dword [0x140144544], r8d
xor r8d, r8d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
lea edx, [r8 + 1]
call fcn.140001830
lea rcx, [rsp + 0x60]
mov r8d, 0x7f
mov rdx, rax
call qword [sym.imp.MSVCR100.dll_wcsncpy]
mov rbx, qword [0x14013b0f8]
inc dword [0x14013f898]
add rbx, 0x150
lea rdx, [0x14013e0b0]
xor r13d, r13d
mov rcx, rbx
mov r8d, 0x150
mov word [rsp + 0x15e], r13w
mov qword [0x14013b0f8], rbx
call sub.MSVCR100.dll_memcpy
lea rcx, [0x140143150]
xor edx, edx
mov dword [rbx + 0x3c], r13d
call fcn.140035140
cmp dword [0x14013f8dc], r13d
mov qword [0x140143d38], r13
je 0x140035c6a
lea rcx, [0x140140270]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, qword [0x140141fd8]
mov r12d, dword [0x14013b0c8]
mov byte [0x140144003], 1
cmp rcx, qword [0x140141fe0]
mov dword [0x14013b0c8], r13d
jne 0x140035c9b
call fcn.140007370
mov rcx, qword [0x140141fd8]
cmp rcx, qword [0x140141fd0]
jb 0x140035cb5
mov rax, qword [0x140143818]
mov qword [rcx], rax
mov rcx, qword [0x140141fd8]
add rcx, 0x18
lea rax, str.OnExit
mov bl, 1
mov qword [0x140141fd8], rcx
mov qword [rcx + 8], rax
mov qword [rcx], r13
mov dword [rcx + 0x10], r13d
mov rcx, qword [rdi + 0xb58]
mov byte [0x14013d373], r13b
test rcx, rcx
je 0x140035cfe
call fcn.140001940
test eax, eax
je 0x140035cfe
cmp byte [0x14013d373], r13b
movzx ebx, bl
cmove ebx, r13d
mov byte [0x14013d373], 1
test bl, bl
je 0x140035d5b
mov dword [rsp + 0x30], r13d
call fcn.140087cb0
mov r9d, r13d
cmp qword [rdi + 0xb58], r9
mov qword [rsp + 0x20], rax
movsxd rax, dword [0x140144544]
lea rcx, [rdi + 0xb08]
lea rdx, [rsp + 0x20]
sete r9b
mov r8d, 2
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 1
call fcn.1400d0830
movzx ebx, bl
cmp eax, 3
cmove ebx, r13d
sub qword [0x140141fd8], 0x18
mov byte [0x140144003], r13b
mov r13, qword [rsp + 0x190]
test bl, bl
mov rbx, qword [rsp + 0x180]
jne 0x140035dac
cmp esi, 3
je 0x140035dac
lea rcx, [rsp + 0x60]
call fcn.1400049a0
mov dword [0x14013b0c8], r12d
mov r12, qword [rsp + 0x188]
mov eax, 8
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
mov r8d, ebp
mov edx, esi
mov rcx, rdi
call fcn.140035e10
int3
cmp byte [0x14013d373], 0
jne 0x140035df8
cmp edx, 9
jne 0x140035df8
mov rax, qword [0x14013f5a0]
mov ecx, dword [0x140144544]
mov byte [0x14013d373], 1
cmp word [rax], 0
lea eax, [rdx - 1]
cmovne ecx, r8d
mov dword [0x140144544], ecx
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
mov byte [0x14013d373], 0
call fcn.140035e10
int3
Function at 0x14003ff60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp word [rdx], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14003ff83
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test r8b, r8b
jne 0x14003ffae
call fcn.14003fe40
test rax, rax
je 0x14003ffae
lea rdx, str.Duplicate_label.
mov r8, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f7b0
or rdx, 0xffffffffffffffff
mov rcx, rbx
mov qword [rsp + 0x30], rsi
call fcn.1400dd1d0
mov rsi, rax
test rax, rax
jne 0x14003ffd7
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp qword [0x140141f38], 0
jne 0x14003fff6
call fcn.1400dd320
mov qword [0x140141f38], rax
test rax, rax
je 0x1400400b6
mov rcx, qword [0x140141f40]
cmp qword [rcx + 0x10], 0x28
jae 0x14004001d
call fcn.1400dd320
mov rcx, qword [0x140141f40]
mov qword [rcx + 0x18], rax
test rax, rax
je 0x1400400b6
mov rbx, qword [rcx + 8]
add qword [rcx + 0x10], 0xffffffffffffffd8
lea rax, [rbx + 0x28]
mov qword [0x140141f48], rbx
mov qword [rcx + 8], rax
test rbx, rbx
je 0x1400400b6
mov qword [rbx + 8], rsi
lea rax, vtable.Label.0
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov rax, qword [rdi + 0x680]
mov qword [rbx + 0x18], rax
cmp qword [rdi + 0x678], 0
jne 0x140040074
mov qword [rdi + 0x678], rbx
jmp 0x14004007f
mov rax, qword [rdi + 0x680]
mov qword [rax + 0x20], rbx
lea rdx, [0x140103618]
mov rcx, rsi
mov qword [rdi + 0x680], rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x1400400a1
mov qword [rdi + 0xb50], rbx
mov eax, 1
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
mov rcx, rdi
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14005f7b0
Function at 0x140048ee0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r12
sub rsp, 0x70
mov rbp, rdx
mov r12, rcx
mov rbx, rdx
nop dword [rax]
movzx ecx, word [rbx]
test ecx, 0xffffff80
jne 0x140048f1a
mov edx, 0x107
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
jne 0x140048f29
movzx eax, word [rbx]
cmp ax, 0x5f
je 0x140048f29
cmp ax, 0x7f
jbe 0x140048f2f
add rbx, 2
jmp 0x140048f00
cmp word [rbx], 0x2e
jne 0x140048f59
lea rdx, str.Not_a_valid_method__class_or_property_definition.
mov r8, rbp
mov rcx, r12
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.14005f7b0
mov qword [rsp + 0x80], rsi
mov rsi, rbx
movzx eax, word [rsi]
cmp ax, 0x20
je 0x140048f73
cmp ax, 9
jne 0x140048f79
add rsi, 2
jmp 0x140048f64
cmp word [rsi], 0x5b
mov qword [rsp + 0x88], rdi
jne 0x140048fc1
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp word [rbp + rcx*2 - 4], 0x5d
je 0x140048fad
mov r8, rbp
lea rdx, str.Missing____
jmp 0x1400490b9
mov eax, 0x28
mov word [rsi], ax
mov eax, 0x29
mov word [rbp + rcx*2 - 4], ax
jmp 0x140048fc8
lea rsi, [0x14011f278]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea rcx, [rcx + rcx + 0xc]
call qword [sym.imp.MSVCR100.dll_malloc]
mov rcx, rax
mov qword [r12 + 0x278], rax
test rax, rax
je 0x1400490ab
mov r8, rbx
lea rdx, str._.s.Get_s
mov r9, rbp
sub r8, rbp
mov qword [rsp + 0x20], rsi
sar r8, 1
call qword [sym.imp.MSVCR100.dll__swprintf]
movsxd rdx, dword [r12 + 0x38]
xor esi, esi
mov rdi, qword [r12 + rdx*8 + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov word [rbx], si
mov dword [rsp + 0x40], 5
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
call fcn.14002ff80
test al, al
je 0x140049057
mov r8, rbp
lea rdx, str.Duplicate_declaration.
jmp 0x1400490b9
mov ecx, SafeArrayAllocDescriptor
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
test rax, rax
je 0x140049082
lea rcx, vtable.Property.0
mov dword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov qword [rax], rcx
mov qword [rax + 0x18], rsi
jmp 0x140049085
mov rax, rsi
mov qword [r12 + 0x270], rax
test rax, rax
je 0x1400490ab
mov r8, rax
mov rdx, rbp
mov rcx, rdi
call fcn.140030290
test al, al
je 0x1400490ab
mov eax, 1
jmp 0x1400490c1
lea rdx, str.Out_of_memory.
lea r8, [0x1401035ac]
mov rcx, r12
call fcn.14005f7b0
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x140049840
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [rcx + 0x268]
mov rbx, rcx
cmp qword [rax + 0x20], 0
je 0x1400498da
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov rdi, qword [rax + 0x10]
test rcx, rcx
je 0x1400498da
lea rax, str.__Class
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x30], 5
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.14002ff80
test al, al
je 0x1400498b3
mov rcx, qword [rsp + 0x40]
mov rax, rcx
mov dword [rbx + 0x284], ecx
sar rax, 0x20
mov dword [rbx + 0x280], eax
lea rdx, str.Unknown_class.
mov r8, rdi
mov rcx, rbx
mov qword [rbx + 0x6c8], 0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
jmp fcn.14005f7b0
mov eax, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14004e150
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rsi, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
mov r12, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r13, rcx
cmp rcx, 0xfd
jbe 0x14004e1a2
mov r8, rdx
lea rdx, str.Group_name_too_long.
mov rcx, rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
jmp fcn.14005f7b0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
cmp word [rdx], ax
je 0x14004e2cc
mov rdi, rdx
nop dword [rax + rax]
movzx ebp, word [rdi]
mov ebx, ebp
mov ecx, ebp
and ebx, 0xffffff80
jne 0x14004e1db
mov edx, 0x107
call qword [sym.imp.MSVCR100.dll__isctype]
test eax, eax
jne 0x14004e1f8
test ebx, ebx
jne 0x14004e1f8
lea rcx, [0x140127670]
movzx edx, bp
call qword [sym.imp.MSVCR100.dll_wcschr]
test rax, rax
je 0x14004e2cc
add rdi, 2
cmp word [rdi], 0
jne 0x14004e1c0
mov rdx, r13
mov rcx, r12
call fcn.1400dd1d0
mov rdi, rax
test rax, rax
je 0x14004e2de
cmp qword [0x140141f38], 0
jne 0x14004e238
call fcn.1400dd320
mov qword [0x140141f38], rax
test rax, rax
je 0x14004e2bc
mov rdx, qword [0x140141f40]
cmp qword [rdx + 0x10], 0x38
jae 0x14004e25b
call fcn.1400dd320
mov rdx, qword [0x140141f40]
mov qword [rdx + 0x18], rax
test rax, rax
je 0x14004e2bc
mov rcx, qword [rdx + 8]
add qword [rdx + 0x10], 0xffffffffffffffc8
lea rax, [rcx + 0x38]
mov qword [0x140141f48], rcx
mov qword [rdx + 8], rax
test rcx, rcx
je 0x14004e2bc
xor eax, eax
mov byte [rcx], 1
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov dword [rcx + 0x30], eax
cmp qword [rsi + 0x20], rax
jne 0x14004e2a9
mov qword [rsi + 0x20], rcx
mov qword [rsi + 0x28], rcx
mov eax, 1
jmp 0x14004e2de
mov rax, qword [rsi + 0x28]
mov qword [rax + 0x28], rcx
mov qword [rsi + 0x28], rcx
mov eax, 1
jmp 0x14004e2de
lea r8, [0x1401035ac]
lea rdx, str.Out_of_memory.
jmp 0x14004e2d6
mov r8, r12
lea rdx, str.Illegal_group_name.
mov rcx, rsi
call fcn.14005f7b0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14005f7b0
Capabilities:
Print debug messages

Disassembly:
push rbx
mov eax, 0x4040
call fcn.140100df0
sub rsp, rax
mov rbx, rcx
mov rcx, qword [rcx + 0x6c8]
test rcx, rcx
je 0x14005f7e1
mov r9, r8
xor r8d, r8d
add rsp, 0x4040
pop rbx
jmp fcn.14005f3f0
mov qword [rsp + 0x4050], rbp
mov qword [rsp + 0x4058], rsi
test rdx, rdx
mov qword [rsp + 0x4060], rdi
lea rbp, [0x140121060]
mov qword [rsp + 0x4030], r13
cmovne rbp, rdx
test r8, r8
lea r13, [0x1401035ac]
mov rsi, r13
cmovne rsi, r8
cmp byte [0x140143d2b], 0
je 0x14005f890
cmp byte [0x140143d28], 0
jne 0x14005f890
movsxd rdi, dword [rbx + 0x280]
call qword [sym.imp.MSVCR100.dll___iob_func]
mov r8, qword [0x140141280]
mov r8, qword [r8 + rdi*8]
mov r9d, dword [rbx + 0x284]
lea rdx, str._s___d__:____s_n
lea rcx, [rax + 0x60]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.MSVCR100.dll_fwprintf]
cmp word [rsi], 0
je 0x14005fa26
call qword [sym.imp.MSVCR100.dll___iob_func]
lea rdx, str._____Specifically:__s_n
mov r8, rsi
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR100.dll_fwprintf]
jmp 0x14005fa26
mov r9d, dword [rbx + 0x284]
lea r8, str.Error_at_line__u
lea rcx, [rsp + 0x30]
mov edx, 0x2000
mov qword [rsp + 0x4038], r12
call fcn.1400e0640
mov edx, 0x2000
movsxd rcx, eax
lea rdi, [rsp + rcx*2 + 0x30]
lea rcx, [rsp + 0x30]
mov rax, rdi
sub rax, rcx
sar rax, 1
sub edx, eax
movsxd rax, dword [rbx + 0x280]
test eax, eax
je 0x14005f913
mov r9, qword [0x140141280]
lea r8, str._in_include_file___s_
mov rcx, rdi
mov r9, qword [r9 + rax*8]
call fcn.1400e0640
mov edx, 0x2000
movsxd rcx, eax
lea rdi, [rdi + rcx*2]
lea rcx, [rsp + 0x30]
mov rax, rdi
sub rax, rcx
sar rax, 1
sub edx, eax
lea r8, [0x140121090]
mov rcx, rdi
call fcn.1400e0640
mov edx, 0x2000
movsxd rcx, eax
lea r12, [rdi + rcx*2]
lea rcx, [rsp + 0x30]
mov rax, r12
sub rax, rcx
sar rax, 1
sub edx, eax
cmp word [rsi], 0
je 0x14005f998
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
lea rax, [0x14011ba10]
lea r8, str.Line_Text:___1.100s_s_nError:
not rcx
mov r9, rsi
dec rcx
cmp rcx, 0x64
mov rcx, r12
cmova r13, rax
mov qword [rsp + 0x20], r13
call fcn.1400e0640
mov edx, 0x2000
movsxd rcx, eax
lea r12, [r12 + rcx*2]
lea rcx, [rsp + 0x30]
mov rax, r12
sub rax, rcx
sar rax, 1
sub edx, eax
cmp byte [rbx + 0xbda], 0
lea rcx, str.The_script_was_not_reloaded__the_old_version_will_remain_in_effect.
lea rax, str.The_program_will_exit.
cmovne rax, rcx
lea r8, str._s_n_n_s
mov r9, rbp
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.1400e0640
cmp dword [0x140142044], 0
mov r12, qword [rsp + 0x4038]
je 0x14005fa07
lea r8, str.stderr
lea rdx, [rsp + 0x30]
lea rcx, [0x140141fd0]
call fcn.14000cd80
cmp dword [0x140142044], 2
je 0x14005fa26
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14005fa26
xorpd xmm3, xmm3
lea rcx, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x10000
mov qword [rsp + 0x20], 0
call fcn.1400e9900
mov r13, qword [rsp + 0x4030]
mov rdi, qword [rsp + 0x4060]
mov rsi, qword [rsp + 0x4058]
mov rbp, qword [rsp + 0x4050]
xor eax, eax
add rsp, 0x4040
pop rbx
ret