Function at 0x442c60
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
sub esp, 0x830
push edi
mov edi, ecx
cmp dword [edi + 0x84], 0
mov dword [esp + 8], edi
je 0x442cb2
mov eax, dword [esp + 0x838]
mov cl, byte [esp + 0x83c]
mov dl, byte [esp + 0x840]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov byte [esp + 0x18], cl
push eax
mov ecx, edi
mov byte [esp + 0x14], 0x12
mov byte [esp + 0x1d], dl
call fcn.0043f010
pop edi
add esp, 0x830
ret 0xc
mov ecx, dword [0x4c6074]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push ecx
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x442ced
mov dword [ecx], str.LtUpdateFilterOnEntity
mov dword [ecx + 0xc], str.Stinit
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0x10
mov dword [esi + 4], ecx
add dword [edi + 0x84], 1
cmp dword [esp + 0x844], 0
lea eax, [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x844]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x80000080
jne 0x442efa
mov ecx, dword [0x4c6074]
push ecx
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x442d4e
mov dword [ecx], str.Stbroadphase
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
lea edx, [esp + 0x28]
push edx
lea edx, [ebp + 0x24]
push edx
call eax
mov ecx, dword [0x4c6074]
push ecx
call ebx
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x442d8d
mov dword [esi], str.Stphantom
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [esi + 4], edx
add esi, 0xc
mov dword [ecx + 4], esi
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
jle 0x442e13
jmp 0x442da0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + ebx*8 + 4]
movsx eax, byte [ecx + 5]
add eax, ecx
cmp byte [eax + 0x18], 2
jne 0x442e0a
movsx edi, byte [eax + 0x10]
add edi, eax
je 0x442e06
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x70]
push edx
lea esi, [ebp + 0x10]
call fcn.0043ec90
add esp, 4
cmp dword [esp + 0x84c], 0
je 0x442de2
mov eax, dword [edi]
mov edx, dword [eax + 0x2c]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, 1
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + ecx*8]
mov dword [eax + ebx*8], edx
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x28]
mov dword [ecx + ebx*8 + 4], eax
sub ebx, 1
mov edi, dword [esp + 0x14]
add ebx, 1
cmp ebx, dword [esp + 0x2c]
jl 0x442da0
xor esi, esi
cmp dword [ebp + 0x60], esi
lea edx, [esp + 0x440]
mov eax, 0x80000080
mov dword [esp + 0x434], edx
mov dword [esp + 0x438], esi
mov dword [esp + 0x43c], eax
jle 0x442ea7
jmp 0x442e47
mov eax, dword [esp + 0x43c]
and eax, 0x3fffffff
cmp dword [esp + 0x438], eax
jne 0x442e67
lea eax, [esp + 0x434]
push 8
push eax
call fcn.00402730
add esp, 8
mov ecx, dword [esp + 0x438]
mov edx, dword [esp + 0x434]
lea eax, [edx + ecx*8]
add ecx, 1
mov dword [esp + 0x438], ecx
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ecx + esi*8]
mov ecx, dword [edx + 0x10]
add ecx, 0x14
mov dword [eax], ecx
mov edx, dword [ebp + 0x5c]
mov ecx, dword [edx + esi*8]
mov edx, dword [ecx + 0x14]
add edx, 0x14
add esi, 1
mov dword [eax + 4], edx
cmp esi, dword [ebp + 0x60]
jl 0x442e40
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x438]
push ecx
call fcn.00481340
mov eax, dword [esp + 0x444]
add esp, 8
test eax, eax
js 0x442ef4
mov edx, dword [0x4c6060]
and eax, 0x3fffffff
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x434]
push 0x17
lea ecx, [esi*8]
push ecx
push edx
mov ecx, eax
call fcn.004023e0
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x4c6074]
push eax
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x442f25
mov dword [ecx], str.StcheckAgts
rdtsc
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [esi + 4], ecx
movzx eax, word [ebp + 0x2a]
xor ebx, ebx
cmp dword [ebp + 0x60], ebx
mov dword [esp + 0x10], eax
jle 0x442fe9
jmp 0x442f40
mov ecx, dword [ebp + 0x5c]
mov eax, dword [ecx + ebx*8 + 4]
lea esi, [ecx + ebx*8]
mov ecx, dword [edi + 0x70]
mov edx, dword [ecx + 8]
mov edx, dword [edx + 4]
push eax
lea eax, [ebp + 0x10]
add ecx, 8
push eax
lea eax, [esp + 0x23]
push eax
call edx
cmp byte [eax], 0
je 0x442f85
mov eax, dword [esi + 4]
movzx edx, word [eax + 0x1a]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
lea edx, [edx + ecx*2]
mov ecx, dword [edi + 0x74]
cmp byte [edx + ecx + 0x1bb0], 0
jne 0x442fa7
mov edx, dword [esi]
push edx
call fcn.00456b50
mov eax, dword [ebp + 0xb8]
mov cl, byte [eax + 0x25]
and cl, 0xfd
add esp, 4
sub ebx, 1
or cl, 1
mov byte [eax + 0x25], cl
jmp 0x442fdd
cmp dword [esp + 0x84c], 1
jne 0x442fdd
cmp byte [ebp + 0xd8], 7
jne 0x442fc7
movsx edx, byte [eax + 0x10]
mov eax, dword [edx + eax + 0xb8]
jmp 0x442fcd
mov eax, dword [ebp + 0xb8]
mov ecx, dword [esi]
push eax
mov eax, dword [edi + 0x6c]
push eax
push ecx
call fcn.00479330
add esp, 0xc
add ebx, 1
cmp ebx, dword [ebp + 0x60]
jl 0x442f40
cmp dword [esp + 0x2c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop ebp
jle 0x443044
mov edx, dword [0x4c6074]
push edx
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x443023
mov dword [ecx], str.StaddAgts
rdtsc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [esi + 4], ecx
mov eax, dword [edi + 0x70]
test eax, eax
je 0x44302f
add eax, 8
jmp 0x443031
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [edi + 0x58]
push edx
call fcn.00481290
add dword [edi + 0x84], 0xffffffff
jne 0x443066
cmp byte [edi + 0x8c], 0
jne 0x443066
cmp dword [edi + 0x80], 0
je 0x443066
mov ecx, edi
call fcn.0043eff0
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x443093
and eax, 0x3fffffff
mov esi, eax
mov eax, dword [0x4c6060]
push eax
call ebx
mov edx, dword [esp + 0x24]
push 0x17
lea ecx, [esi*8]
push ecx
push edx
mov ecx, eax
call fcn.004023e0
mov eax, dword [0x4c6074]
push eax
call ebx
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x4430be
mov dword [ecx], 0x4b3398
rdtsc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0xc]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [esi + 4], ecx
pop esi
pop ebx
pop edi
add esp, 0x830
ret 0xc