Function at 0x48aa60
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6c24b8]
sub esp, 0x418
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x48aa88
pop edi
mov eax, 5
pop esi
add esp, 0x418
ret
mov eax, 7
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x4554]
test ecx, ecx
jl 0x48aab3
jg 0x48aaa9
cmp dword [edi + 0x4550], 0x30d40
jbe 0x48aab3
mov dword [esp + 0x10], 8
jmp 0x48aab7
mov dword [esp + 0x10], eax
mov al, byte [edi + 0x45d2]
mov dword [edi + 0x1682c], 0
test al, 4
je 0x48acdc
lea ecx, [esp + 0x20]
push 0x100
push ecx
mov dword [esp + 0x24], 9
call fcn.004892b0
add esp, 8
test eax, eax
jne 0x48ae40
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x100
lea ecx, [esp + 0x34]
push 0x100
push ecx
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48ab3d
cmp esi, 1
jne 0x48ae3e
mov edx, dword [esp + 0x14]
push edx
call fcn.00485090
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.004892b0
mov esi, eax
add esp, 8
test esi, esi
je 0x48ab6a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00485090
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
push eax
push 0x68362c
push 0x6835ac
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48abbf
cmp esi, 1
jne 0x48aba7
mov edx, dword [esp + 8]
push edx
call fcn.00485090
add esp, 4
mov eax, dword [esp + 0x14]
push eax
call fcn.00485090
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea ecx, [esp + 0x20]
push 0x40
push ecx
call fcn.004892b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x48ac66
mov al, byte [edi + 0x45d2]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
test al, 2
push edx
push 0x68362c
je 0x48ac38
push 0x68372c
push esi
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48ac13
cmp esi, 1
jne 0x48ac66
jmp 0x48ac59
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00489360
jmp 0x48acab
push 0x6836ac
push 0
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48ac88
cmp esi, 1
jne 0x48ac66
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00485090
add esp, 4
mov edx, dword [esp + 8]
push edx
call fcn.00485090
mov eax, dword [esp + 0x18]
push eax
call fcn.00485090
add esp, 8
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00489940
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov esi, eax
push ecx
call fcn.00485090
mov edx, dword [esp + 0xc]
push edx
call fcn.00485090
mov eax, dword [esp + 0x1c]
push eax
call fcn.00485090
add esp, 0xc
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea ecx, [esp + 0x20]
push 0x40
push ecx
call fcn.004892b0
add esp, 8
test eax, eax
jne 0x48ae40
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
push eax
push 0x68362c
push 0x68352c
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48ad3f
cmp esi, 1
jne 0x48ae3e
mov edx, dword [esp + 8]
push edx
call fcn.00485090
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.004892b0
mov esi, eax
add esp, 8
test esi, esi
je 0x48ad6c
mov ecx, dword [esp + 8]
push ecx
call fcn.00485090
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
mov al, byte [edi + 0x45d2]
lea edx, [esp + 0x10]
test al, 2
lea eax, [esp + 0xc]
push edx
push eax
push 0x68362c
je 0x48adc3
push 0x68372c
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48ada8
cmp esi, 1
jne 0x48adf1
jmp 0x48ade4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.00489f20
jmp 0x48ae22
push 0x6836ac
push 0
lea ecx, [esp + 0x34]
push 0x40
push ecx
call fcn.00488010
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x48ae09
cmp esi, 1
jne 0x48adf1
mov edx, dword [esp + 0xc]
push edx
call fcn.00485090
add esp, 4
mov eax, dword [esp + 8]
push eax
call fcn.00485090
add esp, 4
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
call fcn.0048a4c0
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov esi, eax
push edx
call fcn.00485090
mov eax, dword [esp + 0xc]
push eax
call fcn.00485090
add esp, 8
mov eax, esi
pop edi
pop esi
add esp, 0x418
ret