joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1403b77a0
Capabilities:
Encode data using base64

Disassembly:
push rbx
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test rcx, rcx
je 0x1403b77bc
test byte [rcx + 0x5c], 2
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
cmovne r10, rax
xor r11d, r11d
test r9d, r9d
jg 0x1403b7821
jmp 0x1403b7863
movzx eax, byte [r8 + 1]
add r8, 3
shl eax, 8
or eax, ecx
movzx ecx, byte [r8 - 1]
mov ebx, eax
shr ebx, 0x12
or ecx, eax
shr eax, 0xc
movzx ebx, byte [r10 + rbx]
and eax, 0x3f
mov byte [rdx - 4], bl
movzx eax, byte [r10 + rax]
mov byte [rdx - 3], al
mov eax, ecx
and ecx, 0x3f
shr eax, 6
and eax, 0x3f
movzx eax, byte [r10 + rax]
mov byte [rdx - 2], al
movzx eax, byte [r10 + rcx]
mov byte [rdx - 1], al
sub r9d, 3
je 0x1403b7863
movzx eax, byte [r8]
mov rbx, rdx
add r11d, 4
add rdx, 4
shl eax, 0x10
mov ecx, eax
cmp r9d, 2
jg 0x1403b77d0
je 0x1403b7870
shr eax, 0x12
movzx eax, byte [r10 + rax]
mov byte [rbx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x30
movzx eax, byte [r10 + rax]
mov byte [rbx + 1], al
mov eax, 0x3d
mov byte [rbx + 2], al
mov byte [rbx + 3], 0x3d
mov eax, r11d
mov byte [rdx], 0
pop rbx
ret
movzx r8d, byte [r8 + 1]
shl r8d, 8
or r8d, eax
shr eax, 0x12
movzx eax, byte [r10 + rax]
mov byte [rbx], al
mov eax, r8d
shr r8d, 6
shr eax, 0xc
and r8d, 0x3c
and eax, 0x3f
movzx eax, byte [r10 + rax]
mov byte [rbx + 1], al
movzx eax, byte [r10 + r8]
jmp 0x1403b785c

Function at 0x1403b7d90
Capabilities:
Encode data using base64

Disassembly:
mov r9d, r8d
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.1403b77a0
Function at 0x1403be2d0
Capabilities:
Encode data using xor

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [r8 + 8]
mov rbx, rdx
mov edx, dword [rdx + 8]
mov r12, rcx
mov rsi, r8
cmp edx, eax
jge 0x1403be2f7
mov edx, eax
mov rax, rbx
mov rbx, r8
mov rsi, rax
mov rcx, r12
call fcn.1400ad590
test rax, rax
je 0x1403be460
mov eax, dword [rsi + 8]
test eax, eax
jle 0x1403be498
mov r10, qword [rbx]
mov r9, qword [r12]
lea edx, [rax - 1]
mov rcx, qword [rsi]
lea r8, [r10 + 0xf]
sub r8, r9
cmp r8, 0x1e
lea r8, [rcx + 0xf]
seta r11b
sub r8, r9
cmp r8, 0x1e
seta r8b
test r11b, r8b
je 0x1403be470
cmp edx, 2
jbe 0x1403be470
mov r8d, eax
xor edx, edx
shr r8d, 1
shl r8, 4
nop dword [rax]
movdqu xmm0, xmmword [r10 + rdx]
movdqu xmm1, xmmword [rcx + rdx]
pxor xmm0, xmm1
movups xmmword [r9 + rdx], xmm0
add rdx, 0x10
cmp rdx, r8
jne 0x1403be360
mov edx, eax
and edx, 0xfffffffe
test al, 1
je 0x1403be392
mov r8, qword [r10 + rdx*8]
xor r8, qword [rcx + rdx*8]
mov qword [r9 + rdx*8], r8
mov r11d, dword [rbx + 8]
cmp eax, r11d
jge 0x1403be427
mov r9, qword [rbx]
mov r8, qword [r12]
movsxd rdx, eax
lea r10, [rdx*8 + 0x10]
lea rcx, [rdx*8]
lea rsi, [r9 + r10]
lea rbx, [r8 + rcx]
add rcx, r9
cmp rbx, rsi
setae sil
add r10, r8
cmp rcx, r10
setae r10b
or sil, r10b
je 0x1403be448
lea r10d, [r11 - 1]
sub r10d, eax
cmp r10d, 3
jbe 0x1403be448
mov esi, r11d
xor edx, edx
sub esi, eax
mov r10d, esi
shr r10d, 1
shl r10, 4
nop dword [rax + rax]
movdqu xmm2, xmmword [rcx + rdx]
movups xmmword [rbx + rdx], xmm2
add rdx, 0x10
cmp rdx, r10
jne 0x1403be400
mov edx, esi
and edx, 0xfffffffe
add eax, edx
cmp esi, edx
je 0x1403be427
cdqe
mov rdx, qword [r9 + rax*8]
mov qword [r8 + rax*8], rdx
mov dword [r12 + 8], r11d
mov rcx, r12
call fcn.1400ad7a0
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
mov rax, qword [r9 + rdx*8]
mov qword [r8 + rdx*8], rax
add rdx, 1
cmp r11d, edx
jg 0x1403be448
jmp 0x1403be427
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
mov r11d, edx
xor edx, edx
nop dword [rax]
mov r8, qword [r10 + rdx*8]
xor r8, qword [rcx + rdx*8]
mov qword [r9 + rdx*8], r8
mov r8, rdx
add rdx, 1
cmp r8, r11
jne 0x1403be478
jmp 0x1403be392
xor eax, eax
jmp 0x1403be392
Function at 0x1403c80d0
Capabilities:
Get common file path

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x270
mov rax, qword [0x14061b160]
lea rbx, str.getaddrinfo
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
movzx esi, cx
mov qword [rsp + 0x30], rax
mov rax, qword [0x14061b170]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
mov rax, qword [fcn.1403c82a0]
mov qword [rsp + 0x48], rax
mov eax, dword [0x1406a6510]
test eax, eax
je 0x1403c8160
movsxd rax, esi
lea rdx, str.getaddrinfo
shl rax, 4
mov rax, qword [rdx + rax + 8]
add rsp, 0x270
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
lea rdi, [rsp + 0x50]
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1403c8188
mov dword [0x1406a6510], 1
jmp 0x1403c8136
lea r13, [rsp + 0x160]
mov rdx, rdi
mov rcx, r13
call sub.msvcrt.dll_strcpy
mov rcx, r13
call sub.msvcrt.dll_strlen
mov r14, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, r13
movabs rdx, 0x32335f3273775c
mov qword [r13 + rax], rdx
call r14
mov rbp, rax
test rax, rax
je 0x1403c8239
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rbx
mov rcx, rax
call r12
test rax, rax
je 0x1403c8230
lea rbx, [rsp + 0x20]
mov rdx, qword [rbx]
mov rcx, rbp
call r12
mov qword [rbx + 8], rax
test rax, rax
je 0x1403c8286
add rbx, 0x10
cmp rbx, rdi
jne 0x1403c81e1
mov rax, qword [rsp + 0x28]
mov qword [0x14054b308], rax
mov rax, qword [rsp + 0x38]
mov qword [0x14054b318], rax
mov rax, qword [rsp + 0x48]
mov qword [fcn.1403c82a0], rax
jmp 0x1403c8177
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdx, rdi
mov rcx, r13
call sub.msvcrt.dll_strcpy
mov rcx, r13
call sub.msvcrt.dll_strlen
mov rcx, r13
movabs rdx, 0x3670696873775c
mov qword [r13 + rax], rdx
call r14
mov rbp, rax
test rax, rax
je 0x1403c8177
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rbx
mov rcx, rax
call r12
test rax, rax
jne 0x1403c81dc
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1403c8177
Function at 0x1403c8b90
Capabilities:
Resolve dns

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r13, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rbx], 0
mov byte [r13], 0
mov edi, edx
mov ebp, r8d
mov esi, r9d
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r12, rax
test rax, rax
je 0x1403c8c60
cmp dword [rax + 0x10], 0x40002
jne 0x1403c8c30
mov r14, qword [rax + 0x18]
mov rax, qword [r14]
test rax, rax
je 0x1403c8c30
movzx esi, si
jmp 0x1403c8c00
add r14, 8
lea rbx, [rax + 0x28]
mov rax, qword [r14]
test rax, rax
je 0x1403c8c30
mov r9d, dword [rax]
mov r8d, esi
mov edx, ebp
mov ecx, edi
call fcn.1403c8960
mov qword [rbx], rax
test rax, rax
jne 0x1403c8bf0
mov eax, 8
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rdx, qword [r12]
mov r8d, 0x400
mov rcx, r13
call sub.msvcrt.dll_strncpy
xor eax, eax
mov byte [r13 + 0x400], 0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea edx, [rax - 0x2afa]
cmp edx, 3
mov edx, 0x2af9
cmovae eax, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x1403c99f0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1406a6590], 1
je 0x1403c9a68
lea rdi, [0x1406a6590]
mov rcx, rdi
call fcn.1403c9370
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.1403c8d10
mov esi, dword [0x1406a6590]
test esi, esi
jne 0x1403c9a78
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14054b358], eax
cmp eax, 0xffffffff
je 0x1405443a6
mov dword [0x1406a6590], 1
mov rcx, rbp
call fcn.1403c8fe0
test rbx, rbx
je 0x1403c9a68
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.1403c9670
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x1403c9a48
mov ecx, 2
call qword [fcn.1403edab0]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x1403c9a48
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [0x28]
ud2
Function at 0x1403c9aa0
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.1403c9780
mov rbx, rax
test rax, rax
je 0x1403c9b9c
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.1403cd1d0
cmp eax, 1
je 0x1403c9ba8
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rsi, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1405443ac
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x14054b358]
mov rdx, rbx
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1405443ac
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.1403c95e0
nop
nop

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

Disassembly:
sub rsp, 0x28
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403c9bd0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.1403c9aa0
Function at 0x1403ca240
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, qword [str.Pgj_]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edx, 1
test eax, eax
je 0x1403ca29e
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1403ca29e
xor edx, edx
nop dword [rax]
mov ecx, eax
and ecx, 1
add edx, ecx
shr rax, 1
jne 0x1403ca288
test edx, edx
mov eax, 1
cmove edx, eax
mov rax, qword [rsp + 0x38]
sub rax, qword [rbx]
jne 0x1403ca2b0
mov eax, edx
add rsp, 0x40
pop rbx
ret
call fcn.1403e4f90
nop
nop word cs:[rax + rax]
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, qword [str.Pgj_]
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
xor eax, eax
mov edi, ecx
test ecx, ecx
mov eax, 1
cmove edi, eax
call r12
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov ebx, eax
test eax, eax
je 0x1403ca34f
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1403ca370
xor ebx, ebx
xor esi, esi
nop dword [rax]
add rsi, rsi
cmp edi, ebx
jle 0x1403ca332
test al, 1
je 0x1403ca332
or rsi, 1
add ebx, 1
shr rax, 1
jne 0x1403ca320
mov qword [rsp + 0x28], 0
call r12
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rax, qword [rsp + 0x38]
sub rax, qword [rbp]
jne 0x1403ca376
mov eax, ebx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor esi, esi
xor ebx, ebx
jmp 0x1403ca340
call fcn.1403e4f90
nop
nop dword [rax]
Function at 0x1403ca2c0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, qword [str.Pgj_]
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
xor eax, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edx, 1
test eax, eax
je 0x1403ca29e
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1403ca29e
xor edx, edx
nop dword [rax]
mov ecx, eax
and ecx, 1
add edx, ecx
shr rax, 1
jne 0x1403ca288
test edx, edx
mov eax, 1
cmove edx, eax
mov rax, qword [rsp + 0x38]
sub rax, qword [rbx]
jne 0x1403ca2b0
mov eax, edx
add rsp, 0x40
pop rbx
ret
call fcn.1403e4f90
nop
nop word cs:[rax + rax]
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, qword [str.Pgj_]
mov r12, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
xor eax, eax
mov edi, ecx
test ecx, ecx
mov eax, 1
cmove edi, eax
call r12
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov ebx, eax
test eax, eax
je 0x1403ca34f
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1403ca370
xor ebx, ebx
xor esi, esi
nop dword [rax]
add rsi, rsi
cmp edi, ebx
jle 0x1403ca332
test al, 1
je 0x1403ca332
or rsi, 1
add ebx, 1
shr rax, 1
jne 0x1403ca320
mov qword [rsp + 0x28], 0
call r12
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rax, qword [rsp + 0x38]
sub rax, qword [rbp]
jne 0x1403ca376
mov eax, ebx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor esi, esi
xor ebx, ebx
jmp 0x1403ca340
call fcn.1403e4f90
nop
nop dword [rax]
Function at 0x1403ca380
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, qword [str.Pgj_]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x1403ca4c8
cmp eax, 1
je 0x1403ca3ed
call fcn.1403c9370
lea r12, [rax + 8]
mov rdi, rax
mov rcx, r12
call fcn.1403c8d10
mov r13d, dword [rbx]
test r13d, r13d
je 0x1403ca410
cmp r13d, 1
jne 0x1403ca4a0
mov rcx, r12
call fcn.1403c8fe0
test rdi, rdi
je 0x1403ca3ed
mov rcx, rdi
call fcn.1403c9670
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbp]
jne 0x1403ca51b
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x1403c9750]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
mov r13, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r13
test rax, rax
je 0x1403ca508
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call r13
test rax, rax
je 0x1403ca4f0
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call r13
test rax, rax
je 0x1403ca4d8
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x1403ca3d8
mov ecx, 2
call qword [fcn.1403edab0]
mov r9d, r13d
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x1403ca3d8
mov eax, 0x16
jmp 0x1403ca3ef
call fcn.1403c9aa0
test rax, rax
jne 0x1403ca489
jmp 0x1405443de
call fcn.1403c9aa0
test rax, rax
jne 0x1403ca465
jmp 0x1405443cf
call fcn.1403c9aa0
test rax, rax
jne 0x1403ca43f
jmp 0x1405443c5
call fcn.1403e4f90
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x1403ca7a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403ca818
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.1403cd1e0
cmp esi, dword [rbx + 0x48]
jae 0x1403ca7f3
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x1403ca7f3
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.1403cd220
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403ca7cd
Function at 0x1403ca830
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403ca930
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.1403cd1e0
cmp esi, dword [rbx + 0x48]
jae 0x1403ca8b0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.1403cd220
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call fcn.1403ee270
mov rdi, rax
test rax, rax
je 0x1403ca93d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call fcn.1403ee270
mov r14, rax
test rax, rax
je 0x1403ca93d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x1403ca87f
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403ca86a
mov rcx, r13
call fcn.1403cd220
mov eax, 0xc
jmp 0x1403ca89d

Function at 0x1403ca9c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403ca9e8
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.1403c9aa0
test rax, rax
jne 0x1403ca9da
add rsp, 0x28
ret

Function at 0x1403caa50
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403caa78
add rax, 0x18
add rsp, 0x28
ret
call fcn.1403c9aa0
test rax, rax
jne 0x1403caa6a
jmp 0x1403caa6e

Function at 0x1403cab90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1406a6598]
test eax, eax
jne 0x1403caba8
xor eax, eax
add rsp, 0x28
ret
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403cabd8
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x1403cab9e
test byte [rax + 0x40], 3
je 0x1403cab9e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x1403caba0
call fcn.1403c9aa0
test rax, rax
jne 0x1403cabbe
jmp 0x1403cab9e

Function at 0x1403cabf0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403cac30
test ebx, ebx
jle 0x1403cac20
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.1403c9aa0
test rax, rax
jne 0x1403cac0d
add rsp, 0x20
pop rbx
ret
Function at 0x1403cad20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403cad98
test byte [rbx + 0x40], 0xc
jne 0x1403cad4f
mov eax, dword [0x1406a6598]
test eax, eax
jne 0x1403cad60
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1403c8d10
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1403cad83
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1403cad83
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1403cadac
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1403c8fe0
call fcn.1403c9aa0
mov rbx, rax
test rax, rax
jne 0x1403cad3f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1403cadca
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1403c8fe0
call fcn.1403cac40
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1403cae50
call fcn.1403cc1c0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1403cae88
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403caee0
test esi, esi
je 0x1403cae66
call fcn.1403cad20
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1403caec0
mov edx, edi
call fcn.1403cc290
call fcn.1403cad20
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403caed0
call fcn.1403cad20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1403cad20
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1403cae25
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403cae25
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1403cae3e
call fcn.1403c9aa0
jmp 0x1403cae66
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403cae21
Function at 0x1403cade0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403cad98
test byte [rbx + 0x40], 0xc
jne 0x1403cad4f
mov eax, dword [0x1406a6598]
test eax, eax
jne 0x1403cad60
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1403c8d10
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1403cad83
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1403cad83
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1403cadac
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1403c8fe0
call fcn.1403c9aa0
mov rbx, rax
test rax, rax
jne 0x1403cad3f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1403cadca
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1403c8fe0
call fcn.1403cac40
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1403cae50
call fcn.1403cc1c0
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1403cae88
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403caee0
test esi, esi
je 0x1403cae66
call fcn.1403cad20
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1403caec0
mov edx, edi
call fcn.1403cc290
call fcn.1403cad20
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1403caed0
call fcn.1403cad20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1403cad20
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1403cae25
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403cae25
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1403cae3e
call fcn.1403c9aa0
jmp 0x1403cae66
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403cae21

Function at 0x1403caef0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.1403c99f0
mov ecx, dword [0x14054b358]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1403caf60
test esi, esi
je 0x1403caf40
call fcn.1403cad20
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1403caf70
mov edx, esi
call fcn.1403cc290
call fcn.1403cad20
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1403cad20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1403cad20
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1403c9aa0
mov rbx, rax
jmp 0x1403caf11
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1403caf2a