joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x1400542d7
movzx edx, byte [rax]
test edx, edx
jne 0x140054194
nop dword [rax]
test r8b, r8b
jne 0x140054194
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x1400541a7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140054297
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x140054285
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x140054277
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x1400541fd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x140054240
mov eax, 1
cmp rax, rbx
ja 0x14005422b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.140068380
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14005426f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x140054233
mov rcx, r11
mov eax, r12d
jmp 0x140054202
mov rcx, rbx
call fcn.1400682c0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.1400682c0
mov eax, r8d
mov rcx, rbx
call fcn.140068380
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x1400542cd
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x140054290
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x1400541ad
mov eax, edx
mov rcx, rbx
call fcn.1400682c0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.1400682c0
nop
int3
Function at 0x14005bae0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005bb8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x14005bbe0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140065ea0
xorps xmm15, xmm15
mov r14, qword [0x140ca6c00]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140065fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.14005bae0
Function at 0x140067e20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x140ca6f20]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x140ca686f], 0
je 0x140067e56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140ca7380]
aesenc xmm0, xmmword [0x140ca7390]
aesenc xmm0, xmmword [0x140ca73a0]
movq rax, xmm0
ret
jmp 0x14000a6a0
Function at 0x140457a20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140c36920]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140457a40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140457a48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140457a40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140457a95
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140457a8c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140457a40
add rax, 0x28
cmp rax, r9
jne 0x140457a78
xor eax, eax
ret

Function at 0x140457aa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140c36920]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140457ac0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140457ac8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140457ac0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140457b50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140c36920]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140457b70
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140457b78
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x141313058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1413131df
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 0x141313089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14131306f
add dl, dl
jne 0x141313096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413130f6
xor eax, eax
add dl, dl
jne 0x1413130a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413131ad
add dl, dl
jne 0x1413130b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413130c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413130d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413130dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413130ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14131307e
mov eax, 1
add dl, dl
jne 0x141313106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141313113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413130fb
sub eax, ebx
mov ebx, 1
jne 0x14131314c
mov ecx, 1
add dl, dl
jne 0x14131312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14131313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141313123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14131307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141313168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141313175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14131315d
cmp eax, 0x7d00
jae 0x14131319b
cmp eax, 0x500
jb 0x141313196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14131307e
cmp eax, 0x7f
ja 0x14131319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14131307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413131d2
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 0x14131307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400143e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015730
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015750
xor al, al
jmp 0x1400157d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015763
xor al, al
jmp 0x1400157d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001578d
xor al, al
jmp 0x1400157d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400157a1
xor al, al
jmp 0x1400157d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400157b3
xor al, al
jmp 0x1400157d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400157cf
xor al, al
jmp 0x1400157d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1800012b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rsi, rdx
cmp dword [rcx + 0x48], 1
mov rdi, rcx
jne 0x1800013ae
mov dword [rdx], 1
lea r8, [0x1800042a8]
mov rcx, qword [rcx + 8]
mov edx, 0x68
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14d, 0x67
mov rbp, rax
mov ecx, r14d
test rax, rax
je 0x180001336
mov rcx, qword [rdi + 8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
mov ecx, r14d
test rax, rax
je 0x180001336
mov rcx, qword [rdi + 8]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x18000133c
mov r14, rcx
mov rax, rbx
mov qword [rsi + 8], rax
lea r8, [0x1800042a8]
mov rcx, qword [rdi + 8]
mov rdx, r14
mov ebp, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r14, rax
test rax, rax
je 0x18000138e
mov rcx, qword [rdi + 8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r15, rax
test rax, rax
je 0x18000138e
mov rcx, qword [rdi + 8]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, r15
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov r15, qword [rsp + 0x50]
xor eax, eax
mov r14, qword [rsp + 0x48]
mov dword [rsi + 0x18], ebp
mov rbp, qword [rsp + 0x40]
mov qword [rsi + 0x10], rbx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
mov dword [rdx], ebx
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x49ff30
Capabilities:
Access peb ldr_data
Get process heap flags
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x70
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov r8, qword [rax + 0x20]
movzx eax, word [r8]
cmp eax, 0x5a4d
jne 0x4a0054
movsxd rax, dword [r8 + 0x3c]
cmp dword [r8 + rax], 0x4550
jne 0x4a0074
mov edx, ecx
mov eax, dword [r8 + rax + 0x88]
mov ecx, dword [r8 + rax]
movups xmm0, xmmword [r8 + rax + 4]
mov r9, qword [r8 + rax + 0x14]
mov dword [rsp + 0x30], ecx
movups xmmword [rsp + 0x34], xmm0
mov qword [rsp + 0x44], r9
mov rcx, qword [r8 + rax + 0x1c]
mov qword [rsp + 0x4c], rcx
mov eax, dword [r8 + rax + 0x24]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x58]
lea r9, [rsp + 0x30]
call fcn.004a0250
cmp qword [rsp + 0x58], 0
jne 0x4a009e
movzx eax, word [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
jmp 0x49ffed
add rcx, 2
cmp rcx, 0xfe
je 0x4a0029
cmp byte [rdx + rcx + 1], 0xf
jne 0x4a0002
cmp byte [rdx + rcx + 2], 5
jne 0x4a0002
cmp byte [rdx + rcx + 3], 0xc3
je 0x4a001d
cmp byte [rdx + rcx + 2], 0xf
jne 0x49ffe0
cmp byte [rdx + rcx + 3], 5
jne 0x49ffe0
cmp byte [rdx + rcx + 4], 0xc3
jne 0x49ffe0
add rcx, 2
jmp 0x4a0020
inc rcx
add rdx, rcx
add rsp, 0x70
pop rsi
ret
lea rax, [0x0067ea08]
mov qword [rsp + 0x20], rax
lea rcx, str.____Error_retrieving_syscall_address
lea r9, [0x0067e918]
lea r8, [rsp + 0x30]
mov edx, 0x24
call fcn.0053e7f0
ud2
mov esi, 0x19
mov ecx, 0x19
mov edx, 1
call fcn.00442160
test rax, rax
jne 0x4a00c9
mov ecx, 0x19
jmp 0x4a0092
mov esi, 0x18
mov ecx, 0x18
mov edx, 1
call fcn.00442160
test rax, rax
jne 0x4a00e0
mov ecx, 0x18
mov edx, 1
call fcn.0052ffb0
ud2
lea rax, [0x0067e9c8]
mov qword [rsp + 0x20], rax
lea rcx, str.____Error_getting_syscall_numbero
lea r9, [0x0067e918]
lea r8, [rsp + 0x30]
mov edx, 0x20
call fcn.0053e7f0
ud2
movups xmm0, xmmword [0x0067ea29]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [str.____INVALID_DOS_SIGNATURE____INVALID_NT_SIGNATURE]
movups xmmword [rax], xmm0
jmp 0x4a00f8
movups xmm0, xmmword [0x0067ea39]
movups xmmword [rax], xmm0
movabs rcx, 0x45525554414e4749
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rsi
lea rax, [0x0067e990]
mov qword [rsp + 0x20], rax
lea rcx, str.____Error_exporting_DLLsyscall_src_syscall_resolve.rs
lea r9, fcn.0049fe00
lea r8, [rsp + 0x30]
mov edx, 0x17
call fcn.0053e7f0
jmp 0x4a0147
ud2
Function at 0x4a9190
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1098
call fcn.00563230
sub rsp, rax
movaps xmmword [rsp + 0x1080], xmm6
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
lea rbx, [rsp + 0x80]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], 0
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
lea r13, [rsp + 0x30]
mov qword [rsp + 0x58], r13
lea rbp, [0x004fd7a0]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x1000
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x4a934e
mov r14d, 0xffffffff
lea rbx, [rsp + 0x40]
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x30], 0
je 0x4a9240
cmp dword [rsp + 0x34], 0
jne 0x4a9353
mov r15d, dword [rsp + 0x38]
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], r15
test r15, r15
je 0x4a9353
cmp r15d, 0x1000
ja 0x4a9393
xor r12d, r12d
nop dword [rax]
mov r8, r15
sub r8, r12
lea rdx, [rsp + r12]
add rdx, 0x80
cmp r8, r14
cmovae r8, r14
mov dword [rsp + 0x30], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, rsi
mov r9, rbx
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x4a934e
nop word [rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call sub.kernel32.dll_SleepEx
cmp dword [rsp + 0x30], 0
je 0x4a92e0
cmp dword [rsp + 0x34], 0
jne 0x4a9353
mov eax, dword [rsp + 0x38]
add r12, rax
cmp r12, r15
je 0x4a930d
jbe 0x4a9290
jmp 0x4a937f
mov dword [rsp + 0x30], 0
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x20], rbp
mov rcx, rdi
lea rdx, [rsp + 0x80]
mov r8d, 0x1000
mov r9, rbx
call sub.kernel32.dll_ReadFileEx
test eax, eax
jne 0x4a9240
call sub.kernel32.dll_GetLastError
mov rcx, rdi
call fcn.00563374
mov rcx, rsi
call fcn.00563374
movaps xmm6, xmmword [rsp + 0x1080]
add rsp, 0x1098
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x0067fc10]
mov rcx, r12
mov rdx, r15
call fcn.0055e030
jmp 0x4a93a7
lea r8, [0x0067fc10]
mov edx, 0x1000
mov rcx, r15
call fcn.0055dfa0
ud2

Function at 0x4aa110
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, case.0x425d27.5850
jmp fcn.00501530

Function at 0x4aa2b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov rdx, rcx
lea rcx, [0x00583748]
jmp fcn.005012e0
Function at 0x4adb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x4adb70
test ecx, ecx
jne 0x4adbc0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x4adb7c
test ecx, ecx
jne 0x4adbc0
mov rcx, rdi
call fcn.004ada20
movzx eax, al
test bpl, bpl
jne 0x4adbc7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x4adbb3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x004add38]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x4adbb3.2
xor eax, eax
test bpl, bpl
je 0x4adb8c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x4add19
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x4adbfa
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x4adc79
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x4adc40
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x4adc5b
inc rax
dec rdi
cmp rax, 1
jne 0x4adc20
jmp 0x4adc79
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x4adc5b
cmp ebx, 0x5c
je 0x4adc5b
inc rax
dec rdi
cmp rax, 1
jne 0x4adc40
jmp 0x4adc79
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x4add27
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x4adca3
mov al, 9
cmp rdx, 2
je 0x4adca7
cmp rdx, 1
jne 0x4adcb7
cmp byte [r8], 0x2e
jne 0x4adcb7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x4adcb7
mov al, 0xa
jmp 0x4adcb7
cmp byte [r8], 0x2e
jne 0x4adcb7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x4adbb3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x4adbb3.2
mov ecx, 2
jmp case.0x4adbb3.2
lea r8, [0x00680198]
call fcn.0055df10
ud2
lea r8, [0x006801b0]
call fcn.0055df10
ud2

Function at 0x4b2400
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi + 0x18]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b2418
dec ecx
jmp 0x4b2422
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call fcn.00442170
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b244a
dec ecx
jmp 0x4b2454
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
xor esi, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x4b2490
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rsi, qword [rax + 0x18]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b24ad
dec ecx
jmp 0x4b24b7
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov rdi, qword [rsp + 0x20]
cmp qword [rdi], 0
je 0x4b24e4
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x4b24e4
lock dec qword [rax]
jne 0x4b24e4
lea rcx, [rdi + 0x10]
call fcn.004eb360
mov edx, 0x20
mov r8d, 8
mov rcx, rdi
call fcn.00442170
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b2502
dec ecx
jmp 0x4b250c
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
xor esi, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x4b2600
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi + 0x10]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b2618
dec ecx
jmp 0x4b2622
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.00442170
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b264a
dec ecx
jmp 0x4b2654
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
xor esi, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x4b26c0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rsi, qword [rax + 0x10]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b26dd
dec ecx
jmp 0x4b26e7
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov rdi, qword [rsp + 0x20]
cmp qword [rdi], 0
je 0x4b2714
mov rax, qword [rdi + 8]
test rax, rax
je 0x4b2714
lock dec qword [rax]
jne 0x4b2714
lea rcx, [rdi + 8]
call fcn.004eb3c0
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.00442170
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b2732
dec ecx
jmp 0x4b273c
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
xor esi, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x4b2840
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [rcx]
mov qword [rsp + 0x20], rax
mov rsi, qword [rax + 0x10]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b285d
dec ecx
jmp 0x4b2867
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov rdi, qword [rsp + 0x20]
cmp qword [rdi], 0
je 0x4b2894
mov rax, qword [rdi + 8]
test rax, rax
je 0x4b2894
lock dec qword [rax]
jne 0x4b2894
lea rcx, [rdi + 8]
call fcn.004eb230
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.00442170
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b28b2
dec ecx
jmp 0x4b28bc
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
xor esi, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x4b2910
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, qword [rcx]
mov rsi, qword [rdi]
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b2927
dec ecx
jmp 0x4b2931
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
mov edx, 1
call sub.kernel32.dll_TlsSetValue
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.00442170
mov ecx, dword [rsi + 0x18]
test ecx, ecx
je 0x4b2959
dec ecx
jmp 0x4b2963
mov rcx, rsi
call fcn.004de2a0
mov ecx, eax
xor esi, esi
xor edx, edx
call sub.kernel32.dll_TlsSetValue
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret