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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10197135
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 [0x1024d1e0]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x100bf05f
test ecx, ecx
je 0x100bf05f
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 [0x10310860]
jne 0x100bedee
cmp byte [0x10316394], 0
je 0x100bedee
push 0x10316388
mov ecx, edi
call fcn.100bed00
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 0x100bee28
push 0x10316258
mov ecx, edi
call fcn.100bed00
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 + 0x1024d1f0]
and edx, dword [eax*8 + 0x1024d1f4]
or esi, edx
je 0x100bee88
cmp byte [0x1031633c], 0
je 0x100bee88
push 0x10316330
mov ecx, edi
call fcn.100bed00
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 [0x1024f340]
mov eax, dword fs:[0x2c]
mov esi, dword [eax + ecx*4]
mov ecx, dword [0x10310918]
cmp ecx, dword [esi + 4]
jle 0x100beef2
push 0x10310918
call fcn.101928b8
mov ecx, dword [0x10310918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100beef2
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 0
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
mov ecx, dword [0x10310918]
add esp, 4
mov eax, dword [0x10310914]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx]
mov dword [ebp - 0x18], eax
cmp ecx, dword [esi + 4]
jle 0x100bef4d
push 0x10310918
call fcn.101928b8
add esp, 4
cmp dword [0x10310918], 0xffffffff
jne 0x100bef4d
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 1
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310914]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + edx]
mov ecx, dword [0x10310918]
je 0x100bef81
push 0x10316200
mov ecx, edi
call fcn.100bed00
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 0x100befd6
push 0x10310918
call fcn.101928b8
mov ecx, dword [0x10310918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100befd6
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 2
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
mov ecx, dword [0x10310918]
add esp, 4
mov eax, dword [0x10310914]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx]
mov dword [ebp - 0x18], eax
cmp ecx, dword [esi + 4]
jle 0x100bf031
push 0x10310918
call fcn.101928b8
add esp, 4
cmp dword [0x10310918], 0xffffffff
jne 0x100bf031
push str.m_iTeamNum
push str.DT_BaseEntity
mov dword [ebp - 4], 3
call fcn.100756f0
push 0x10310918
mov dword [0x10310914], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10192867
add esp, 4
mov eax, dword [0x10310914]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp edx, dword [eax + ecx]
jne 0x100bf05f
push 0x103162b0
mov ecx, edi
call fcn.100bed00
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