Function at 0x63d26f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x14], ecx
mov ecx, dword [ecx + 0x38]
test cl, 2
je 0x63d969
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x24]
xor edx, edx
cmp eax, edx
je 0x63d2a0
test ecx, 0x20000000
je 0x63d968
test cx, cx
push esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x58], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x5c], esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x4c], esi
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x44], esi
mov esi, dword [ebx + 0x20]
mov dword [ebp - 0x40], esi
mov esi, dword [ebx + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x38], edx
js 0x63d42c
test cl, 8
je 0x63d54a
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0063c796
cmp byte [eax + 0xc], 0
je 0x63d966
cmp dword [ebx + 0x14], 0
jne 0x63d41b
mov eax, dword [ebx + 0x18]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0063c825
test dword [esi + 0x38], 0x100000
mov byte [ebp + 0xb], 1
je 0x63d362
mov ecx, esi
call fcn.005f8d40
test byte [eax + 0x6c], 2
je 0x63d362
call fcn.005aa971
test al, al
je 0x63d362
mov ecx, esi
call fcn.005f8d40
lea esi, [eax + 0x84]
mov ecx, esi
mov byte [esi + 0x58], 1
call fcn.00646fcb
mov dword [ebp - 4], esi
mov byte [ebp + 0xb], 0
jmp 0x63d388
push dword [0x728f98]
call edi
mov ecx, dword [ebx + 8]
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [esi + 0x6c]
call fcn.0063cbc1
test eax, eax
jl 0x63d3e3
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, dword [ebp - 4]
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebx + 8]
call dword [eax + 4]
test eax, eax
jl 0x63d3c8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x63d3c8
movzx ecx, byte [ebp + 0xb]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], 1
jmp 0x63d51d
cmp byte [ebp + 0xb], 0
je 0x63d3df
push dword [0x728f98]
call edi
push esi
lea ecx, [eax + 0x6c]
call fcn.0063cc48
and dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x63d54a
mov esi, dword [ebp - 0x14]
test byte [esi + 0x38], 8
je 0x63d55d
mov ecx, esi
call fcn.0063c796
test byte [eax + 8], 1
je 0x63d55d
mov ecx, dword [ebp - 4]
push dword [eax + 0x10]
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x63d55d
mov ecx, esi
call fcn.0063c796
cmp byte [eax + 0xc], 0xff
je 0x63d54a
push dword [0x728f98]
call edi
mov ecx, dword [ebx + 8]
mov esi, eax
lea eax, [ebp + 8]
push eax
mov eax, dword [ecx]
call dword [eax + 4]
push eax
lea ecx, [esi + 0x6c]
call fcn.0064703f
test eax, eax
jl 0x63d966
cmp dword [ebp + 8], 0
je 0x63d966
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp + 8]
push 1
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], eax
call fcn.0063bf39
mov ecx, dword [ebp - 0x14]
push 4
lea eax, [ebp - 0x84]
push eax
call fcn.0063e8d6
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xb4]
push eax
call fcn.0063c050
push 0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00648151
push dword [ebx + 0x20]
lea esi, [ebp - 0xd4]
push dword [ebx + 0x1c]
lea edi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc4]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0063c825
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
lea edx, [ebp - 0xc]
push edx
push dword [ebp - 8]
lea edx, [ebp - 0xc4]
push edx
push dword [ebx + 8]
call dword [eax + 4]
test eax, eax
jl 0x63d52e
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x63d52e
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
jmp 0x63d3e3
push dword [0x728f98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [ebp + 8]
lea ecx, [eax + 0x6c]
call fcn.0064707d
jmp 0x63d966
mov esi, dword [ebp - 0x14]
test dword [esi + 0x38], 0x100000
je 0x63d55d
mov ecx, esi
call fcn.0063dcf1
push 8
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0063e8d6
xor eax, eax
cmp dword [ebp - 0x34], eax
jne 0x63d579
cmp dword [ebp - 0x30], eax
mov dword [ebp + 8], eax
je 0x63d580
mov dword [ebp + 8], 1
fild dword [ebp - 0x34]
push dword [ebx + 0xc]
and dword [ebp - 0x10], eax
lea ecx, [ebp - 0xfc]
fstp dword [ebp - 8]
fild dword [ebp - 0x30]
fstp dword [ebp - 0xc]
call fcn.0063c85b
mov edi, 0x800000
test dword [esi + 0x38], edi
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x54], eax
je 0x63d5e8
mov ecx, esi
call fcn.0063bf6e
push 1
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x10], eax
call fcn.0063bf39
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x124]
push eax
call fcn.0063bec0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00647eaf
cmp dword [ebp + 8], 0
je 0x63d60c
fld dword [ebp - 0xc]
push ecx
fchs
push ecx
fstp dword [esp + 4]
lea ecx, [ebp - 0xfc]
fld dword [ebp - 8]
fchs
fstp dword [esp]
call fcn.00648472
test dword [esi + 0x38], edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x60], eax
je 0x63d62a
push 1
push dword [ebx + 4]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00648151
jmp 0x63d64f
cmp dword [ebp + 8], 0
mov esi, dword [ebx]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x63d668
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
neg ecx
add dword [ebp - 0x24], ecx
add dword [ebp - 0x1c], ecx
neg eax
add dword [ebp - 0x20], eax
add dword [ebp - 0x18], eax
xor eax, eax
cmp dword [ebp + 8], eax
je 0x63d668
mov ecx, dword [ebp - 0x34]
sub dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x30]
sub dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x34]
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x74]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jg 0x63d680
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
mov dword [ebp - 0x1c], edx
jl 0x63d690
mov dword [ebp - 0x1c], eax
cmp ecx, dword [ebp - 0x1c]
jge 0x63d6c1
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
mov dword [ebp - 0x20], ecx
jg 0x63d6a5
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
mov dword [ebp - 0x18], ecx
jl 0x63d6b5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x20], eax
jge 0x63d6c1
mov al, 1
jmp 0x63d6d1
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
xor al, al
xor edi, edi
test al, al
je 0x63d8fb
push dword [ebx + 0x10]
lea ecx, [ebp - 0xb4]
call fcn.0063c85b
cmp dword [ebp + 8], edi
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x50], eax
je 0x63d70d
fld dword [ebp - 0xc]
push ecx
push ecx
fstp dword [esp + 4]
mov ecx, eax
fld dword [ebp - 8]
fstp dword [esp]
call fcn.00648472
mov esi, dword [ebp - 0x14]
test dword [esi + 0x38], 0x800000
je 0x63d728
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xb4]
push eax
call fcn.0063be5d
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00648070
fild dword [ebp - 0x44]
test byte [esi + 0x14], 1
mov ebx, 0x4000000
fadd dword [ebp - 0x7c]
fstp dword [ebp - 0x7c]
fild dword [ebp - 0x40]
fadd dword [ebp - 0x78]
fstp dword [ebp - 0x78]
jne 0x63d765
mov eax, dword [esi + 0x38]
test eax, 0x1000000
jne 0x63d765
test ebx, eax
jne 0x63d774
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
lea edx, [ebp - 0x8c]
push edx
call dword [eax + 0xc]
and dword [ebp - 0xc], edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.0063cc5e
cmp eax, 2
mov dword [ebp - 0x10], eax
je 0x63d79b
cmp eax, 3
jne 0x63d8e0
and dword [ebp - 8], edi
test dword [esi + 0x38], 0x10000
je 0x63d7b2
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x38], edi
je 0x63d7bf
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp dword [ebp - 0x3c], edi
je 0x63d7cc
test word [esi + 0x38], 0x100
je 0x63d7db
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.0063cfb7
mov eax, dword [esi + 0x38]
test ebx, eax
jne 0x63d80d
lea ecx, [esi + 0x20]
xor ebx, ebx
call fcn.00639387
jmp 0x63d805
xor eax, eax
push eax
push ebx
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call fcn.0063d082
lea ecx, [edi + 0x20]
call fcn.00639373
mov edi, eax
test edi, edi
jne 0x63d7ee
jmp 0x63d85b
test eax, 0x100000
mov ebx, dword [ebp - 0x3c]
lea ecx, [ebx + 1]
mov dword [ebp + 8], ecx
je 0x63d856
test eax, 0x20000000
je 0x63d856
xor ebx, ebx
mov dword [ebp + 8], 2
jmp 0x63d856
lea ecx, [esi + 0x20]
mov dword [ebp - 0x3c], ebx
call fcn.00639387
jmp 0x63d84f
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
call fcn.0063d26f
lea ecx, [edi + 0x20]
call fcn.00639373
mov edi, eax
test edi, edi
jne 0x63d83c
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x63d82f
test dword [esi + 0x38], 0x10000
je 0x63d86f
mov ecx, dword [ebp - 0x58]
push dword [ebp - 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, dword [ebp - 4]
xor edi, edi
inc edi
test ebx, ebx
je 0x63d8e0
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0xc]
cmp dword [ebp - 0x38], 0
mov byte [ebp + 8], 0xff
mov byte [ebp - 8], 0
je 0x63d8c1
test word [esi + 0x38], 0x8000
je 0x63d8b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x58]
push dword [eax + 4]
lea ecx, [esi + 0xc]
push esi
call fcn.0063c742
jmp 0x63d8c1
mov ecx, esi
call fcn.0063c796
mov al, byte [eax + 0xc]
mov byte [ebp + 8], al
test dword [esi + 0x38], 0x100000
je 0x63d8d1
mov ecx, esi
call fcn.0063dcf1
push dword [ebp - 8]
mov eax, dword [ebx]
push dword [ebp + 8]
mov ecx, ebx
push 1
call dword [eax + 0x10]
cmp dword [ebp - 0x10], 0
je 0x63d8f4
push dword [ebp - 0xc]
lea eax, [ebp - 0x60]
push eax
mov ecx, esi
call fcn.0063cdea
and dword [esi + 0x38], 0xefffffff
cmp dword [ebp - 4], 0
je 0x63d966
test edi, edi
mov esi, dword [ebp - 4]
jne 0x63d920
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
push edi
push 0xff
push edi
mov ecx, esi
call dword [eax + 0x10]
jmp 0x63d922
xor edi, edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
cmp dword [ebp - 0x38], edi
je 0x63d945
push dword [0x728f98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea ecx, [eax + 0x6c]
call fcn.0064707d
jmp 0x63d95f
cmp dword [ebp - 0x64], edi
je 0x63d95f
push dword [0x728f98]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
lea ecx, [eax + 0x6c]
call fcn.0063cc48
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
pop ebx
leave
ret 4