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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0x114], eax
cmp dword [0x5a9418], 0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x50], edi
je 0x499277
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov esi, eax
add esp, 8
test esi, esi
je 0x499277
push str.GroundObjectTiles::GenerateTiles
push esi
call fcn.00446630
push esi
call fcn.00525539
add esp, 0xc
call fcn.004965c0
mov eax, dword [ebp + 8]
lea ecx, [eax*4 - 0x40]
mov dword [esp + 0x14], ecx
mov dword [edi + 0x17c], ecx
test ecx, ecx
jns 0x4992a2
mov dword [edi + 0x17c], 0
xor ecx, ecx
jmp 0x4992b9
cmp ecx, 0x380
jle 0x4992bd
mov dword [edi + 0x17c], 0x380
mov ecx, 0x380
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
lea eax, [eax*4 - 0x40]
mov dword [esp + 0x20], eax
mov dword [edi + 0x180], eax
test eax, eax
jns 0x4992e3
mov dword [edi + 0x180], 0
xor eax, eax
jmp 0x4992f9
cmp eax, 0x380
jle 0x4992fd
mov dword [edi + 0x180], 0x380
mov eax, 0x380
mov dword [esp + 0x20], eax
mov dword [esp + 0x80], ecx
sub ecx, 0xffffff80
mov dword [esp + 0x84], eax
sub eax, 0xffffff80
mov dword [esp + 0x88], ecx
mov ecx, dword [edi + 0x1bc0]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0x80
mov dword [esp + 0x78], 0x80
test ecx, ecx
je 0x499359
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x1bc0], 0
lea eax, [edi + 0x1680]
mov dword [esp + 0x10], 4
mov edi, eax
nop dword [eax]
mov eax, 0x10
lea esi, [edi - 0xc0]
mov dword [esp + 0x1c], eax
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x499396
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
add esi, 0xc
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x499380
mov esi, edi
mov dword [esp + 0x18], 4
nop dword [eax]
mov eax, 4
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x4993d6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
add esi, 0xc
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x4993c0
sub dword [esp + 0x18], 1
jne 0x4993b0
add edi, 0x180
sub dword [esp + 0x10], 1
jne 0x499370
mov edi, dword [esp + 0x50]
mov dword [esp + 0x18], 0x10
lea esi, [edi + 0x1c4]
nop dword [eax]
mov eax, 0x10
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x499436
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
add esi, 0x14
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x499420
sub dword [esp + 0x18], 1
jne 0x499410
mov eax, dword [0x5a942c]
push 0x5aa3c0
push 0x14
push 0x81
mov eax, dword [eax + 0x2a3d8]
push 0x81
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x5a942c]
lea esi, [edi + 0x1bc0]
push esi
push 0x14
push 0x81
mov eax, dword [eax + 0x2a3d8]
push 0x81
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
test eax, eax
js 0x499ad7
movaps xmm1, xmmword [esp + 0x80]
movaps xmm0, xmmword [esp + 0x70]
mov ecx, dword [esp + 0x88]
movups xmmword [esp + 0x98], xmm1
movups xmmword [esp + 0xd8], xmm0
movups xmmword [esp + 0xa8], xmm1
movups xmmword [esp + 0xe8], xmm0
movups xmmword [esp + 0xb8], xmm1
movups xmmword [esp + 0xf8], xmm0
movups xmmword [esp + 0xc8], xmm1
movups xmmword [esp + 0x108], xmm0
cmp ecx, 0x1ff
jle 0x49951e
mov eax, 0x280
mov dword [esp + 0xa0], 0x200
sub eax, ecx
mov dword [esp + 0xc0], 0x200
mov dword [esp + 0xe0], eax
mov dword [esp + 0x100], eax
mov edx, dword [esp + 0x14]
mov ecx, 0x200
cmp edx, ecx
jge 0x49954b
mov eax, ecx
mov dword [esp + 0xa8], ecx
sub eax, edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0x108], eax
mov edx, dword [esp + 0x8c]
cmp edx, 0x1ff
jle 0x499586
mov eax, ecx
sub eax, edx
add dword [esp + 0xa4], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xe4], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xb4], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xf4], eax
mov edx, dword [esp + 0x20]
cmp edx, ecx
jge 0x4995b8
mov eax, ecx
sub eax, edx
add dword [esp + 0xbc], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xfc], eax
mov eax, ecx
sub eax, edx
sub ecx, edx
add dword [esp + 0xcc], eax
add dword [esp + 0x10c], ecx
mov eax, dword [edi + 0x110]
test eax, eax
jne 0x499846
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x49960a
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x49960a
push 0
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push str.dat_terrain_512.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x499664
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x499664
sub dword [esp + 0xa8], 0x200
lea eax, [esp + 0xa8]
sub dword [esp + 0xb0], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512b.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x4996be
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x4996be
sub dword [esp + 0xbc], 0x200
lea eax, [esp + 0xb8]
sub dword [esp + 0xc4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512c.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0xc8]
cmp eax, dword [esp + 0xd0]
jge 0x49972e
mov eax, dword [esp + 0xcc]
cmp eax, dword [esp + 0xd4]
jge 0x49972e
sub dword [esp + 0xc8], 0x200
lea eax, [esp + 0xc8]
sub dword [esp + 0xd0], 0x200
sub dword [esp + 0xcc], 0x200
sub dword [esp + 0xd4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512d.png
lea eax, [esp + 0x11c]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x499776
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x499776
push 0
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push str.dat_roads_512.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x4997be
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x4997be
push 0
push 0
push 1
lea eax, [esp + 0xb4]
push eax
push str.dat_roads_512b.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x499806
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x499806
push 0
push 0
push 1
lea eax, [esp + 0xc4]
push eax
push str.dat_roads_512c.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov eax, dword [esp + 0xc8]
cmp eax, dword [esp + 0xd0]
jge 0x499ad7
mov eax, dword [esp + 0xcc]
cmp eax, dword [esp + 0xd4]
jge 0x499ad7
push 0
push 0
push 1
lea eax, [esp + 0xd4]
push eax
push str.dat_roads_512d.png
jmp 0x499ac2
cmp eax, 1
jne 0x499ad7
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x499893
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x499893
push 0
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push str.dat_terrain2_512.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x4998ed
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x4998ed
sub dword [esp + 0xa8], 0x200
lea eax, [esp + 0xa8]
sub dword [esp + 0xb0], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512b.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x499947
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x499947
sub dword [esp + 0xbc], 0x200
lea eax, [esp + 0xb8]
sub dword [esp + 0xc4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512c.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0xc8]
cmp eax, dword [esp + 0xd0]
jge 0x4999b7
mov eax, dword [esp + 0xcc]
cmp eax, dword [esp + 0xd4]
jge 0x4999b7
sub dword [esp + 0xc8], 0x200
lea eax, [esp + 0xc8]
sub dword [esp + 0xd0], 0x200
sub dword [esp + 0xcc], 0x200
sub dword [esp + 0xd4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512d.png
lea eax, [esp + 0x11c]
push eax
push 0
push dword [esi]
call fcn.00403a73
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x4999ff
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x4999ff
push 0
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push str.dat_roads2_512.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x499a47
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x499a47
push 0
push 0
push 1
lea eax, [esp + 0xb4]
push eax
push str.dat_roads2_512b.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x499a8f
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x499a8f
push 0
push 0
push 1
lea eax, [esp + 0xc4]
push eax
push str.dat_roads2_512c.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov eax, dword [esp + 0xc8]
cmp eax, dword [esp + 0xd0]
jge 0x499ad7
mov eax, dword [esp + 0xcc]
cmp eax, dword [esp + 0xd4]
jge 0x499ad7
push 0
push 0
push 1
lea eax, [esp + 0xd4]
push eax
push str.dat_roads2_512d.png
lea eax, [esp + 0x11c]
push eax
push 0
push dword [0x5aa3c0]
call fcn.00403a73
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
xorps xmm3, xmm3
movss dword [esp + 0x1c], xmm3
setne al
cmp dword [0x5aa3c0], 0
mov dword [esp + 0x14], eax
je 0x49a23b
test ecx, ecx
je 0x499b45
mov eax, dword [ecx]
lea edx, [esp + 0x60]
push 0x8810
push 0
push edx
push ecx
call dword [eax + 0x24]
xor ecx, ecx
lea edx, [esp + 0x68]
test eax, eax
push 0x8810
cmovns ecx, dword [esp + 0x18]
mov eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [0x5aa3c0]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x49a23b
mov eax, dword [esp + 0x14]
xorps xmm3, xmm3
test eax, eax
je 0x49a23b
mov edx, dword [esp + 0x64]
xor eax, eax
mov esi, dword [esp + 0x6c]
movss xmm5, dword [0x58146c]
movss xmm6, dword [0x5812c8]
mov dword [esp + 0x20], eax
nop dword [eax + eax]
movd xmm4, eax
mov ecx, edx
add edx, dword [esp + 0x60]
xorps xmm2, xmm2
cvtdq2ps xmm4, xmm4
mov dword [esp + 0x5c], edx
mov edx, esi
add esi, dword [esp + 0x68]
mov dword [esp + 0x28], esi
xor esi, esi
mov dword [esp + 0x14], edx
imul eax, eax, 0x81
sub ecx, edx
addss xmm4, xmm4
mov dword [esp + 0x18], esi
movss dword [esp + 0x24], xmm2
mov dword [esp + 0x58], ecx
mov dword [esp + 0x10], eax
movss dword [esp + 0x54], xmm4
nop dword [eax + eax]
movzx eax, byte [ecx + edx]
movd xmm0, dword [edi + 0x17c]
add esi, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
lea ecx, [esi + esi*8]
movd xmm1, eax
mulss xmm0, xmm5
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm6
divss xmm1, dword [0x581504]
addss xmm0, xmm2
mulss xmm1, dword [0x581490]
movss dword [edi + ecx*4 + 0x1c50], xmm0
movzx eax, byte [edx]
mov edx, dword [esp + 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x14]
mulss xmm0, dword [0x58123c]
addss xmm0, xmm1
movss dword [edi + ecx*4 + 0x1c54], xmm0
movd xmm0, dword [edi + 0x180]
cvtdq2ps xmm0, xmm0
movss dword [edi + ecx*4 + 0x1c6c], xmm4
mulss xmm0, xmm5
mulss xmm0, xmm6
addss xmm0, xmm3
movss dword [edi + ecx*4 + 0x1c58], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm0
movss dword [edi + ecx*4 + 0x1c70], xmm0
mov ecx, edi
movzx eax, byte [eax]
push eax
mov eax, dword [edi + 0x17c]
add eax, edx
push eax
mov eax, dword [edi + 0x180]
add eax, dword [esp + 0x28]
push eax
call fcn.0049ab10
add dword [esp + 0x14], 3
lea ecx, [esi + esi*8]
mov esi, dword [esp + 0x18]
mov dword [edi + ecx*4 + 0x1c68], eax
test esi, esi
jne 0x499ca4
cmp dword [edi + 0x17c], esi
je 0x499cdc
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x499cb4
cmp dword [edi + 0x180], eax
je 0x499cdc
cmp esi, 0x7f
jne 0x499cc5
cmp dword [edi + 0x17c], 0x380
je 0x499cdc
cmp eax, 0x80
jne 0x499d41
cmp dword [edi + 0x180], 0x380
jne 0x49a28b
mov eax, dword [esp + 0x10]
add eax, 0xca
add eax, esi
lea eax, [eax + eax*8]
mov dword [edi + eax*4], 0xffffffff
call fcn.0052ab4e
mov edx, dword [esp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lea eax, [edx + esi]
lea eax, [eax + eax*8]
addss xmm0, xmm0
divss xmm0, dword [0x58153c]
subss xmm0, dword [0x581318]
addss xmm0, dword [0x581448]
addss xmm0, dword [edi + eax*4 + 0x1c54]
lea eax, [edx + esi]
lea eax, [eax + eax*8]
movss dword [edi + eax*4 + 0x1c54], xmm0
mov eax, dword [esp + 0x20]
jmp 0x499d45
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x49a28f
movss xmm5, dword [0x581568]
xorps xmm2, xmm2
xorps xmm1, xmm1
movss dword [esp + 0x2c], xmm2
xorps xmm4, xmm4
movss dword [esp + 0x30], xmm2
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm1
xorps xmm6, xmm6
movss dword [esp + 0x34], xmm5
movaps xmm2, xmm5
movss dword [esp + 0x38], xmm5
movaps xmm3, xmm5
movss dword [esp + 0x3c], xmm4
xorps xmm7, xmm7
movss dword [esp + 0x44], xmm5
xorps xmm5, xmm5
movss dword [esp + 0x48], xmm5
xorps xmm4, xmm4
movss xmm5, dword [0x581568]
movss dword [esp + 0x4c], xmm5
xorps xmm5, xmm5
movss dword [esp + 0x40], xmm4
test esi, esi
je 0x499e43
movss xmm0, dword [esp + 0x18]
lea eax, [edx + esi]
movss xmm1, dword [esp + 0x2c]
lea ecx, [eax + eax*8]
movss xmm6, dword [esp + 0x30]
lea eax, [edx + esi]
movss xmm7, dword [esp + 0x3c]
lea eax, [eax + eax*8]
movss xmm3, dword [edi + eax*4 + 0x1c30]
movss xmm2, dword [edi + eax*4 + 0x1c34]
movss xmm4, dword [edi + eax*4 + 0x1c2c]
subss xmm3, dword [edi + ecx*4 + 0x1c54]
subss xmm2, dword [edi + ecx*4 + 0x1c58]
subss xmm4, dword [edi + ecx*4 + 0x1c50]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x48], xmm2
movaps xmm5, xmm4
movss xmm2, dword [esp + 0x34]
movss dword [esp + 0x4c], xmm3
movss xmm3, dword [esp + 0x38]
mulss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x80]
push eax
mulss xmm1, dword [esp + 0x48]
lea eax, [edx + esi]
lea eax, [eax + eax*8]
mulss xmm2, dword [esp + 0x4c]
add eax, 0x717
mulss xmm3, dword [esp + 0x50]
subss xmm0, xmm1
mulss xmm4, xmm6
lea eax, [edi + eax*4]
push eax
mulss xmm5, xmm7
subss xmm4, xmm2
movss dword [esp + 0x88], xmm0
subss xmm3, xmm5
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0x90], xmm3
call fcn.00404e16
movss xmm2, dword [esp + 0x24]
inc esi
movss xmm0, dword [0x5813f0]
movss xmm3, dword [esp + 0x1c]
addss xmm2, xmm0
movss xmm4, dword [esp + 0x54]
movss xmm5, dword [0x58146c]
movss xmm6, dword [0x5812c8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
movss dword [esp + 0x24], xmm2
mov dword [esp + 0x18], esi
cmp esi, 0x81
jl 0x499bc0
mov eax, dword [esp + 0x20]
addss xmm3, xmm0
mov edx, dword [esp + 0x5c]
inc eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
movss dword [esp + 0x1c], xmm3
cmp eax, 0x81
jl 0x499b70
mov eax, dword [0x5aa3c0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [0x5aa3c0]
test ecx, ecx
je 0x499f3e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x5aa3c0], 0
mov eax, dword [edi + 0x1bc0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor eax, eax
lea esi, [edi + 0x1c4]
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov dword [esp + 0x14], 0
mov eax, dword [0x5a942c]
push esi
push 1
mov dword [esi - 4], 3
mov dword [esi], 0
mov eax, dword [eax + 0x2a3d8]
push 0x152
push 8
push 0xb64
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
test eax, eax
js 0x49a20a
mov eax, dword [esi]
lea edx, [esp + 0x10]
push 0x800
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x49a20a
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
nop dword [eax]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
add eax, edx
add eax, ecx
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x24]
movups xmm0, xmmword [edi + edx*4 + 0x1c50]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x1c60]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x1c70]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x2e74]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x2e84]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x2e94]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x4098]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x40a8]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x40b8]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x52bc]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x52cc]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x52dc]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x10]
add ecx, 0x24
cmp dword [esp + 0x1c], 4
mov dword [esp + 0x10], ecx
jne 0x49a0e8
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x28]
mov edi, dword [esp + 0x50]
lea eax, [eax + eax*8]
movq xmm0, qword [edi + eax*4 + 0x64e0]
movq qword [esi + 4], xmm0
mov eax, dword [edi + eax*4 + 0x64e8]
mov dword [esi + 0xc], eax
movups xmm0, xmmword [edi + edx*4 + 0x64e0]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x64f0]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x6500]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x7704]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x7714]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x7724]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x8928]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x8938]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x8948]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x9b4c]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0x9b5c]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0x9b6c]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0xad70]
add eax, 0x24
mov dword [esp + 0x10], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edi + edx*4 + 0xad80]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + edx*4 + 0xad90]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x24
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
cmp ecx, 9
jl 0x499fd0
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esp + 0x14]
add esi, 0x14
add eax, 0x408
mov dword [esp + 0x14], eax
cmp eax, 0x4080
jl 0x499f68
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x18], eax
cmp eax, 0x80
jl 0x499f60
call fcn.00496690
cmp dword [0x5a9418], 0
je 0x49a275
push 0x576ca8
push str.autolog.dat
call fcn.0052537a
mov esi, eax
add esp, 8
test esi, esi
je 0x49a275
push str._Done_n
push esi
call fcn.00446630
push esi
call fcn.00525539
add esp, 0xc
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.004c8873
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x10]
movss xmm5, dword [0x581568]
lea eax, [edx + esi]
lea ecx, [eax + eax*8]
lea eax, [edx + esi]
lea eax, [eax + eax*8]
movss xmm2, dword [edi + eax*4 + 0xa2c]
movss xmm0, dword [edi + eax*4 + 0xa30]
movss xmm1, dword [edi + eax*4 + 0xa34]
subss xmm2, dword [edi + ecx*4 + 0x1c50]
subss xmm0, dword [edi + ecx*4 + 0x1c54]
subss xmm1, dword [edi + ecx*4 + 0x1c58]
movss dword [esp + 0x34], xmm2
movaps xmm3, xmm2
movss dword [esp + 0x18], xmm0
movaps xmm7, xmm0
movss dword [esp + 0x2c], xmm1
movaps xmm6, xmm1
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
jmp 0x499d91