Function at 0x100c5250
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, 0x18
mov eax, dword [0x10253210]
push esi
mov esi, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
test esi, esi
je 0x100c552c
test eax, eax
je 0x100c552c
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
cmp eax, dword [0x10316860]
jne 0x100c52c9
cmp byte [0x1031c164], 0
je 0x100c52c9
push 0x1031c158
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 esi, dword [ebp - 0x14]
jne 0x100c52ec
push 0x1031bfa8
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 + 8]
lea ecx, [esi + 8]
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 0x100c534d
cmp byte [0x1031c0e4], 0
je 0x100c534d
push 0x1031c0d8
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 eax, dword [eax + ecx*4]
mov ecx, dword [0x10316918]
mov dword [ebp - 0x10], eax
cmp ecx, dword [eax + 4]
jle 0x100c53ba
push 0x10316918
call fcn.101987e8
mov ecx, dword [0x10316918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100c53ba
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 esi, dword [ebp - 0x18]
mov eax, dword [eax + esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 4]
jle 0x100c5420
push 0x10316918
call fcn.101987e8
mov ecx, dword [0x10316918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100c5420
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
mov ecx, dword [0x10316918]
add esp, 4
mov eax, dword [0x10316914]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
cmp esi, dword [eax + edx]
mov esi, dword [ebp - 0x18]
je 0x100c5451
push 0x1031bf50
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 [ebp - 0x10]
cmp ecx, dword [eax + 4]
jle 0x100c54a9
push 0x10316918
call fcn.101987e8
mov ecx, dword [0x10316918]
add esp, 4
cmp ecx, 0xffffffff
jne 0x100c54a9
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 esi, dword [eax + esi]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 4]
jle 0x100c5501
push 0x10316918
call fcn.101987e8
add esp, 4
cmp dword [0x10316918], 0xffffffff
jne 0x100c5501
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 - 0x14]
cmp esi, dword [eax + ecx]
jne 0x100c552c
push 0x1031c080
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