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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x4eac74]
xor eax, esp
mov dword [esp + 0x104], eax
cmp dword [0x4ffd58], 0
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
je 0x46d517
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov edi, eax
add esp, 8
test edi, edi
je 0x46d517
push str.GroundObjectTiles::GenerateTiles
push edi
call fcn.00430f00
push edi
call fcn.004a3d23
add esp, 0xc
call fcn.0046b0a0
mov eax, dword [ebp + 8]
lea ecx, [eax*4 - 0x40]
mov dword [esp + 0x18], ecx
mov dword [esi + 0x17c], ecx
test ecx, ecx
jns 0x46d544
xor ecx, ecx
mov dword [esi + 0x17c], 0
mov dword [esp + 0x18], ecx
cmp ecx, 0x380
jle 0x46d55f
mov ecx, 0x380
mov dword [esi + 0x17c], 0x380
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
lea eax, [eax*4 - 0x40]
mov dword [esp + 0x14], eax
mov dword [esi + 0x180], eax
test eax, eax
jns 0x46d587
xor eax, eax
mov dword [esi + 0x180], 0
mov dword [esp + 0x14], eax
cmp eax, 0x380
jle 0x46d5a1
mov eax, 0x380
mov dword [esi + 0x180], 0x380
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
sub ecx, 0xffffff80
mov dword [esp + 0x34], eax
sub eax, 0xffffff80
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x1bc0]
mov dword [esp + 0x3c], 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 0x46d5f1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x1bc0], 0
lea eax, [esi + 0x1680]
mov dword [esp + 0x24], 4
mov esi, eax
mov eax, 0x10
lea edi, [esi - 0xc0]
mov dword [esp + 0x1c], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x46d626
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [edi], 0
add edi, 0xc
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x46d610
mov edi, esi
mov dword [esp + 0x20], 4
nop dword [eax]
mov eax, 4
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x46d666
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [edi], 0
add edi, 0xc
sub eax, 1
mov dword [esp + 0x1c], eax
jne 0x46d650
sub dword [esp + 0x20], 1
jne 0x46d640
add esi, 0x180
sub dword [esp + 0x24], 1
jne 0x46d601
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0x10
lea eax, [esi + 0x1c4]
nop dword [eax]
mov edx, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x46d6ca
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [eax], 0
add eax, 0x14
sub edx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
jne 0x46d6b0
sub dword [esp + 0x20], 1
jne 0x46d6a0
mov eax, dword [0x4ffd6c]
push 0x500d84
push 0x14
push 0x81
mov eax, dword [eax + 0x2a3d8]
push 0x81
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [0x4ffd6c]
lea edx, [esi + 0x1bc0]
push edx
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 0x46dd86
movaps xmm1, xmmword [esp + 0x30]
movaps xmm0, xmmword [esp + 0x70]
mov ecx, dword [esp + 0x38]
movups xmmword [esp + 0x88], xmm1
movups xmmword [esp + 0xc8], xmm0
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
cmp ecx, 0x1ff
jle 0x46d7b0
mov eax, 0x280
mov dword [esp + 0x90], 0x200
sub eax, ecx
mov dword [esp + 0xb0], 0x200
mov dword [esp + 0xd0], eax
mov dword [esp + 0xf0], eax
mov edx, dword [esp + 0x18]
mov ecx, 0x200
cmp edx, ecx
jge 0x46d7dd
mov eax, ecx
mov dword [esp + 0x98], ecx
sub eax, edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xf8], eax
mov edx, dword [esp + 0x3c]
cmp edx, 0x1ff
jle 0x46d815
mov eax, ecx
sub eax, edx
add dword [esp + 0x94], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xd4], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xa4], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xe4], eax
mov edx, dword [esp + 0x14]
cmp edx, ecx
jge 0x46d847
mov eax, ecx
sub eax, edx
add dword [esp + 0xac], eax
mov eax, ecx
sub eax, edx
add dword [esp + 0xec], eax
mov eax, ecx
sub eax, edx
sub ecx, edx
add dword [esp + 0xbc], eax
add dword [esp + 0xfc], ecx
mov eax, dword [esi + 0x110]
test eax, eax
jne 0x46dae5
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x90]
jge 0x46d89d
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46d89d
push 0
push 0
push 1
lea eax, [esp + 0x94]
push eax
push str.dat_terrain_512.png
lea eax, [esp + 0xdc]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x46d8fb
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46d8fb
sub dword [esp + 0x98], 0x200
lea eax, [esp + 0x98]
sub dword [esp + 0xa0], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512b.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x46d959
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46d959
sub dword [esp + 0xac], 0x200
lea eax, [esp + 0xa8]
sub dword [esp + 0xb4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512c.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x46d9cd
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46d9cd
sub dword [esp + 0xb8], 0x200
lea eax, [esp + 0xb8]
sub dword [esp + 0xc0], 0x200
sub dword [esp + 0xbc], 0x200
sub dword [esp + 0xc4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain_512d.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x90]
jge 0x46da15
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46da15
push 0
push 0
push 1
lea eax, [esp + 0x94]
push eax
push str.dat_roads_512.png
lea eax, [esp + 0xdc]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x46da5d
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46da5d
push 0
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push str.dat_roads_512b.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x46daa5
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46daa5
push 0
push 0
push 1
lea eax, [esp + 0xb4]
push eax
push str.dat_roads_512c.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x46dd86
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46dd86
push 0
push 0
push 1
lea eax, [esp + 0xc4]
push eax
push str.dat_roads_512d.png
jmp 0x46dd71
cmp eax, 1
jne 0x46dd86
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x90]
jge 0x46db36
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46db36
push 0
push 0
push 1
lea eax, [esp + 0x94]
push eax
push str.dat_terrain2_512.png
lea eax, [esp + 0xdc]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x46db94
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46db94
sub dword [esp + 0x98], 0x200
lea eax, [esp + 0x98]
sub dword [esp + 0xa0], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512b.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x46dbf2
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46dbf2
sub dword [esp + 0xac], 0x200
lea eax, [esp + 0xa8]
sub dword [esp + 0xb4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512c.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x46dc66
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46dc66
sub dword [esp + 0xb8], 0x200
lea eax, [esp + 0xb8]
sub dword [esp + 0xc0], 0x200
sub dword [esp + 0xbc], 0x200
sub dword [esp + 0xc4], 0x200
push 0
push 0
push 1
push eax
push str.dat_terrain2_512d.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [esi + 0x1bc0]
call fcn.00401db0
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x90]
jge 0x46dcae
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jge 0x46dcae
push 0
push 0
push 1
lea eax, [esp + 0x94]
push eax
push str.dat_roads2_512.png
lea eax, [esp + 0xdc]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov eax, dword [esp + 0x98]
cmp eax, dword [esp + 0xa0]
jge 0x46dcf6
mov eax, dword [esp + 0x9c]
cmp eax, dword [esp + 0xa4]
jge 0x46dcf6
push 0
push 0
push 1
lea eax, [esp + 0xa4]
push eax
push str.dat_roads2_512b.png
lea eax, [esp + 0xec]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov eax, dword [esp + 0xa8]
cmp eax, dword [esp + 0xb0]
jge 0x46dd3e
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0xb4]
jge 0x46dd3e
push 0
push 0
push 1
lea eax, [esp + 0xb4]
push eax
push str.dat_roads2_512c.png
lea eax, [esp + 0xfc]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xc0]
jge 0x46dd86
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0xc4]
jge 0x46dd86
push 0
push 0
push 1
lea eax, [esp + 0xc4]
push eax
push str.dat_roads2_512d.png
lea eax, [esp + 0x10c]
push eax
push 0
push dword [0x500d84]
call fcn.00401db0
mov ecx, dword [esi + 0x1bc0]
xor eax, eax
test ecx, ecx
xorps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
setne al
cmp dword [0x500d84], 0
mov dword [esp + 0x18], eax
je 0x46e451
test ecx, ecx
je 0x46e451
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
mov eax, dword [esp + 0x18]
push 0x8810
cmovs eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [0x500d84]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
js 0x46e451
cmp dword [esp + 0x18], 0
je 0x46e451
mov eax, dword [esp + 0x64]
xor edi, edi
mov edx, dword [esp + 0x6c]
movss xmm4, dword [0x4dffa8]
movss xmm5, dword [0x4dfe90]
nop word [eax + eax]
movd xmm3, edi
mov ecx, eax
add eax, dword [esp + 0x60]
xorps xmm2, xmm2
cvtdq2ps xmm3, xmm3
mov dword [esp + 0x58], eax
mov eax, edx
add edx, dword [esp + 0x68]
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x14], eax
imul esi, edi, 0x81
sub ecx, eax
addss xmm3, xmm3
mov dword [esp + 0x18], edx
movss dword [esp + 0x28], xmm2
mov dword [esp + 0x54], ecx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
movss dword [esp + 0x50], xmm3
nop dword [eax]
movzx eax, byte [ecx + eax]
movd xmm0, dword [esi + 0x17c]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x24]
mulss xmm0, xmm4
add eax, edx
cvtdq2ps xmm1, xmm1
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mulss xmm0, xmm5
divss xmm1, dword [0x4e003c]
addss xmm0, xmm2
mulss xmm1, dword [0x4dffc8]
movss dword [esi + ecx*4 + 0x1c50], xmm0
movzx eax, byte [eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x24]
add eax, 0xca
add eax, edx
mulss xmm0, dword [0x4dfe04]
lea eax, [eax + eax*8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
addss xmm0, xmm1
movss dword [esi + ecx*4 + 0x1c54], xmm0
movd xmm0, dword [esi + 0x180]
cvtdq2ps xmm0, xmm0
movss dword [esi + ecx*4 + 0x1c6c], xmm3
mulss xmm0, xmm4
mulss xmm0, xmm5
addss xmm0, dword [esp + 0x1c]
movss dword [esi + ecx*4 + 0x1c58], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm0
movss dword [esi + ecx*4 + 0x1c70], xmm0
mov ecx, esi
movzx eax, byte [eax]
push eax
mov eax, dword [esi + 0x17c]
add eax, edx
push eax
mov eax, dword [esi + 0x180]
add eax, edi
push eax
call fcn.0046ecb0
mov ecx, dword [esp + 0x4c]
add dword [esp + 0x14], 3
mov dword [esi + ecx*4], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x46df69
cmp dword [esi + 0x17c], eax
je 0x46df9a
test edi, edi
jne 0x46df75
cmp dword [esi + 0x180], edi
je 0x46df9a
cmp eax, 0x7f
jne 0x46df86
cmp dword [esi + 0x17c], 0x380
je 0x46df9a
cmp edi, 0x80
jne 0x46dfe5
cmp dword [esi + 0x180], 0x380
jne 0x46dfe5
mov dword [esi + ecx*4], 0xffffffff
call fcn.004a3b50
mov ecx, dword [esp + 0x20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x18]
addss xmm0, xmm0
divss xmm0, dword [0x4e0064]
subss xmm0, dword [0x4dfee0]
addss xmm0, dword [0x4dff88]
addss xmm0, dword [esi + ecx*4 + 0x1c54]
movss dword [esi + ecx*4 + 0x1c54], xmm0
jmp 0x46dfe9
mov ecx, dword [esp + 0x20]
movss xmm5, dword [0x4e0094]
xorps xmm6, xmm6
xorps xmm7, xmm7
xorps xmm3, xmm3
movaps xmm2, xmm5
xorps xmm4, xmm4
test edi, edi
je 0x46e03a
movss xmm5, dword [esi + ecx*4 + 0xa2c]
movss xmm6, dword [esi + ecx*4 + 0xa30]
movss xmm7, dword [esi + ecx*4 + 0xa34]
subss xmm5, dword [esi + ecx*4 + 0x1c50]
subss xmm6, dword [esi + ecx*4 + 0x1c54]
subss xmm7, dword [esi + ecx*4 + 0x1c58]
test eax, eax
je 0x46e074
movss xmm3, dword [esi + ecx*4 + 0x1c2c]
movss xmm2, dword [esi + ecx*4 + 0x1c30]
movss xmm4, dword [esi + ecx*4 + 0x1c34]
subss xmm3, dword [esi + ecx*4 + 0x1c50]
subss xmm2, dword [esi + ecx*4 + 0x1c54]
subss xmm4, dword [esi + ecx*4 + 0x1c58]
movaps xmm0, xmm2
movaps xmm1, xmm4
mulss xmm0, xmm7
add ecx, 0x717
mulss xmm1, xmm6
mulss xmm2, xmm5
subss xmm1, xmm0
mulss xmm4, xmm5
movaps xmm0, xmm3
mulss xmm3, xmm6
mulss xmm0, xmm7
subss xmm2, xmm3
subss xmm0, xmm4
movss dword [esp + 0x38], xmm2
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push eax
lea eax, [esi + ecx*4]
unpcklps xmm1, xmm0
push eax
movq qword [esp + 0x78], xmm1
call fcn.00402788
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [0x4dff48]
mov edx, dword [esp + 0x18]
addss xmm2, xmm1
movss xmm3, dword [esp + 0x50]
inc edx
movss xmm4, dword [0x4dffa8]
movss xmm5, dword [0x4dfe90]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
movss dword [esp + 0x28], xmm2
mov dword [esp + 0x18], edx
cmp edx, 0x81
jl 0x46de70
movss xmm0, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x58]
addss xmm0, xmm1
mov edx, dword [esp + 0x5c]
movss dword [esp + 0x1c], xmm0
cmp edi, 0x81
jl 0x46de20
mov eax, dword [0x500d84]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [0x500d84]
lea edi, [esi + 0x1c4]
test ecx, ecx
je 0x46e167
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x500d84], 0
mov eax, dword [esi + 0x1bc0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
xor eax, eax
lea ecx, [esi + 0x6570]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
nop dword [eax]
nop word [eax + eax]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 0x10
mov eax, dword [0x4ffd6c]
push edi
push 1
mov dword [edi - 4], 3
mov dword [edi], 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 0x46e40f
mov eax, dword [edi]
lea edx, [esp + 0x14]
push 0x800
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x46e40f
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1c], eax
nop dword [eax]
add eax, dword [esp + 0x20]
lea edx, [eax + eax*8]
movups xmm0, xmmword [esi + edx*4 + 0x1c50]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x1c60]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x1c70]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x2e74]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x2e84]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x2e94]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x4098]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x40a8]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x40b8]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x52bc]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x52cc]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x52dc]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x14]
add ecx, 0x24
cmp dword [esp + 0x1c], 4
mov dword [esp + 0x14], ecx
jne 0x46e2f1
mov eax, dword [esp + 0x18]
movq xmm0, qword [eax]
movq qword [edi + 4], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 0xc], eax
movups xmm0, xmmword [esi + edx*4 + 0x64e0]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x64f0]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x6500]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x7704]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x7714]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x7724]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x8928]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x8938]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x8948]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x9b4c]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0x9b5c]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0x9b6c]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0xad70]
add eax, 0x24
mov dword [esp + 0x14], eax
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esi + edx*4 + 0xad80]
movups xmmword [eax + 0x10], xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + edx*4 + 0xad90]
mov dword [eax + 0x20], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x24
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
cmp eax, 9
jl 0x46e200
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
add dword [esp + 0x20], 0x408
add edi, 0x14
add dword [esp + 0x18], 0x9120
sub dword [esp + 0x28], 1
jne 0x46e1a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add eax, 8
add ecx, 0x120
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
cmp eax, 0x80
jl 0x46e190
call fcn.0046b170
cmp dword [0x4ffd58], 0
je 0x46e48b
push 0x4d1cc4
push 0x4d1cc8
call fcn.004a3c4f
mov esi, eax
add esp, 8
test esi, esi
je 0x46e48b
push str._Done_n
push esi
call fcn.00430f00
push esi
call fcn.004a3d23
add esp, 0xc
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.004958e0
mov esp, ebp
pop ebp
ret 8