Function at 0x48b510
Capabilities:
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x8f4
push 0xffffffffffffffff
push 0x4e95a4
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x417270]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x90c]
mov edx, dword [ebp + 0x918]
mov esi, dword [ebp + 0x8fc]
mov edi, dword [ebp + 0x904]
push 0x90
mov ebx, ecx
mov ecx, dword [ebp + 0x910]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x5bc]
push 0
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], edx
call fcn.004caf20
add esp, 0xc
push 0x90
lea ecx, [ebp + 0x5bc]
push ecx
push 1
push esi
mov ecx, ebx
call fcn.00485a20
cmp eax, 0x90
jne 0x48bd98
push 0x2fc
lea edx, [ebp]
push 0
push edx
call fcn.004caf20
add esp, 0xc
push 0x2fc
lea eax, [ebp]
push eax
push 0x21
push esi
mov ecx, ebx
call fcn.00485a20
cmp eax, 0x2fc
jne 0x48bd98
mov esi, dword [ebp - 0x28]
mov eax, 1
test esi, esi
jne 0x48b5f7
mov eax, 0x1001
push eax
lea ecx, [ebp + 0x764]
call fcn.0048b440
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
test esi, esi
je 0x48b676
lea ecx, [ebp + 0x838]
call fcn.0046d7f0
mov eax, dword [ebp + 0x900]
and eax, 0xf00
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp + 0x838]
cmp eax, 0x100
je 0x48b64f
cmp eax, 0x200
je 0x48b648
call fcn.00466fc0
jmp 0x48b654
call fcn.00467220
jmp 0x48b654
call fcn.00466660
movzx eax, byte [ebp + 0x900]
sub eax, 1
je 0x48b66b
push 0
lea ecx, [ebp + 0x838]
push ecx
jmp 0x48b694
push 1
lea edx, [ebp + 0x838]
push edx
jmp 0x48b694
call fcn.00466a60
push eax
lea ecx, [ebp + 0x838]
call fcn.0046dff0
push 0
lea eax, [ebp + 0x838]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x764]
call fcn.004a7ae0
lea ecx, [ebp + 0x838]
mov byte [ebp - 4], 1
call fcn.004a5ea0
push 0x2c0
lea ecx, [ebp + 0x2fc]
push 0
push ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x11], 0
call fcn.004caf20
mov dx, word [ebp + 0x5be]
mov eax, dword [ebp + 0x5c0]
add esp, 0xc
push 1
lea ecx, [ebp + 0x2fc]
push ecx
push 0
mov ecx, ebx
mov dword [ebp + 0x2fc], 0x10100
mov word [ebp + 0x31e], dx
mov dword [ebp + 0x320], eax
call fcn.004850e0
test eax, eax
je 0x48b715
push eax
mov ecx, ebx
mov byte [ebp - 0x11], 1
call fcn.004811f0
xor esi, esi
cmp esi, dword [ebp + 0x908]
mov dword [ebp - 0x18], esi
jge 0x48bd48
mov eax, dword [edi + esi*4]
cmp eax, 0x1388
jb 0x48b737
cmp eax, 0x176f
jb 0x48b745
cmp eax, 0x4c4b40
jb 0x48b751
cmp eax, 0x5b8d7f
jae 0x48b751
push 0x69
mov ecx, ebx
call fcn.0047e020
inc esi
jmp 0x48b717
mov edx, dword [edi + esi*4]
mov eax, dword [ebp + 0x5c0]
mov ecx, dword [ebp + 0x5be]
push edx
push eax
push ecx
lea ecx, [ebp + 0x764]
mov byte [ebp - 4], 5
call fcn.004a95e0
lea edx, [ebp + 0x5bc]
push edx
lea ecx, [ebp + 0x764]
call fcn.004a8100
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x764]
call fcn.004a84c0
mov ecx, dword [edi + esi*4]
push 1
lea edx, [ebp + 0x2fc]
push edx
mov dword [ebp + 0x300], ecx
push 2
mov ecx, ebx
call fcn.004850e0
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x48b8ed
cmp byte [ebp - 0x11], al
jne 0x48bc3b
push 0x118
push eax
lea eax, [ebp + 0x64c]
push eax
call fcn.004caf20
mov edx, dword [ebp - 0x34]
add esp, 0xc
push 0x118
lea ecx, [ebp + 0x64c]
push ecx
push 0xa
push edx
mov ecx, ebx
call fcn.00485a20
test eax, eax
je 0x48bc3b
cmp byte [ebp + 0x664], 0
je 0x48b80c
lea esi, [ebp + 0x664]
jmp 0x48b8c3
mov ax, word [ebp + 0x65c]
xor ecx, ecx
cmp cx, ax
jne 0x48b86d
xor edx, edx
cmp dx, word [ebp + 0x65e]
jne 0x48b86d
cmp cx, word [ebp + 0x660]
jne 0x48b86d
cmp dx, word [ebp + 0x662]
jne 0x48b86d
movzx eax, word [ebp + 0x65a]
movzx ecx, word [ebp + 0x658]
movzx edx, word [ebp + 0x656]
push eax
movzx eax, word [ebp + 0x654]
push ecx
push edx
push eax
lea ecx, [ebp + 0x870]
push 0x420554
push ecx
call fcn.004cb9ad
add esp, 0x18
jmp 0x48b8bd
movzx edx, word [ebp + 0x662]
movzx ecx, word [ebp + 0x660]
push edx
movzx edx, word [ebp + 0x65e]
push ecx
movzx ecx, word [ebp + 0x65a]
push edx
movzx edx, word [ebp + 0x658]
movzx eax, ax
push eax
movzx eax, word [ebp + 0x656]
push ecx
movzx ecx, word [ebp + 0x654]
push edx
push eax
push ecx
lea edx, [ebp + 0x870]
push 0x42053c
push edx
call fcn.004cb9ad
add esp, 0x28
lea esi, [ebp + 0x870]
push 1
lea eax, [ebp + 0x2fc]
mov ecx, 0x20
lea edi, [ebp + 0x32c]
push eax
rep movsd dword es:[edi], dword [esi]
push 2
mov ecx, ebx
call fcn.004850e0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x48bc3b
mov esi, dword [ebp - 0x1c]
push 0x10
lea ecx, [ebp - 0x48]
push ecx
xor eax, eax
push 6
push esi
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
call fcn.00485a20
cmp eax, 0x10
jge 0x48b95f
mov edx, dword [0x53e204]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x48b928
xor edi, edi
jmp 0x48b92a
mov edi, dword [eax]
lea ecx, [ebp + 0x764]
call fcn.004a7930
push esi
mov ecx, ebx
call fcn.004811f0
push edi
mov ecx, ebx
call fcn.0047e020
lea ecx, [ebp + 0x764]
mov dword [ebp - 4], 0xffffffff
call fcn.0048b4b0
mov eax, dword [ebp - 0x18]
jmp 0x48bd9a
test dword [ebp - 0x44], 0x8000
push 1
je 0x48bacb
xor eax, eax
mov dword [ebp + 0x820], eax
mov dword [ebp + 0x824], eax
mov dword [ebp + 0x828], eax
mov dword [ebp + 0x82c], eax
mov dword [ebp + 0x830], eax
mov dword [ebp + 0x834], eax
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], eax
lea eax, [ebp + 0x2fc]
push eax
push 2
mov ecx, ebx
call fcn.004850e0
mov edi, eax
test edi, edi
je 0x48ba3c
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
mov eax, dword [edx + esi*4]
lea ecx, [ebp + 0x820]
push ecx
push eax
push edi
mov ecx, ebx
call fcn.00482ac0
test eax, eax
je 0x48ba31
push 0x420530
lea ecx, [ebp - 0x68]
call fcn.0042e060
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + esi*4]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x764]
mov byte [ebp - 4], 6
call fcn.004a7790
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00447570
lea ecx, [ebp + 0x820]
push ecx
lea ecx, [ebp + 0x764]
call fcn.004a8810
push edi
mov ecx, ebx
call fcn.004811f0
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 0
inc esi
jmp 0x48b717
push edi
mov ecx, ebx
call fcn.004811f0
mov esi, dword [ebp - 0x1c]
mov dx, word [ebp - 0x48]
xor eax, eax
push eax
push eax
mov dword [ebp + 0x85c], eax
push 0x12
mov dword [ebp + 0x860], eax
mov dword [ebp + 0x864], eax
mov dword [ebp + 0x868], eax
mov word [ebp + 0x86c], ax
lea eax, [ebp + 0x85c]
push eax
push 2
push esi
mov ecx, ebx
mov word [ebp + 0x85c], dx
call fcn.00486160
mov ecx, dword [0x53e204]
push ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x48ba95
xor edi, edi
jmp 0x48ba97
mov edi, dword [eax]
push esi
mov ecx, ebx
call fcn.004811f0
push edi
mov ecx, ebx
call fcn.0047e020
cmp dword [ebp - 0x24], 0
mov dword [ebp + 0x300], 0
jne 0x48bc3b
lea ecx, [ebp + 0x764]
call fcn.004a7930
jmp 0x48b945
push 0x14000
lea ecx, [ebp + 0x858]
call fcn.0044c530
mov dword [ebp + 0x858], 0x41ccb0
mov eax, dword [ebp + 0x860]
mov edx, dword [ebp - 0x1c]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp + 0x85c]
push eax
push esi
push 8
push edx
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.00485a20
mov edi, eax
test edi, edi
jne 0x48bb5e
mov eax, dword [0x53e204]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x48bb24
xor esi, esi
jmp 0x48bb26
mov esi, dword [eax]
lea ecx, [ebp + 0x764]
call fcn.004a7930
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, ebx
call fcn.004811f0
push esi
mov ecx, ebx
call fcn.0047e020
lea ecx, [ebp + 0x858]
mov dword [ebp + 0x858], 0x41ccb0
call fcn.0042a080
jmp 0x48b945
cmp dword [ebp + 0x860], edi
mov dword [ebp - 0x24], esi
jge 0x48bbdc
push edi
lea ecx, [ebp + 0x858]
call fcn.0044cf60
cmp dword [ebp + 0x860], 0
je 0x48bb8b
mov eax, dword [ebp + 0x85c]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x48bba5
lea ecx, [ebp + 0x764]
call fcn.004a7930
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, ebx
call fcn.004811f0
push 0x6c
jmp 0x48bb3d
mov esi, dword [ebp - 0x1c]
push edi
push eax
push 8
push esi
mov ecx, ebx
call fcn.00485a20
mov edi, eax
test edi, edi
jne 0x48bbdf
mov ecx, ebx
call fcn.0047e000
lea ecx, [ebp + 0x764]
mov edi, eax
call fcn.004a7930
push esi
mov ecx, ebx
call fcn.004811f0
push edi
jmp 0x48bb3d
mov esi, dword [ebp - 0x1c]
push 0x420524
lea ecx, [ebp - 0x68]
call fcn.0042e060
mov eax, dword [ebp - 0x24]
push 1
push edi
push eax
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp + 0x764]
mov byte [ebp - 4], 8
call fcn.004a6f90
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00447570
push esi
mov ecx, ebx
call fcn.004811f0
lea ecx, [ebp + 0x858]
mov byte [ebp - 4], 5
mov dword [ebp + 0x858], 0x41ccb0
call fcn.0042a080
test esi, esi
jne 0x48bd17
xor eax, eax
push 1
lea edx, [ebp + 0x2fc]
push edx
push 2
mov ecx, ebx
mov dword [ebp + 0x840], eax
mov dword [ebp + 0x844], eax
mov dword [ebp + 0x848], eax
mov dword [ebp + 0x84c], eax
mov dword [ebp + 0x850], eax
mov dword [ebp + 0x854], eax
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], eax
call fcn.004850e0
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x18]
mov edx, dword [ecx + edi*4]
mov esi, eax
lea eax, [ebp + 0x840]
push eax
push edx
push esi
mov ecx, ebx
call fcn.00482ac0
test eax, eax
jne 0x48bcca
lea ecx, [ebp + 0x764]
call fcn.004a7930
push esi
mov ecx, ebx
call fcn.004811f0
lea ecx, [ebp + 0x764]
mov dword [ebp - 4], 0xffffffff
call fcn.0048b4b0
mov eax, edi
jmp 0x48bd9a
push 0x420530
lea ecx, [ebp - 0x68]
call fcn.0042e060
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edi*4]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp + 0x764]
mov byte [ebp - 4], 9
call fcn.004a7790
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00447570
lea eax, [ebp + 0x840]
push eax
lea ecx, [ebp + 0x764]
call fcn.004a8810
push esi
mov ecx, ebx
call fcn.004811f0
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 0
inc esi
jmp 0x48b717
lea ecx, [ebp + 0x764]
call fcn.004a7930
cmp dword [ebp - 0x28], 0
jne 0x48bdc1
mov esi, dword [ebp + 0x914]
mov ecx, dword [ebp - 0x38]
push esi
push ecx
lea ecx, [ebp + 0x764]
call fcn.004a5ed0
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
cmp eax, esi
jbe 0x48bdc1
add eax, 0xa
mov dword [ecx], eax
push 0x70
mov ecx, ebx
call fcn.0047e020
lea ecx, [ebp + 0x764]
mov dword [ebp - 4], 0xffffffff
call fcn.0048b4b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8f0]
xor ecx, ebp
call fcn.004cb3aa
add ebp, 0x8f4
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [ebp + 0x764]
mov dword [ebp - 4], 0xffffffff
call fcn.0048b4b0
mov eax, dword [ebp + 0x908]
jmp 0x48bd9a