Function at 0x5efc10
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov ecx, dword [ebx + 0x18]
sub esp, 0x1c8
mov eax, dword [ecx]
push esi
push edi
cmp dword [eax + 4], 2
jle 0x5efc3f
movsx esi, word [eax + 0x32]
jmp 0x5efc41
xor esi, esi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x34], esi
test edi, edi
je 0x5f06d7
mov eax, dword [ebx + 8]
movzx ecx, word [eax + 0x30]
test cx, cx
js 0x5f06d7
movzx edx, word [eax + 0x32]
test dx, dx
js 0x5f06d7
movsx eax, cx
cmp eax, esi
jge 0x5f06d7
movsx eax, dx
cmp eax, esi
jge 0x5f06d7
mov eax, dword [edi + 0x1c]
push dword [0x884adc]
add eax, 3
and eax, 0xfffffffc
imul ecx, eax, 0x19
mov eax, dword [edi + 0x40]
add eax, 3
and eax, 0xfffffffc
add ecx, eax
lea esi, [ecx*4 + 0xf]
and esi, 0xfffffff0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [esi + 0x7f]
and edx, 0xffffff80
mov dword [ebp - 0x98], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
lea esi, [ecx + edx]
cmp edx, dword [eax + 8]
jg 0x5efcd3
cmp esi, dword [eax + 0x10]
ja 0x5efcd3
mov dword [eax + 0xc], esi
jmp 0x5efce0
push edx
mov ecx, eax
call fcn.0046a3c0
mov ecx, eax
mov dword [ebp - 0x14], eax
mov esi, dword [edi + 0x1c]
mov edx, esi
mov eax, dword [ebp - 0x14]
or edx, 0x80000000
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], edi
lea ecx, [esi + esi*2]
mov dword [ebp - 0x80], esi
shl ecx, 4
add eax, ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
add eax, ecx
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edx
lea eax, [eax + esi*4]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x58], eax
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x64], edx
or eax, 0x80000000
mov word [ebp - 0x60], 0
mov dword [ebp - 0x54], eax
call fcn.00580a40
push dword [eax]
push edi
push dword [ebx + 0x18]
call fcn.005df320
mov esi, dword [ebx + 8]
add esp, 0xc
movzx eax, word [esi + 0x2e]
cmp ax, 0xffff
jne 0x5efd71
mov ecx, dword [ebx + 0x10]
movaps xmm4, xmmword [ecx]
movaps xmmword [ebp - 0xc0], xmm4
jmp 0x5efdb6
movsx ecx, ax
mov eax, dword [ebp - 0x6c]
test byte [eax + ecx*4], 2
jne 0x5efd88
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [ebp - 0x78]
jmp 0x5efd94
push ecx
lea ecx, [ebp - 0x88]
call fcn.00580e80
mov ecx, dword [ebx + 0x18]
push eax
mov ecx, dword [ecx]
movsx eax, word [ecx + 0x14]
add eax, ecx
lea ecx, [ebp - 0xc0]
push eax
call fcn.0046eb90
movaps xmm4, xmmword [ebp - 0xc0]
mov ecx, dword [ebx + 0x10]
mov al, byte [esi + 0x88]
movaps xmm5, xmmword [esi + 0x50]
test al, al
je 0x5efdcb
movaps xmm5, xmmword [esi + 0x90]
cmp byte [esi + 0x64], 0
xorps xmm3, xmm3
je 0x5efdef
movss xmm5, dword [esi + 0x68]
movaps xmm1, xmm3
movss xmm2, dword [esi + 0x6c]
movss xmm0, dword [esi + 0x70]
unpcklps xmm5, xmm0
unpcklps xmm2, xmm1
unpcklps xmm5, xmm2
cmp byte [esi + 0x2c], 0
je 0x5eff9e
test al, al
je 0x5eff9e
subps xmm5, xmm4
movaps xmm6, xmmword [0x786710]
lea eax, [ebp - 0x30]
mov byte [ebp - 1], 1
push eax
lea eax, [ebp - 0x50]
push eax
movaps xmm4, xmm5
mulps xmm4, xmm5
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
addss xmm0, xmm4
shufps xmm4, xmm4, 0xaa
addss xmm4, xmm0
movaps xmm0, xmm3
shufps xmm4, xmm4, 0
movaps xmm2, xmm4
movaps xmm3, xmm4
cmpeqss xmm3, xmm0
movss xmm0, dword [0x719764]
rsqrtss xmm2, xmm2
mulss xmm4, xmm2
movaps xmm1, xmm0
mulss xmm4, xmm2
subss xmm1, xmm4
movss xmm4, dword [0x719760]
movaps xmm0, xmm4
movaps xmm4, xmmword [ecx + 0x10]
mulss xmm0, xmm2
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xc9
mulss xmm0, xmm1
movaps xmm1, xmm4
shufps xmm1, xmm4, 0xd2
andnps xmm3, xmm0
shufps xmm3, xmm3, 0
mulps xmm3, xmm5
movaps xmm5, xmm4
shufps xmm5, xmm4, 0xff
movaps xmmword [ebp - 0x30], xmm3
movaps xmm3, xmm4
mulps xmm3, xmm6
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
addss xmm0, xmm3
shufps xmm3, xmm3, 0xaa
addss xmm3, xmm0
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xd2
mulps xmm2, xmm0
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xc9
mulps xmm1, xmm0
shufps xmm3, xmm3, 0
mulps xmm3, xmm4
subps xmm2, xmm1
mulps xmm2, xmm5
mulps xmm5, xmm5
addps xmm5, xmmword [0x7195c0]
mulps xmm5, xmm6
addps xmm5, xmm3
addps xmm2, xmm5
addps xmm2, xmm2
movaps xmmword [ebp - 0x50], xmm2
call fcn.005f06e0
fstp dword [ebp - 8]
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 0x30]
xorps xmm0, xmmword [0x719730]
push eax
lea eax, [ebp - 0x50]
movss dword [ebp - 8], xmm0
push eax
call fcn.005f0770
movss xmm4, dword [0x7a3b34]
add esp, 0x10
movss xmm3, dword [esi + 0x34]
movss xmm2, dword [esi + 0x38]
fstp dword [ebp - 0xc]
mulss xmm3, xmm4
mulss xmm2, xmm4
movss xmm5, dword [0x719730]
movaps xmm1, xmm3
movss xmm0, dword [ebp - 8]
xorps xmm1, xmm5
comiss xmm1, xmm0
ja 0x5eff56
comiss xmm0, xmm3
jbe 0x5eff53
movaps xmm1, xmm3
jmp 0x5eff56
movaps xmm1, xmm0
movss xmm0, dword [esi + 0x3c]
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm2
xorps xmm1, xmm5
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0xc]
comiss xmm1, xmm0
ja 0x5eff85
comiss xmm0, xmm2
jbe 0x5eff82
movaps xmm1, xmm2
jmp 0x5eff85
movaps xmm1, xmm0
movss xmm0, dword [esi + 0x40]
mulss xmm0, xmm4
addss xmm0, xmm1
movss xmm1, dword [esi + 0x44]
movss dword [ebp - 0xc], xmm0
jmp 0x5effb1
movss xmm1, dword [esi + 0x48]
mov byte [ebp - 1], 0
movss dword [ebp - 0x10], xmm3
movss dword [ebp - 0xc], xmm3
movss xmm0, dword [esi + 0x80]
sub esp, 8
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.005f08c0
movss xmm3, dword [ebp - 0x10]
add esp, 8
cmp byte [ebp - 1], 0
subss xmm3, dword [esi + 0x78]
movss xmm2, dword [ebp - 0xc]
subss xmm2, dword [esi + 0x7c]
fstp dword [ebp - 8]
mulss xmm3, dword [ebp - 8]
mulss xmm2, dword [ebp - 8]
addss xmm3, dword [esi + 0x78]
addss xmm2, dword [esi + 0x7c]
movss dword [esi + 0x78], xmm3
movss dword [esi + 0x7c], xmm2
jne 0x5f0046
movsd xmm1, qword [0x7ab100]
cvtps2pd xmm0, xmm3
movss xmm3, dword [0x77fa28]
andps xmm0, xmm1
cvtpd2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x5f0030
mov dword [esi + 0x78], 0
cvtps2pd xmm0, xmm2
andps xmm0, xmm1
cvtpd2ps xmm0, xmm0
comiss xmm3, xmm0
jbe 0x5f0046
mov dword [esi + 0x7c], 0
movss xmm0, dword [esi + 0x78]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x5f0069
movss xmm0, dword [esi + 0x7c]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x5f068a
mov edx, dword [esi + 0xa4]
mov dword [ebp - 8], edx
test edx, edx
jle 0x5f068a
movsx ecx, word [esi + 0x30]
mov eax, dword [edi + 0xc]
movaps xmm6, xmmword [0x7194c0]
movaps xmmword [ebp - 0x30], xmm6
movsx ecx, word [eax + ecx*2]
cmp ecx, 0xffffffff
je 0x5f00c3
mov eax, dword [ebp - 0x6c]
test byte [eax + ecx*4], 2
jne 0x5f00a9
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [ebp - 0x78]
jmp 0x5f00bb
push ecx
lea ecx, [ebp - 0x88]
call fcn.00580e80
mov edx, dword [ebp - 8]
xorps xmm4, xmm4
movaps xmm6, xmmword [eax + 0x10]
movaps xmmword [ebp - 0x30], xmm6
movss xmm1, dword [esi + 0x78]
xor edi, edi
movd xmm0, edx
mov eax, dword [ebx + 0x14]
movaps xmm3, xmmword [0x786710]
mov dword [ebp - 0x10], edi
cvtdq2ps xmm0, xmm0
movaps xmm2, xmmword [eax]
divss xmm1, xmm0
movss dword [ebp - 0x8c], xmm1
movss xmm1, dword [esi + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x90], xmm1
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xc9
shufps xmm0, xmm3, 0xd2
shufps xmm2, xmm2, 0xd2
shufps xmm3, xmm3, 0xc9
mulps xmm1, xmm0
mulps xmm2, xmm3
subps xmm2, xmm1
movaps xmmword [ebp - 0x110], xmm2
test edx, edx
jle 0x5f0614
movaps xmm0, xmm2
movaps xmm7, xmm4
shufps xmm0, xmm2, 0xc9
movaps xmmword [ebp - 0x150], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xd2
movaps xmmword [ebp - 0x130], xmm0
movss xmm0, dword [0x719764]
movaps xmm1, xmm0
movaps xmmword [ebp - 0xf0], xmm7
movss xmm0, dword [0x719760]
movaps xmmword [ebp - 0xd0], xmm1
movaps xmm1, xmm0
movaps xmmword [ebp - 0xe0], xmm1
nop word [eax + eax]
movaps xmm1, xmmword [eax]
lea eax, [ebp - 0x100]
xorps xmm6, xmmword [0x719d70]
movaps xmm2, xmm1
mulps xmm2, xmm6
movaps xmm5, xmm1
push ecx
shufps xmm5, xmm1, 0xd2
movaps xmm3, xmm6
shufps xmm3, xmm6, 0xd2
lea ecx, [ebp - 0x180]
movaps xmm4, xmm6
movaps xmmword [ebp - 0xb0], xmm3
movaps xmm0, xmm2
shufps xmm4, xmm6, 0xff
shufps xmm0, xmm2, 0x55
addss xmm0, xmm2
movaps xmmword [ebp - 0x120], xmm4
shufps xmm2, xmm2, 0xaa
movaps xmmword [ebp - 0x50], xmm6
addss xmm2, xmm0
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xc9
mulps xmm5, xmm0
movaps xmmword [ebp - 0x140], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xc9
mulps xmm0, xmm3
shufps xmm2, xmm2, 0
mulps xmm2, xmm6
subps xmm5, xmm0
movaps xmm0, xmm4
mulps xmm0, xmm4
mulps xmm5, xmm4
addps xmm0, xmmword [0x7195c0]
mulps xmm0, xmm1
movaps xmm1, xmmword [ebp - 0xd0]
addps xmm0, xmm2
addps xmm5, xmm0
addps xmm5, xmm5
movaps xmm4, xmm5
mulps xmm4, xmm5
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
addss xmm0, xmm4
shufps xmm4, xmm4, 0xaa
addss xmm4, xmm0
movaps xmm0, xmmword [ebp - 0xe0]
shufps xmm4, xmm4, 0
movaps xmm2, xmm4
movaps xmm3, xmm4
rsqrtss xmm2, xmm2
mulss xmm4, xmm2
cmpeqss xmm3, xmm7
mulss xmm0, xmm2
mulss xmm4, xmm2
subss xmm1, xmm4
mulss xmm0, xmm1
andnps xmm3, xmm0
movss xmm0, dword [ebp - 0x8c]
shufps xmm3, xmm3, 0
mulps xmm3, xmm5
movss dword [esp], xmm0
push eax
movaps xmmword [ebp - 0x100], xmm3
call fcn.004776d0
movaps xmm1, xmmword [ebp - 0x50]
mulps xmm1, xmmword [ebp - 0x110]
movaps xmm2, xmmword [ebp - 0x120]
movaps xmm5, xmm2
mulps xmm5, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
addss xmm0, xmm1
shufps xmm1, xmm1, 0xaa
addps xmm5, xmmword [0x7195c0]
addss xmm1, xmm0
mulps xmm5, xmmword [ebp - 0x110]
shufps xmm1, xmm1, 0
mulps xmm1, xmmword [ebp - 0x50]
addps xmm5, xmm1
movaps xmm1, xmmword [ebp - 0x130]
lea eax, [ebp - 0x160]
mulps xmm1, xmmword [ebp - 0x140]
push ecx
movaps xmm0, xmmword [ebp - 0x150]
lea ecx, [ebp - 0x170]
mulps xmm0, xmmword [ebp - 0xb0]
subps xmm1, xmm0
mulps xmm1, xmm2
addps xmm5, xmm1
movaps xmm1, xmmword [ebp - 0xd0]
addps xmm5, xmm5
movaps xmm4, xmm5
mulps xmm4, xmm5
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
addss xmm0, xmm4
shufps xmm4, xmm4, 0xaa
addss xmm4, xmm0
movaps xmm0, xmmword [ebp - 0xe0]
shufps xmm4, xmm4, 0
movaps xmm2, xmm4
movaps xmm3, xmm4
cmpeqss xmm3, dword [ebp - 0xf0]
rsqrtss xmm2, xmm2
mulss xmm4, xmm2
mulss xmm0, xmm2
mulss xmm4, xmm2
subss xmm1, xmm4
mulss xmm0, xmm1
andnps xmm3, xmm0
movss xmm0, dword [ebp - 0x90]
shufps xmm3, xmm3, 0
mulps xmm3, xmm5
movss dword [esp], xmm0
push eax
movaps xmmword [ebp - 0x160], xmm3
call fcn.004776d0
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x190]
call fcn.004782a0
mov eax, dword [esi + 0xa0]
lea ecx, [edi + edi]
movsx ecx, word [ecx + eax]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], ecx
test byte [eax + ecx*4], 1
jne 0x5f03bf
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, dword [ebp - 0x84]
jmp 0x5f05ae
mov eax, dword [ebp - 0x88]
lea edi, [ecx + ecx*2]
mov edx, dword [ebp - 0x78]
shl edi, 4
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 0xc]
movzx eax, word [eax + ecx*2]
cmp ax, 0xffff
je 0x5f057a
mov ecx, dword [ebp - 0x6c]
cwde
test byte [ecx + eax*4], 2
jne 0x5f03f6
lea eax, [eax + eax*2]
shl eax, 4
add eax, edx
jmp 0x5f0405
push eax
lea ecx, [ebp - 0x88]
call fcn.00580e80
mov edx, dword [ebp - 0xc]
movaps xmm4, xmmword [eax + 0x10]
movaps xmm2, xmmword [eax]
movaps xmm5, xmm4
movaps xmm3, xmm2
shufps xmm5, xmm4, 0xff
mulps xmm3, xmm4
movaps xmm6, xmm2
mov esi, dword [ebp - 0x84]
shufps xmm6, xmm2, 0xc9
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xd2
movaps xmm0, xmm3
shufps xmm0, xmm3, 0x55
addss xmm0, xmm3
shufps xmm3, xmm3, 0xaa
addss xmm3, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xd2
mulps xmm6, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xc9
mulps xmm1, xmm0
shufps xmm3, xmm3, 0
mulps xmm3, xmm4
subps xmm6, xmm1
movaps xmm1, xmmword [eax + 0x20]
movaps xmm0, xmm1
unpckhps xmm0, xmmword [0x719330]
shufps xmm1, xmm0, 0xc4
mulps xmm6, xmm5
mulps xmm5, xmm5
addps xmm5, xmmword [0x7195c0]
mulps xmm5, xmm2
rcpps xmm2, xmm1
addps xmm5, xmm3
movaps xmm3, xmmword [edi + edx]
movaps xmm0, xmm2
mulps xmm0, xmm1
addps xmm6, xmm5
mulps xmm0, xmm2
addps xmm2, xmm2
addps xmm6, xmm6
subps xmm2, xmm0
xorps xmm6, xmmword [0x719130]
movaps xmmword [ebp - 0xb0], xmm6
andps xmm2, xmmword [0x719150]
movaps xmmword [ebp - 0x1c0], xmm6
movaps xmm6, xmmword [eax + 0x10]
xorps xmm6, xmmword [0x719d70]
movaps xmm4, xmm6
movaps xmmword [ebp - 0x1a0], xmm2
mulps xmm4, xmm3
movaps xmm2, xmm6
shufps xmm2, xmm6, 0xc9
movaps xmm1, xmm6
shufps xmm1, xmm6, 0xd2
movaps xmm5, xmm6
shufps xmm5, xmm6, 0xff
movaps xmm0, xmm4
movaps xmmword [ebp - 0x1b0], xmm6
shufps xmm0, xmm4, 0x55
addss xmm0, xmm4
shufps xmm4, xmm4, 0xaa
addss xmm4, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xd2
mulps xmm2, xmm0
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xc9
mulps xmm1, xmm0
shufps xmm4, xmm4, 0
mulps xmm4, xmm6
subps xmm2, xmm1
mulps xmm2, xmm5
mulps xmm5, xmm5
addps xmm5, xmmword [0x7195c0]
mulps xmm5, xmm3
addps xmm5, xmm4
addps xmm2, xmm5
addps xmm2, xmm2
addps xmm2, xmmword [ebp - 0xb0]
lea eax, [edx + 0x10]
movaps xmmword [edi + esi], xmm2
add eax, edi
lea ecx, [esi + 0x10]
push eax
lea eax, [ebp - 0x1b0]
add ecx, edi
push eax
call fcn.004782a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x94]
movaps xmm0, xmmword [edi + eax + 0x20]
mulps xmm0, xmmword [ebp - 0x1a0]
movaps xmmword [edi + esi + 0x20], xmm0
mov esi, dword [ebx + 8]
jmp 0x5f059c
mov eax, dword [ebp - 0x84]
movaps xmm0, xmmword [edi + edx]
movaps xmmword [edi + eax], xmm0
movaps xmm0, xmmword [edi + edx + 0x10]
movaps xmmword [edi + eax + 0x10], xmm0
movaps xmm0, xmmword [edi + edx + 0x20]
movaps xmmword [edi + eax + 0x20], xmm0
mov eax, dword [ebp - 0x6c]
and dword [eax + ecx*4], 0xfffffffe
mov eax, dword [ebp - 0x84]
add eax, edi
mov edi, dword [ebp - 0x10]
movaps xmm0, xmmword [eax + 0x10]
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x50]
movaps xmmword [ebp - 0x50], xmm0
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.004782a0
mov eax, dword [esi + 0xa0]
lea ecx, [ebp - 0x88]
lea eax, [eax + edi*2]
movsx eax, word [eax]
push eax
call fcn.00580280
movaps xmm0, xmmword [ebp - 0x50]
movaps xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.004782a0
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 8]
jge 0x5f0614
movaps xmm6, xmmword [ebp - 0x30]
movaps xmm7, xmmword [ebp - 0xf0]
mov eax, dword [ebx + 0x14]
jmp 0x5f0180
lea ecx, [ebp - 0x88]
call fcn.0057fe50
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebx + 0x18]
lea ecx, [ecx + ecx*2]
mov edx, dword [esi]
shl ecx, 4
push ecx
push dword [eax]
movsx eax, word [edx + 0x34]
add eax, edx
push eax
call fcn.0045d810
mov esi, dword [esi]
add esp, 0xc
cmp dword [esi + 4], 2
jle 0x5f064d
movsx ecx, word [esi + 0x32]
jmp 0x5f064f
xor ecx, ecx
movsx eax, word [esi + 0x34]
lea edx, [ecx + 1]
lea edi, [ecx + ecx*2]
mov dword [ebp - 0x24], edx
add eax, esi
shl edi, 4
add edi, eax
lea ecx, [edx + 0x1f]
sar ecx, 5
mov eax, ecx
mov dword [ebp - 0x30], edi
or eax, 0x80000000
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
test ecx, ecx
jle 0x5f0682
or eax, 0xffffffff
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x30]
call fcn.005f0830
lea ecx, [ebp - 0x88]
call fcn.005ac3a0
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x14]
lea esi, [ecx + 0xf]
and esi, 0xfffffff0
cmp ecx, dword [eax + 8]
jg 0x5f06ce
lea ecx, [edx + esi]
cmp ecx, dword [eax + 0xc]
jne 0x5f06ce
cmp dword [eax + 0x14], edx
je 0x5f06ce
mov dword [eax + 0xc], edx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push esi
push edx
mov ecx, eax
call fcn.0046a590
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret