Function at 0x1000bda0
Capabilities:
Allocate thread local storage

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.1000fcd0
xor ebp, ebp
mov dword [esi + 4], ebp
lea ecx, [esi + 0xc]
mov dword [esi + 8], ebp
call fcn.1000fcd0
lea ecx, [esi + 0x10]
call fcn.1001cab0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov edi, 1
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
lea ecx, [esi + 0x54]
mov dword [esi + 0x4c], ebp
push ebp
mov dword [ecx], ebp
call fcn.100035c0
lea ecx, [esi + 0x5c]
push ebp
mov dword [ecx], ebp
call fcn.100035c0
lea ecx, [esi + 0x60]
push ebp
mov dword [ecx], ebp
call fcn.100035c0
push edi
push 0x10006450
push 0x100213cc
lea ecx, [esi + 0x70]
push 0x100213c0
mov dword [esi + 0x64], ebp
mov dword [esi + 0x68], ebp
call fcn.10005d60
push edi
push 0x10007ea0
push 0x100213b0
lea ecx, [esi + 0x98]
push 0x100213c0
call fcn.10005d60
push edi
push 0x100046c0
push 0x100213a4
lea ecx, [esi + 0xc0]
push 0x100213c0
call fcn.10005d60
push edi
push 0x100046d0
push 0x10021398
lea ecx, [esi + 0xe8]
push 0x100213c0
call fcn.10005d60
push edi
push fcn.100046e0
push 0x10021388
lea ecx, [esi + 0x110]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004750
push 0x10021370
lea ecx, [esi + 0x138]
push 0x100213c0
call fcn.10005d60
push edi
lea ecx, [esi + 0x160]
push 0x100065a0
push 0x10021358
push 0x100213c0
call fcn.10005d60
push ebp
push 0x10008090
push 0x10021350
lea ecx, [esi + 0x188]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10006a30
push 0x10021340
lea ecx, [esi + 0x1b0]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004920
push 0x10021330
lea ecx, [esi + 0x1d8]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10006b90
push 0x10021318
lea ecx, [esi + 0x200]
push 0x100213c0
call fcn.10005d60
push edi
push 0x100049f0
push 0x10020fbc
lea ecx, [esi + 0x228]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004ab0
push 0x10021308
lea ecx, [esi + 0x250]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004b40
push 0x100212f0
lea ecx, [esi + 0x278]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004b70
push 0x100212dc
lea ecx, [esi + 0x2a0]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004bf0
push 0x100212c0
lea ecx, [esi + 0x2c8]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10006d40
push 0x100212a0
lea ecx, [esi + 0x2f0]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004d80
push 0x10021288
lea ecx, [esi + 0x318]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004e50
push 0x1002127c
lea ecx, [esi + 0x340]
push 0x100213c0
call fcn.10005d60
push edi
push 0x10004ed0
push 0x1002126c
lea ecx, [esi + 0x368]
push 0x100213c0
call fcn.10005d60
push 2
push 0x100070b0
push 0x10021260
lea ecx, [esi + 0x390]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10004f20
push 0x10021254
lea ecx, [esi + 0x3b8]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10004fb0
push 0x10021240
lea ecx, [esi + 0x3e0]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005080
push 0x10021230
lea ecx, [esi + 0x408]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005140
push 0x1002121c
lea ecx, [esi + 0x430]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005200
push 0x10021210
lea ecx, [esi + 0x458]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005270
push 0x10021204
lea ecx, [esi + 0x480]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005350
push 0x100211f8
lea ecx, [esi + 0x4a8]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005440
push 0x100211e4
lea ecx, [esi + 0x4d0]
push 0x100213c0
call fcn.10005d60
push 2
push fcn.10007220
push 0x100211d8
lea ecx, [esi + 0x4f8]
push 0x100213c0
call fcn.10005d60
push 2
push 0x100081f0
push 0x100211cc
lea ecx, [esi + 0x520]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005510
push 0x100211c0
lea ecx, [esi + 0x548]
push 0x100213c0
call fcn.10005d60
push 2
push 0x100055c0
push 0x100211a8
lea ecx, [esi + 0x570]
push 0x100213c0
call fcn.10005d60
push 2
lea ecx, [esi + 0x598]
push 0x10005650
push 0x10021198
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005760
push 0x10021188
lea ecx, [esi + 0x5c0]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10003f00
push 0x10021178
lea ecx, [esi + 0x5e8]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10003f80
push 0x1002116c
lea ecx, [esi + 0x610]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10003ff0
push 0x10021158
lea ecx, [esi + 0x638]
push 0x100213c0
call fcn.10005d60
push 2
push 0x100057f0
push 0x10021148
lea ecx, [esi + 0x660]
push 0x100213c0
call fcn.10005d60
push 2
push 0x10005900
push 0x1002113c
lea ecx, [esi + 0x688]
push 0x100213c0
call fcn.10005d60
push ebp
push 0x10004060
push 0x1002112c
lea ecx, [esi + 0x6b0]
push 0x100213c0
call fcn.10005d60
push ebp
push 0x10009300
lea edi, [esi + 0x6d8]
push 0x1002111c
mov dword [edi], ebp
mov dword [edi + 4], ebp
lea ebx, [esi + 0x6e4]
lea ecx, [esi + 0x6f0]
push 0x10020874
mov dword [ebx], ebp
mov dword [ebx + 4], ebp
call fcn.10005d60
push ebp
push 0x1000ba70
push 0x1002110c
lea ecx, [esi + 0x718]
push 0x10020874
call fcn.10005d60
push ebp
push fcn.10009a90
push 0x100210fc
lea ecx, [esi + 0x740]
push 0x10020874
call fcn.10005d60
push ebp
push 0x100074f0
push 0x100210f4
lea ecx, [esi + 0x768]
push 0x10020874
call fcn.10005d60
push ebp
push 0x100043d0
push 0x10020bf0
lea ecx, [esi + 0x790]
push 0x100210e4
call fcn.10005d60
push ebp
push 0x10004430
push 0x10020c04
lea ecx, [esi + 0x7b8]
push 0x100210e4
call fcn.10005d60
push ebp
push 0x10007ad0
push 0x100210d8
lea ecx, [esi + 0x7e0]
push 0x100213c0
call fcn.10005d60
push ebp
push 0x10004490
push 0x100210c8
lea ecx, [esi + 0x808]
push 0x100213c0
call fcn.10005d60
mov dword [0x1005c4dc], esi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0x40
mov dword [esi + 0x3c], eax
call fcn.10002e89
add esp, 4
cmp eax, ebp
je 0x1000c398
push esi
mov ecx, eax
call fcn.10017120
mov dword [esp + 0x18], eax
jmp 0x1000c39c
mov dword [esp + 0x18], ebp
mov ecx, dword [esi + 4]
cmp ecx, ebp
mov dword [esp + 0x10], ecx
je 0x1000c3bc
call fcn.10017420
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10002e75
add esp, 4
mov dword [esi + 4], ebp
mov edx, dword [esp + 0x18]
push 0x70
mov dword [esi + 4], edx
call fcn.10002e89
add esp, 4
cmp eax, ebp
je 0x1000c3df
push esi
mov ecx, eax
call fcn.1001a3e0
mov dword [esp + 0x18], eax
jmp 0x1000c3e3
mov dword [esp + 0x18], ebp
mov ecx, dword [esi + 8]
cmp ecx, ebp
mov dword [esp + 0x10], ecx
je 0x1000c403
call fcn.1001a450
mov eax, dword [esp + 0x10]
push eax
call fcn.10002e75
add esp, 4
mov dword [esi + 8], ebp
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x70]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
mov dword [esi + 8], ecx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x98]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0xc0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0xe8]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x110]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x138]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x160]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x188]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x1b0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x1d8]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x200]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x228]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x250]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x278]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x2a0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x2c8]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x2f0]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x318]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x340]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x368]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x390]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x3b8]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x3e0]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x408]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x430]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x458]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x480]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x4a8]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x4d0]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x4f8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x520]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x548]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x570]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x598]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x5c0]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x5e8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x610]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x638]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x660]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x688]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x6b0]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
push edx
mov ecx, edi
call fcn.10007c70
lea eax, [esi + 0x6f0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, ebx
call fcn.10007c70
lea eax, [esi + 0x718]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, ebx
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x740]
push edx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x768]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, ebx
call fcn.10007c70
lea eax, [esi + 0x790]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, ebx
call fcn.10007c70
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
lea eax, [esi + 0x7b8]
push edx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.10007c70
lea eax, [esi + 0x7e0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov ecx, eax
push eax
push ecx
mov ecx, ebx
call fcn.10007c70
lea eax, [esi + 0x808]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
push eax
mov ecx, ebx
call fcn.10007c70
mov edi, dword [edi]
cmp edi, ebp
je 0x1000c8fb
mov eax, dword [edi + 8]
mov edi, dword [edi + 4]
add eax, 4
mov eax, dword [eax]
cmp dword [eax], ebp
je 0x1000c8f7
mov edx, dword [eax + 8]
push 5
lea ecx, [eax + 0x19]
push ecx
push edx
call fcn.1000ce80
add esp, 0xc
cmp edi, ebp
jne 0x1000c8d6
mov ebx, dword [ebx]
cmp ebx, ebp
je 0x1000c926
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 4]
add eax, 4
mov eax, dword [eax]
cmp dword [eax], ebp
je 0x1000c922
mov edx, dword [eax + 8]
push 5
lea ecx, [eax + 0x19]
push ecx
push edx
call fcn.1000ce80
add esp, 0xc
cmp ebx, ebp
jne 0x1000c901
cmp dword [esi + 0x40], ebp
je 0x1000c99c
push 0x24
call fcn.10002e89
add esp, 4
cmp eax, ebp
je 0x1000c950
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 1
push ecx
push 1
push edx
mov ecx, eax
call fcn.10003e70
jmp 0x1000c952
xor eax, eax
push eax
lea ecx, [esi + 0x44]
call fcn.10005c30
push 0x24
call fcn.10002e89
add esp, 4
cmp eax, ebp
je 0x1000c991
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
push ecx
push 1
push edx
mov ecx, eax
call fcn.10003e70
push eax
lea ecx, [esi + 0x48]
call fcn.10005c30
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
xor eax, eax
push eax
lea ecx, [esi + 0x48]
call fcn.10005c30
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c