joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3309061f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
lea rcx, [rcx + 0xf]
sub rcx, rdx
cmp rcx, 0x1e
jbe 0x3309062d4
movdqu xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movdqu xmm0, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm0
movzx edi, byte [rax + 0x1f]
movzx r9d, byte [rax + 0x1e]
mov r10d, 8
lea r11, [0x330957380]
movzx r8d, byte [rax + 0x1d]
movzx edx, byte [rax + 0x1c]
lea rbx, [0x330957260]
jmp 0x330906299
movzx r8d, r8b
movzx edx, dl
movzx ecx, byte [r11 + r8]
movzx r8d, r9b
movzx r9d, dil
movzx edi, byte [r11 + rdx]
mov edx, r10d
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + r9]
shr edx, 3
xor cl, byte [rbx + rdx]
mov edx, ecx
xor dl, byte [rax]
xor r8b, byte [rax + 1]
add r10d, 1
add rax, 4
xor r9b, byte [rax - 2]
xor dil, byte [rax - 1]
mov byte [rax + 0x1c], dl
mov byte [rax + 0x1d], r8b
mov byte [rax + 0x1e], r9b
mov byte [rax + 0x1f], dil
cmp r10d, 0x3c
je 0x3309062d0
mov ecx, r10d
and ecx, 7
je 0x330906240
cmp ecx, 4
jne 0x33090626e
movzx edx, dl
movzx r8d, r8b
movzx esi, r9b
movzx ecx, dil
movzx edx, byte [r11 + rdx]
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + rsi]
movzx edi, byte [r11 + rcx]
jmp 0x33090626e
pop rbx
pop rsi
pop rdi
ret
movzx ecx, byte [rdx]
mov byte [rax], cl
movzx ecx, byte [rdx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rdx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rdx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rdx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rdx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rdx + 7]
mov byte [rax + 7], cl
movzx ecx, byte [rdx + 8]
mov byte [rax + 8], cl
movzx ecx, byte [rdx + 9]
mov byte [rax + 9], cl
movzx ecx, byte [rdx + 0xa]
mov byte [rax + 0xa], cl
movzx ecx, byte [rdx + 0xb]
mov byte [rax + 0xb], cl
movzx ecx, byte [rdx + 0xc]
mov byte [rax + 0xc], cl
movzx ecx, byte [rdx + 0xd]
mov byte [rax + 0xd], cl
movzx ecx, byte [rdx + 0xe]
mov byte [rax + 0xe], cl
movzx ecx, byte [rdx + 0xf]
mov byte [rax + 0xf], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rax + 0x10], cl
movzx ecx, byte [rdx + 0x11]
mov byte [rax + 0x11], cl
movzx ecx, byte [rdx + 0x12]
mov byte [rax + 0x12], cl
movzx ecx, byte [rdx + 0x13]
mov byte [rax + 0x13], cl
movzx ecx, byte [rdx + 0x14]
mov byte [rax + 0x14], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rax + 0x15], cl
movzx ecx, byte [rdx + 0x16]
mov byte [rax + 0x16], cl
movzx ecx, byte [rdx + 0x17]
mov byte [rax + 0x17], cl
movzx ecx, byte [rdx + 0x18]
mov byte [rax + 0x18], cl
movzx ecx, byte [rdx + 0x19]
mov byte [rax + 0x19], cl
movzx ecx, byte [rdx + 0x1a]
mov byte [rax + 0x1a], cl
movzx ecx, byte [rdx + 0x1b]
mov byte [rax + 0x1b], cl
movzx ecx, byte [rdx + 0x1c]
mov byte [rax + 0x1c], cl
movzx ecx, byte [rdx + 0x1d]
mov byte [rax + 0x1d], cl
movzx ecx, byte [rdx + 0x1e]
mov byte [rax + 0x1e], cl
movzx edx, byte [rdx + 0x1f]
mov byte [rax + 0x1f], dl
jmp 0x330906217
Function at 0x330910ed0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov r9, rdx
not eax
cmp r8, 3
jbe 0x330910fa0
lea rdx, [r8 - 4]
lea r10, [0x330957ca0]
shr rdx, 2
lea rcx, [r9 + rdx*4 + 4]
nop dword [rax]
mov edx, eax
xor al, byte [r9]
add r9, 4
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [r9 - 2]
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
cmp r9, rcx
jne 0x330910ef8
and r8d, 3
test r8, r8
je 0x330910f94
mov r9d, eax
xor al, byte [rcx]
lea rdx, [0x330957ca0]
movzx eax, al
shr r9d, 8
xor r9d, dword [rdx + rax*4]
mov eax, r9d
cmp r8, 1
je 0x330910f94
xor al, byte [rcx + 1]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
mov eax, r9d
cmp r8, 2
je 0x330910f94
xor al, byte [rcx + 2]
mov r8d, r9d
movzx eax, al
shr r8d, 8
xor r8d, dword [rdx + rax*4]
mov eax, r8d
not eax
ret
mov rcx, rdx
jmp 0x330910f44
Function at 0x3309276a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
movzx esi, byte [rcx + 0x40]
mov rbx, rcx
test sil, sil
je 0x3309276d0
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x48]
movzx edx, word [rcx + 0x50]
mov r8d, 0xa
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x330927778
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x330927778
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r13, rax
test rax, rax
je 0x330927778
mov rdx, rdi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
movsxd r12, eax
mov qword [rbx + 0x38], rdx
lea rcx, [r12 + 1]
call sub.msvcrt.dll_malloc
mov rdi, rax
test rax, rax
je 0x33092775b
mov r8, r12
mov rdx, r13
mov rcx, rax
mov esi, 1
call sub.msvcrt.dll_memcpy
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov qword [rbx + 0x30], rdi
mov byte [rbx + 0x40], sil
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor edi, edi
jmp 0x33092775b
Function at 0x3309350e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.33093ca80
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.33093ca80
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x330935ae2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x330968108]
test eax, eax
je 0x330935b7a
lea rax, [0x3309680e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x330968110]
mov qword [rbp - 8], rax
jmp 0x330935b5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x330935b52
cmp qword [rbp - 0x10], 0
je 0x330935b52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x330935b18
lea rax, [0x3309680e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x330935b7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x330935c80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x330935ca8
mov eax, 0
jmp 0x330935cf6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x330935cd1
mov eax, 0
jmp 0x330935cf6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x330935cf1
mov eax, 0
jmp 0x330935cf6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x330935cfc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x330935d7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x330935d71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x330935d71
mov rax, qword [rbp - 8]
jmp 0x330935d8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x330935d44
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x33093df00
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x7b], 0
mov qword [rsp + 0x83], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x33093e002
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x33093dfda
add rax, 1
cmp rax, 0x6b
je 0x33093dff7
cmp byte [rcx + rax], 0
jne 0x33093dfd0
lea edx, [rax + 1]
cmp eax, 0x6a
je 0x33093dff7
cdqe
mov byte [rsp + rax + 0x20], 0xa
movsxd rax, edx
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov edx, 0x28
mov eax, 0x27
lea rcx, [rsp + 0x20]
jmp 0x33093dfe8

Function at 0x33093e3a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x330968be0], 1
je 0x33093e418
lea rdi, [0x330968be0]
mov rcx, rdi
call fcn.33093dc90
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.33093d630
mov esi, dword [0x330968be0]
test esi, esi
jne 0x33093e428
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x3309562e8], eax
cmp eax, 0xffffffff
je 0x330955d76
mov dword [0x330968be0], 1
mov rcx, rbp
call fcn.33093d900
test rbx, rbx
je 0x33093e418
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.33093e020
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x33093e3f8
mov ecx, 2
call qword [fcn.33093ca80]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x33093e3f8
Function at 0x33093e450
Capabilities:
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
call fcn.33093e130
cmp qword [0x33096c040], 0
mov rbx, rax
je 0x33093e568
test rax, rax
je 0x33093e568
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.3309416f0
cmp eax, 1
je 0x33093e576
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 fcn.330955d7c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [0x3309562e8]
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 0x33093e57c
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.33093df00
nop
jmp fcn.330955d7c

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

Disassembly:
sub rsp, 0x28
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093e5b0
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.33093e450
Function at 0x33093ed20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x33093ee48
cmp eax, 1
je 0x33093ed7b
call fcn.33093dc90
lea rbp, [rax + 8]
mov rdi, rax
mov rcx, rbp
call fcn.33093d630
mov r12d, dword [rbx]
test r12d, r12d
je 0x33093ed90
cmp r12d, 1
jne 0x33093ee20
mov rcx, rbp
call fcn.33093d900
test rdi, rdi
je 0x33093ed7b
mov rcx, rdi
call fcn.33093e020
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rax, [0x33093e100]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r12
test rax, rax
je 0x33093ee88
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call r12
test rax, rax
je 0x33093ee70
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call r12
test rax, rax
je 0x33093ee60
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x33093ed66
mov ecx, 2
call qword [fcn.33093ca80]
mov r9d, r12d
mov r8, rbx
lea rdx, str._once__p_is__d_n
mov rcx, rax
call sub.msvcrt.dll_fprintf
jmp 0x33093ed66
mov eax, 0x16
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.33093e450
test rax, rax
jne 0x33093ee09
jmp 0x330955d95
call fcn.33093e450
test rax, rax
jne 0x33093ede5
jmp 0x330955dae
call fcn.33093e450
test rax, rax
jne 0x33093edbf
jmp 0x330955da4
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2

Function at 0x33093f110
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.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f188
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.330941700
cmp esi, dword [rbx + 0x48]
jae 0x33093f163
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x33093f163
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.330941740
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.33093e450
mov rbx, rax
jmp 0x33093f13d
Function at 0x33093f1a0
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.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f2a0
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.330941700
cmp esi, dword [rbx + 0x48]
jae 0x33093f220
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.330941740
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 sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x33093f2ad
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x33093f2ad
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 0x33093f1ef
call fcn.33093e450
mov rbx, rax
jmp 0x33093f1da
mov rcx, r13
call fcn.330941740
mov eax, 0xc
jmp 0x33093f20d

Function at 0x33093f330
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093f358
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.33093e450
test rax, rax
jne 0x33093f34a
add rsp, 0x28
ret

Function at 0x33093f3c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093f3e8
add rax, 0x18
add rsp, 0x28
ret
call fcn.33093e450
test rax, rax
jne 0x33093f3da
jmp 0x33093f3de

Function at 0x33093f500
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x330968be8]
test eax, eax
jne 0x33093f518
xor eax, eax
add rsp, 0x28
ret
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093f548
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x33093f50e
test byte [rax + 0x40], 3
je 0x33093f50e
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x33093f510
call fcn.33093e450
test rax, rax
jne 0x33093f52e
jmp 0x33093f50e

Function at 0x33093f560
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093f5a0
test ebx, ebx
jle 0x33093f590
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.33093e450
test rax, rax
jne 0x33093f57d
add rsp, 0x20
pop rbx
ret
Function at 0x33093f690
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f708
test byte [rbx + 0x40], 0xc
jne 0x33093f6bf
mov eax, dword [0x330968be8]
test eax, eax
jne 0x33093f6d0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.33093d630
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x33093f6f3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x33093f6f3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x33093f71c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.33093d900
call fcn.33093e450
mov rbx, rax
test rax, rax
jne 0x33093f6af
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 0x33093f73a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.33093d900
call fcn.33093f5b0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x33093f7c0
call fcn.330940890
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x33093f7f8
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f850
test esi, esi
je 0x33093f7d6
call fcn.33093f690
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x33093f830
mov edx, edi
call fcn.330940940
call fcn.33093f690
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093f840
call fcn.33093f690
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.33093f690
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x33093f795
call fcn.33093e450
mov rbx, rax
jmp 0x33093f795
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x33093f7ae
call fcn.33093e450
jmp 0x33093f7d6
call fcn.33093e450
mov rbx, rax
jmp 0x33093f791
Function at 0x33093f750
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f708
test byte [rbx + 0x40], 0xc
jne 0x33093f6bf
mov eax, dword [0x330968be8]
test eax, eax
jne 0x33093f6d0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.33093d630
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x33093f6f3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x33093f6f3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x33093f71c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.33093d900
call fcn.33093e450
mov rbx, rax
test rax, rax
jne 0x33093f6af
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 0x33093f73a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.33093d900
call fcn.33093f5b0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x33093f7c0
call fcn.330940890
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x33093f7f8
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f850
test esi, esi
je 0x33093f7d6
call fcn.33093f690
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x33093f830
mov edx, edi
call fcn.330940940
call fcn.33093f690
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x33093f840
call fcn.33093f690
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.33093f690
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x33093f795
call fcn.33093e450
mov rbx, rax
jmp 0x33093f795
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x33093f7ae
call fcn.33093e450
jmp 0x33093f7d6
call fcn.33093e450
mov rbx, rax
jmp 0x33093f791

Function at 0x33093f860
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.33093e3a0
mov ecx, dword [0x3309562e8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x33093f8d0
test esi, esi
je 0x33093f8b0
call fcn.33093f690
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x33093f8e0
mov edx, esi
call fcn.330940940
call fcn.33093f690
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.33093f690
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.33093f690
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.33093e450
mov rbx, rax
jmp 0x33093f881
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x33093f89a