Function at 0x100d8700
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c0
mov eax, dword [0x101e0048]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x540
mov esi, ecx
lea edx, [ebp - 0x54c]
lea ecx, [ebp - 0x57c]
push ebx
push edx
mov dword [ebp - 0x558], esi
mov dword [ebp - 0x5f8], eax
mov dword [ebp - 0x584], ebx
mov dword [ebp - 0x580], ebx
mov dword [ebp - 0x57c], ebx
mov dword [ebp - 0x578], ecx
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 0x8120]
mov eax, dword [esi + 0x8138]
and ecx, 0xff00
add esp, 0xc
cmp ecx, 0x500
sbb edi, edi
mov dword [ebp - 0x56c], eax
mov eax, 0x13
and edi, 0xffffff00
mov dword [ebp - 0x5c8], esi
mov dword [ebp - 0x5d8], esi
mov dword [ebp - 0x5e8], esi
mov dword [ebp - 0x608], esi
add edi, 0xb00
lea esi, [ebp - 0x658]
mov dword [ebp - 0x5ac], ebx
mov dword [ebp - 0x5a8], ebx
mov dword [ebp - 0x5a4], ebx
mov byte [ebp - 0x5a0], bl
mov byte [ebp - 0x59f], 1
mov dword [ebp - 0x5c4], 2
mov dword [ebp - 0x5cc], ebx
mov dword [ebp - 0x5c0], ebx
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x5dc], ebx
mov dword [ebp - 0x5d0], ebx
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 0x5ec], ebx
mov dword [ebp - 0x5e0], ebx
mov dword [ebp - 0x604], ebx
mov dword [ebp - 0x60c], ebx
mov dword [ebp - 0x600], ebx
mov dword [ebp - 0x594], ebx
mov dword [ebp - 0x590], ebx
mov dword [ebp - 0x58c], ebx
mov byte [ebp - 0x588], bl
mov byte [ebp - 0x587], 1
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x5b4], ebx
mov byte [ebp - 0x5b0], bl
mov byte [ebp - 0x5af], 1
call fcn.101016f0
mov edx, dword [ebp - 0x558]
mov eax, dword [edx + 0x8120]
mov dword [ebp - 0x648], eax
mov eax, edx
mov ecx, dword [eax + 0x8124]
mov edx, dword [eax + 0x10354]
push ebx
push 1
mov eax, esi
mov dword [ebp - 0x644], ecx
push eax
mov eax, dword [ebp - 0x638]
lea ecx, [ebp - 0x584]
push ecx
mov dword [ebp - 0x620], edx
call fcn.100b41f0
mov edi, eax
cmp edi, ebx
jl 0x100d97bc
xor esi, esi
push esi
push esi
push esi
lea edx, [ebp - 0x554]
push edx
mov edx, dword [ebp - 0x558]
lea eax, [ebp - 0x550]
push eax
lea ecx, [ebp - 0x560]
push ecx
push edx
mov dword [ebp - 0x560], esi
mov dword [ebp - 0x550], esi
mov dword [ebp - 0x554], esi
call fcn.100d83c0
mov edi, eax
cmp edi, esi
jl 0x100d97bc
mov eax, dword [ebp - 0x56c]
test eax, eax
je 0x100d891d
push esi
push esi
push esi
lea ecx, [ebp - 0x554]
push ecx
lea edx, [ebp - 0x550]
push edx
lea ecx, [ebp - 0x560]
push ecx
push eax
call fcn.100d83c0
mov edi, eax
test edi, edi
jl 0x100d97bc
mov edx, dword [ebp - 0x554]
mov eax, dword [ebp - 0x550]
lea edi, [edx + eax]
add edi, dword [ebp - 0x560]
mov eax, dword [ebp - 0x558]
lea ecx, [ebp - 0x5c0]
push ecx
lea edx, [ebp - 0x5cc]
push edx
mov ecx, 4
push eax
lea esi, [ecx - 2]
mov dword [ebp - 0x568], edi
call fcn.100db050
mov edi, eax
test edi, edi
jl 0x100d97bc
mov ecx, dword [ebp - 0x5c0]
mov ebx, dword [ebp - 0x5cc]
push ecx
push 0
push ebx
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x550]
mov eax, dword [ebp - 0x560]
add esp, 0xc
push edx
push eax
push ebx
lea ecx, [ebp - 0x554]
push ecx
mov ecx, dword [ebp - 0x558]
lea edx, [ebp - 0x550]
push edx
lea eax, [ebp - 0x560]
push eax
push ecx
call fcn.100d83c0
mov edi, eax
test edi, edi
jl 0x100d97bc
mov eax, dword [ebp - 0x56c]
test eax, eax
je 0x100d89f4
mov edx, dword [ebp - 0x550]
mov ecx, dword [ebp - 0x560]
push edx
push ecx
push ebx
lea edx, [ebp - 0x554]
push edx
lea ecx, [ebp - 0x550]
push ecx
lea edx, [ebp - 0x560]
push edx
push eax
call fcn.100d83c0
mov edi, eax
test edi, edi
jl 0x100d97bc
mov ecx, dword [ebp - 0x568]
xor edx, edx
mov dword [ebp - 0x564], 0
test ecx, ecx
jbe 0x100d8a98
cmp dword [ebx + edx*4], 0
je 0x100d8a7f
mov eax, dword [ebx + edx*4]
mov esi, dword [eax + 0x8c]
inc dword [ebp - 0x564]
inc edx
mov dword [ebp - 0x570], esi
mov esi, dword [eax + 0x50]
cmp edx, ecx
jae 0x100d8a98
cmp dword [ebx + edx*4], 0
je 0x100d8a72
mov edi, dword [ebx + edx*4]
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
xor eax, dword [esi + 8]
xor ecx, dword [esi + 0xc]
and eax, 0x2800080
and ecx, 0x2000
or eax, ecx
jne 0x100d8a79
mov eax, dword [ebp - 0x570]
cmp dword [edi + 0x8c], eax
jne 0x100d8a79
cmp dword [edi + 0x2c], 0xffffffff
mov ecx, dword [ebp - 0x568]
jne 0x100d8a7f
inc edx
cmp edx, ecx
jb 0x100d8a31
jmp 0x100d8a98
mov ecx, dword [ebp - 0x568]
cmp edx, ecx
jae 0x100d8a98
cmp dword [ebx + edx*4], 0
jne 0x100d8a90
inc edx
cmp edx, ecx
jb 0x100d8a83
jmp 0x100d8a98
cmp edx, ecx
jb 0x100d8a0e
mov ecx, dword [ebp - 0x558]
push 0
push 1
push ecx
lea eax, [ebp - 0x594]
call fcn.100d8530
mov edi, eax
test edi, edi
jl 0x100d9789
mov eax, dword [ebp - 0x56c]
test eax, eax
je 0x100d8adc
push 0
push 1
push eax
lea eax, [ebp - 0x594]
call fcn.100d8530
mov edi, eax
test edi, edi
jl 0x100d9789
mov edx, dword [ebp - 0x58c]
mov eax, dword [ebp - 0x564]
lea edi, [edx + eax]
mov eax, dword [ebp - 0x558]
lea ecx, [ebp - 0x5d0]
push ecx
lea edx, [ebp - 0x5dc]
push edx
mov ecx, 0x20
push eax
lea esi, [ecx - 0xd]
mov dword [ebp - 0x55c], edi
call fcn.100db050
mov edi, eax
test edi, edi
jl 0x100d9789
mov edi, dword [ebp - 0x55c]
mov esi, dword [ebp - 0x5dc]
shl edi, 5
push edi
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x64c]
push ecx
push 1
push esi
lea edx, [ebp - 0x584]
push edx
mov eax, edi
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9789
mov eax, dword [ebp - 0x55c]
mov dword [ebp - 0x650], eax
mov eax, dword [ebp - 0x568]
xor esi, esi
mov dword [ebp - 0x560], esi
test eax, eax
jbe 0x100d8f0f
mov edi, dword [ebp - 0x5dc]
add edi, 4
mov dword [ebp - 0x550], edi
jmp 0x100d8b90
cmp dword [ebx + esi*4], 0
je 0x100d8ef4
mov eax, dword [ebx + esi*4]
cmp dword [eax + 0x2c], 0xffffffff
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x570], edx
je 0x100d8bc0
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 8]
jmp 0x100d8bcb
mov edx, eax
mov eax, dword [edx + 0x8c]
mov eax, dword [eax + 0xc]
lea ecx, [edi - 4]
push ecx
push 7
push eax
lea edx, [ebp - 0x584]
push edx
or eax, 0xffffffff
call fcn.100b41f0
mov eax, dword [ebx + esi*4]
mov ecx, dword [eax + 0xac]
mov edx, dword [eax + 0x60]
shr ecx, 2
sub edx, ecx
mov dword [ebp - 0x554], esi
mov dword [ebp - 0x55c], esi
inc esi
mov dword [edi + 0x10], edx
mov dword [edi + 0x18], 0
cmp esi, dword [ebp - 0x568]
jae 0x100d8c8b
cmp dword [ebx + esi*4], 0
je 0x100d8c7a
mov edx, dword [ebx + esi*4]
mov ecx, dword [edx + 0x50]
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x570]
mov ecx, dword [ecx + 0xc]
xor eax, dword [edi + 8]
xor ecx, dword [edi + 0xc]
and eax, 0x2800080
and ecx, 0x2000
or eax, ecx
jne 0x100d8c85
mov eax, dword [ebp - 0x59c]
cmp dword [edx + 0x8c], eax
jne 0x100d8c85
cmp dword [edx + 0x2c], 0xffffffff
mov edi, dword [ebp - 0x550]
jne 0x100d8c8b
test edx, edx
je 0x100d8c7a
mov ecx, dword [ebp - 0x554]
mov eax, edx
mov edx, dword [ebx + ecx*4]
call fcn.100db1a0
test al, al
je 0x100d9155
mov dword [ebp - 0x55c], esi
inc esi
cmp esi, dword [ebp - 0x568]
jb 0x100d8c11
jmp 0x100d8c8b
mov edi, dword [ebp - 0x550]
mov edx, dword [ebp - 0x55c]
mov eax, dword [ebx + edx*4]
mov ecx, dword [eax + 0xac]
mov edx, dword [ebp - 0x554]
shr ecx, 2
inc ecx
mov dword [edi + 0x14], ecx
mov eax, dword [ebx + edx*4]
mov eax, dword [eax + 0x40]
and eax, 0x2000
xor ecx, ecx
or eax, ecx
je 0x100d8cbc
or dword [edi + 0x18], 1
mov eax, dword [ebx + edx*4]
mov dword [ebp - 0x564], eax
mov eax, dword [eax + 0x50]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, ecx
and eax, 0x800000
and edx, 0x2000
or eax, edx
je 0x100d8e95
and ecx, 0x800000
xor eax, eax
or ecx, eax
je 0x100d8d0c
mov edx, dword [ebp - 0x564]
cmp dword [edx + 0x2c], 0xffffffff
je 0x100d8d0c
mov dword [edi], 1
mov edi, dword [ebp - 0x550]
jmp 0x100d8edf
mov eax, dword [ebp - 0x564]
mov eax, dword [eax + 0x4c]
add eax, 0xffffffea
cmp eax, 0x2e
ja case.0x100d8d28.32
movzx ecx, byte [eax + 0x100d98a4]
jmp dword [ecx*4 + 0x100d9878]
mov dword [edi], 4
mov edi, dword [ebp - 0x564]
mov eax, dword [ebp - 0x558]
lea edx, [ebp - 0x61c]
push edx
lea ebx, [ebp - 0x55c]
lea ecx, [ebp - 0x598]
mov dword [ebp - 0x55c], 0
call fcn.100d8190
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebp - 0x61c]
call fcn.100db140
mov edi, dword [ebp - 0x550]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x598]
call fcn.100db0c0
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x55c]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x564]
test byte [eax + 0x64], 1
je 0x100d8da8
or dword [edi + 0x18], 4
test byte [eax + 0x64], 2
mov ebx, dword [ebp - 0x5cc]
je 0x100d8edf
or dword [edi + 0x18], 8
jmp 0x100d8edf
mov dword [edi], 5
mov ecx, dword [ebp - 0x554]
lea edx, [ebp - 0x6bc]
push edx
mov edx, dword [ebx + ecx*4]
mov eax, 0x50
call fcn.10165840
mov edi, eax
test edi, edi
jl 0x100d9756
mov edx, dword [ebp - 0x554]
mov eax, dword [ebx + edx*4]
push eax
lea ecx, [ebp - 0x5bc]
call fcn.100da450
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebp - 0x550]
mov dword [eax + 4], 6
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x66c]
mov dword [eax + 0xc], ecx
mov edi, eax
jmp 0x100d8edf
mov dword [edi], 6
jmp 0x100d8dc7
mov dword [edi], 7
mov dword [edi + 4], 6
mov dword [edi + 8], 1
mov dword [edi + 0xc], 0
mov edi, dword [ebp - 0x550]
jmp 0x100d8edf
mov dword [edi], 8
jmp 0x100d8e3c
mov dword [edi], 9
jmp 0x100d8e3c
mov dword [edi], 0xa
jmp 0x100d8e3c
mov dword [edi], 0xb
jmp 0x100d8dc7
mov dword [edi], 0xc
jmp 0x100d8dc7
mov dword [edi], 2
jmp 0x100d8d35
and ecx, 0x80
xor eax, eax
or ecx, eax
je case.0x100d8d28.32
mov edx, dword [ebp - 0x554]
mov edx, dword [ebx + edx*4]
lea ecx, [ebp - 0x6bc]
push ecx
call fcn.10165840
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebp - 0x550]
mov dword [eax], 3
cmp dword [ebp - 0x6b4], 0x25
mov edi, eax
jne 0x100d8edf
or dword [eax + 0x18], 2
inc dword [ebp - 0x560]
mov eax, dword [ebp - 0x568]
add edi, 0x20
mov dword [ebp - 0x550], edi
cmp esi, eax
jae 0x100d8f0f
jmp 0x100d8f00
cmp dword [ebx + esi*4], 0
jne 0x100d9148
inc esi
cmp esi, eax
jb 0x100d8f00
mov edx, dword [ebp - 0x558]
mov ebx, dword [ebp - 0x58c]
mov esi, dword [ebp - 0x594]
push edx
mov eax, ebx
call fcn.100dacf0
xor edi, edi
test ebx, ebx
jbe 0x100d8fa1
mov eax, dword [ebp - 0x560]
mov ecx, dword [ebp - 0x5dc]
shl eax, 5
cmp edi, dword [ebp - 0x58c]
mov ebx, esi
lea esi, [eax + ecx + 0x1c]
sbb eax, eax
and eax, ebx
mov ecx, dword [eax]
mov dword [esi - 0x18], 0
mov dword [esi - 4], 1
mov edx, dword [ecx + 0x20]
mov dword [esi - 8], edx
mov dword [esi], 0
mov eax, dword [ecx + 0x10]
and eax, 0x40
xor edx, edx
or eax, edx
je 0x100d8f79
or dword [esi], 1
mov ecx, dword [ecx + 8]
lea eax, [esi - 0x1c]
push eax
push 7
push ecx
lea edx, [ebp - 0x584]
push edx
or eax, 0xffffffff
call fcn.100b41f0
inc edi
add esi, 0x20
add ebx, 4
cmp edi, dword [ebp - 0x58c]
jb 0x100d8f4a
lea esi, [ebp - 0x594]
call fcn.100da4b0
mov eax, dword [ebp - 0x558]
push 0
push 0x421
push eax
mov eax, esi
call fcn.100d8530
mov edi, eax
test edi, edi
jl 0x100d9756
mov ecx, dword [ebp - 0x56c]
test ecx, ecx
je 0x100d8ff4
push 0
push 0x421
push ecx
mov eax, esi
call fcn.100d8530
mov edi, eax
test edi, edi
jl 0x100d9756
mov ecx, dword [ebp - 0x56c]
mov eax, dword [ebp - 0x58c]
mov esi, eax
mov dword [ebp - 0x570], esi
mov dword [ebp - 0x564], 0
test ecx, ecx
je 0x100d9065
lea ecx, [ebp - 0x564]
push ecx
mov ebx, eax
lea ecx, [ebp - 0x594]
call fcn.100da500
mov edi, eax
test edi, edi
jl 0x100d9756
mov edi, dword [ebp - 0x564]
lea edx, [esi*4]
push edx
push 0
push edi
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x594]
mov ebx, dword [ebp - 0x56c]
add esp, 0xc
push esi
push edi
push eax
call fcn.100d8660
mov edi, eax
test edi, edi
jl 0x100d9756
mov ecx, dword [ebp - 0x5b4]
lea edi, [ecx + esi]
mov dword [ebp - 0x658], edi
test edi, edi
jbe 0x100d96cf
mov ecx, dword [ebp - 0x558]
lea edx, [ebp - 0x5e0]
push edx
lea eax, [ebp - 0x5ec]
push eax
push ecx
mov ecx, 0x18
lea esi, [ecx - 5]
call fcn.100db050
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebp - 0x658]
mov ebx, dword [ebp - 0x5ec]
lea esi, [eax + eax*2]
lea edx, [ebp - 0x654]
push edx
add esi, esi
push 1
add esi, esi
push ebx
lea eax, [ebp - 0x584]
add esi, esi
push eax
mov eax, esi
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9756
push esi
push 0
push ebx
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x560], eax
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x570], eax
jbe 0x100d9514
mov ecx, dword [ebp - 0x564]
mov eax, dword [ebp - 0x594]
add ebx, 0x14
sub eax, ecx
mov dword [ebp - 0x568], ecx
mov dword [ebp - 0x56c], ebx
mov dword [ebp - 0x5f4], eax
jmp 0x100d9130
mov ecx, dword [ebp - 0x55c]
cmp ecx, dword [ebp - 0x58c]
jae 0x100d919b
mov edx, dword [ebp - 0x568]
add eax, edx
jmp 0x100d919d
cmp esi, eax
jb 0x100d8b90
jmp 0x100d8f0f
mov eax, dword [ebp - 0x554]
mov ecx, dword [ebx + eax*4]
mov eax, dword [ecx + 0x8c]
test eax, eax
je 0x100d916d
lea edx, [eax + 0x10]
jmp 0x100d916f
xor edx, edx
mov esi, dword [ebp - 0x558]
push 0x10087a88
mov ecx, 0x11bb
call fcn.10168ee0
add esp, 4
mov edi, 0x80004005
jmp 0x100d9756
mov edi, 0x8007054f
jmp 0x100d9756
xor eax, eax
mov ebx, dword [eax]
xor edi, edi
cmp dword [ebp - 0x564], edi
je 0x100d91b9
mov eax, dword [ebp - 0x568]
mov ecx, dword [eax]
mov dword [ebp - 0x598], ecx
jmp 0x100d91bf
mov dword [ebp - 0x598], edi
mov edx, dword [ebp - 0x56c]
mov eax, dword [ebx + 8]
add edx, 0xffffffec
push edx
push 7
push eax
lea ecx, [ebp - 0x584]
push ecx
or eax, 0xffffffff
mov dword [ebp - 0x574], edi
call fcn.100b41f0
mov edx, dword [ebx + 0x44]
mov esi, dword [edx + 4]
cmp esi, 0xaaaaaaa
ja 0x100d950a
call fcn.100dae50
mov dword [ebp - 0x554], eax
cmp eax, edi
je 0x100d950a
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 4]
mov edi, dword [ebp - 0x554]
lea esi, [eax + eax*2]
add esi, esi
add esi, esi
add esi, esi
push esi
push 0
push edi
call sub.msvcrt.dll_memset
mov ecx, dword [ebp - 0x56c]
add esp, 0xc
add ecx, 0xfffffff4
push ecx
push 9
push edi
lea edx, [ebp - 0x584]
push edx
mov eax, esi
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x56c]
mov dword [edx - 0x10], ecx
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x610], eax
mov eax, ecx
and eax, 0x400
xor esi, esi
or eax, esi
je 0x100d927f
mov dword [edx], 2
jmp 0x100d9292
and ecx, 1
xor eax, eax
or ecx, eax
je 0x100d928c
mov dword [edx], esi
jmp 0x100d9292
mov dword [edx], 1
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x59c], esi
cmp dword [eax + 4], esi
jbe 0x100d94c5
mov edx, dword [ebp - 0x554]
mov ecx, 0xfffffff8
sub ecx, edx
lea esi, [edx + 8]
mov dword [ebp - 0x554], ecx
lea ebx, [ebx]
mov ecx, dword [ebp - 0x554]
mov eax, dword [eax + 0xc]
lea edx, [esi - 8]
push edx
add ecx, esi
mov ecx, dword [eax + ecx + 8]
push 7
push ecx
lea edx, [ebp - 0x584]
push edx
or eax, 0xffffffff
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebx + 0x44]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x554]
lea ecx, [eax + esi]
mov edx, dword [edx + ecx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x550], edx
and eax, 0x400
xor edx, edx
or eax, edx
je 0x100d93c8
mov edi, dword [ebp - 0x558]
mov edx, dword [edi + 0x10344]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x610], ecx
mov dword [ebp - 0x5f0], edx
test edx, edx
jbe 0x100d93a6
mov ecx, edx
mov dword [ebp - 0x5fc], ecx
xor edx, edx
jmp 0x100d9356
mov edi, dword [ebp - 0x558]
cmp eax, dword [ebp - 0x5fc]
jae 0x100d9368
mov ecx, dword [edi + 0x1033c]
add ecx, edx
jmp 0x100d936a
xor ecx, ecx
mov edi, dword [ebp - 0x550]
cmp edi, dword [ecx]
je 0x100d9388
inc eax
add edx, 0x30
cmp eax, dword [ebp - 0x5f0]
jb 0x100d9350
mov ecx, dword [ebp - 0x610]
jmp 0x100d93a6
mov edx, dword [ebp - 0x558]
cmp eax, dword [edx + 0x10344]
jae 0x100d93a4
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, dword [edx + 0x1033c]
jmp 0x100d93a6
xor ecx, ecx
or dword [esi + 4], 4
test ecx, ecx
je 0x100d93b9
mov edx, dword [ecx + 8]
mov dword [esi - 4], edx
mov eax, dword [ecx + 0x14]
jmp 0x100d93e6
mov dword [esi - 4], 0xffffffff
mov dword [esi], 0
jmp 0x100d93e8
mov edx, dword [ebx + 0x44]
mov eax, dword [edx + 0xc]
mov edx, dword [ecx + eax]
add edx, edx
add edx, edx
mov dword [esi - 4], edx
mov eax, dword [ebx + 0x44]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + ecx + 4]
add eax, eax
add eax, eax
mov dword [esi], eax
cmp dword [ebp - 0x550], 0
je 0x100d945d
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x554]
add eax, esi
mov ecx, dword [edx + eax + 0x10]
mov eax, dword [ebp - 0x558]
push ecx
movzx ecx, byte [eax + 0x7fd4]
lea edx, [esi + 8]
push edx
movzx edx, byte [eax + 0x7fd9]
mov eax, dword [ebp - 0x550]
push 0x11
or ecx, 0x80
push 1
shr ecx, 6
and edx, 4
or ecx, edx
push ecx
mov ecx, dword [eax + 0x48]
push ecx
lea edx, [ebp - 0x5ac]
push edx
lea eax, [ebp - 0x584]
push eax
lea ecx, [ebp - 0x658]
push ecx
call fcn.100bfd20
mov edi, eax
test edi, edi
jl 0x100d9756
mov edx, dword [ebx + 0x44]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x554]
lea eax, [edx + esi]
test byte [ecx + eax + 0x14], 1
jne 0x100d948a
mov ecx, dword [ebp - 0x598]
test ecx, ecx
je 0x100d948e
mov ecx, dword [ecx + 0x44]
mov edx, dword [ecx + 0xc]
test byte [edx + eax + 0x14], 1
je 0x100d948e
or dword [esi + 4], 2
mov eax, dword [esi - 4]
mov ecx, dword [esi]
add eax, ecx
cmp dword [ebp - 0x574], eax
jae 0x100d94a3
mov dword [ebp - 0x574], eax
mov ecx, dword [ebp - 0x59c]
mov eax, dword [ebx + 0x44]
inc ecx
add esi, 0x18
mov dword [ebp - 0x59c], ecx
cmp ecx, dword [eax + 4]
jb 0x100d92c0
mov edx, dword [ebp - 0x56c]
mov eax, dword [ebp - 0x574]
inc dword [ebp - 0x560]
add dword [ebp - 0x568], 4
add eax, 0xf
and eax, 0xfffffff0
mov dword [edx - 8], eax
mov eax, dword [ebp - 0x55c]
inc eax
add edx, 0x18
mov dword [ebp - 0x56c], edx
mov dword [ebp - 0x55c], eax
cmp eax, dword [ebp - 0x570]
jae 0x100d9514
mov eax, dword [ebp - 0x5f4]
jmp 0x100d9130
mov edi, 0x8007000e
jmp 0x100d9756
cmp dword [ebp - 0x5b4], 0
mov dword [ebp - 0x55c], 0
jbe 0x100d96cf
mov eax, dword [ebp - 0x560]
mov edx, dword [ebp - 0x5ec]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*8]
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp - 0x570], eax
mov dword [ebp - 0x574], ecx
nop
mov edx, dword [ebp - 0x5b4]
cmp dword [ebp - 0x55c], edx
sbb eax, eax
and eax, dword [ebp - 0x574]
mov edx, dword [eax]
mov eax, dword [ebp - 0x570]
mov esi, dword [edx + 0x8c]
mov ebx, eax
add eax, 0x18
mov dword [ebp - 0x570], eax
lea eax, [ebp - 0x6bc]
push eax
mov eax, 0x50
call fcn.10165840
mov edi, eax
test edi, edi
jl 0x100d9756
mov ecx, dword [esi + 0xc]
push ebx
push 7
push ecx
lea edx, [ebp - 0x584]
push edx
or eax, 0xffffffff
call fcn.100b41f0
mov eax, dword [0x101e316c]
test eax, eax
jge 0x100d95bb
xor eax, eax
jmp 0x100d95c2
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
push 0x18
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x100d950a
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
push ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push 9
mov dword [esi + 0x10], eax
push esi
lea edx, [ebp - 0x584]
mov dword [esi + 0x14], eax
push edx
mov eax, 0x18
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9756
push esi
push 7
push 0x10087b10
lea eax, [ebp - 0x584]
push eax
or eax, 0xffffffff
mov dword [ebx + 4], 1
mov dword [ebx + 0x14], 3
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebp - 0x558]
push 0
mov dword [esi + 4], 0
mov ecx, dword [ebp - 0x66c]
mov dword [esi + 8], ecx
movzx ecx, byte [eax + 0x7fd4]
lea edx, [esi + 0x10]
push edx
movzx edx, byte [eax + 0x7fd9]
mov eax, dword [ebp - 0x6ac]
push 0x11
or ecx, 0x80
push 1
shr ecx, 6
and edx, 4
or ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x5ac]
push ecx
lea edx, [ebp - 0x584]
push edx
lea eax, [ebp - 0x658]
push eax
call fcn.100bfd20
mov edi, eax
test edi, edi
jl 0x100d9756
mov eax, dword [ebp - 0x55c]
or dword [esi + 0xc], 2
mov ecx, dword [esi + 8]
add dword [ebp - 0x574], 4
inc eax
mov dword [ebx + 0xc], ecx
mov dword [ebp - 0x55c], eax
cmp eax, dword [ebp - 0x5b4]
jb 0x100d9550
lea edx, [ebp - 0x640]
push edx
push 5
push 0x100875e8
lea eax, [ebp - 0x584]
push eax
or eax, 0xffffffff
call fcn.100b41f0
mov edi, eax
test edi, edi
jl 0x100d9756
mov esi, dword [ebp - 0x580]
mov ecx, dword [ebp - 0x584]
add esi, 3
shr esi, 2
neg ecx
sbb ecx, ecx
and ecx, 2
add esi, ecx
mov edi, esi
lea eax, [ebp - 0x60c]
call fcn.100da490
mov edi, eax
test edi, edi
jl 0x100d9756
mov ebx, dword [ebp - 0x60c]
push esi
lea edx, [ebp - 0x584]
push edx
mov eax, ebx
call fcn.100b4410
mov edi, eax
test edi, edi
jl 0x100d9756
mov ecx, dword [ebp - 0x5f8]
push ebx
lea eax, [esi*4]
push eax
push 0x46454452
call fcn.101dab5e
mov edi, eax
cmp byte [ebp - 0x5b0], 0
je 0x100d9789
mov esi, dword [ebp - 0x5bc]
test esi, esi
je 0x100d9789
mov eax, dword [0x101e316c]
test eax, eax
jge 0x100d9776
xor eax, eax
jmp 0x100d977d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [ebp - 0x588], 0
je 0x100d97bc
mov esi, dword [ebp - 0x594]
test esi, esi
je 0x100d97bc
mov eax, dword [0x101e316c]
test eax, eax
jge 0x100d97a9
xor eax, eax
jmp 0x100d97b0
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]
lea esi, [ebp - 0x60c]
call fcn.100da650
lea esi, [ebp - 0x5ec]
call fcn.100da650
lea esi, [ebp - 0x5dc]
call fcn.100da650
lea esi, [ebp - 0x5cc]
call fcn.100da650
xor ebx, ebx
mov dword [ebp - 0x5a4], ebx
cmp byte [ebp - 0x5a0], bl
je 0x100d9834
mov eax, dword [ebp - 0x5ac]
mov esi, eax
cmp eax, ebx
je 0x100d982d
mov eax, dword [0x101e316c]
cmp eax, ebx
jl 0x100d981e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x100d981e
mov eax, dword [eax]
cmp eax, ebx
jne 0x100d9824
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0x5a0], 0
cmp dword [ebp - 0x54c], 0x35
mov dword [ebp - 0x5ac], ebx
mov dword [ebp - 0x5a8], ebx
jne 0x100d9855
mov eax, dword [ebp - 0x20]
push eax
call sub.msvcrt.dll_free
add esp, 4
lea ebx, [ebp - 0x584]
call fcn.100b4160
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101dc51a
mov esp, ebp
pop ebp
ret 4