Function at 0x100c2e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10112040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [0x10117880]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0xa8]
cmp byte [eax], 0
je 0x100c2e9e
push ebx
call dword [sym.ateris.dll_void____fastcall___void___void___enum_ClientFrameStage_t__FrameStageNotify::OriginalFunction]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test ebx, ebx
jne 0x100c30b2
mov ecx, dword [0x101178a4]
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp byte [ecx + 0x408], bl
jne 0x100c2f19
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x2c]
movsx eax, word [eax + 0x10]
cmp dword [ecx + eax*4], 1
jne 0x100c2f19
cmp dword [0x10116228], ebx
jne 0x100c2eec
push str.Team_Fortress_2
push ebx
call esi
mov dword [0x10116228], eax
jmp 0x100c2f19
call edi
cmp eax, dword [0x10116228]
jne 0x100c2f19
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c2f19
mov ecx, dword [0x101178d0]
cmp byte [ecx + 0xc], al
sete al
mov byte [ecx + 0xc], al
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0xc]
movzx edx, ax
test eax, eax
je 0x100c2f8c
mov ecx, dword [0x101178a4]
cmp byte [ecx + 0x408], 0
jne 0x100c2f8c
movsx eax, dx
cmp dword [ecx + eax*4], 1
jne 0x100c2f8c
cmp dword [0x10116228], 0
jne 0x100c2f5f
push str.Team_Fortress_2
push 0
call esi
mov dword [0x10116228], eax
jmp 0x100c2f8c
call edi
cmp eax, dword [0x10116228]
jne 0x100c2f8c
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c2f8c
mov ecx, dword [0x101178d0]
cmp byte [ecx + 0xd], al
sete al
mov byte [ecx + 0xd], al
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0xc]
movzx edx, ax
test eax, eax
je 0x100c2fff
mov ecx, dword [0x101178a4]
cmp byte [ecx + 0x408], 0
jne 0x100c2fff
movsx eax, dx
cmp dword [ecx + eax*4], 1
jne 0x100c2fff
cmp dword [0x10116228], 0
jne 0x100c2fd2
push str.Team_Fortress_2
push 0
call esi
mov dword [0x10116228], eax
jmp 0x100c2fff
call edi
cmp eax, dword [0x10116228]
jne 0x100c2fff
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c2fff
mov ecx, dword [0x101178c8]
cmp byte [ecx + 0x10], al
sete al
mov byte [ecx + 0x10], al
mov eax, dword [0x101178b0]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
movzx edx, ax
test eax, eax
je 0x100c3091
mov ecx, dword [0x101178a4]
cmp byte [ecx + 0x408], 0
jne 0x100c3091
movsx eax, dx
cmp dword [ecx + eax*4], 1
jne 0x100c3091
cmp dword [0x10116228], 0
jne 0x100c3064
push str.Team_Fortress_2
push 0
call esi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push ebx
mov dword [0x10116228], eax
call dword [sym.ateris.dll_void____fastcall___void___void___enum_ClientFrameStage_t__FrameStageNotify::OriginalFunction]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call edi
cmp eax, dword [0x10116228]
jne 0x100c3091
mov ecx, dword [0x10116098]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd4]
call eax
test al, al
jne 0x100c3091
mov ecx, dword [0x101178c8]
cmp byte [ecx + 0x20], al
sete al
mov byte [ecx + 0x20], al
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push ebx
call dword [sym.ateris.dll_void____fastcall___void___void___enum_ClientFrameStage_t__FrameStageNotify::OriginalFunction]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 2
je 0x100c373e
cmp ebx, 3
je 0x100c373e
cmp ebx, 4
je 0x100c373e
cmp ebx, 5
jne 0x100c373e
call fcn.10025520
mov edi, dword [0x10116080]
test edi, edi
je 0x100c3612
mov eax, dword [0x10115fb4]
mov ecx, dword fs:[0x2c]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x10116050]
mov dword [ebp - 0x20], esi
cmp eax, dword [esi + 4]
jle 0x100c314d
push 0x10116050
call fcn.100e1f99
add esp, 4
cmp dword [0x10116050], 0xffffffff
jne 0x100c314d
push str.m_lifeState
push str.CBasePlayer
mov dword [ebp - 4], 0
call fcn.100e1150
push 0x10116050
mov dword [0x10116010], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10116010]
cmp byte [edi + eax], 0
jne 0x100c360f
mov eax, dword [0x10118464]
cmp eax, dword [esi + 4]
jle 0x100c31b1
push 0x10118464
call fcn.100e1f99
add esp, 4
cmp dword [0x10118464], 0xffffffff
jne 0x100c31b1
mov dword [ebp - 4], 1
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
push 0x10118464
fstp dword [0x101183b8]
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
cmp dword [0x10116000], 0
fstp dword [ebp - 0x18]
vmovss xmm0, dword [ebp - 0x18]
vsubss xmm0, xmm0, dword [0x101183b8]
vmovss dword [ebp - 0x10], xmm0
je 0x100c32a0
mov eax, dword [0x10117880]
cmp dword [eax + 0x74], 0x3b
jne 0x100c32a0
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
test eax, eax
je 0x100c32a0
mov ecx, dword [0x10116080]
call fcn.1001cec0
mov ecx, dword [0x10115ffc]
mov eax, dword [eax]
shr eax, 7
test al, 1
mov eax, dword [ecx]
je 0x100c328a
mov eax, dword [eax + 0x120]
call eax
push 2
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x18], ecx
mov ecx, eax
call dword [ebp - 0x18]
fadd dword [0x10100bfc]
vmovss xmm0, dword [ebp - 0x10]
fstp dword [ebp - 0x18]
vcomiss xmm0, dword [ebp - 0x18]
jbe 0x100c32a0
cmp byte [0x101177e0], 0
jne 0x100c32a0
mov ecx, dword [0x10115ffc]
push 0
push str.voicemenu_1_4
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
mov byte [0x101177e0], 1
jmp 0x100c329a
mov eax, dword [eax + 0x38]
mov byte [0x101177e0], 0
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
fstp dword [0x101183b8]
mov eax, dword [0x10118550]
cmp eax, dword [esi + 4]
jle 0x100c32f5
push 0x10118550
call fcn.100e1f99
add esp, 4
cmp dword [0x10118550], 0xffffffff
jne 0x100c32f5
mov dword [ebp - 4], 2
mov ecx, dword [0x10116180]
push str.tf_avoidteammates_pushaway
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
push 0x10118550
mov dword [0x101184c0], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov ecx, dword [0x101184c0]
test ecx, ecx
je 0x100c331d
mov eax, dword [ecx + 0x18]
add ecx, 0x18
xor edx, edx
mov esi, dword [eax]
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x14]
cmp byte [eax + 8], dl
sete dl
push edx
call esi
mov esi, dword [ebp - 0x20]
call fcn.1009b5f0
mov edx, dword [0x10117880]
mov ecx, dword [eax]
mov dword [edx + 0x34], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 0x38], ecx
mov eax, dword [eax + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
cmp byte [eax + 8], 0
je 0x100c336c
call fcn.1009b5f0
vxorps xmm1, xmm1, xmm1
vmulss xmm0, xmm1, dword [eax]
vmovss dword [eax], xmm0
vmulss xmm0, xmm1, dword [eax + 4]
vmovss dword [eax + 4], xmm0
vmulss xmm0, xmm1, dword [eax + 8]
vmovss dword [eax + 8], xmm0
mov ecx, dword [0x10115ffc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x10], eax
call dword [ebp - 0x10]
mov eax, dword [0x10117880]
fstp dword [ebp - 0x10]
mov edi, dword [eax + 0x78]
vmovss xmm0, dword [edi + 8]
vcomiss xmm0, dword [ebp - 0x10]
jbe 0x100c33a5
mov ecx, dword [0x101160c0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
lea eax, [edi + 0xc]
push eax
call edx
mov eax, dword [0x10117880]
mov ecx, dword [eax + 0x78]
cmp byte [ecx + 2], 0
je 0x100c360f
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xe8]
cmp byte [eax], 0
je 0x100c360f
mov edi, dword [0x10116080]
mov byte [ecx + 2], 0
mov eax, dword [0x101160cc]
cmp eax, dword [esi + 4]
jle 0x100c342a
push 0x101160cc
call fcn.100e1f99
add esp, 4
cmp dword [0x101160cc], 0xffffffff
jne 0x100c342a
push str.m_hItem
push str.CTFPlayer
mov dword [ebp - 4], 3
call fcn.100e1150
push 0x101160cc
mov dword [0x101160c4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x101160c4]
mov esi, dword [edi + eax - 0x34]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x100c360f
mov edi, dword [0x10116080]
mov ecx, dword [edi + 0x890]
test ecx, ecx
je 0x100c360f
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x78]
cmp byte [eax + 3], 0
je 0x100c350f
call fcn.100dd320
push eax
push dword [edi + 0x890]
call fcn.100dcd10
push ecx
push eax
push ecx
vxorps xmm3, xmm3, xmm3
mov ecx, esi
call fcn.100d1850
call fcn.100dd320
push eax
push dword [edi + 0x890]
call fcn.100dcd10
mov ecx, dword [0x10116080]
mov edi, eax
mov esi, dword [ecx + 0x890]
mov ecx, dword [0x10115ffc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
mov dword [ebp - 0x10], edx
call dword [ebp - 0x10]
push edi
push esi
fstp dword [ebp - 0x10]
call fcn.100c0470
mov eax, dword [0x10117880]
mov ecx, dword [ebp - 0x20]
vaddss xmm0, xmm0, dword [ebp - 0x10]
mov esi, dword [0x10116080]
mov eax, dword [eax + 0x78]
vmovss dword [eax + 8], xmm0
mov eax, dword [0x1011605c]
cmp eax, dword [ecx + 4]
jle 0x100c35ed
push 0x1011605c
call fcn.100e1f99
add esp, 4
cmp dword [0x1011605c], 0xffffffff
jne 0x100c35ed
mov dword [ebp - 4], 4
jmp 0x100c35c5
mov eax, dword [eax + 4]
mov esi, 0x100f6ad3
sub eax, 1
je 0x100c3528
sub eax, 1
jne 0x100c352d
mov esi, str.taunt_conga
jmp 0x100c352d
mov esi, str.taunt_laugh
test esi, esi
jle 0x100c360f
push esi
push ecx
call fcn.100dcd10
push ecx
push eax
push ecx
mov ecx, dword [ebp - 0x10]
vxorps xmm3, xmm3, xmm3
call fcn.100d1850
push esi
push dword [edi + 0x890]
call fcn.100dcd10
mov ecx, dword [0x10116080]
mov edi, eax
mov esi, dword [ecx + 0x890]
mov ecx, dword [0x10115ffc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
mov dword [ebp - 0x10], edx
call dword [ebp - 0x10]
push edi
push esi
fstp dword [ebp - 0x10]
call fcn.100c0470
mov eax, dword [0x10117880]
mov ecx, dword [ebp - 0x20]
vaddss xmm0, xmm0, dword [ebp - 0x10]
mov esi, dword [0x10116080]
mov eax, dword [eax + 0x78]
vmovss dword [eax + 8], xmm0
mov eax, dword [0x1011605c]
cmp eax, dword [ecx + 4]
jle 0x100c35ed
push 0x1011605c
call fcn.100e1f99
add esp, 4
cmp dword [0x1011605c], 0xffffffff
jne 0x100c35ed
mov dword [ebp - 4], 5
push str.m_angEyeAngles_0_
push str.CTFPlayer
call fcn.100e1150
push 0x1011605c
mov dword [0x10115fd4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [0x10117880]
mov edx, dword [0x10115fd4]
mov ecx, dword [eax + 0x78]
mov eax, dword [edx + esi]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + esi + 4]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + esi + 8]
mov dword [ecx + 0x14], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100c3666
mov eax, dword [0x101178b0]
mov edx, dword [eax + 0x10]
cmp byte [edx + 0x52], 0
je 0x100c3642
vmovss xmm0, dword [edx + 0x54]
add ecx, 0x18
push ecx
vmovss dword [esp], xmm0
jmp 0x100c3661
mov eax, dword [ecx + 0x1c]
vxorps xmm1, xmm1, xmm1
vmovss xmm0, dword [eax + 0x2c]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100c3666
add ecx, 0x18
push ecx
vmovss dword [esp], xmm1
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x100c36c5
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
cmp byte [eax + 0x59], 0
je 0x100c36a2
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], 0
jne 0x100c36c5
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push 1
call dword [eax]
mov byte [0x1011771c], 1
jmp 0x100c36c5
cmp byte [0x1011771c], 0
jne 0x100c36b4
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], 0
je 0x100c36c5
mov eax, dword [ecx + 0x18]
add ecx, 0x18
push 0
call dword [eax]
mov byte [0x1011771c], 0
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x100c373b
cmp byte [0x10117768], 0
jne 0x100c36f8
mov eax, dword [eax + 0x1c]
mov byte [0x10117768], 1
mov ecx, dword [eax + 0x30]
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x5c], ecx
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x90]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
mov edx, dword [eax]
mov eax, dword [0x101178b0]
mov eax, dword [eax + 0x10]
push dword [eax + 0x5c]
call edx
mov edx, dword [ebp - 0x1c]
mov ecx, esi
push ebx
call dword [sym.ateris.dll_void____fastcall___void___void___enum_ClientFrameStage_t__FrameStageNotify::OriginalFunction]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x1c]
push ebx
mov ecx, esi
call dword [sym.ateris.dll_void____fastcall___void___void___enum_ClientFrameStage_t__FrameStageNotify::OriginalFunction]
cmp ebx, 1
jne 0x100c3842
mov eax, dword [0x10114da8]
mov dword [0x10116164], 0
cmp eax, dword [0x10114dac]
je 0x100c376c
mov dword [0x10114dac], eax
mov eax, dword [0x10114d84]
cmp eax, dword [0x10114d88]
je 0x100c377e
mov dword [0x10114d88], eax
mov eax, dword [0x10114d6c]
cmp eax, dword [0x10114d70]
je 0x100c3790
mov dword [0x10114d70], eax
mov eax, dword [0x10114d78]
cmp eax, dword [0x10114d7c]
je 0x100c37a2
mov dword [0x10114d7c], eax
mov eax, dword [0x10114d9c]
cmp eax, dword [0x10114da0]
je 0x100c37b4
mov dword [0x10114da0], eax
mov eax, dword [0x10114dec]
cmp eax, dword [0x10114df0]
je 0x100c37c6
mov dword [0x10114df0], eax
mov ecx, 0x10114db4
call fcn.10033160
mov eax, dword [0x10114d90]
cmp eax, dword [0x10114d94]
je 0x100c37e2
mov dword [0x10114d94], eax
mov eax, dword [0x10114df8]
cmp eax, dword [0x10114dfc]
je 0x100c37f4
mov dword [0x10114dfc], eax
mov eax, dword [0x10114dd4]
cmp eax, dword [0x10114dd8]
je 0x100c3806
mov dword [0x10114dd8], eax
mov eax, dword [0x10114de0]
cmp eax, dword [0x10114de4]
je 0x100c3818
mov dword [0x10114de4], eax
mov eax, dword [0x10114e04]
cmp eax, dword [0x10114e08]
je 0x100c3aa8
mov dword [0x10114e08], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 3
jne 0x100c3860
call fcn.100a0d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ebx, 4
jne 0x100c3aa8
call fcn.100d93a0
call fcn.1009fee0
mov esi, dword [0x10114da8]
mov eax, dword [0x10114dac]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], eax
cmp esi, eax
je 0x100c3aa8
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x100c3a99
cmp eax, dword [0x10116080]
je 0x100c3a99
push eax
call fcn.10042120
mov ecx, dword [esi]
test ecx, ecx
je 0x100c38c0
add ecx, 8
je 0x100c38c0
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x100c38c2
xor eax, eax
push eax
call fcn.100ab470
mov eax, dword [esi]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10115fb4]
mov dword [ebp - 0x14], 0x16
mov dword [ebp - 0x20], 0
mov ebx, dword [ecx + eax*4]
mov eax, dword [0x10116028]
cmp eax, dword [ebx + 4]
jle 0x100c393c
push 0x10116028
call fcn.100e1f99
add esp, 4
cmp dword [0x10116028], 0xffffffff
jne 0x100c393c
push str.m_flSimulationTime
push str.CBaseEntity
mov dword [ebp - 4], 6
call fcn.100e1150
push 0x10116028
mov dword [0x10116024], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [esi]
mov edi, dword [0x10116024]
mov dword [ebp - 0x18], eax
mov eax, dword [0x101160d8]
cmp eax, dword [ebx + 4]
jle 0x100c3999
push 0x101160d8
call fcn.100e1f99
add esp, 4
cmp dword [0x101160d8], 0xffffffff
jne 0x100c3999
push str.m_flSimulationTime
push str.CBaseEntity
mov dword [ebp - 4], 7
call fcn.100e1150
push 0x101160d8
mov dword [0x101160d4], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100e1f48
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [0x101160a4]
vmovss xmm0, dword [eax + edi]
mov eax, dword [0x101160d4]
vmovss xmm1, dword [ebx + 0x1c]
vsubss xmm0, xmm0, dword [ecx + eax + 4]
vdivss xmm0, xmm0, xmm1
vaddss xmm0, xmm0, dword [0x10100bf8]
vcvttss2si edx, xmm0
test edx, edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x20]
cmovns ecx, eax
cmp edx, 0x16
lea eax, [ebp - 0x14]
cmovle eax, ecx
mov edi, dword [eax]
test edi, edi
je 0x100c3a99
mov eax, dword [0x101160c0]
vmovss xmm0, dword [ebx + 0x10]
vmovss dword [ebp - 0x10], xmm0
cmp byte [eax + 0xb], 0
je 0x100c3a04
vxorps xmm1, xmm1, xmm1
vmovss dword [ebx + 0x10], xmm1
test edi, edi
jle 0x100c3a94
mov eax, dword [0x10117880]
mov edx, dword [0x10115fb4]
mov eax, dword [eax + 0x7c]
mov byte [eax], 1
mov ebx, dword [esi]
mov esi, dword fs:[0x2c]
mov eax, dword [0x101187a0]
mov ecx, dword [esi + edx*4]
mov esi, dword [ebp - 0x1c]
cmp eax, dword [ecx + 4]
jle 0x100c3a71
push 0x101187a0
call fcn.100e1f99
add esp, 4
cmp dword [0x101187a0], 0xffffffff
jne 0x100c3a71
mov eax, dword [0x10117880]
push 0x101187a0
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x28]
mov dword [0x10118798], eax
call fcn.100e1f48
add esp, 4
mov ecx, ebx
call dword [0x10118798]
mov eax, dword [0x10117880]
mov eax, dword [eax + 0x7c]
mov byte [eax], 0
sub edi, 1
jne 0x100c3a11
mov ebx, dword [0x101160a4]
vmovss xmm0, dword [ebp - 0x10]
vmovss dword [ebx + 0x10], xmm0
add esi, 4
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x24]
jne 0x100c3890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4