joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a340
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor r14d, r14d
mov rbp, rdx
mov word [rsp + 0x30], r14w
mov rsi, rcx
lea edi, [r14 + 0x28]
test al, al
je 0x14000a3f1
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], r14b
lea rcx, [rsp + 0x24]
call fcn.14000e0bc
cmp rax, 1
jne 0x14000a427
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14000a3cd
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x14000a3c0
cmp rcx, 1
jb 0x14000a427
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], r14w
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x14000a390
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000bae0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14000ddc0
int3
Function at 0x14000a4b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a4f5
xor al, al
jmp 0x14000a542
cmp word [rbx], 0
je 0x14000a50d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a500
cmp word [rsp + 0x30], 0
je 0x14000a53b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a563
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a520
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000bae0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000ddc0
int3
Function at 0x14000ad00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001cdf0
sub rsp, rax
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002cd10]
lea rsi, [0x140041d50]
mov rdi, rcx
test r11d, r11d
jne 0x14000ad79
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a570
test al, al
je 0x14000ae5f
lea rcx, [rsp + 0x20]
call fcn.1400117d8
movsxd r11, dword [0x14002cd10]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002cd10], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000adb4
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ada4
add rax, 2
test ecx, ecx
jne 0x14000ad90
test edx, edx
je 0x14000add7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ad84
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000adc0
cmp rax, 2
jne 0x14000addb
cmp word [rdi + 2], 0x3a
jne 0x14000addb
mov al, 1
jmp 0x14000ae3e
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ae08
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ae08
mov bl, 1
jmp 0x14000ae0c
test bl, bl
je 0x14000ae33
cmp dword [0x14002cd10], 0x400
jge 0x14000ae33
mov rcx, rdi
call fcn.1400117d8
movsxd rdx, dword [0x14002cd10]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002cd10], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000bae0
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000aba0
int3
Function at 0x14000af80
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002cd18]
test rcx, rcx
je 0x14000afbb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000afae
mov rcx, qword [0x14002cd18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002cd18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140045d68], 0
je 0x14000b0ae
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140026978]
mov qword [rsp + 0x80], rsi
lea rsi, [0x14003f550]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b08f
test al, 0x10
je 0x14000b08f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b035
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c3b4
Capabilities:
Parse pe header

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

Function at 0x14000ddb4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000dc47
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000dc47
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000dc47
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000dc47
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000dc47
cmp dword [rcx + 0x84], 0xe
jbe 0x14000dc47
cmp dword [rcx + 0xf8], 0
je 0x14000dc47
mov ecx, ebx
call fcn.14000dce8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000dad8
cmp dword [rbp + 0x20], 0
je 0x14000dc94
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000dc9c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000dbe0
Function at 0x14001cd30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001cd58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001cd58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x4062e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x406370
cmp r11, r10
ja 0x4063e6
cmp r10, rdx
ja 0x4063f8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x406372
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x406350
jmp 0x4063d4
ja 0x40637a
mov r11, r10
cmp rax, r8
jne 0x406314
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x4063b0
mov rdi, r8
sub ecx, edx
jns 0x4063cb
jmp 0x4063d6
cmp r8, rsi
je 0x406407
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x4063d6
xor al, 1
cmp rdi, rsi
jne 0x406390
jmp 0x4063d6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
mov rcx, r11
mov rdx, r10
call fcn.00403ff0
lea r8, str.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
mov rcx, r10
call fcn.004035c0
lea rcx, str.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
call fcn.00404b90
int3
Function at 0x40736c
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x004527b0]
mov ebx, 0xff
lea rsi, str.crc32fast_1.4.2Fxxxxxxxxxxxxxxx
cmp r9, 0x40
jb 0x40749c
mov r14d, 4
sub r14, 1
jb 0x407391
cmp r9, 0xf
jbe 0x4074c9
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.004079af
mov r9, rdx
mov ecx, ebp
jmp 0x4073a1
xor edx, edx
cmp r9, rdx
je 0x4074ba
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x40749e
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.crc32fast_1.4.2Fxxxxxxxxxxxxxxx
mov ecx, 0xf
mov rdx, r9
call fcn.00402bd0
int3
Function at 0x4172b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.00403040
cmp rax, rcx
je 0x4172d5
cmp rdx, 4
jae 0x4172d8
xor eax, eax
xor r8d, r8d
jmp 0x417370
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x0044f6a0]
movdqa xmm3, xmmword [0x0044f6b0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x417300
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x417387
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x417370
ret
Function at 0x418280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x4182db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x4182db
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x4182f6
cmp eax, 0x42
jne 0x4182db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x4183a6
cmp byte [r8 + r11], 0x5f
jne 0x4183a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x41840e
mov rcx, rsi
xor edx, edx
call fcn.00413d10
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.00413d10
test al, al
jne 0x4184a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x418332
lea rdx, [0x0059fe6b]
mov r8d, 1
call fcn.00403640
test al, al
jne 0x4184a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x4182ea
xor r14d, r14d
lea rbx, [0x005a01d9]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x418364
cmp byte [rax + rcx], 0x45
je 0x4184c3
sub r14, 1
jb 0x418389
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x418389
mov r8d, 2
mov rdx, rbx
call fcn.00403640
test al, al
jne 0x4184a1
mov rcx, rsi
call fcn.00415530
test al, al
jne 0x4184a1
mov rax, qword [rsi]
test rax, rax
jne 0x418350
jmp 0x4182ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x418468
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x418402
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x4183ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x4183db
add dl, 0xa9
jmp 0x4183ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x418468
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x418468
movzx edx, bl
add rax, rdx
jae 0x4183b0
jmp 0x418468
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x418468
cmp rax, rcx
jae 0x418465
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x4184bb
cmp qword [rsi + 0x20], 0
je 0x4184b4
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.00418280
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x4182ec
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x4184a9
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x005a01b8]
test r9b, r9b
cmovne rdx, rax
call fcn.00403640
test al, al
je 0x4184a9
mov dil, 2
jmp 0x4182ea
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x4182ea
mov dil, 1
xor r9d, r9d
jmp 0x41846a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x4182ea
Function at 0x41b8d0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x41b955
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
mov dword [rsp + 0x28], eax
cmp eax, 1
jne 0x41b996
cmp dword [rsp + 0x2c], 0
je 0x41b97a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x41b9ae
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x005ab108]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x005ab108], rsi
jne 0x41b930
mov byte [0x005ab100], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x41b98c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x41b9f8
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x41b97f
mov edi, dword [rsp + 0x28]
jmp 0x41b98c
mov edi, dword [rsi + 0x18]
jmp 0x41b98a
mov edi, eax
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_TlsFree
dec edi
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.0041be40
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIoooLLRRRRRhhhhhhhhhhhhhhhhhhhhhhhhhhhh
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaavvv
lea rcx, [rsp + 0x30]
call fcn.00402b10
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIoooLLRRRRRhhhhhhhhhhhhhhhhhhhhhhhhhhhh
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.0041be90
int3
Function at 0x41bd20
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x0044e0a8]
test ecx, ecx
je 0x41bdf9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x41bd54
mov rdi, rax
cmp qword [rax + 8], 0
je 0x41bd54
add rdi, 0x10
jmp 0x41bdef
mov ecx, dword [0x0044e0a8]
test ecx, ecx
je 0x41be0c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x41bded
mov rsi, rax
test rax, rax
jne 0x41bdbc
movzx eax, byte [0x005ab030]
mov edx, 0x18
xor ecx, ecx
call fcn.00447a90
test rax, rax
je 0x41be2f
mov rsi, rax
lea rax, [0x0044e090]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x0044e0a8]
test ecx, ecx
je 0x41be1f
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
mov rcx, qword [rsi + 0x10]
cmp qword [rsi + 8], 0
mov qword [rsi + 8], 1
mov qword [rsi + 0x10], 0
je 0x41bdef
test rcx, rcx
je 0x41bdef
lock dec qword [rcx]
jne 0x41bdef
call fcn.0041b880
jmp 0x41bdef
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x0044e090]
call fcn.0041b8d0
mov ecx, eax
jmp 0x41bd36
lea rcx, [0x0044e090]
call fcn.0041b8d0
mov ecx, eax
jmp 0x41bd64
lea rcx, [0x0044e090]
call fcn.0041b8d0
mov ecx, eax
jmp 0x41bdb4
mov ecx, 8
mov edx, 0x18
call fcn.00401d70
int3
Function at 0x41cff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x0044e088]
test ecx, ecx
je 0x41d0aa
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x41d020
cmp qword [rax + 8], 0
je 0x41d020
add rax, 0x10
jmp 0x41d0a4
mov ecx, dword [0x0044e088]
test ecx, ecx
je 0x41d0bd
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x41d0a2
mov rsi, rax
test rax, rax
jne 0x41d088
movzx eax, byte [0x005ab030]
mov edx, 0x20
xor ecx, ecx
call fcn.00447a90
test rax, rax
je 0x41d0e0
mov rsi, rax
lea rax, [0x0044e070]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x0044e088]
test ecx, ecx
je 0x41d0d0
dec ecx
mov rdx, rsi
call sub.KERNEL32.dll_TlsSetValue
mov qword [rsi + 8], 1
lea rax, [rsi + 0x10]
mov qword [rsi + 0x10], 0
mov byte [rsi + 0x18], 0
jmp 0x41d0a4
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x0044e070]
call fcn.0041b8d0
mov ecx, eax
jmp 0x41d005
lea rcx, [0x0044e070]
call fcn.0041b8d0
mov ecx, eax
jmp 0x41d030
lea rcx, [0x0044e070]
call fcn.0041b8d0
mov ecx, eax
jmp 0x41d080
mov ecx, 8
mov edx, 0x20
call fcn.00401d70
int3
Function at 0x41eb40
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x40], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor edi, edi
mov ebx, 0xffffffff
xor esi, esi
xor r14d, r14d
cmp r8, 0x201
jae 0x41ebc0
jmp 0x41ebaf
jae 0x41ec65
cmp r8, 0x201
jae 0x41ebc0
mov r15d, 0x200
lea r12, [rsp + 0x68]
mov r13, r8
jmp 0x41ec07
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x41ebe7
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.0041dac0
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
cmp rdi, rbx
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rsp + 0x40], r14
mov rsi, rdi
mov r15, r14
mov r12, qword [rsp + 0x20]
mov r13, r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ecx, r13d
mov rdx, r12
call sub.KERNEL32.dll_GetCurrentDirectoryW
mov ebp, eax
test eax, eax
jne 0x41ec2c
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x41ecba
mov r8d, ebp
cmp r13, r8
jne 0x41eba0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x41ece4
add r13, r13
cmp r13, rbx
cmovae r13, rbx
mov r8, r13
cmp r8, 0x201
jb 0x41ebaf
jmp 0x41ebc0
cmp r15, r8
jb 0x41ecfe
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.0041f520
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rax, qword [rsp + 0x28]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
test rdi, rdi
je 0x41eca5
mov edx, 2
mov rcx, qword [rsp + 0x20]
call fcn.00401800
nop
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
test rdi, rdi
jne 0x41ec96
jmp 0x41eca5
lea rcx, str.internal_error:_entered_unreachable_codeP_rZ
lea r8, str.xxxxxxxxxxxxxxxxxxxxxxxxxssssccLLLLLLL
mov edx, 0x28
call fcn.00403960
jmp 0x41ed13
lea rax, str.xxxxxxxxxxxxxxxxxxxxxxxxxssssccLLLLLLL
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.004035c0
ud2