Function at 0x100c5610
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019d2f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov eax, edx
mov dword [ebp - 0x14], eax
push edi
mov edi, ecx
mov ecx, dword [0x10253210]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x100c58ff
test ecx, ecx
je 0x100c58ff
lea esi, [eax + 8]
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, dword [0x10316860]
jne 0x100c568e
cmp byte [0x1031c38c], 0
je 0x100c568e
push 0x1031c380
mov ecx, edi
call fcn.100c55a0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
cmp esi, eax
jne 0x100c56c8
push 0x1031c250
mov ecx, edi
call fcn.100c55a0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
xor esi, esi
mov ecx, eax
and ecx, 0x3f
xor edx, edx
bts esi, ecx
cmp ecx, 0x20
cmovae edx, esi
xor esi, edx
cmp ecx, 0x40
cmovae edx, esi
shr eax, 6
and esi, dword [eax*8 + 0x10253220]
and edx, dword [eax*8 + 0x10253224]
or esi, edx
je 0x100c5728
cmp byte [0x1031c334], 0
je 0x100c5728
push 0x1031c328
mov ecx, edi
call fcn.100c55a0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10255374]
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [0x10316918]
cmp ecx, dword [esi + 4]
jle 0x100c5792
push 0x10316918
call fcn.101987e8
mov ecx, dword [0x10316918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100c5792
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0
call fcn.1007c590
push 0x10316918
mov dword [0x10316914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
mov ecx, dword [0x10316918]
add esp, 4
mov eax, dword [0x10316914]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx]
mov dword [ebp - 0x18], eax
cmp ecx, dword [esi + 4]
jle 0x100c57ed
push 0x10316918
call fcn.101987e8
add esp, 4
cmp dword [0x10316918], 0xffffffff
jne 0x100c57ed
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 1
call fcn.1007c590
push 0x10316918
mov dword [0x10316914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10316914]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + edx]
mov ecx, dword [0x10316918]
je 0x100c5821
push 0x1031c1f8
mov ecx, edi
call fcn.100c55a0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esi + 4]
jle 0x100c5876
push 0x10316918
call fcn.101987e8
mov ecx, dword [0x10316918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100c5876
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 2
call fcn.1007c590
push 0x10316918
mov dword [0x10316914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
mov ecx, dword [0x10316918]
add esp, 4
mov eax, dword [0x10316914]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx]
mov dword [ebp - 0x18], eax
cmp ecx, dword [esi + 4]
jle 0x100c58d1
push 0x10316918
call fcn.101987e8
add esp, 4
cmp dword [0x10316918], 0xffffffff
jne 0x100c58d1
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 3
call fcn.1007c590
push 0x10316918
mov dword [0x10316914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10198797
add esp, 4
mov eax, dword [0x10316914]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + ecx]
jne 0x100c58ff
push 0x1031c2a8
mov ecx, edi
call fcn.100c55a0
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov byte [edi], 0
xorps xmm0, xmm0
mov dword [edi + 4], 0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 1
mov dword [edi + 0x10], 0x3f800000
mov dword [edi + 0x14], 0xff000000
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 4
mov dword [edi + 0x34], 0xf
mov dword [edi + 0x20], 0x656e6f4e
mov byte [edi + 0x24], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret