Function at 0x4728c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4816dd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4a0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4a00a8]
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp + 8], edi
cmp eax, 0xffffffff
je 0x4729fd
push eax
call ebx
test eax, eax
je 0x4729f8
lea ecx, [ebp + 8]
add eax, 0x14
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], eax
push ecx
mov ecx, eax
call fcn.00470130
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0xd], 0
jne 0x4729f8
cmp edi, dword [esi + 0x10]
jb 0x4729f8
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax]
je 0x4729f8
add esi, 0x14
je 0x4729f8
cmp byte [ebp + 0x18], 0
je 0x472969
mov eax, dword [esi + 4]
test eax, eax
je 0x472969
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x472969
push ecx
push eax
mov eax, dword [esi]
call eax
add esp, 8
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test edx, edx
jne 0x4729db
test ecx, ecx
jne 0x4729db
mov eax, dword [0x4a00a8]
mov dword [ebp + 8], edi
cmp eax, 0xffffffff
je 0x47298b
push eax
call ebx
test eax, eax
jne 0x4729bd
call fcn.00472160
mov eax, dword [0x4a00a8]
cmp eax, 0xffffffff
jne 0x4729ba
xor eax, eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [eax + 0x14]
call fcn.00471f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call ebx
lea ecx, [ebp + 8]
push ecx
lea ecx, [eax + 0x14]
call fcn.00471f20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4a00a8]
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 0x14]
jne 0x472a0e
test esi, esi
je 0x472ac4
cmp eax, 0xffffffff
je 0x472a1c
push eax
call ebx
mov ecx, eax
test ecx, ecx
jne 0x472a34
call fcn.00472160
mov eax, dword [0x4a00a8]
cmp eax, 0xffffffff
jne 0x472a2f
xor ecx, ecx
jmp 0x472a34
push eax
call ebx
mov ecx, eax
mov eax, dword [ebp + 0xc]
lea ebx, [ecx + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], edi
push eax
mov dword [ebp - 0x28], esi
call fcn.00470130
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x24], xmm0
cmp byte [eax + 0xd], 0
jne 0x472a6f
cmp edi, dword [eax + 0x10]
jae 0x472ac4
cmp dword [ebx + 4], 0x7ffffff
je 0x472ad6
mov esi, dword [ebx]
mov dword [ebp - 0x14], ebx
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0044f669
movq xmm0, qword [ebp - 0x30]
add esp, 4
mov ecx, dword [ebp + 0x14]
movq qword [eax + 0x14], xmm0
mov dword [eax + 0x1c], ecx
mov ecx, ebx
push eax
push dword [ebp - 0x20]
mov dword [eax + 0x10], edi
push dword [ebp - 0x24]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.00462130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00424ee0
int3