Function at 0x45f530
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce794
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x505034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x10]
lea edi, [ebx + 0x10]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x10], 0
mov byte [ebx + 4], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
movq xmm0, qword [eax]
movq qword [ebx + 4], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x34], eax
mov eax, dword [0x5059fc]
cmp eax, 0xffffffff
jne 0x45f5e7
call fcn.0045fd30
test eax, eax
jne 0x45f5e2
mov edx, 0x4e7455
jmp 0x45f5f8
mov dword [0x5059fc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
mov edx, 0x4e7455
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f600
sub ecx, esi
push ecx
push edx
mov ecx, edi
call fcn.0041d240
cmp dword [ebx + 0x20], 0
je 0x45f716
cmp dword [edi + 0x14], 0x10
mov ecx, edi
mov ebx, dword [edi + 0x10]
jb 0x45f629
mov ecx, dword [edi]
test ebx, ebx
je 0x45f6c0
or esi, 0xffffffff
lea eax, [ebx - 1]
cmp eax, esi
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x3a
je 0x45f64d
cmp esi, ecx
je 0x45f6c0
dec esi
cmp byte [esi], 0x3a
jne 0x45f643
sub esi, ecx
cmp esi, 0xffffffff
je 0x45f6c0
lea ecx, [esi + 1]
cmp ebx, ecx
jb 0x45f892
mov edx, dword [ebp + 0xc]
lea eax, [edx + 1]
mov dword [ebp - 0x10], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x45f668
sub edx, dword [ebp - 0x10]
mov eax, ebx
sub eax, ecx
mov ebx, 0xffffffff
cmp eax, 0xffffffff
cmovb ebx, eax
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x10], ebx
mov eax, edi
mov ebx, dword [edi + 0x10]
jb 0x45f691
mov eax, dword [edi]
push edx
push dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
add ecx, eax
call fcn.0041d0e0
add esp, 8
test eax, eax
jne 0x45f6c0
dec esi
cmp ebx, esi
jb 0x45f892
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x45f6b9
mov eax, dword [edi]
mov dword [edi + 0x10], esi
mov byte [eax + esi], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x45f6f1
lea eax, [ecx + 1]
mov esi, edi
mov dword [edi + 0x10], eax
cmp edx, 0x10
jb 0x45f6de
mov esi, dword [edi]
push eax
lea eax, [esi + 1]
push esi
push eax
call fcn.00492330
add esp, 0xc
mov byte [esi], 0x7b
jmp 0x45f707
push 0x7b
push 1
push 0
mov byte [ebp - 0x10], 0
mov ecx, edi
push dword [ebp - 0x10]
push 1
call fcn.0045fb90
push 0x4ed580
mov ecx, edi
call fcn.0043d6d0
mov ebx, dword [ebp - 0x54]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x10], 1
call fcn.0045d860
add esp, 4
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0042ddb0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x45f787
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f77d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f897
push edx
push ecx
call fcn.00479e95
add esp, 8
push 1
push 0x4ed4d4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041d240
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x50]
push 2
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
push 0x4eb618
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.0041d240
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x30]
mov ecx, edi
cmovae eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045e1a0
mov edx, dword [ebp - 0x3c]
add esp, 4
cmp edx, 0x10
jb 0x45f83a
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f830
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89c
push edx
push ecx
call fcn.00479e95
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
cmp edx, 0x10
jb 0x45f87c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45f872
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f89c
push edx
push ecx
call fcn.00479e95
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.00417770
call fcn.0049b19a
call fcn.0049b19a
int3