joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18013ed30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
jmp 0x18013ed30
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
xor r15d, r15d
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x30], r15
mov rcx, qword [rcx]
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov edx, 0x80000000
lea r8d, [r15 + 1]
mov dword [rsp + 0x20], 3
call qword [0x1802591c8]
mov rdx, rax
lea r8d, [r15 + 1]
lea rcx, [rsp + 0xa0]
call fcn.18000236a
cmp qword [rsp + 0xa0], 0xffffffffffffffff
jne 0x18013ee48
call qword [0x1802590e0]
cmp dword [0x1802492d4], r15d
mov ebx, eax
je 0x18013ee32
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1800046ab
xor edx, edx
lea rcx, [rsp + 0x40]
mov rdi, rax
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SymbolsProvider::DwarfProvider::CDwarfProvider::GetGnuDebugLinkCrc32
call fcn.180002621
mov rcx, rax
lea rdx, str.:_CreateFileW_
call fcn.180001faa
mov rdx, qword [rdi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rdi]
mov rsi, rax
test rcx, rcx
je 0x18013ee00
call fcn.180003427
mov qword [rdi], r15
mov qword [rdi + 8], r15
lea rdx, str.__failed__GetLastError___
mov rcx, rsi
call fcn.180001faa
mov rcx, rax
mov edx, ebx
call fcn.1800010a0
mov rcx, rax
lea rdx, [0x180158e94]
call fcn.180001faa
lea rcx, [rsp + 0x40]
call fcn.18000561e
test ebx, ebx
jle 0x18013efb9
movzx ebx, bx
or ebx, 0x80070000
jmp 0x18013efb9
mov ecx, 0x10000
mov qword [rsp + 0x98], rbp
mov ebx, 0xffffffff
call fcn.1800030d5
mov rcx, qword [rsp + 0xa0]
lea r9, [rsp + 0x90]
mov r8d, 0x10000
mov qword [rsp + 0x20], r15
mov rdx, rax
mov rdi, rax
call qword [0x1802590c8]
test eax, eax
je 0x18013eef4
lea rbp, [0x180190010]
mov eax, dword [rsp + 0x90]
test eax, eax
je 0x18013efd4
mov rdx, rdi
mov r8d, eax
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [rbp + rax*4]
sub r8, 1
jne 0x18013eeb0
mov rcx, qword [rsp + 0xa0]
lea r9, [rsp + 0x90]
mov r8d, 0x10000
mov qword [rsp + 0x20], r15
mov rdx, rdi
call qword [0x1802590c8]
test eax, eax
jne 0x18013ee91
call qword [0x1802590e0]
cmp dword [0x1802492d4], r15d
mov ebx, eax
je 0x18013ef97
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1800046ab
xor edx, edx
lea rcx, [rsp + 0x40]
mov rsi, rax
call fcn.1800047e1
mov rcx, rax
lea rdx, str.DeleakerSDK::SymbolsProvider::DwarfProvider::CDwarfProvider::GetGnuDebugLinkCrc32
call fcn.180002621
mov rcx, rax
lea rdx, str.:_ReadFile_
call fcn.180001faa
mov rdx, qword [rsi]
mov rcx, rax
call fcn.180001faa
mov rcx, qword [rsi]
mov rbp, rax
test rcx, rcx
je 0x18013ef65
call fcn.180003427
mov qword [rsi], r15
mov qword [rsi + 8], r15
lea rdx, str.__failed__GetLastError___
mov rcx, rbp
call fcn.180001faa
mov rcx, rax
mov edx, ebx
call fcn.1800010a0
mov rcx, rax
lea rdx, [0x180158e94]
call fcn.180001faa
lea rcx, [rsp + 0x40]
call fcn.18000561e
test ebx, ebx
jle 0x18013efa4
movzx ebx, bx
or ebx, 0x80070000
mov rbp, qword [rsp + 0x98]
test rdi, rdi
je 0x18013efb9
mov rcx, rdi
call fcn.180003427
lea rcx, [rsp + 0xa0]
call fcn.180003bfc
mov eax, ebx
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
not ebx
mov dword [rsi], ebx
mov ebx, r15d
jmp 0x18013efa4
Function at 0x180608058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1806081df
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 0x180608089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18060806f
add dl, dl
jne 0x180608096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806080f6
xor eax, eax
add dl, dl
jne 0x1806080a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806081ad
add dl, dl
jne 0x1806080b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806080c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806080d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1806080dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1806080ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18060807e
mov eax, 1
add dl, dl
jne 0x180608106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180608113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806080fb
sub eax, ebx
mov ebx, 1
jne 0x18060814c
mov ecx, 1
add dl, dl
jne 0x18060812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18060813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180608123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180608168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180608175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18060815d
cmp eax, 0x7d00
jae 0x18060819b
cmp eax, 0x500
jb 0x180608196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060807e
cmp eax, 0x7f
ja 0x18060819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18060807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1806081d2
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 0x18060807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10006060
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 0x100060f0
cmp r11, r10
ja 0x10006166
cmp r10, rdx
ja 0x10006178
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x100060f2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x100060d0
jmp 0x10006154
ja 0x100060fa
mov r11, r10
cmp rax, r8
jne 0x10006094
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 0x10006130
mov rdi, r8
sub ecx, edx
jns 0x1000614b
jmp 0x10006156
cmp r8, rsi
je 0x10006187
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x10006156
xor al, 1
cmp rdi, rsi
jne 0x10006110
jmp 0x10006156
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.rrrEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEmmm
mov rcx, r11
mov rdx, r10
call fcn.10003d70
lea r8, str.rrrEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEmmm
mov rcx, r10
call fcn.10003340
lea rcx, str.rrrEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEmmm
call fcn.10004910
int3
Function at 0x100070ec
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, [0x10053960]
mov ebx, 0xff
lea rsi, str.crc32fast_1.4.2dddddddddddddddd
cmp r9, 0x40
jb 0x1000721c
mov r14d, 4
sub r14, 1
jb 0x10007111
cmp r9, 0xf
jbe 0x10007249
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.1000772f
mov r9, rdx
mov ecx, ebp
jmp 0x10007121
xor edx, edx
cmp r9, rdx
je 0x1000723a
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x1000721e
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.2dddddddddddddddd
mov ecx, 0xf
mov rdx, r9
call fcn.10002950
int3
Function at 0x10017260
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.10002dc0
cmp rax, rcx
je 0x10017285
cmp rdx, 4
jae 0x10017288
xor eax, eax
xor r8d, r8d
jmp 0x10017320
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x100506e0]
movdqa xmm3, xmmword [0x100506f0]
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 0x100172b0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x10017337
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x10017320
ret
Function at 0x10018230
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 0x1001828b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1001828b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x100182a6
cmp eax, 0x42
jne 0x1001828b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x10018356
cmp byte [r8 + r11], 0x5f
jne 0x10018356
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x100183be
mov rcx, rsi
xor edx, edx
call fcn.10013cc0
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.10013cc0
test al, al
jne 0x10018451
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x100182e2
lea rdx, [0x100595fb]
mov r8d, 1
call fcn.100033c0
test al, al
jne 0x10018451
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1001829a
xor r14d, r14d
lea rbx, [0x10059969]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x10018314
cmp byte [rax + rcx], 0x45
je 0x10018473
sub r14, 1
jb 0x10018339
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x10018339
mov r8d, 2
mov rdx, rbx
call fcn.100033c0
test al, al
jne 0x10018451
mov rcx, rsi
call fcn.100154e0
test al, al
jne 0x10018451
mov rax, qword [rsi]
test rax, rax
jne 0x10018300
jmp 0x1001829a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x10018418
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x100183b2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1001839c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1001838b
add dl, 0xa9
jmp 0x1001839a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x10018418
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x10018418
movzx edx, bl
add rax, rdx
jae 0x10018360
jmp 0x10018418
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x10018418
cmp rax, rcx
jae 0x10018415
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1001846b
cmp qword [rsi + 0x20], 0
je 0x10018464
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.10018230
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1001829c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x10018459
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, [0x10059948]
test r9b, r9b
cmovne rdx, rax
call fcn.100033c0
test al, al
je 0x10018459
mov dil, 2
jmp 0x1001829a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1001829a
mov dil, 1
xor r9d, r9d
jmp 0x1001841a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1001829a
Function at 0x1001b6a0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
cmp qword [rcx], 0
je 0x1001b725
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 0x1001b766
cmp dword [rsp + 0x2c], 0
je 0x1001b74a
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x1001b77e
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x100640f8]
nop
mov qword [rsi + 8], rax
lock cmpxchg qword [0x100640f8], rsi
jne 0x1001b700
mov byte [0x100640f0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x1001b75c
call sub.KERNEL32.dll_TlsAlloc
mov dword [rsp + 0x28], eax
cmp eax, 0xffffffff
je 0x1001b7c8
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
jne 0x1001b74f
mov edi, dword [rsp + 0x28]
jmp 0x1001b75c
mov edi, dword [rsi + 0x18]
jmp 0x1001b75a
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.1001bc10
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._kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkHHHHHMMfffYUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rdx, str.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
lea rcx, [rsp + 0x30]
call fcn.10002890
lea rax, str.out_of_TLS_indexes
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rax, str._kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkHHHHHMMfffYUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x30]
call fcn.1001bc60
int3
Function at 0x1001baf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov ecx, dword [0x1004f098]
test ecx, ecx
je 0x1001bbc9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1001bb24
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1001bb24
add rdi, 0x10
jmp 0x1001bbbf
mov ecx, dword [0x1004f098]
test ecx, ecx
je 0x1001bbdc
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1001bbbd
mov rsi, rax
test rax, rax
jne 0x1001bb8c
movzx eax, byte [0x10064020]
mov edx, 0x18
xor ecx, ecx
call fcn.100481f0
test rax, rax
je 0x1001bbff
mov rsi, rax
lea rax, [0x1004f080]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1004f098]
test ecx, ecx
je 0x1001bbef
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 0x1001bbbf
test rcx, rcx
je 0x1001bbbf
lock dec qword [rcx]
jne 0x1001bbbf
call fcn.1001b650
jmp 0x1001bbbf
xor edi, edi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1004f080]
call fcn.1001b6a0
mov ecx, eax
jmp 0x1001bb06
lea rcx, [0x1004f080]
call fcn.1001b6a0
mov ecx, eax
jmp 0x1001bb34
lea rcx, [0x1004f080]
call fcn.1001b6a0
mov ecx, eax
jmp 0x1001bb84
mov ecx, 8
mov edx, 0x18
call fcn.10001bd0
int3
Function at 0x1001cdc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x1004f078]
test ecx, ecx
je 0x1001ce7a
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1001cdf0
cmp qword [rax + 8], 0
je 0x1001cdf0
add rax, 0x10
jmp 0x1001ce74
mov ecx, dword [0x1004f078]
test ecx, ecx
je 0x1001ce8d
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1001ce72
mov rsi, rax
test rax, rax
jne 0x1001ce58
movzx eax, byte [0x10064020]
mov edx, 0x20
xor ecx, ecx
call fcn.100481f0
test rax, rax
je 0x1001ceb0
mov rsi, rax
lea rax, [0x1004f060]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1004f078]
test ecx, ecx
je 0x1001cea0
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 0x1001ce74
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x1004f060]
call fcn.1001b6a0
mov ecx, eax
jmp 0x1001cdd5
lea rcx, [0x1004f060]
call fcn.1001b6a0
mov ecx, eax
jmp 0x1001ce00
lea rcx, [0x1004f060]
call fcn.1001b6a0
mov ecx, eax
jmp 0x1001ce50
mov ecx, 8
mov edx, 0x20
call fcn.10001bd0
int3
Function at 0x1001e800
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 0x1001e880
jmp 0x1001e86f
jae 0x1001e925
cmp r8, 0x201
jae 0x1001e880
mov r15d, 0x200
lea r12, [rsp + 0x68]
mov r13, r8
jmp 0x1001e8c7
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x1001e8a7
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1001d780
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 0x1001e8ec
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1001e97a
mov r8d, ebp
cmp r13, r8
jne 0x1001e860
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1001e9a4
add r13, r13
cmp r13, rbx
cmovae r13, rbx
mov r8, r13
cmp r8, 0x201
jb 0x1001e86f
jmp 0x1001e880
cmp r15, r8
jb 0x1001e9be
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.1001f1e0
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 0x1001e965
mov edx, 2
mov rcx, qword [rsp + 0x20]
call fcn.10001660
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 0x1001e956
jmp 0x1001e965
lea rcx, str.internal_error:_entered_unreachable_codeP
lea r8, str.ppmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
mov edx, 0x28
call fcn.100036e0
jmp 0x1001e9d3
lea rax, str.ppmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.10003340
ud2
Function at 0x10020900
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
mov rax, r8
mov rsi, rcx
mov dword [rsp + 0x38], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 7
mov qword [rsp + 0x54], 0
mov word [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
lea r8, [rsp + 0x38]
mov rcx, rdx
mov rdx, rax
call fcn.10038eb0
mov rdi, rdx
test rax, rax
je 0x10020994
mov qword [rsp + 0x80], 1
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x88], rdi
call fcn.1001ad40
mov qword [rsi], 0
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x38]
mov rdx, rdi
call fcn.10039100
cmp dword [rsp + 0x38], 2
jne 0x100209c3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 2
jmp 0x10020a0f
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movups xmm2, xmmword [rsp + 0x58]
movups xmm3, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm3
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
cmp qword [rsp + 0x80], 2
jne 0x10020a3b
lea rcx, [rsp + 0x88]
call fcn.1001ad40
mov qword [rsi], 0
mov rcx, rdi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp sub.KERNEL32.dll_CloseHandle
mov r12, qword [rsp + 0xb8]
test rdi, rdi
je 0x10020a99
mov qword [rsp + 0x80], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, rax
mov rdx, rdi
mov r8, rax
call sub.KERNEL32.dll_DuplicateHandle
test eax, eax
je 0x10020b15
mov rbx, qword [rsp + 0x80]
jmp 0x10020a9b
xor ebx, ebx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8d, 2
xor r9d, r9d
call sub.KERNEL32.dll_CreateFileMappingA
test rax, rax
je 0x10020b04
mov r14, rax
mov qword [rsp + 0x20], r12
mov rcx, rax
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call sub.KERNEL32.dll_MapViewOfFile
mov r15, rax
mov rcx, r14
call sub.KERNEL32.dll_CloseHandle
test r15, r15
je 0x10020b04
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov qword [rsi], 1
jmp 0x10020b41
mov qword [rsi], 0
mov rcx, rbx
call sub.KERNEL32.dll_CloseHandle
jmp 0x10020b41
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.1001ad40
mov qword [rsi], 0
mov rcx, rdi
call sub.KERNEL32.dll_CloseHandle
jmp 0x10020983