Function at 0x100bc1c0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
lea esi, [ebp - 0x26c]
xor edi, edi
call fcn.101017d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
cmp eax, edi
jbe 0x100bcc5b
mov edi, edi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
mov esi, dword [edx + eax*4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov eax, dword [esi + 0x24]
lea ecx, [eax + eax*4]
mov edx, dword [ecx*8 + 0x1007d58c]
mov eax, dword [esi + 0x28]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
cmp ecx, 1
jne 0x100bc287
mov ecx, dword [eax + 8]
cmp dword [ecx + 4], 5
jne 0x100bcbc7
cmp dword [eax + 0xc], 0
mov ebx, ecx
mov dword [ebp - 8], ebx
je 0x100bc295
mov edx, dword [ecx + 0x58]
test edx, edx
jne 0x100bc259
lea edx, [ecx + 0x38]
mov esi, dword [esi + 0x24]
lea ecx, [esi + esi*4]
mov eax, dword [ecx*8 + 0x1007d570]
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x30
push 0x100863fc
push ecx
xor ecx, ecx
call fcn.101bf9b0
add esp, 0xc
mov edi, 0x80004005
jmp 0x100bcc69
cmp ecx, 5
jne 0x100bcbc7
mov dword [ebp - 8], eax
mov ebx, eax
test ebx, ebx
je 0x100bc3be
mov edi, 5
cmp dword [ebx + 4], edi
jne 0x100bc3be
mov dword [ebp - 0x20], ebx
cmp dword [ebx + 4], edi
je 0x100bc2b7
xor eax, eax
jmp 0x100bc2ee
mov dword [ebp - 0x20], ebx
cmp dword [ebx + 0x20], 0
jne 0x100bc2b3
cmp dword [ebx + 0x24], 0
je 0x100bc2b3
cmp dword [ebx + 0x28], 0
jne 0x100bc2b3
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebx + 0x24]
push 0x11
push ecx
mov ecx, dword [ebp + 8]
call fcn.100bb4f0
test eax, eax
jl 0x100bc31b
cmp eax, 1
je 0x100bc3be
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x24]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x100bc3be
cmp dword [ecx + 4], 6
jne 0x100bc3be
cmp dword [ecx + 0x18], edi
jne 0x100bc3be
mov edx, dword [ecx + 0x20]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], ecx
mov edi, eax
test eax, eax
jl 0x100bcc69
jne 0x100bc3be
mov edx, dword [ebp + 8]
test byte [edx + 0xc0c], 2
jne 0x100bc349
cmp dword [ebp + 0x10], 0
jne 0x100bc349
cmp dword [esi], 0x3000a
jne 0x100bc904
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x48]
push eax
push ecx
push edx
call fcn.100bcd20
mov edi, eax
test edi, edi
jl 0x100bcc69
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 0x30]
cmp dword [ecx + 4], 0
jne 0x100bc93c
cmp dword [ecx], 2
mov eax, dword [ecx + 0x18]
jne 0x100bc397
cmp eax, 6
je 0x100bc38d
cmp eax, 7
je 0x100bc38d
cmp eax, 8
je 0x100bc38d
cmp eax, 5
jne 0x100bc397
test byte [edx + 0x20], 2
je 0x100bc94f
mov eax, dword [esi + 0x24]
call fcn.100bc000
cmp eax, 1
je 0x100bc3be
test eax, eax
je 0x100bc98b
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x30], 2
mov dword [esi + 0x34], eax
jmp 0x100bc8ed
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x4c]
lea ebx, [ebp - 0x18]
call fcn.100bbf10
mov edi, eax
test edi, edi
jl 0x100bcc69
jne 0x100bc40a
mov eax, dword [esi]
cmp eax, dword [ebp - 0x4c]
jne 0x100bc9c3
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x30], 7
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
mov dword [ebp - 0x18], 0
jmp 0x100bc8ed
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.100bb790
mov edi, eax
test edi, edi
jl 0x100bcc69
jne 0x100bc4c1
mov eax, esi
call fcn.100bec30
mov ecx, dword [ebp - 0x28]
test eax, eax
je 0x100bc45e
cmp ecx, 1
jne 0x100bca12
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
cmp eax, 2
je 0x100bc454
cmp eax, 3
jne 0x100bca12
cmp dword [edx + 4], 0
jne 0x100bca12
mov eax, dword [esi + 0x24]
lea edx, [eax + eax*4]
cmp dword [edx*8 + 0x1007d57c], ecx
jne 0x100bca38
mov dword [esi + 0x30], 1
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
je 0x100bcc35
mov ecx, dword [esi + 0x34]
mov edx, dword [ebp - 0x30]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x100bc8ed
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push eax
push ecx
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x58]
lea ebx, [ebp - 0x14]
call fcn.100bbc60
mov edi, eax
test edi, edi
jl 0x100bcc69
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
jne 0x100bc5d5
test byte [esi + 0xc0c], 2
jne 0x100bc508
cmp dword [ebp + 0x10], 0
jne 0x100bc508
cmp dword [ebx], 0x3000a
jne 0x100bcb14
lea ecx, [ebp - 0x58]
call fcn.100bed90
lea edx, [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
push edx
push eax
push esi
call fcn.100bcd20
mov edi, eax
test edi, edi
jl 0x100bcc69
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x30]
mov dword [ebp - 0x1c], ecx
call fcn.100bee70
test eax, eax
je 0x100bc54a
mov edx, dword [ebp - 0x34]
test byte [edx + 0x20], 2
je 0x100bcb27
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
cmp ecx, 2
jne 0x100bc560
cmp edx, dword [eax + 4]
jae 0x100bca7d
cmp ecx, 3
jne 0x100bc56e
cmp edx, dword [eax + 0xc]
jae 0x100bca7d
cmp ecx, 1
jne 0x100bc586
cmp dword [eax + 4], 0
je 0x100bca7d
cmp edx, dword [eax + 0xc]
jae 0x100bca7d
cmp edx, 0x3fffffff
jae 0x100bcbc7
cmp ecx, 3
jne 0x100bc5a6
cmp dword [eax + 4], 0
ja 0x100bca96
mov ecx, dword [ebp - 0x50]
jmp 0x100bc5a8
mov ecx, eax
mov eax, dword [ebx + 0x24]
call fcn.100bc000
cmp eax, 1
je 0x100bc5d5
test eax, eax
je 0x100bca96
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x30], 3
mov dword [ebx + 0x34], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x38], ecx
jmp 0x100bc8ed
mov edi, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
mov ecx, esi
call fcn.100bbcb0
mov edi, eax
test edi, edi
jl 0x100bcc69
jne 0x100bc67c
test byte [esi + 0xc0c], 2
jne 0x100bc609
cmp dword [ebp + 0x10], 0
je 0x100bcaae
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x3c]
push eax
push ecx
push esi
call fcn.100bcd20
mov edi, eax
test edi, edi
jl 0x100bcc69
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x1c], ecx
call fcn.100bee70
test eax, eax
je 0x100bc640
mov eax, dword [ebp - 0x3c]
test byte [eax + 0x20], 2
je 0x100bcac1
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x24]
call fcn.100bc000
cmp eax, 1
je 0x100bc67c
test eax, eax
je 0x100bcad5
cmp dword [ebx], 0x3000a
je 0x100bcaed
mov edx, dword [ebp - 0x10]
mov dword [ebx + 0x30], 4
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], edx
jmp 0x100bc8ed
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.100bbd10
mov edi, eax
test edi, edi
jl 0x100bcc69
jne 0x100bc72a
test byte [esi + 0xc0c], 2
jne 0x100bc6b0
cmp dword [ebp + 0x10], 0
je 0x100bcb14
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x40]
push ecx
push edx
push esi
call fcn.100bcd20
mov edi, eax
test edi, edi
jl 0x100bcc69
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
call fcn.100bee70
test eax, eax
je 0x100bc6e7
mov ecx, dword [ebp - 0x40]
test byte [ecx + 0x20], 2
je 0x100bcb27
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x24]
call fcn.100bc000
cmp eax, 1
je 0x100bc72a
test eax, eax
je 0x100bcb60
cmp dword [ebx], 0x3000a
je 0x100bcb75
mov dword [ebx + 0x30], 5
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x34], edx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x38], eax
mov dword [ebp - 0x18], 0
jmp 0x100bc8ed
test byte [esi + 0xc0c], 2
jne 0x100bc73d
cmp dword [ebp + 0x10], 0
je 0x100bcb9c
lea eax, [ebp - 0xbc]
call fcn.101117e0
mov dword [ebp - 0xac], 0
mov eax, dword [ebx + 0x24]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov ecx, dword [eax + eax + 0x1007d57c]
add eax, eax
mov eax, dword [eax + 0x1007d578]
dec eax
mov dword [ebp - 0xc], ecx
cmp eax, 0x13
ja case.0x100bc77f.4
movzx edx, byte [eax + 0x100bccf8]
jmp dword [edx*4 + 0x100bcce0]
mov eax, dword [esi + 0x9d0]
mov dword [ebp - 0x10], eax
jmp 0x100bc7b8
mov ecx, dword [esi + 0x9c0]
jmp 0x100bc7b5
mov edx, dword [esi + 0x9cc]
mov dword [ebp - 0x10], edx
jmp 0x100bc7b8
mov eax, dword [esi + 0x9b0]
mov dword [ebp - 0x10], eax
jmp 0x100bc7b8
mov ecx, dword [esi + 0x9a0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
call fcn.100a47a0
mov edx, dword [ebp - 0x10]
cmp edx, dword [esi + 0x9b0]
lea edi, [esi + 0x938]
jne 0x100bc7e1
mov esi, dword [edi + 0x1c8]
test esi, esi
je 0x100bc7e1
cmp dword [ebp - 0xc], 4
je 0x100bc844
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0
push eax
mov ecx, edi
call fcn.101128c0
mov esi, eax
test esi, esi
je 0x100bc83b
cmp dword [ebp - 0xc], 1
jbe 0x100bc844
push 0x24
call fcn.1010faa0
test eax, eax
je 0x100bc83b
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b85c
mov dword [eax + 4], 9
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], edx
mov esi, eax
jmp 0x100bc844
mov byte [edi + 0x240], 1
xor esi, esi
test esi, esi
je 0x100bcc3c
mov dword [ebp - 0x9c], 0
mov eax, dword [ebx + 0x24]
lea eax, [eax + eax*4]
mov ecx, dword [eax*8 + 0x1007d57c]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa4], 1
mov byte [ebp - 0x90], 1
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x98], ecx
call fcn.100a47a0
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, 8
lea edi, [ebp - 0x84]
lea edx, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
push edx
lea edi, [ebp - 0xbc]
call fcn.100bbd70
mov edi, eax
test edi, edi
jl 0x100bcc4e
jne 0x100bcbfc
mov dword [ebx + 0x30], 6
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x34], eax
mov eax, ebx
mov dword [ebp - 0x18], 0
call fcn.100bec30
test eax, eax
jne 0x100bcc0e
lea ecx, [ebp - 0xbc]
call fcn.10111910
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x44]
jae 0x100bcc5b
xor edi, edi
jmp 0x100bc200
mov edx, dword [ebx + 0x58]
test edx, edx
jne 0x100bc90e
lea edx, [ebx + 0x38]
mov esi, dword [esi + 0x24]
lea eax, [esi + esi*4]
mov ecx, dword [eax*8 + 0x1007d570]
mov eax, dword [ebp + 8]
push ecx
add eax, 0x30
push 0x10086430
push eax
xor ecx, ecx
call fcn.101bf9b0
add esp, 0xc
mov edi, 0x80004005
jmp 0x100bcc69
mov edx, dword [ebx + 0x58]
test edx, edx
jne 0x100bc259
lea edx, [ebx + 0x38]
jmp 0x100bc259
mov edx, dword [ebx + 0x58]
test edx, edx
jne 0x100bc959
lea edx, [ebx + 0x38]
mov esi, dword [esi + 0x24]
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [esi + esi*4]
mov eax, dword [ecx*8 + 0x1007d570]
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x30
push 0x100864a0
push ecx
xor ecx, ecx
call fcn.101bf9b0
add esp, 0x10
mov edi, 0x80004005
jmp 0x100bcc69
mov edx, dword [ebx + 0x58]
test edx, edx
jne 0x100bc995
lea edx, [ebx + 0x38]
mov esi, dword [esi + 0x24]
lea eax, [esi + esi*4]
mov ecx, dword [eax*8 + 0x1007d570]
mov eax, dword [ebp + 8]
push ecx
add eax, 0x30
push 0x10086520
push eax
xor ecx, ecx
call fcn.101bf9b0
add esp, 0xc
mov edi, 0x80004005
jmp 0x100bcc69
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100bc9ce
xor edx, edx
jmp 0x100bc9d8
mov edx, dword [eax + 0x58]
test edx, edx
jne 0x100bc9d8
lea edx, [eax + 0x38]
mov esi, dword [esi + 0x24]
lea ecx, [esi + esi*4]
mov eax, dword [ecx*8 + 0x1007d570]
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x30
push 0x10086568
push ecx
xor ecx, ecx
call fcn.101bf9b0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
push edx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0x80004005
jmp 0x100bcc69
mov esi, dword [esi + 0x24]
lea eax, [esi + esi*4]
mov ecx, dword [eax*8 + 0x1007d570]
push ecx
push 0x100865b0
mov ecx, ebx
call fcn.100a47a0
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
jmp 0x100bcbbb
mov esi, eax
lea eax, [esi + esi*4]
add eax, eax
push ecx
add eax, eax
mov ecx, dword [eax + eax + 0x1007d57c]
mov edx, dword [eax + eax + 0x1007d570]
add eax, eax
push ecx
push edx
push 0x10086600
mov ecx, ebx
call fcn.100a47a0
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
xor ecx, ecx
mov edx, eax
call fcn.101bf9b0
add esp, 0x14
mov edi, 0x80004005
jmp 0x100bcc69
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0xc]
dec eax
push eax
push ecx
push 0x10086644
jmp 0x100bcb3e
mov ebx, dword [ebx + 0x24]
lea edx, [ebx + ebx*4]
mov eax, dword [edx*8 + 0x1007d570]
push eax
push 0x10086520
jmp 0x100bcbaf
mov ebx, dword [ebx + 0x24]
lea ecx, [ebx + ebx*4]
mov edx, dword [ecx*8 + 0x1007d570]
push edx
jmp 0x100bcbaa
mov ebx, dword [ebx + 0x24]
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + ebx*4]
mov edx, dword [ecx*8 + 0x1007d570]
push eax
push edx
jmp 0x100bcb39
mov ebx, dword [ebx + 0x24]
lea eax, [ebx + ebx*4]
mov ecx, dword [eax*8 + 0x1007d570]
push ecx
push 0x10086520
jmp 0x100bcbaf
mov ecx, dword [ebp - 8]
push 0x10086680
call fcn.100a47a0
add esi, 0x30
push esi
xor ecx, ecx
mov edx, eax
call fcn.101bf9b0
add esp, 8
mov edi, 0x80004005
jmp 0x100bcc69
mov ebx, dword [ebx + 0x24]
lea edx, [ebx + ebx*4]
mov eax, dword [edx*8 + 0x1007d570]
push eax
jmp 0x100bcbaa
mov ebx, dword [ebx + 0x24]
mov ecx, dword [ebp - 0x14]
lea edx, [ebx + ebx*4]
mov eax, dword [edx*8 + 0x1007d570]
push ecx
push eax
push 0x100864a0
mov ecx, dword [ebp - 8]
call fcn.100a47a0
add esi, 0x30
push esi
mov edx, eax
xor ecx, ecx
call fcn.101bf9b0
add esp, 0x10
mov edi, 0x80004005
jmp 0x100bcc69
mov ebx, dword [ebx + 0x24]
lea ecx, [ebx + ebx*4]
mov edx, dword [ecx*8 + 0x1007d570]
push edx
push 0x10086520
jmp 0x100bcbaf
mov ecx, dword [ebp - 8]
push 0x100866c8
call fcn.100a47a0
add esi, 0x30
push esi
xor ecx, ecx
mov edx, eax
call fcn.101bf9b0
add esp, 8
mov edi, 0x80004005
jmp 0x100bcc69
mov ebx, dword [ebx + 0x24]
lea eax, [ebx + ebx*4]
mov ecx, dword [eax*8 + 0x1007d570]
push ecx
push 0x10086430
mov ecx, dword [ebp - 8]
call fcn.100a47a0
add esi, 0x30
push esi
mov edx, eax
xor ecx, ecx
call fcn.101bf9b0
add esp, 0xc
mov edi, 0x80004005
jmp 0x100bcc69
mov ebx, dword [ebx + 0x24]
mov ecx, dword [ebp - 8]
lea edx, [ebx + ebx*4]
mov eax, dword [edx*8 + 0x1007d570]
push eax
push 0x10086710
call fcn.100a47a0
add esi, 0x30
push esi
xor ecx, ecx
mov edx, eax
call fcn.101bf9b0
add esp, 0xc
lea ecx, [ebp - 0xbc]
mov edi, 0x80004005
call fcn.10111910
jmp 0x100bcc69
mov ebx, dword [ebx + 0x24]
lea ecx, [ebx + ebx*4]
mov edx, dword [ecx*8 + 0x1007d570]
push edx
push 0x10086790
lea ecx, [ebp - 0xbc]
call fcn.100a47a0
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
jmp 0x100bcbf0
mov edi, 0x8007000e
jmp 0x100bcc69
lea ecx, [ebp - 0xbc]
mov edi, 0x8007000e
call fcn.10111910
jmp 0x100bcc69
lea ecx, [ebp - 0xbc]
call fcn.10111910
jmp 0x100bcc63
mov ebx, dword [ebp + 0xc]
call fcn.100b8fb0
test edi, edi
jl 0x100bcc69
xor edi, edi
mov eax, dword [ebp - 0x18]
xor esi, esi
cmp eax, esi
je 0x100bcc7d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x30]
push ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ebx, [ebp - 0x26c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
call fcn.10101cd0
cmp byte [ebp - 0xcc], 0
je 0x100bccd3
mov esi, dword [ebp - 0xd8]
test esi, esi
je 0x100bccd3
mov eax, dword [0x101e316c]
test eax, eax
jge 0x100bccc0
xor eax, eax
jmp 0x100bccc7
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc