Function at 0x1c35630
Capabilities:
Allocate thread local storage
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov edi, ecx
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [esp + 0x60], eax
lea ebx, [ecx + 0x40]
mov dword [esp], ebx
call dword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
jne 0x1c35663
mov ecx, ebx
call fcn.01c7e190
cmp byte [edi + 0x1168], 0
je 0x1c3568d
mov dword [esp], ebx
call dword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
sub esp, 4
mov ecx, dword [esp + 0x60]
xor ecx, ebp
call fcn.01c98173
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
lea esi, [ebp + 8]
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x1d04b9c], cl
jne 0x1c356f6
mov esi, 0xfd
mov dword [esp + 0x10], esi
movaps xmm0, xmmword [0x1ce4790]
movups xmmword [esp], xmm0
call fcn.01c854d0
mov dword [esp + 0x10], esi
movaps xmm0, xmmword [0x1ce47a0]
movups xmmword [esp], xmm0
call fcn.01c854d0
mov dword [esp + 0x10], esi
movaps xmm0, xmmword [0x1ce47b0]
movups xmmword [esp], xmm0
call fcn.01c854d0
mov dword [esp + 0x10], esi
lea esi, [ebp + 8]
movaps xmm0, xmmword [0x1ce47c0]
movups xmmword [esp], xmm0
call fcn.01c854d0
mov al, byte [esi + 2]
cmp al, 1
sete byte [edi + 4]
mov byte [edi + 0xc], 0
cmp byte [esi + 0x10], 1
sete byte [edi + 0xd]
cmp byte [esi + 4], 1
sete byte [edi + 0xe]
mov dword [esp + 0x24], ebx
je 0x1c3585d
cmp byte [edi + 0x1430], 0
jne 0x1c35a5f
mov dword [edi + 0x10], 0
cmp al, 1
jne 0x1c35740
mov eax, 4
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov byte [edi], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x1148], xmm0
movups xmmword [edi + 0x1158], xmm0
mov dword [edi + 0x1148], 0x1ce47d0
mov eax, edi
not eax
mov dword [edi + 0x13cc], eax
lea ebx, [edi + 0x48]
mov eax, 8
mov esi, 0xffffff78
mov dword [esp], eax
mov ecx, ebx
call fcn.01c94340
sub esp, 4
mov eax, dword [esi*4 + 0x1ce4288]
add ebx, 0x20
inc esi
cmp eax, 1
jne 0x1c35775
mov eax, esi
add eax, 0x88
jae 0x1c357ba
neg esi
mov dword [esp], 1
mov ecx, ebx
call fcn.01c94340
sub esp, 4
mov dword [ebx], 0
add ebx, 0x20
dec esi
jne 0x1c3579d
mov dword [esp], 0x1cf53f0
call dword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
je 0x1c35a41
cmp byte [0x1d04bf4], 0
lea esi, [ebp + 8]
jne 0x1c35815
cmp dword [0x1d04c4c], 0
jne 0x1c35a62
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1c35a65
mov dword [0x1d04ba0], eax
mov dword [0x1d04c50], eax
mov dword [0x1d04c4c], 0x1c70eb0
mov byte [0x1d04bf4], 1
mov dword [esp], 0x1cf53f0
call dword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
sub esp, 4
cmp byte [esi], 1
sete byte [edi + 3]
jne 0x1c35836
mov dword [esp], edi
call fcn.01c70f90
mov bl, 1
mov byte [edi + 0x1168], bl
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
sub esp, 4
xor eax, eax
lock cmpxchg byte [0x1d04b9d], bl
jmp 0x1c35678
mov eax, dword [esi + 0xc]
mov dword [edi + 0x13dc], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x13d8], eax
lea ecx, [edi + 0x13e0]
mov eax, dword [esi + 0xc]
mov dword [edi + 0x13e4], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x34], 0
xor esi, esi
dec esi
lea ebx, [esp + 0x58]
mov dword [ebx + 4], esi
mov dword [ebx], esi
mov dword [esp], ebx
mov dword [esp + 4], 8
call sub.progwrp.dll_SystemFunction036
sub esp, 8
test al, al
je 0x1c35a50
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp], ebx
mov dword [esp + 4], 8
call sub.progwrp.dll_SystemFunction036
sub esp, 8
test al, al
je 0x1c35a53
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
call fcn.01c2f070
mov esi, dword [esp + 0x1c]
lea ecx, [esi*8]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov ecx, eax
call fcn.01c2f330
sub esp, 8
test esi, esi
je 0x1c35a56
mov dword [esp + 0x18], eax
cmp byte [edi + 0x1430], 0
je 0x1c35949
mov byte [edi + 0x1430], 0
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1400], eax
mov dword [edi + 0x1404], esi
mov byte [edi + 0x1408], 1
xorps xmm0, xmm0
movups xmmword [edi + 0x140c], xmm0
mov dword [edi + 0x141c], 0
xor esi, esi
dec esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
lea ebx, [esp + 0x58]
mov dword [esp], ebx
mov dword [esp + 4], 8
call sub.progwrp.dll_SystemFunction036
sub esp, 8
test al, al
je 0x1c35a59
movsd xmm0, qword [esp + 0x58]
movsd qword [edi + 0x1410], xmm0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp], ebx
mov dword [esp + 4], 8
call sub.progwrp.dll_SystemFunction036
sub esp, 8
test al, al
je 0x1c35a5c
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x1418], eax
mov dword [edi + 0x141c], ecx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1420], eax
xor eax, eax
mov dword [edi + 0x1424], eax
mov dword [edi + 0x1428], eax
lea ecx, [esp + 0x28]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov byte [edi + 0x1430], 1
call fcn.01c73f90
mov al, byte [edi + 4]
cmp byte [edi + 0xc], 0
je 0x1c35a2d
test al, al
jne 0x1c35a68
mov dword [edi + 0x10], 0
jmp 0x1c35740
mov dword [edi + 0x10], 0
test al, al
jne 0x1c35735
jmp 0x1c35740
mov ecx, 0x1cf53f0
call fcn.01c7e190
jmp 0x1c357d2
int3
int3
int3
int3
int3
int3
int3
int3
int3