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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x100e8968]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
cmp dword [eax + 0x18], edi
jl 0x10047718
lea esi, [ecx + 0x78]
nop dword [eax + eax]
mov ecx, dword [0x100e8960]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x100476ec
mov ecx, dword [0x100e8ffc]
cmp eax, dword [ecx]
je 0x10047706
mov edx, dword [esi]
test edx, edx
je 0x10047706
mov ecx, dword [0x100e89b4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov dword [esi], 0
mov eax, dword [0x100e8968]
inc edi
add esi, 0x70
cmp edi, dword [eax + 0x18]
jle 0x100476d0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x100479ed
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edi, dword [esp + 0x10]
movss xmm0, dword [esi + 0x3c0]
imul eax, eax, 0x70
mov dword [esp + 0xc], eax
ucomiss xmm0, dword [eax + edi + 4]
lahf
test ah, 0x44
jp 0x10047769
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ecx + edi]
jne 0x1004776d
mov ecx, esi
call fcn.1007ad50
cmp dword [eax], 0
je 0x100477bb
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x3c0]
mov dword [ecx + edi + 4], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov edx, dword [ecx + edi + 8]
mov dword [ecx + edi], eax
test edx, edx
je 0x100477ab
mov ecx, dword [0x100e89b4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov dword [eax + edi + 8], 0
mov ecx, esi
call fcn.1007ad50
cmp dword [eax], 0
jne 0x100479ed
mov eax, dword [esp + 0xc]
cmp dword [eax + edi + 8], 0
jne 0x100477e9
mov ecx, dword [0x100e89b4]
push 0x35c
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0xc]
push esi
mov dword [ecx + edi + 8], eax
mov ecx, eax
call dword [0x100e894c]
mov eax, dword [0x100e8968]
mov ecx, esi
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x2c], xmm0
call fcn.10046210
mov ecx, dword [0x100e8968]
movss xmm1, dword [ecx + 0x20]
movaps xmm0, xmm1
addss xmm0, dword [eax]
movss dword [ecx + 0x14], xmm1
movss dword [ecx + 0x10], xmm0
mov ecx, esi
call fcn.10046120
mov ecx, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], eax
call fcn.10041560
mov ecx, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], eax
call fcn.10040f00
mov ecx, esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
call fcn.10041480
mov ecx, esi
mov eax, dword [eax]
mov dword [esp + 0x18], eax
call fcn.10046390
mov ecx, esi
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.100462f0
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm0
call fcn.10046700
mov ecx, esi
movss xmm0, dword [eax]
movss dword [esp + 0x24], xmm0
call fcn.10046620
mov ecx, dword [esp + 0xc]
mov eax, dword [0x100e8968]
mov edx, dword [ecx + edi + 8]
mov dword [esp + 0x10], edx
mov esi, dword [edx + 0x70]
cmp esi, dword [eax + 4]
mov esi, dword [esp + 0x14]
jne 0x100478da
dec dword [edx + 0x70]
mov edx, dword [ecx + edi + 8]
mov dword [esp + 0x10], edx
mov ecx, esi
call fcn.100467e0
mov ecx, dword [esp + 0x10]
xor edx, edx
push 0
movq xmm0, qword [eax]
movq qword [esp + 0x58], xmm0
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x58]
movss xmm1, dword [esp + 0x5c]
call dword [0x100e8948]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + edi + 8]
mov eax, dword [eax + 0xec]
mov dword [ecx + edi + 0xc], eax
mov ecx, esi
call fcn.10046120
movss xmm0, dword [esp + 0x30]
mov ecx, esi
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 8], xmm0
call fcn.10041560
movss xmm0, dword [esp + 0x3c]
mov ecx, esi
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [eax + 8], xmm0
call fcn.10040f00
movss xmm0, dword [esp + 0x48]
mov ecx, esi
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [eax + 8], xmm0
call fcn.10041480
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, esi
call fcn.10046390
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, esi
call fcn.100462f0
movss xmm0, dword [esp + 0x20]
mov ecx, esi
movss dword [eax], xmm0
call fcn.10046700
movss xmm0, dword [esp + 0x24]
mov ecx, esi
movss dword [eax], xmm0
call fcn.10046620
mov eax, dword [0x100e8968]
movss xmm0, dword [esp + 0x28]
movss dword [eax + 0x10], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0x14], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4