Function at 0x100c9ef0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x198
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10294]
mov esi, dword [eax + 0x3c]
xor ebx, ebx
push ebx
and esi, 0xfffff
push esi
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x194]
push edx
push 0x100715d8
push eax
mov ecx, edi
mov dword [ebp - 0xc], esi
mov byte [ebp - 6], bl
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 3
mov byte [ebp - 7], bl
call fcn.10161210
cmp dword [ebp - 0x18], 0x20
ja 0x100ca11b
cmp eax, 1
jne 0x100c9fa7
push ebx
push esi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [edi + 0x10294]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x194]
push eax
push 0x100713f8
push ecx
mov ecx, edi
call fcn.10161210
cmp dword [ebp - 0x18], 0x20
jbe 0x100c9fa3
mov eax, 0x80004005
mov byte [ebp - 6], 1
cmp eax, ebx
jne 0x100ca11b
lea edx, [ebp - 0xf4]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0xc], 0
mov byte [ebp - 5], 0
jbe 0x100ca03a
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov ebx, dword [esi]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca015
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x100ca015
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
call fcn.101658d0
test eax, eax
jne 0x100ca015
cmp byte [ebp - 6], al
je 0x100ca003
fld1
jmp 0x100ca005
fldz
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fcomp qword [ebp - 0x34]
fnstsw ax
test ah, 0x44
jnp 0x100ca019
mov byte [ebp - 5], 1
add esi, 4
sub dword [ebp - 0x40], 1
jne 0x100c9fd1
cmp byte [ebp - 5], 0
je 0x100ca03a
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x2c], 0x10
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 2
jb 0x100c9fbe
jmp 0x100ca04d
mov eax, dword [ebp - 0x14]
shl eax, 4
mov edx, eax
lea eax, [ebp - 0xe4]
sub eax, edx
mov dword [ebp - 0x48], eax
xor esi, esi
mov byte [ebp - 5], 0
cmp dword [ebp - 0xc], esi
jbe 0x100ca0c1
jmp 0x100ca060
mov ebx, dword [ebp + esi*4 - 0x104]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca0b1
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x100ca0b1
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.101658d0
test eax, eax
jne 0x100ca0b1
cmp byte [ebp - 6], al
je 0x100ca097
fldz
jmp 0x100ca099
fld1
fstp dword [ebp - 0x20]
fld qword [ebp - 0x34]
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
fld dword [ebp - 0x20]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x100ca0b5
mov byte [ebp - 5], 1
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x100ca060
cmp byte [ebp - 5], 0
jne 0x100ca0c8
mov ebx, dword [ebp - 0x48]
test ebx, ebx
jne 0x100ca0d6
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor edx, edx
cmp dword [ebp - 0xc], edx
jbe 0x100ca113
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebx + edx*4]
xor eax, eax
test ecx, ecx
jbe 0x100ca0fb
mov edi, dword [esi + 0x88]
nop
cmp edi, dword [ebp + eax*4 - 0x5c]
je 0x100ca0fb
inc eax
cmp eax, ecx
jb 0x100ca0f0
cmp eax, ecx
jne 0x100ca10a
mov eax, dword [esi + 0x88]
mov dword [ebp + ecx*4 - 0x5c], eax
inc ecx
inc edx
cmp edx, dword [ebp - 0xc]
jb 0x100ca0e0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ebx
jmp 0x100ca7d1
mov esi, edi
mov eax, dword [esi + 0x10294]
mov ebx, dword [eax + 0x3c]
push 0
and ebx, 0xfffff
push ebx
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x194]
push edx
push 0x100707c8
push eax
mov ecx, esi
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], 1
call fcn.10161210
mov edi, eax
cmp edi, 1
jne 0x100ca192
push 0
push ebx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [esi + 0x10294]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x194]
push eax
push 0x10070b88
push ecx
mov ecx, esi
call fcn.10161210
mov edi, eax
mov byte [ebp - 5], 0
test edi, edi
jne 0x100ca2db
xor esi, esi
test ebx, ebx
jbe 0x100ca2cd
mov ebx, dword [ebp + esi*4 - 0x104]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 8]
mov edx, dword [ebp + esi*4 - 0xf4]
mov edi, dword [ebp + esi*4 - 0xd4]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca0c8
mov edx, dword [edx + 0x50]
mov eax, dword [edx + 8]
and eax, 0x100
or eax, ecx
je 0x100ca0c8
mov eax, dword [edi + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
or eax, ecx
je 0x100ca0c8
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x34]
push edx
call fcn.101658d0
test eax, eax
jne 0x100ca0c8
mov ebx, dword [ebp + esi*4 - 0xf4]
lea eax, [ebp - 0x24]
push eax
call fcn.101658d0
test eax, eax
jne 0x100ca0c8
mov ebx, dword [ebp + esi*4 - 0xd4]
lea ecx, [ebp - 0x44]
push ecx
call fcn.101658d0
test eax, eax
jne 0x100ca0c8
fld1
fcomp qword [ebp - 0x34]
fnstsw ax
test ah, 0x44
jp 0x100ca0c8
xor edx, edx
cmp byte [ebp - 5], dl
sete dl
lea edx, [edx + edx - 1]
mov dword [ebp - 0x38], edx
fild dword [ebp - 0x38]
fcomp qword [ebp - 0x24]
fnstsw ax
test ah, 0x44
jp 0x100ca0c8
fldz
fcomp qword [ebp - 0x44]
fnstsw ax
test ah, 0x44
jp 0x100ca0c8
mov edi, dword [ebp + esi*4 - 0xe4]
mov eax, dword [edi + 0x50]
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x8040]
je 0x100ca291
mov byte [ebp - 7], 1
mov ecx, dword [ebp - 0x28]
xor eax, eax
test ecx, ecx
jbe 0x100ca2ab
mov edx, dword [edi + 0x88]
cmp edx, dword [ebp + eax*4 - 0x5c]
je 0x100ca2ab
inc eax
cmp eax, ecx
jb 0x100ca2a0
cmp eax, ecx
jne 0x100ca2c3
cmp byte [ebp - 7], 0
jne 0x100ca2c3
mov edx, dword [edi + 0x88]
mov dword [ebp + ecx*4 - 0x5c], edx
inc ecx
mov dword [ebp - 0x28], ecx
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x100ca1a4
lea eax, [ebp - 0xe4]
mov dword [ebp - 0x10], eax
jmp 0x100ca7d1
cmp edi, 1
jne 0x100ca7c9
push 0
push ebx
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x104]
push edx
mov edx, dword [esi + 0x10294]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x194]
push ecx
push 0x10070f48
push edx
mov ecx, esi
call fcn.10161210
mov edi, eax
test edi, edi
jne 0x100ca595
mov dword [ebp - 0x14], eax
test ebx, ebx
jbe 0x100ca7d1
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + eax*4 - 0xd4]
mov ecx, dword [ebp + eax*4 - 0xc4]
mov edx, dword [esi + 0x50]
mov ecx, dword [ecx + 0x50]
mov byte [ebp - 5], 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 6], 0
cmp esi, dword [ebp + eax*4 - 0xe4]
jne 0x100ca38d
mov edx, ecx
mov eax, dword [edx + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca38d
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + ecx*4 - 0xc4]
lea eax, [ebp - 0x3c]
push eax
call fcn.101658d0
test eax, eax
jne 0x100ca38d
fld qword [0x100a3028]
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 0x44
jnp 0x100ca3d3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0xc4]
cmp ecx, dword [ebp + eax*4 - 0xe4]
jne 0x100ca3d7
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca3d7
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
mov ebx, esi
call fcn.101658d0
test eax, eax
jne 0x100ca3d7
fld qword [0x100a3028]
fcomp qword [ebp - 0x34]
fnstsw ax
test ah, 0x44
jp 0x100ca3d7
mov byte [ebp - 6], 1
cmp byte [ebp - 6], 0
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0x10], ecx
jne 0x100ca49e
mov ecx, dword [ebp + edi*4 - 0xf4]
mov eax, dword [esi + 0x7c]
cmp eax, ecx
je 0x100ca405
cmp eax, 0xffffffff
je 0x100ca43a
cmp dword [ecx + 0x7c], eax
jne 0x100ca43a
mov edx, dword [ecx + 0x80]
xor edx, 0x400
cmp dword [esi + 0x80], edx
jne 0x100ca43a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
and eax, 0x100
xor edx, edx
or eax, edx
je 0x100ca43a
fld1
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 0x44
jp 0x100ca43a
mov byte [ebp - 6], 1
mov edx, dword [ebp + edi*4 - 0xc4]
mov eax, dword [edx + 0x7c]
cmp eax, ecx
je 0x100ca452
cmp eax, 0xffffffff
je 0x100ca487
cmp dword [ecx + 0x7c], eax
jne 0x100ca487
mov ecx, dword [ecx + 0x80]
xor ecx, 0x400
cmp dword [edx + 0x80], ecx
jne 0x100ca487
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca487
fld1
fcomp qword [ebp - 0x34]
fnstsw ax
test ah, 0x44
jp 0x100ca487
mov byte [ebp - 6], 1
cmp byte [ebp - 6], 0
mov byte [ebp - 5], 1
je 0x100ca0c8
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x10], eax
cmp byte [ebp - 5], 0
mov ebx, dword [ebp + edi*4 - 0x104]
je 0x100ca4b7
mov ecx, dword [ebp + edi*4 - 0xe4]
mov dword [ebp - 0x2c], ecx
jmp 0x100ca4c1
mov edx, dword [ebp + edi*4 - 0xf4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax + 0x50]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca0c8
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x34]
push ecx
call fcn.101658d0
test eax, eax
jne 0x100ca0c8
fldz
fcomp qword [ebp - 0x34]
fnstsw ax
test ah, 0x44
jp 0x100ca0c8
mov eax, dword [esi + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca0c8
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
push edx
call fcn.101658d0
test eax, eax
jne 0x100ca0c8
fld1
fcomp qword [ebp - 0x3c]
fnstsw ax
test ah, 0x44
jp 0x100ca0c8
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov edx, dword [eax + ebx*4]
mov ecx, dword [edx + 0x50]
cmp ecx, dword [edi + 0x8040]
je 0x100ca54e
mov byte [ebp - 7], 1
mov ecx, dword [ebp - 0x28]
xor eax, eax
test ecx, ecx
jbe 0x100ca56b
mov esi, dword [edx + 0x88]
lea ecx, [ecx]
cmp esi, dword [ebp + eax*4 - 0x5c]
je 0x100ca56b
inc eax
cmp eax, ecx
jb 0x100ca560
cmp eax, ecx
jne 0x100ca583
cmp byte [ebp - 7], 0
jne 0x100ca583
mov edx, dword [edx + 0x88]
mov dword [ebp + ecx*4 - 0x5c], edx
inc ecx
mov dword [ebp - 0x28], ecx
inc ebx
mov dword [ebp - 0x14], ebx
cmp ebx, dword [ebp - 0xc]
jb 0x100ca325
jmp 0x100ca7d1
xor ebx, ebx
test byte [esi + 0x7fcf], 2
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x38], ebx
je 0x100ca5e4
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x194]
push ecx
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.100c9310
test eax, eax
je 0x100ca5da
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x194]
push ecx
lea edx, [ebp - 0x10]
push edx
push esi
call fcn.100c9a60
test eax, eax
jne 0x100ca5e4
mov eax, dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 0x38], ebx
jmp 0x100ca5fa
mov eax, dword [esi + 0x10294]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp eax, ecx
je 0x100ca7b9
mov eax, dword [eax + 0x3c]
mov edx, eax
and edx, 0xfff00000
cmp edx, 0x70b00000
jne 0x100ca7b9
fldz
and eax, 0xfffff
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], ecx
lea ecx, [eax*4]
neg eax
add eax, eax
add eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x48], 0
jbe 0x100ca716
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], ecx
jmp 0x100ca662
fldz
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + eax]
test dword [esi + 0x80], 0x400
mov edx, dword [ebp - 0x60]
mov ebx, dword [edx + eax]
je 0x100ca693
fcom qword [esi + 0xd8]
fnstsw ax
test ah, 1
jne 0x100ca716
jmp 0x100ca6a0
fcom qword [esi + 0xd0]
fnstsw ax
test ah, 0x41
jp 0x100ca716
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 8]
and eax, 0x100
xor ecx, ecx
or eax, ecx
je 0x100ca716
mov edi, dword [ebp + 8]
fstp st(0)
lea eax, [ebp - 0x54]
push eax
call fcn.101658d0
test eax, eax
jne 0x100ca714
fld1
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 0x44
jp 0x100ca714
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x100ca714
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx]
mov eax, dword [ebp - 0x48]
mov edx, dword [esi + 0x50]
mov dword [ebp + eax*4 - 0x114], ecx
mov ecx, edi
cmp edx, dword [ecx + 0x8040]
je 0x100ca6fc
mov byte [ebp - 7], 1
mov ecx, 4
add dword [ebp - 0x60], ecx
add dword [ebp - 0x14], ecx
inc eax
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp - 0xc]
jb 0x100ca660
fldz
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 0x48], ecx
je 0x100ca73f
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add dword [ebp - 0x20], edx
add ecx, ecx
add ecx, ecx
add dword [ebp - 0x40], ecx
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 2
jb 0x100ca63e
fstp st(0)
jmp 0x100ca7a1
fstp st(0)
test ecx, ecx
jbe 0x100ca7a1
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
imul eax, ecx
mov edx, dword [edx + 4]
lea ebx, [edx + eax*4]
mov edx, dword [ebp - 0x28]
mov edi, dword [ebx]
cmp dword [edi + 0x7c], 0xffffffff
jne 0x100ca792
xor eax, eax
test edx, edx
jbe 0x100ca77b
mov esi, dword [edi + 0x88]
jmp 0x100ca770
cmp esi, dword [ebp + eax*4 - 0x5c]
je 0x100ca77b
inc eax
cmp eax, edx
jb 0x100ca770
cmp eax, edx
jne 0x100ca796
cmp byte [ebp - 7], 0
jne 0x100ca796
mov eax, dword [edi + 0x88]
mov dword [ebp + edx*4 - 0x5c], eax
inc edx
jmp 0x100ca796
mov byte [ebp - 7], 1
add ebx, 4
sub ecx, 1
jne 0x100ca757
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x2c], 2
je 0x100ca0c8
mov ebx, dword [ebp - 0x38]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x10], ecx
xor edi, edi
test ebx, ebx
je 0x100ca7c9
mov esi, ebx
call fcn.10171ee0
call fcn.101751f0
test edi, edi
jne 0x100caa6e
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x40], 0
jbe 0x100ca875
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp + edx*4 - 0x5c]
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
je 0x100ca977
mov eax, dword [esi + 0x3c]
shr eax, 0x1c
cmp eax, 6
je 0x100ca977
cmp eax, 0xa
je 0x100ca977
mov eax, dword [ebp + 8]
test byte [eax + 0x7fd3], 8
je 0x100ca828
mov eax, esi
call fcn.10174db0
test al, al
je 0x100ca977
mov ebx, dword [esi + 8]
xor edx, edx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0xc], edx
jbe 0x100ca85c
test ebx, ebx
jbe 0x100ca856
mov ecx, dword [ebp - 0x10]
mov edi, dword [ecx + edx*4]
mov eax, dword [esi + 0xc]
mov ecx, ebx
cmp dword [eax], edi
jne 0x100ca84e
inc dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
add eax, 4
sub ecx, 1
jne 0x100ca844
inc edx
cmp edx, dword [ebp - 0xc]
jb 0x100ca835
cmp dword [ebp - 0x20], ebx
jne 0x100ca977
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x28]
jb 0x100ca7e2
cmp byte [ebp - 7], 0
jne 0x100ca977
mov edi, dword [ebp - 0xc]
xor esi, esi
or ebx, 0xffffffff
xor edx, edx
test edi, edi
jbe 0x100ca8ad
lea ecx, [ecx]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x1c]
cmp esi, ecx
jae 0x100ca89f
mov esi, ecx
mov eax, dword [eax + 0x18]
cmp ebx, eax
jbe 0x100ca8a8
mov ebx, eax
inc edx
cmp edx, edi
jb 0x100ca890
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x30], esi
test esi, esi
jbe 0x100ca8c1
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
jmp 0x100ca8c3
xor ecx, ecx
mov edi, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x20], edx
test esi, esi
jbe 0x100cabb2
mov eax, esi
mov dword [ebp - 0x38], eax
jmp 0x100ca8e0
test dword [ecx + 0x3c], 0xf0000000
je 0x100ca94a
xor eax, eax
test edi, edi
jbe 0x100ca8fe
nop
cmp ecx, dword [ebp + eax*4 - 0x194]
je 0x100ca8fe
inc eax
cmp eax, edi
jb 0x100ca8f0
cmp eax, edi
jne 0x100ca94a
mov eax, dword [ecx]
test eax, eax
jbe 0x100ca94a
mov esi, dword [ecx + 4]
mov edi, eax
lea ecx, [ecx]
mov ebx, dword [esi]
xor eax, eax
cmp dword [ebp - 0xc], eax
jbe 0x100ca939
mov edx, ebx
jmp 0x100ca920
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + eax*4]
cmp ecx, edx
je 0x100ca92f
cmp dword [ebx + 0x7c], ecx
jne 0x100ca933
mov byte [ebp - 7], 1
inc eax
cmp eax, dword [ebp - 0xc]
jb 0x100ca920
add esi, 4
sub edi, 1
jne 0x100ca910
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
inc edx
mov dword [ebp - 0x20], edx
cmp edx, esi
jb 0x100ca95b
mov edx, esi
xor ecx, ecx
mov dword [ebp - 0x20], edx
jmp 0x100ca964
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + edx*4]
cmp edx, dword [ebp - 0x38]
jb 0x100ca8e0
cmp byte [ebp - 7], 0
je 0x100cabb2
mov eax, dword [0x101e316c]
xor esi, esi
cmp eax, esi
jge 0x100ca986
xor eax, eax
jmp 0x100ca98d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0x18], esi
je 0x100ca9b5
mov ecx, dword [eax + 0x18]
cmp ecx, esi
jne 0x100ca99f
xor ecx, ecx
mov ebx, ecx
jmp 0x100ca9c3
mov edx, dword [ecx]
mov dword [eax + 0x18], edx
cmp edx, esi
jne 0x100ca9ab
mov dword [eax + 0x1c], esi
mov dword [ecx], 0xfefefefe
mov ebx, ecx
jmp 0x100ca9c3
mov ecx, dword [eax + 0x14]
push 0x10
push 0x44
call fcn.101d8457
mov ebx, eax
cmp ebx, esi
je 0x100ca0c8
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebx + 0x10], eax
mov word [ebx + 0x42], cx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x20], eax
xor edx, edx
mov eax, ecx
push esi
and eax, 0xfffff
mov word [ebx + 0x40], dx
or eax, 0x10000000
push ebx
mov edx, ecx
mov dword [ebx], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x38], esi
call fcn.10172020
mov edi, eax
cmp edi, esi
jge 0x100caa79
mov esi, ebx
call fcn.10171ee0
mov eax, dword [0x101e316c]
test eax, eax
jl 0x100caa6e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100caa6e
push 0x44
push 0xfe
push ebx
call sub.msvcrt.dll_memset
mov dword [ebx], 0
mov eax, dword [esi + 0x1c]
add esp, 0xc
test eax, eax
je 0x100caa68
mov dword [eax], ebx
mov dword [esi + 0x1c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10294]
mov ecx, dword [eax + 0x34]
mov esi, dword [ebp - 0xc]
mov dword [ebx + 0x34], ecx
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
lea edi, [esi*4]
push edi
push eax
push ecx
mov dword [ebx + 0x38], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10294]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebx + 0xc]
add esp, 0xc
push edi
push ecx
push edx
call sub.msvcrt.dll_memcpy
xor edi, edi
add esp, 0xc
xor eax, eax
cmp esi, edi
jbe 0x100caae2
jmp 0x100caad0
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + eax*4]
or dword [ecx + 0x80], 1
inc eax
cmp eax, esi
jb 0x100caad0
mov edx, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, edi
jbe 0x100cab04
jmp 0x100caaf0
mov eax, dword [ebp + ecx*4 - 0x194]
inc ecx
mov dword [eax + 0x3c], edi
mov dword [eax], edi
mov dword [eax + 8], edi
cmp ecx, edx
jb 0x100caaf0
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x10294]
mov eax, dword [esi + 0x10]
mov edi, dword [ecx + 0x10]
cmp eax, edi
jae 0x100cab23
mov edx, dword [ecx + 0x14]
cmp dword [edx + eax*4], esi
jne 0x100cab23
mov edi, eax
jmp 0x100cab42
test edi, edi
jbe 0x100cab3c
mov eax, ecx
mov ecx, dword [eax + 0x14]
lea eax, [ecx + edi*4]
nop
sub eax, 4
dec edi
cmp dword [eax], esi
je 0x100cab3d
test edi, edi
ja 0x100cab30
dec edi
cmp edi, 0xffffffff
je 0x100cab9e
call fcn.10171ee0
mov eax, dword [0x101e316c]
test eax, eax
jl 0x100cab8e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100cab8e
push 0x44
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x20]
mov dword [esi], 0
mov eax, dword [edx + 0x1c]
add esp, 0xc
test eax, eax
je 0x100cab82
mov dword [eax], esi
jmp 0x100cab88
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x18], esi
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], esi
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
mov dword [edx + edi*4], ebx
mov dword [ebx + 0x10], edi
or dword [eax + 0x18], 6
mov eax, dword [ebp + 8]
push eax
call fcn.10175ad0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x28], esi
jbe 0x100cac76
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10294]
mov edx, dword [eax + 8]
mov ecx, dword [ebp + esi*4 - 0x5c]
xor ebx, ebx
mov dword [ebp - 0x30], edx
test edx, edx
jbe 0x100cac4c
lea esp, [esp]
xor eax, eax
cmp dword [ecx + 8], eax
jbe 0x100cac44
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + eax*4]
mov esi, dword [ebp - 0x10]
cmp edx, dword [esi + ebx*4]
jne 0x100cac3b
mov edx, dword [ecx + 0xc]
mov esi, dword [edx + eax*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10294]
mov edx, dword [edx + 0xc]
mov edi, dword [edx + ebx*4]
mov edx, dword [esi + 0x68]
mov dword [edi + 0x68], edx
mov dl, byte [esi + 0x6c]
mov byte [edi + 0x6c], dl
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10294]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + ebx*4]
mov esi, dword [ecx + 0xc]
mov edi, dword [ebp - 0x18]
mov dword [esi + eax*4], edx
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + eax*4]
or dword [edx + 0x80], 1
inc eax
cmp eax, dword [ecx + 8]
jb 0x100cabe7
mov edx, dword [ebp - 0x30]
inc ebx
cmp ebx, edx
jb 0x100cabe0
mov esi, dword [ebp - 0x38]
xor edx, edx
xor eax, eax
cmp edi, edx
jbe 0x100cac69
cmp ecx, dword [ebp + eax*4 - 0x194]
jne 0x100cac64
mov dword [ebp + eax*4 - 0x194], edx
inc eax
cmp eax, edi
jb 0x100cac54
inc esi
mov dword [ebp - 0x38], esi
cmp esi, dword [ebp - 0x28]
jb 0x100cabc0
xor edx, edx
xor ecx, ecx
cmp edi, edx
jbe 0x100cac98
mov edi, edi
mov eax, dword [ebp + ecx*4 - 0x194]
cmp eax, edx
je 0x100cac93
mov dword [eax + 0x3c], edx
mov dword [eax], edx
mov dword [eax + 8], edx
inc ecx
cmp ecx, edi
jb 0x100cac80
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4