Function at 0x100952d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x514], eax
call fcn.1000ad40
push eax
mov ecx, 0x1025a378
call fcn.10009a80
cmp dword [ebp + 0x20], 8
lea edx, [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 0x528], esi
jb 0x10095315
mov edx, ebx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x10095332
mov eax, ecx
mov edi, edx
cmp word [edi], 0x2c
je 0x100954a6
add edi, 2
sub eax, 1
jne 0x10095320
mov ecx, dword [ebp - 0x514]
lea eax, [ebp - 0x440]
push eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0x10219d7c
mov dword [ebp - 0x430], 0x10219d7c
call fcn.1008f4e0
mov ebx, dword [ebp - 0x440]
test ebx, ebx
je 0x10095430
mov eax, dword [ebp - 0x43c]
mov edi, ebx
cmp edi, eax
je 0x100953e9
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x100953cf
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x100953bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096127
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov eax, dword [ebp - 0x43c]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x10095390
mov ecx, dword [ebp - 0x438]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x10095426
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096127
push ecx
push ebx
call fcn.102134ff
add esp, 8
mov eax, dword [0x1025a378]
cmp eax, 0xffffffff
je 0x100960cb
cmp dword [0x1025a37c], 0xffffffff
je 0x100960cb
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test esi, esi
je 0x1009609d
mov dword [ebp - 0x508], 0
test eax, eax
jne 0x100960cb
mov eax, dword [0x1025a380]
test eax, eax
je 0x100960cb
lea ecx, [ebp - 0x508]
push ecx
call eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push dword [0x1025a378]
call esi
push dword [ebp - 0x508]
push dword [0x1025a37c]
call esi
jmp 0x100960cb
sub edi, edx
sar edi, 1
je 0x10095332
cmp edi, 0xffffffff
je 0x10095332
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
cmp ecx, edi
jb 0x100954dc
mov ecx, edi
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
jb 0x100954e7
mov eax, ebx
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.10008240
xor eax, eax
mov dword [ebp - 0x464], 0
push eax
push 0x10219d7c
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
call fcn.10008240
lea eax, [edi + 1]
mov dword [ebp - 0x41c], 0
mov edi, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], cx
cmp edi, eax
jb 0x10096122
sub edi, eax
cmp edi, 0xffffffff
jb 0x10095557
or edi, 0xffffffff
cmp dword [ebp + 0x20], 8
lea ecx, [ebp + 0xc]
jb 0x10095563
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x508], eax
cmp edi, 7
ja 0x10095596
mov dword [ebp - 0x41c], edi
add edi, edi
push edi
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.102134f9
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0x42c], ax
jmp 0x1009560a
cmp edi, 0x7ffffffe
ja 0x1009611d
mov eax, edi
or eax, 7
mov dword [ebp - 0x50c], eax
cmp eax, 0x7ffffffe
jbe 0x100955bb
mov eax, SysReAllocString
jmp 0x100955c5
cmp eax, 0xa
jae 0x100955cb
mov eax, 0xa
mov dword [ebp - 0x50c], eax
inc eax
lea ecx, [ebp - 0x42c]
push eax
call int.10007ca0
mov dword [ebp - 0x41c], edi
mov ebx, eax
mov eax, dword [ebp - 0x50c]
add edi, edi
push edi
push dword [ebp - 0x508]
mov dword [ebp - 0x418], eax
push ebx
call fcn.102134e1
add esp, 0xc
xor eax, eax
mov word [ebx + edi], ax
mov dword [ebp - 0x42c], ebx
sub esp, 0x18
lea eax, [ebp - 0x45c]
mov ecx, esp
push eax
call fcn.10006aa0
lea eax, [ebp - 0x4bc]
push eax
call fcn.10096130
mov ecx, dword [ebp - 0x4ac]
add esp, 0x1c
test ecx, ecx
jne 0x10095696
push 0x410
push ecx
lea eax, [ebp - 0x414]
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x45c]
cmp dword [ebp - 0x448], 8
jb 0x1009565e
mov eax, dword [ebp - 0x45c]
push 0
lea ecx, [ebp - 0x414]
push ecx
push 0x208
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x100956b8
cmp eax, 0x208
jae 0x100956b8
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x45c]
call fcn.10033f30
jmp 0x100956b8
cmp dword [ebp - 0x4a8], 8
lea eax, [ebp - 0x4bc]
jb 0x100956ab
mov eax, dword [ebp - 0x4bc]
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.10008240
cmp dword [ebp - 0x448], 8
lea edi, [ebp - 0x45c]
jb 0x100956d5
mov edi, dword [ebp - 0x45c]
test edi, edi
je 0x10095dc6
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x10095701
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x100956f6
mov eax, dword [eax + 0x3c]
jmp 0x100956f8
xor eax, eax
test eax, eax
je 0x10095701
push edi
call eax
jmp 0x10095708
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10095dc6
test al, 0x10
jne 0x10095dc6
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.1009baf0
add esp, 8
lea ecx, [ebp - 0x4ec]
call fcn.1001d6d0
mov edx, dword [ebp - 0x418]
lea edi, [ebp - 0x42c]
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x518], edi
cmp edx, 8
jb 0x1009575f
mov edi, ecx
mov dword [ebp - 0x518], ecx
mov ebx, dword [ebp - 0x41c]
test ebx, ebx
je 0x10095782
mov eax, ebx
jmp 0x10095770
cmp word [edi], 0x20
je 0x1009580b
add edi, 2
sub eax, 1
jne 0x10095770
or edi, 0xffffffff
inc edi
mov dword [ebp - 0x478], 7
xor eax, eax
mov word [ebp - 0x48c], ax
cmp ebx, edi
jb 0x10096122
sub ebx, edi
cmp ebx, 0xffffffff
jb 0x100957ab
or ebx, 0xffffffff
lea eax, [ebp - 0x42c]
cmp edx, 8
jb 0x100957b8
mov eax, ecx
lea eax, [eax + edi*2]
mov dword [ebp - 0x508], eax
cmp ebx, 7
ja 0x100958f8
lea edi, [ebx + ebx]
mov dword [ebp - 0x47c], ebx
push edi
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.102134f9
add esp, 0xc
xor eax, eax
mov word [ebp + edi - 0x48c], ax
mov eax, dword [ebp - 0x48c]
mov edi, dword [ebp - 0x478]
mov ebx, dword [ebp - 0x47c]
mov dword [ebp - 0x510], eax
jmp 0x10095965
sub edi, dword [ebp - 0x518]
sar edi, 1
cmp edi, 0xffffffff
je 0x10095785
xor eax, eax
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 7
mov word [ebp - 0x4a4], ax
cmp ebx, edi
jb 0x1009583f
mov ebx, edi
lea eax, [ebp - 0x42c]
cmp edx, 8
jb 0x1009584c
mov eax, ecx
push ebx
push eax
lea ecx, [ebp - 0x4a4]
call fcn.10008240
mov edx, dword [ebp - 0x460]
cmp edx, 8
jb 0x10095899
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009588f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096127
push edx
push ecx
call fcn.102134ff
add esp, 8
mov eax, dword [ebp - 0x4a4]
mov edx, dword [ebp - 0x418]
mov ebx, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x460], eax
jmp 0x10095785
cmp ebx, 0x7ffffffe
ja 0x1009611d
mov eax, ebx
or eax, 7
mov dword [ebp - 0x50c], eax
cmp eax, 0x7ffffffe
jbe 0x1009591d
mov eax, SysReAllocString
jmp 0x10095927
cmp eax, 0xa
jae 0x1009592d
mov eax, 0xa
mov dword [ebp - 0x50c], eax
inc eax
lea ecx, [ebp - 0x48c]
push eax
call int.10007ca0
lea edi, [ebx + ebx]
mov dword [ebp - 0x510], eax
push edi
push dword [ebp - 0x508]
push eax
call fcn.102134e1
mov eax, dword [ebp - 0x510]
add esp, 0xc
xor ecx, ecx
mov word [eax + edi], cx
mov edi, dword [ebp - 0x50c]
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x100959a5
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009599b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096127
push edx
push ecx
call fcn.102134ff
add esp, 8
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x504]
mov dword [ebp - 0x41c], ebx
push eax
mov dword [ebp - 0x418], edi
call fcn.1009baf0
add esp, 8
lea ecx, [ebp - 0x504]
call fcn.1001d6d0
xor eax, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x518], eax
cmp dword [ebp - 0x418], 8
mov dword [ebp - 0x51c], eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x50c], edi
mov dword [ebp - 0x524], edi
mov dword [ebp - 0x510], ebx
mov dword [ebp - 0x520], ebx
mov dword [ebp - 0x508], eax
jb 0x10095a4d
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x508], eax
mov edx, dword [ebp - 0x41c]
test edx, edx
je 0x10095a72
mov ecx, edx
lea esp, [esp]
cmp word [eax], 0x22
je 0x10095cb6
add eax, 2
sub ecx, 1
jne 0x10095a60
push 0x1021cff0
lea ecx, [ebp - 0x4d4]
call fcn.10006b40
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.1009b840
lea ecx, [ebp - 0x524]
add esp, 0xc
cmp ecx, eax
je 0x10095ad7
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50c], edi
mov dword [ebp - 0x510], ebx
mov dword [ebp - 0x518], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea ecx, [ebp - 0x438]
call fcn.10033790
lea ecx, [ebp - 0x4d4]
call fcn.1001d6d0
mov eax, dword [ebp - 0x514]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
cmp edi, ebx
je 0x10095b7d
mov esi, dword [ebp - 0x514]
mov ecx, ebx
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
mov ecx, esi
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
call fcn.10017d80
mov ebx, eax
lea eax, [edi + edi*2]
mov edi, dword [ebp - 0x50c]
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [ebx + eax*8]
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x510]
lea ebx, [ebx]
push edi
mov ecx, ebx
call fcn.10006aa0
add edi, 0x18
add ebx, 0x18
cmp edi, esi
jne 0x10095b50
mov eax, dword [ebp - 0x514]
mov esi, dword [ebp - 0x528]
mov edi, dword [ebp - 0x50c]
mov dword [eax + 4], ebx
mov ebx, dword [ebp - 0x510]
lea ecx, [ebp - 0x474]
push ecx
lea ecx, [eax + 0xc]
call fcn.10006aa0
mov ecx, dword [ebp - 0x514]
lea eax, [ebp - 0x45c]
push eax
add ecx, 0x24
call fcn.10006aa0
test edi, edi
je 0x10095bdc
lea ecx, [ebp - 0x524]
push ecx
push ebx
push edi
call fcn.100063a0
mov ecx, dword [ebp - 0x518]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 0xc
imul ecx
lea ecx, [ebp - 0x524]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.10008390
lea ecx, [ebp - 0x4bc]
call fcn.1001d6d0
mov eax, dword [ebp - 0x418]
cmp eax, 8
jb 0x10095c05
inc eax
lea ecx, [ebp - 0x42c]
push eax
push dword [ebp - 0x42c]
call fcn.10062f40
xor eax, eax
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x418], 7
cmp eax, 8
jb 0x10095c40
inc eax
lea ecx, [ebp - 0x474]
push eax
push dword [ebp - 0x474]
call fcn.10062f40
mov eax, dword [ebp - 0x448]
cmp eax, 8
jb 0x10095c5e
inc eax
lea ecx, [ebp - 0x45c]
push eax
push dword [ebp - 0x45c]
call fcn.10062f40
xor eax, eax
mov dword [ebp - 0x44c], 0
push esi
mov ecx, 0x1025a378
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
call fcn.10009a80
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x10096101
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.10062f40
mov eax, dword [ebp - 0x514]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
sub eax, dword [ebp - 0x508]
sar eax, 1
jne 0x10095a72
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x508], eax
jb 0x10095ce5
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x508], eax
cmp edx, 1
jbe 0x10095aed
lea ecx, [edx - 1]
add eax, 2
test ecx, ecx
je 0x10095aed
lea esp, [esp]
cmp word [eax], 0x22
je 0x10095d13
add eax, 2
sub ecx, 1
jne 0x10095d00
jmp 0x10095aed
sub eax, dword [ebp - 0x508]
sar eax, 1
cmp eax, 1
jbe 0x10095aed
cmp eax, 0xffffffff
je 0x10095aed
xor ecx, ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], cx
cmp edx, 1
jb 0x10096122
lea ecx, [eax - 1]
lea eax, [edx - 1]
cmp eax, ecx
jb 0x10095d5b
mov eax, ecx
cmp dword [ebp - 0x418], 8
lea ecx, [ebp - 0x42c]
jb 0x10095d70
mov ecx, dword [ebp - 0x42c]
push eax
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x444]
call fcn.10008240
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x524]
call fcn.10054980
lea ecx, [ebp - 0x444]
call fcn.1001d6d0
mov ecx, dword [ebp - 0x51c]
mov ebx, dword [ebp - 0x520]
mov edi, dword [ebp - 0x524]
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x510], ebx
mov dword [ebp - 0x50c], edi
jmp 0x10095aed
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0
push eax
push 0x10219d7c
lea eax, [ebp - 0x488]
mov dword [ebp - 0x434], 0
push 0x10219d7c
push eax
mov dword [ebp - 0x430], 0
call fcn.1008f790
mov ecx, dword [ebp - 0x514]
add esp, 0x10
push eax
call fcn.1008f4e0
lea ecx, [ebp - 0x488]
call fcn.10033790
mov ebx, dword [ebp - 0x438]
test ebx, ebx
je 0x10095ed5
mov eax, dword [ebp - 0x434]
mov edi, ebx
cmp edi, eax
je 0x10095e8e
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x10095e74
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x10095e64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096118
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov eax, dword [ebp - 0x434]
add esp, 8
xor ecx, ecx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
add edi, 0x18
cmp edi, eax
jne 0x10095e35
mov ecx, dword [ebp - 0x430]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x10095ecb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096118
push ecx
push ebx
call fcn.102134ff
add esp, 8
lea ecx, [ebp - 0x4bc]
call fcn.1001d6d0
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x10095f20
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10095f16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096118
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x460]
xor eax, eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
cmp edx, 8
jb 0x10095f7d
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10095f73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096118
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x448]
cmp edx, 8
jb 0x10095fbd
mov ecx, dword [ebp - 0x45c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10095fb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096118
push edx
push ecx
call fcn.102134ff
add esp, 8
xor eax, eax
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], ax
mov eax, dword [0x1025a378]
mov dword [ebp - 0x448], 7
cmp eax, 0xffffffff
je 0x1009606b
cmp dword [0x1025a37c], 0xffffffff
je 0x1009606b
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test esi, esi
je 0x1009603d
mov dword [ebp - 0x508], 0
test eax, eax
jne 0x1009606b
mov eax, dword [0x1025a380]
test eax, eax
je 0x1009606b
lea ecx, [ebp - 0x508]
push ecx
call eax
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push dword [0x1025a378]
call esi
push dword [ebp - 0x508]
push dword [0x1025a37c]
call esi
jmp 0x1009606b
test eax, eax
je 0x1009606b
cmp dword [0x1025a384], 0
je 0x1009606b
push dword [0x1025a37c]
call edi
push eax
call dword [0x1025a384]
neg eax
sbb eax, eax
inc eax
push eax
push dword [0x1025a378]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x10096101
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100960f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096118
jmp 0x100960f7
test eax, eax
je 0x100960cb
cmp dword [0x1025a384], 0
je 0x100960cb
push dword [0x1025a37c]
call edi
push eax
call dword [0x1025a384]
neg eax
sbb eax, eax
inc eax
push eax
push dword [0x1025a378]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x10096101
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100960f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10096127
push edx
push ecx
call fcn.102134ff
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x514]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
call fcn.10200ab0
call fcn.10007c20
call fcn.10007c40
call fcn.10200ab0
int3