Function at 0x45bdb0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f314d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0045c060
mov dword [ebp - 4], 0
mov eax, dword [0x54dbb0]
cmp eax, 0xffffffff
jne 0x45be31
call fcn.004694b0
test eax, eax
jne 0x45be2c
mov ecx, 0x529f54
jmp 0x45be42
mov dword [0x54dbb0], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov ecx, 0x529f54
cmovne ecx, eax
mov edi, ecx
mov dword [ebp - 0x30], ecx
lea edx, [edi + 1]
nop word [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x45be50
sub edi, edx
je 0x45bfa0
test edi, edi
je 0x45bec4
or esi, 0xffffffff
lea eax, [edi - 1]
cmp eax, esi
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x3a
je 0x45be7f
cmp esi, ecx
je 0x45bec4
dec esi
cmp byte [esi], 0x3a
jne 0x45be75
sub esi, ecx
cmp esi, 0xffffffff
je 0x45bec4
lea edx, [esi + 1]
cmp edi, edx
jb 0x45c04c
push dword [ebx + 0xc]
mov eax, edi
mov ecx, 0xffffffff
push dword [ebx + 8]
sub eax, edx
cmp eax, 0xffffffff
cmovb ecx, eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ecx, edx
mov edx, dword [ebp - 0x34]
call fcn.0042a8d0
add esp, 8
test al, al
je 0x45bec4
cmp edi, esi
cmovb esi, edi
mov edi, esi
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x38]
call fcn.0045c060
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x6c], 0xc0000000
jb 0x45beee
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
sub esp, 8
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, esp
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], 0xc0000008
push 9
mov dword [eax + 4], ecx
mov ecx, esi
push 0x5310ec
mov dword [eax], 2
call fcn.0045c540
mov ecx, dword [ebp - 0x40]
add esp, 0x10
cmp ecx, 0x10
jb 0x45bf57
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bf4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c051
push ecx
push edx
call fcn.004af3e3
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
cmp ecx, 0x10
jb 0x45c02c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45c022
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c051
jmp 0x45c022
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x38]
call fcn.0045c060
mov byte [ebp - 4], 2
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x45bfba
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
sub esp, 8
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, esp
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0xc0000000
push 2
mov dword [eax + 4], ecx
mov ecx, esi
push 0x52cfc8
mov dword [eax], 1
call fcn.0045c540
mov ecx, dword [ebp - 0x40]
add esp, 0x10
cmp ecx, 0x10
jb 0x45bf57
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bf4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c051
jmp 0x45bf4d
push ecx
push edx
call fcn.004af3e3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00451b30
call fcn.004bbc4f
int3