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

Disassembly:
sub esp, 0x64
mov eax, dword [0x48b040]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x48d2c8]
mov esi, ecx
mov byte [esp + 0x17], dl
mov dword [esp + 0x28], esi
mov eax, dword [edi + 0x3f8c]
mov byte [eax + 0xb0], 1
mov ebx, dword [edi + 0x3f8c]
cmp byte [ebx + 0xb3], 0
jne 0x4365f0
mov ecx, dword [ebx + 0xec]
xor edx, edx
mov eax, dword [ebx + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.00403de0
mov ecx, dword [ebx]
mov ebp, eax
add esp, 4
cmp dword [ecx + 0x3fc4], ebp
jne 0x43619b
push ecx
push esi
mov edx, 0xb
mov ecx, ebp
call fcn.00419c90
add esp, 8
mov ecx, esi
cmp esi, 0xffffffff
jae 0x4361b8
mov dl, byte [ecx]
test dl, dl
je 0x4361b8
cmp dl, 0x23
jne 0x4361b2
cmp byte [ecx + 1], dl
je 0x4361b8
inc ecx
cmp ecx, 0xffffffff
jb 0x4361a2
mov eax, dword [0x48d2c8]
xorps xmm2, xmm2
movss xmm0, dword [eax + 0x3cf4]
cmp esi, ecx
jne 0x4361d1
xorps xmm1, xmm1
jmp 0x436219
movss xmm3, dword [0x483544]
movaps xmm2, xmm0
push ecx
push ecx
push esi
push ecx
lea ecx, [esp + 0x40]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x3cf0]
call fcn.0042a660
movss xmm0, dword [esp + 0x30]
xorps xmm2, xmm2
addss xmm0, dword [0x48349c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x34]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov esi, dword [esp + 0x7c]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x20], xmm1
movss xmm3, dword [esi + 4]
ucomiss xmm3, xmm2
movss dword [esp + 0x1c], xmm3
lahf
test ah, 0x44
jp 0x436246
movaps xmm3, xmm0
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esi]
ucomiss xmm0, xmm2
movss dword [esp + 0x18], xmm0
lahf
test ah, 0x44
jp 0x436262
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x50], xmm0
lea ecx, [esp + 0x50]
movss xmm0, dword [ebx + 0xf8]
xorps xmm1, xmm1
movss dword [esp + 0x48], xmm0
movss xmm0, dword [ebx + 0xfc]
addss xmm0, dword [ebx + 0x130]
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x30], xmm0
call fcn.00412cc0
movss xmm0, dword [esi]
xorps xmm1, xmm1
movss xmm2, dword [ebx + 0x204]
movss xmm7, dword [esp + 0x48]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4362cc
movss xmm0, dword [esp + 0x20]
subss xmm2, xmm7
maxss xmm0, xmm2
jmp 0x4362d2
movss xmm0, dword [esp + 0x18]
movss xmm3, dword [edi + 0x38f4]
lea ecx, [esp + 0x38]
movss xmm4, dword [edi + 0x38f8]
movaps xmm6, xmm7
addss xmm6, xmm0
movss xmm5, dword [esp + 0x30]
movaps xmm0, xmm3
movss xmm1, dword [esp + 0x30]
mulss xmm0, dword [0x48346c]
mov edx, ebp
push 0
movss dword [esp + 0x6c], xmm5
addss xmm5, dword [esp + 0x20]
cvttss2si eax, xmm0
push 0
movaps xmm0, xmm4
movss dword [esp + 0x6c], xmm7
mulss xmm0, dword [0x48346c]
movss dword [esp + 0x50], xmm6
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm3, xmm2
movss dword [esp + 0x54], xmm5
subss xmm4, xmm0
subss xmm7, xmm2
subss xmm1, xmm0
addss xmm3, xmm6
addss xmm4, xmm5
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x4c], xmm4
call fcn.004129c0
add esp, 8
test al, al
je 0x4365f0
mov eax, dword [edi + 0x490c]
lea ecx, [esp + 0x38]
and eax, 0x200
mov edx, ebp
shl eax, 3
push eax
lea eax, [esp + 0x33]
push eax
lea eax, [esp + 0x36]
push eax
call fcn.0042f8d0
add esp, 0xc
mov byte [esp + 0x16], al
test al, al
je 0x4364f2
cmp byte [edi + 0x4a93], 0
jne 0x4364c5
cmp dword [edi + 0x4a38], ebx
jne 0x4364c5
mov eax, dword [ebx + 0x150]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x4a80], eax
jne 0x4364c5
movss xmm1, dword [ebx + 0x108]
movss xmm0, dword [esp + 0x38]
movss xmm2, dword [ebx + 0x10c]
subss xmm0, xmm1
mov esi, dword [0x48d2c8]
mov ecx, dword [edi + 0x48d8]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, xmm2
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm1
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm2
mov dword [esi + 0x4a3c], ebp
mov dword [esi + 0x4a80], eax
movss dword [esp + 0x5c], xmm0
call fcn.00410340
mov eax, dword [esi + 0x4a38]
mov ecx, dword [esp + 0x30]
mov edx, dword [0x48d2c8]
movups xmm0, xmmword [esp + 0x50]
mov dword [eax + ecx*4 + 0x324], ebp
add ecx, ecx
mov eax, dword [esi + 0x4a38]
movups xmmword [eax + ecx*8 + 0x32c], xmm0
mov eax, dword [edx + 0x4a38]
mov ecx, dword [edx + 0x4a80]
mov eax, dword [eax + 0x318]
mov dword [eax + ecx*8 + 0x34c], 0x7f7fffff
mov eax, dword [edx + 0x4a38]
mov ecx, dword [edx + 0x4a80]
mov eax, dword [eax + 0x318]
mov dword [eax + ecx*8 + 0x350], 0x7f7fffff
mov byte [edi + 0x4a92], 1
mov eax, dword [0x48d2c8]
cmp word [eax + 0x5d1e], 0
jg 0x4364f2
mov ecx, dword [eax + 0x3fdc]
cmp ecx, ebp
je 0x4364e2
test ecx, ecx
jne 0x4364eb
mov word [eax + 0x3fec], 0x101
or dword [eax + 0x4910], 4
mov cl, byte [esp + 0x2e]
test cl, cl
jne 0x436500
cmp byte [esp + 0x17], cl
je 0x43657c
cmp byte [esp + 0x2f], 0
je 0x436512
test cl, cl
je 0x436512
mov esi, 0x1a
jmp 0x436522
xor eax, eax
test cl, cl
setne al
add eax, 0x18
mov dword [esp + 0x30], eax
mov esi, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
movss xmm1, dword [0x4834a4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [0x48d2c8]
push 0
push ecx
mov dword [esp + 0x5c], ecx
mov ecx, esi
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x3f8c]
mov dword [esp], 0
call fcn.00404650
mov ecx, dword [edx + 0x270]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004267a0
cmp dword [edi + 0x4a3c], ebp
jne 0x436594
push 0xa
mov edx, ebp
lea ecx, [esp + 0x3c]
call fcn.00404cf0
add esp, 4
lea eax, [esp + 0x38]
push eax
lea eax, [edi + 0x3950]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
push dword [esp + 0x38]
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x78]
call fcn.004048e0
mov al, byte [esp + 0x2a]
add esp, 0x14
test al, al
je 0x4365f2
test dword [ebx + 0xc], 0x4000000
je 0x4365f2
test byte [edi + 0x490c], 0x20
jne 0x4365f2
call fcn.00413d10
mov al, byte [esp + 0x16]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0044c777
add esp, 0x64
ret
xor al, al
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044c777
add esp, 0x64
ret