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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ea60
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4b2740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4b31e4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x3f8c]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], esi
mov byte [eax + 0xb0], 1
mov edi, dword [esi + 0x3f8c]
mov dword [ebp - 0x58], edi
cmp byte [edi + 0xb3], 0
jne 0x45991b
mov eax, dword [ebp + 0x14]
and eax, 0x3000000
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040f410
movss xmm1, dword [0x494310]
add esp, 4
cmp dword [ebp - 0x64], 0
xorps xmm0, xmm0
je 0x45984c
movss xmm0, dword [ebp - 0x24]
maxss xmm0, xmm1
mov eax, dword [ebp - 0x68]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
maxss xmm0, xmm1
movss dword [esp], xmm0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x30]
push eax
call fcn.00408310
movss xmm0, dword [edi + 0xf8]
add esp, 0x14
movss xmm2, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x2c]
addss xmm2, xmm0
addss xmm1, dword [edi + 0xfc]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edi + 0xfc]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x14], xmm1
cmp byte [edi + 0xcc], 0
jg 0x4598c7
cmp byte [edi + 0xcd], 0
mov byte [ebp - 0x39], 0
jle 0x4598cb
mov byte [ebp - 0x39], 1
cmp dword [ebp - 0x64], 0
je 0x459922
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00412d80
add esp, 8
test al, al
je 0x459922
cmp byte [ebp - 0x39], 0
jne 0x459922
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x6c]
subss xmm0, dword [ebp - 0x20]
push ecx
mov dword [esp], 0xbf800000
push eax
movss dword [ebp - 0x6c], xmm0
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x68], xmm0
call fcn.004142e0
add esp, 8
xor al, al
jmp 0x45a88a
mov eax, dword [ebp - 0x70]
cmp dword [esi + 0x4ce4], eax
jne 0x45992e
int3
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x4d04]
call fcn.0040fa20
mov ecx, eax
mov edi, dword [ecx]
cmp edi, 0xffffffff
je 0x459953
shl edi, 9
add edi, dword [esi + 0x4d00]
jmp 0x459a36
mov eax, dword [esi + 0x4d10]
mov dword [ecx], eax
mov edi, dword [esi + 0x4d10]
mov eax, dword [esi + 0x4cf8]
cmp edi, eax
jne 0x459a00
mov ecx, dword [esi + 0x4cfc]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, ecx
jle 0x4599ef
test ecx, ecx
je 0x45998c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x459991
mov eax, 8
mov edx, dword [ebp - 0x38]
cmp eax, edx
cmovg edx, eax
mov dword [ebp - 0x40], edx
cmp edx, ecx
jle 0x4599ec
mov eax, edx
shl eax, 9
push eax
call fcn.00414de0
mov edx, dword [esi + 0x4d00]
add esp, 4
mov dword [ebp - 0x50], eax
test edx, edx
je 0x4599dd
mov ecx, dword [esi + 0x4cf8]
shl ecx, 9
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 0x4d00]
call fcn.00414e70
mov eax, dword [ebp - 0x50]
add esp, 0x10
mov dword [esi + 0x4d00], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x4cfc], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x4cf8], eax
inc dword [esi + 0x4d10]
shl edi, 9
jmp 0x459a12
mov eax, dword [esi + 0x4d00]
shl edi, 9
mov eax, dword [edi + eax]
mov dword [esi + 0x4d10], eax
mov ecx, dword [esi + 0x4d00]
add ecx, edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x4c], ecx
je 0x459a27
call fcn.00458d60
mov edi, dword [esi + 0x4d00]
inc dword [esi + 0x4d14]
add edi, dword [ebp - 0x40]
mov eax, dword [edi + 4]
mov dword [ebp - 0x50], eax
mov eax, edi
sub eax, dword [esi + 0x4d00]
sar eax, 9
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x4ce8]
inc eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x38], eax
mov dword [esi + 0x4ce8], eax
cmp eax, dword [esi + 0x4cec]
jle 0x459b8c
push 0x6c
lea eax, [ebp - 0x168]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x164], 0xbf800000
mov eax, dword [esi + 0x4cf0]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 0
cmp ecx, eax
jle 0x459b16
test eax, eax
je 0x459aad
cdq
sub eax, edx
mov edx, dword [esi + 0x4cf0]
sar eax, 1
add eax, edx
jmp 0x459ab8
mov edx, dword [esi + 0x4cf0]
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
mov eax, esi
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x60]
cmp eax, edx
jle 0x459b16
imul eax, eax, 0x6c
push eax
call fcn.00414de0
mov edx, dword [esi + 0x4cf4]
add esp, 4
mov dword [ebp - 0x48], eax
test edx, edx
je 0x459b04
imul ecx, dword [esi + 0x4cec], 0x6c
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 0x4cf4]
call fcn.00414e70
mov eax, dword [ebp - 0x48]
add esp, 0x10
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x4cf4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x4cf0], eax
mov eax, dword [esi + 0x4cec]
cmp ecx, eax
jle 0x459b56
mov edx, ecx
imul eax, eax, 0x6c
sub edx, dword [esi + 0x4cec]
nop dword [eax + eax]
mov edi, dword [esi + 0x4cf4]
mov ecx, 0x1b
add edi, eax
lea esi, [ebp - 0x168]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x60]
add eax, 0x6c
sub edx, 1
jne 0x459b30
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x4cec], ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.00447510
mov eax, dword [ebp - 0x144]
mov byte [ebp - 4], 2
test eax, eax
je 0x459b85
push eax
call fcn.00414e70
add esp, 4
mov dword [ebp - 4], 0xffffffff
imul ecx, dword [esi + 0x4ce8], 0x6c
mov eax, dword [esi + 0x4cf4]
mov edx, dword [ebp + 0x14]
add ecx, 0xffffff94
add eax, ecx
mov ecx, dword [ebp - 0x40]
mov dword [edi + 0xc], eax
mov dword [ebp - 0x44], eax
mov dword [eax], ecx
mov ecx, edx
mov eax, dword [edi + 0xc]
add eax, 0x14
test edx, 0xe000
mov dword [edi + 0x168], eax
mov dword [eax], 0
mov dword [eax + 4], 1
sete al
mov byte [edi + 0x1f7], al
test ecx, 0xe000
jne 0x459bfb
test edx, 0x1000000
jne 0x459bf4
mov ecx, dword [ebp - 0x58]
mov eax, 0x8000
test byte [ecx + 0xc], 0x40
je 0x459bf9
mov eax, 0x2000
or edx, eax
mov eax, edx
mov ecx, edx
or ecx, 0x40000
and eax, 0xe000
cmp eax, 0x4000
mov eax, dword [ebp - 0x58]
cmovne ecx, edx
mov edx, ecx
or edx, 0x200
mov eax, dword [eax + 0x30c]
test cl, 1
cmove edx, ecx
mov ecx, edx
and ecx, 0xfffcffff
test edx, 0x3000000
cmove ecx, edx
mov edx, ecx
and edx, 0xfffff7ff
test ecx, 0x1000
cmove edx, ecx
mov ecx, edx
or ecx, 0x10
test dl, 0xf
cmovne ecx, edx
mov edx, ecx
or edx, 0x10
test dword [eax + 0xc], 0x100
mov eax, dword [edi + 0x3c]
cmove edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], edx
cmp eax, dword [esi + 0x3f08]
je 0x459c7f
mov dword [ebp - 0x48], 0
jmp 0x459c87
movsx eax, word [edi + 0x4c]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x68]
movss xmm3, dword [ebp + 0x1c]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esi + 0x3f08]
mov esi, dword [ebp - 0x44]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x158], eax
mov dword [edi + 0x154], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x40], eax
mov byte [edi + 0x1ea], 0
movss dword [edi + 0xa0], xmm3
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0xc], eax
mov eax, esi
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x48]
mov word [edi + 0x4c], ax
test eax, eax
jle 0x459de0
mov ecx, dword [edi + 0x184]
cmp ecx, eax
jge 0x459db6
mov eax, dword [edi + 0x188]
cmp ecx, eax
jne 0x459d72
inc ecx
test eax, eax
je 0x459d0f
cdq
sub eax, edx
mov edx, dword [edi + 0x188]
sar eax, 1
add eax, edx
jmp 0x459d1a
mov edx, dword [edi + 0x188]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x68], ecx
cmp ecx, edx
jle 0x459d72
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
call fcn.00414de0
mov esi, eax
add esp, 4
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x459d63
mov ecx, dword [edi + 0x184]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
push dword [edi + 0x18c]
call fcn.00414e70
add esp, 0x10
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x18c], esi
mov dword [edi + 0x188], eax
mov eax, dword [edi + 0x184]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x18c]
mov dword [eax + ecx*8], 0
mov dword [eax + ecx*8 + 4], 0
mov dword [eax + ecx*8 + 8], 0
mov dword [eax + ecx*8 + 0xc], 0
mov dword [eax + ecx*8 + 0x10], 0xffffffff
mov dword [eax + ecx*8 + 0x14], 0xffffffff
inc dword [edi + 0x184]
push dword [ebp - 0x70]
push 0
push str.Instances
call fcn.0040f970
push eax
push dword [ebp - 0x48]
call fcn.0040f900
movss xmm3, dword [ebp + 0x1c]
add esp, 0x14
mov edx, dword [ebp - 0x38]
mov esi, eax
mov dword [ebp - 0x34], eax
jmp 0x459de6
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x34], esi
movsx eax, word [edi + 0x4c]
test eax, eax
jne 0x459df6
lea eax, [edi + 0x16c]
jmp 0x459e05
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x18c]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
cmp dword [ebp - 0x64], 0
mov dword [eax], esi
mov esi, dword [ebp - 0x60]
je 0x459fa4
movss xmm0, dword [0x4943a0]
mov eax, edx
and eax, 0x3000000
movaps xmm2, xmm0
movaps xmm1, xmm0
cmp eax, 0x1000000
jne 0x459e38
movss xmm1, dword [0x4a775c]
test edx, 0x1000000
je 0x459e62
xorps xmm4, xmm4
comiss xmm3, xmm4
jbe 0x459e62
ucomiss xmm3, xmm0
movaps xmm2, xmm3
lahf
test ah, 0x44
jnp 0x459e62
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x459e6b
xorps xmm1, xmm1
jmp 0x459e6b
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x459e8d
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x459e77
xorps xmm2, xmm2
lea eax, [ebp - 0x7c]
movss dword [ebp - 0x7c], xmm2
push eax
movss dword [ebp - 0x78], xmm1
call fcn.0041e640
add esp, 4
test dword [ebp - 0x50], 0x3000000
jne 0x459eb6
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
mov dword [ebp - 0x80], 0
call fcn.0041e6d0
add esp, 4
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
shr eax, 0xd
and eax, 0x800
push eax
movss dword [ebp - 0x8c], xmm0
lea eax, [ebp - 0x8c]
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [ebp - 0x1c]
push 0
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x54]
movss dword [ebp - 0x88], xmm0
call fcn.00407140
mov eax, dword [esi + 0x3f8c]
add esp, 0x14
mov dword [edi + 0x158], eax
movups xmm0, xmmword [eax + 0x1fc]
movups xmmword [edi + 0xe4], xmm0
movss xmm2, dword [eax + 0x18]
movss xmm0, dword [eax + 0x20]
movss xmm3, dword [eax + 0x1c]
movss xmm1, dword [eax + 0x24]
movss dword [edi + 0xc4], xmm2
addss xmm2, xmm0
movss dword [edi + 0xc8], xmm3
addss xmm3, xmm1
movss dword [edi + 0xcc], xmm2
movss dword [edi + 0xd0], xmm3
movups xmm0, xmmword [eax + 0x1dc]
movups xmmword [edi + 0xd4], xmm0
cmp byte [eax + 0xb3], 0
je 0x459f77
cmp byte [ebp - 0x39], 0
je 0x459f77
mov byte [eax + 0xb3], 0
cmp dword [ebp - 0x48], 0
jne 0x459f90
mov al, byte [edi + 0x1fa]
mov byte [edi + 0x1fb], al
mov byte [edi + 0x1fa], 0
mov eax, dword [edi + 0x158]
mov al, byte [eax + 0xad]
or byte [edi + 0x1fa], al
jmp 0x459fcb
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [edi + 0xd4], xmm0
movups xmm0, xmmword [edi + 0xd4]
movups xmmword [edi + 0xc4], xmm0
movups xmm0, xmmword [edi + 0xd4]
movups xmmword [edi + 0xe4], xmm0
push dword [ebp - 0x70]
call fcn.0041aab0
add esp, 4
cmp dword [ebp - 0x48], 0
jle 0x459fe7
push dword [ebp - 0x34]
call fcn.0041aab0
add esp, 4
mov edx, dword [edi + 0x158]
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x44]
movss xmm4, dword [0x494310]
mov eax, dword [edx + 0x13c]
mov dword [edi + 0x88], eax
movups xmm0, xmmword [edx + 0x21c]
mov dword [ebp - 0x64], edx
movups xmmword [edi + 0x134], xmm0
mov al, byte [edx + 0xb3]
mov byte [edi + 0x1fd], al
movups xmm0, xmmword [edx + 0x1fc]
mov eax, dword [ebp - 0x58]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [edx + 0x20c]
movups xmmword [ecx + 0x38], xmm0
mov eax, dword [eax + 0x140]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 0x128]
mov ecx, dword [edx + 0x12c]
mov dword [esi + 0x48], eax
mov eax, esi
mov dword [eax + 0x4c], ecx
mov eax, dword [edx + 0x120]
mov ecx, dword [edx + 0x124]
mov dword [esi + 0x50], eax
mov eax, esi
mov dword [eax + 0x54], ecx
mov eax, dword [edx + 0x110]
mov ecx, dword [edx + 0x114]
mov dword [esi + 0x58], eax
mov eax, esi
mov dword [eax + 0x5c], ecx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 0x1ac]
mov dword [esi + 0x64], eax
mov eax, dword [ecx + 0x1b4]
mov dword [esi + 0x68], eax
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x120], 0
mov dword [edx + 0x124], 0
mov dword [edx + 0x128], 0
mov dword [edx + 0x12c], 0
cmp edx, ecx
je 0x45a10f
test eax, 0x400
je 0x45a0ec
movss xmm0, dword [edi + 0x134]
addss xmm0, xmm4
minss xmm0, dword [edi + 0x13c]
movss dword [edi + 0x134], xmm0
test eax, 0x100
je 0x45a10f
movss xmm0, dword [edi + 0x138]
addss xmm0, xmm4
minss xmm0, dword [edi + 0x140]
movss dword [edi + 0x138], xmm0
test eax, 0x400000
je 0x45a11c
mov byte [ebp - 0x34], 0
jmp 0x45a137
test eax, 0x200000
je 0x45a129
mov byte [ebp - 0x34], 1
jmp 0x45a137
mov ecx, eax
shr ecx, 0xa
and ecx, 0xffffff01
mov dword [ebp - 0x34], ecx
mov ecx, eax
mov dword [ebp - 0x48], eax
shr ecx, 0x17
not cl
and cl, 1
and dword [ebp - 0x48], 0x200
je 0x45a152
movaps xmm3, xmm4
jmp 0x45a155
xorps xmm3, xmm3
test cl, cl
je 0x45a1a3
cmp dword [ebp - 0x48], 0
jne 0x45a1a3
movss xmm1, dword [esi + 0x3904]
xorps xmm2, xmm2
movss dword [edi + 0x9c], xmm1
movaps xmm0, xmm1
movss dword [edi + 0x94], xmm2
addss xmm0, xmm3
movss dword [edi + 0x98], xmm0
test eax, 0x400
jne 0x45a193
xorps xmm4, xmm4
cmp byte [ebp - 0x34], 0
je 0x45a1bf
movss xmm0, dword [esi + 0x3904]
jmp 0x45a1c2
xorps xmm1, xmm1
movss dword [ebp - 0x54], xmm1
test cl, cl
je 0x45a167
cmp dword [ebp - 0x48], 0
je 0x45a167
movss xmm2, dword [esi + 0x3904]
jmp 0x45a16a
xorps xmm0, xmm0
addss xmm0, xmm4
mov dword [edi + 0x48], 0xffffffff
xor ecx, ecx
mov dword [edi + 0x44], 0xffffffff
mov word [edi + 0x6a], cx
lea ecx, [edi + 0xe4]
mov dword [edi + 0x6c], 0
subss xmm0, xmm2
movss dword [edi + 0x90], xmm0
cmp edx, dword [ebp - 0x58]
je 0x45a1fe
lea ecx, [edx + 0x21c]
movups xmm0, xmmword [ecx]
movups xmmword [edi + 0xf4], xmm0
movss xmm3, dword [edi + 0xf4]
movss xmm4, dword [edi + 0xf8]
maxss xmm4, dword [edi + 0xe8]
maxss xmm3, dword [edi + 0xe4]
movss dword [edi + 0xf8], xmm4
movss dword [edi + 0xf4], xmm3
movss xmm1, dword [edi + 0xfc]
movss xmm0, dword [edi + 0x100]
minss xmm1, dword [edi + 0xec]
minss xmm0, dword [edi + 0xf0]
movss dword [edi + 0xfc], xmm1
movss dword [edi + 0x100], xmm0
movss xmm2, dword [edi + 0x138]
comiss xmm2, xmm4
movss xmm1, dword [edi + 0x13c]
ja 0x45a289
movss xmm2, dword [edi + 0x140]
minss xmm2, xmm4
movss xmm0, dword [edi + 0x134]
comiss xmm0, xmm3
jbe 0x45a29b
movaps xmm1, xmm0
jmp 0x45a29f
minss xmm1, xmm3
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm2
movss xmm2, dword [edi + 0x100]
movss xmm1, dword [edi + 0x138]
comiss xmm1, xmm2
ja 0x45a2d0
movss xmm1, dword [edi + 0x140]
minss xmm1, xmm2
movss xmm2, dword [edi + 0xfc]
comiss xmm0, xmm2
ja 0x45a2e9
movss xmm0, dword [edi + 0x13c]
minss xmm0, xmm2
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x100], xmm1
test eax, 0x20000
je 0x45a30d
movaps xmm0, xmm1
minss xmm0, dword [edx + 0x208]
jmp 0x45a315
movss xmm0, dword [edx + 0x228]
xor eax, eax
movss dword [edi + 0x100], xmm0
movss xmm0, dword [edi + 0xe8]
mov dword [edi + 0x1da], eax
mov dword [edi + 0x1de], eax
mov dword [edi + 0x1ba], eax
mov eax, dword [ebp - 0x4c]
inc eax
movss dword [edi + 0x54], xmm0
movss dword [edi + 0x50], xmm0
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
mov byte [edi + 0x1f6], 1
cmp eax, dword [esi + 0x3f08]
jge 0x45a36b
mov byte [edi + 0x1f9], 0
mov eax, dword [ebp - 0x44]
push ecx
mov dword [esp], 0x3f800000
push 0x2b
mov dword [eax + 8], 0
call fcn.0040f2d0
add esp, 4
mov dword [edi + 0x78], eax
mov dword [esp], 0x3f800000
push 0x2c
call fcn.0040f2d0
mov ecx, dword [ebp - 0x58]
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x4ce0], edi
mov byte [ecx + 0x158], 0
mov dword [ecx + 0x19c], edx
cmp eax, ecx
je 0x45a3c4
mov dword [eax + 0x19c], edx
test byte [ebp - 0x50], 2
je 0x45a3d7
test byte [ebp - 0x38], 2
jne 0x45a3d7
mov byte [edi + 0x1f5], 1
cmp edx, dword [esi + 0x4d18]
jl 0x45a4ad
mov eax, dword [esi + 0x4d1c]
lea ecx, [edx + 1]
mov dword [ebp - 0x54], 0xbf800000
mov dword [ebp - 0x34], ecx
cmp ecx, eax
jle 0x45a47c
test eax, eax
je 0x45a411
cdq
sub eax, edx
mov edx, dword [esi + 0x4d1c]
sar eax, 1
add eax, edx
jmp 0x45a41c
mov edx, dword [esi + 0x4d1c]
mov eax, 8
cmp eax, ecx
mov esi, ecx
cmovg esi, eax
mov eax, esi
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x60]
cmp eax, edx
jle 0x45a47c
shl eax, 2
push eax
call fcn.00414de0
mov edx, dword [esi + 0x4d20]
add esp, 4
mov dword [ebp - 0x4c], eax
test edx, edx
je 0x45a46a
mov ecx, dword [esi + 0x4d18]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 0x4d20]
call fcn.00414e70
mov eax, dword [ebp - 0x4c]
add esp, 0x10
mov ecx, dword [ebp - 0x34]
mov dword [esi + 0x4d20], eax
mov eax, dword [ebp - 0x50]
mov dword [esi + 0x4d1c], eax
mov edx, dword [esi + 0x4d18]
cmp ecx, edx
jle 0x45a4a4
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x34]
nop dword [eax]
mov ecx, dword [esi + 0x4d20]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, edi
jl 0x45a490
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
mov dword [esi + 0x4d18], ecx
movsd xmm0, qword [esi + 0x3f00]
mov eax, dword [esi + 0x4d20]
cvtpd2ps xmm0, xmm0
movss dword [eax + edx*4], xmm0
movsd xmm0, qword [esi + 0x3f00]
mov eax, dword [ebp - 0x44]
cvtpd2ps xmm0, xmm0
movss dword [eax + 4], xmm0
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], eax
mov eax, 0x92492493
mov byte [edi + 0x1fc], 0
mov ecx, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
je 0x45a51e
cmp eax, edx
je 0x45a51e
mov eax, dword [edi + 8]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x34], eax
mov dword [edi + 8], 0
cmp dword [edi + 8], 0
jne 0x45a5d0
imul edi, edx, 0x70
lea ecx, [edx + 0x1f]
sar ecx, 3
and ecx, 0xfffffffc
mov dword [ebp - 0x40], ecx
lea eax, [edi + 3]
and eax, 0xfffffffc
mov dword [ebp - 0x4c], eax
lea eax, [eax + edx*2]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x54], eax
lea eax, [eax + edx*8]
lea esi, [eax + ecx*2]
mov dword [ebp - 0x68], eax
add esi, ecx
push esi
call fcn.00414de0
mov ecx, dword [ebp - 0x5c]
push esi
push 0
push eax
mov dword [ecx + 8], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x5c]
add esp, 0x10
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov dword [eax + 0x10], ecx
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x5c]
mov dword [edi + 0x14], eax
lea eax, [ecx + edx]
mov dword [edi + 0x18], eax
lea eax, [edx + esi*2]
mov edx, dword [ebp - 0x54]
add eax, ecx
mov dword [edi + 0x1c], eax
lea eax, [ecx + edx]
mov dword [edi + 0x20], eax
lea eax, [edx + esi*8]
mov edx, dword [ebp - 0x68]
add eax, ecx
mov esi, dword [ebp - 0x40]
mov dword [edi + 0x24], eax
mov byte [edi + 0x1f1], 1
lea eax, [edx + ecx]
mov byte [edi + 0x1ec], 1
mov dword [edi + 0x28], eax
lea eax, [edx + ecx]
add eax, esi
mov dword [edi + 0x2c], eax
lea eax, [edx + esi*2]
add eax, ecx
mov dword [edi + 0x30], eax
cmp byte [edi + 0x1f4], 0
je 0x45a5f7
mov word [edi + 0x1f1], 0x100
mov byte [edi + 0x1ec], 1
mov byte [edi + 0x1f4], 0
mov dword [edi + 0x34], 0
cmp byte [edi + 0x1ec], 0
je 0x45a754
or eax, 0xffffffff
mov dword [edi + 0x38], 0xffffffff
xor esi, esi
mov byte [edi + 0x1ed], 1
mov word [edi + 0x4e], ax
mov word [edi + 0x1d8], ax
mov word [edi + 0x1c8], ax
mov word [edi + 0x1c6], ax
mov word [edi + 0x1cc], ax
mov word [edi + 0x1c4], ax
mov word [edi + 0x1c0], ax
mov word [edi + 0x1be], ax
mov dword [ebp - 0x68], esi
cmp dword [ebp + 0x10], esi
jle 0x45a754
xor eax, eax
mov dword [ebp - 0x40], eax
nop dword [eax]
mov edx, dword [edi + 0x10]
mov ecx, dword [ebp - 0x50]
add edx, eax
mov dword [ebp - 0x4c], edx
test ecx, ecx
je 0x45a685
cmp esi, dword [ebp - 0x38]
jge 0x45a685
lea esi, [eax + ecx]
mov edi, edx
mov ecx, 0x1c
rep movsd dword es:[edi], dword [esi]
jmp 0x45a72a
movss xmm0, dword [edx + 0x14]
lea eax, [ebp - 0xfc]
push 0x70
push 0
push eax
movss dword [ebp - 0x54], xmm0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x4c]
lea esi, [ebp - 0xfc]
movss xmm0, dword [ebp - 0x54]
or eax, 0xffffffff
mov word [ebp - 0xac], ax
add esp, 0xc
and byte [ebp - 0x8f], 0xfc
mov ecx, 0x1c
mov word [ebp - 0xa8], ax
mov edi, edx
mov word [ebp - 0xaa], ax
mov word [ebp - 0xa4], ax
mov word [ebp - 0xa6], ax
mov word [ebp - 0xa2], ax
mov eax, 0xff
mov dword [ebp - 0xec], 0xbf800000
mov dword [ebp - 0xe4], 0xbf800000
mov dword [ebp - 0x9e], 0xff00ff
mov word [ebp - 0xa0], ax
rep movsd dword es:[edi], dword [esi]
movss dword [edx + 0x14], xmm0
mov byte [edx + 0x69], 1
mov word [edx + 0x63], 0x101
mov byte [edx + 0x62], 1
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x68]
movzx ecx, si
mov eax, dword [edi + 0x18]
mov word [eax + esi*2], cx
inc esi
mov eax, dword [ebp - 0x40]
add eax, 0x70
mov word [edx + 0x52], cx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x40], eax
cmp esi, dword [ebp + 0x10]
jl 0x45a660
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x45a764
push eax
call fcn.00414e70
add esp, 4
cmp byte [edi + 0x1f1], 0
je 0x45a776
push edi
call fcn.0045ee20
add esp, 4
movss xmm0, dword [edi + 0xb8]
xorps xmm4, xmm4
mov eax, dword [ebp - 0x60]
ucomiss xmm0, xmm4
movss xmm2, dword [eax + 0x3cf4]
lahf
test ah, 0x44
jnp 0x45a85b
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x45a85b
mov esi, dword [ebp + 0x10]
movaps xmm1, xmm2
xor eax, eax
divss xmm1, xmm0
cmp esi, 4
jl 0x45a838
lea edx, [esi - 4]
xor ecx, ecx
shr edx, 2
inc edx
lea eax, [edx*4]
mov dword [ebp - 0x4c], eax
nop
mov eax, dword [edi + 0x10]
movaps xmm0, xmm1
lea ecx, [ecx + 0x1c0]
mulss xmm0, dword [ecx + eax - 0x1b0]
movss dword [ecx + eax - 0x1b0], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x10]
mulss xmm0, dword [ecx + eax - 0x140]
movss dword [ecx + eax - 0x140], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x10]
mulss xmm0, dword [ecx + eax - 0xd0]
movss dword [ecx + eax - 0xd0], xmm0
movaps xmm0, xmm1
mov eax, dword [edi + 0x10]
mulss xmm0, dword [ecx + eax - 0x60]
movss dword [ecx + eax - 0x60], xmm0
sub edx, 1
jne 0x45a7d0
mov eax, dword [ebp - 0x4c]
cmp eax, esi
jge 0x45a85b
imul ecx, eax, 0x70
sub esi, eax
mov eax, dword [edi + 0x10]
movaps xmm0, xmm1
lea ecx, [ecx + 0x70]
mulss xmm0, dword [ecx + eax - 0x60]
movss dword [ecx + eax - 0x60], xmm0
sub esi, 1
jne 0x45a841
mov eax, dword [ebp - 0x64]
lea ecx, [edi + 0x15c]
movss dword [edi + 0xb8], xmm2
mov byte [eax + 0xb3], 1
cmp dword [ecx], 0
jle 0x45a87f
push 0
call fcn.00427ff0
push edi
call fcn.0045ce10
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd9a
mov esp, ebp
pop ebp
ret