Function at 0x459cfa
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x4baa95
call fcn.00485bb4
mov eax, 0x15b0
call fcn.00485cf0
push esi
push edi
push 0x4c570c
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0049ef67
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x459d31
xor al, al
jmp 0x45af19
cmp dword [edi + 0x404], 0
jle 0x459da4
cmp dword [0x4e8958], 1
je 0x459d61
cmp dword [0x4e895c], 1
je 0x459d61
push 0xc9
push str.MILKDROP_PRESET_VERSION_d_n
push esi
call fcn.0040fad1
add esp, 0xc
jmp 0x459d6e
push str.MILKDROP_PRESET_VERSION300_n
push esi
call fcn.0040fad1
pop ecx
pop ecx
push dword [edi + 0x404]
push str.PSVERSION_d_n
push esi
call fcn.0040fad1
push dword [edi + 0x408]
push str.PSVERSION_WARP_d_n
push esi
call fcn.0040fad1
push dword [edi + 0x40c]
push str.PSVERSION_COMP_d_n
push esi
call fcn.0040fad1
add esp, 0x24
push ebx
push str._preset00__n
push esi
call fcn.0040fad1
movss xmm0, dword [edi + 0x410]
mov ebx, str._s_.3f_n
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.fRating
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x414]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fGammaAdj
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x45c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fDecay
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x428]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fVideoEchoZoom
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x43c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fVideoEchoAlpha
push ebx
push esi
call fcn.0040fad1
push dword [edi + 0x454]
push str.nVideoEchoOrientation
push str._s_d_n
push esi
call fcn.0040fad1
push dword [edi + 0x470]
push str.nWaveMode
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x478]
push eax
push str.bAdditiveWaves
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x4b8]
add esp, 0x44
push eax
push str.bWaveDots
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x4b9]
push eax
push str.bWaveThick
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x4d0]
push eax
push str.bModWaveAlphaByVolume
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x53c]
push eax
push str.bMaximizeWaveColor
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x53d]
add esp, 0x40
push eax
push str.bTexWrap
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x53e]
push eax
push str.bDarkenCenter
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x53f]
push eax
push str.bRedBlueStereo
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x540]
push eax
push str.bBrighten
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x541]
add esp, 0x40
push eax
push str.bDarken
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x542]
push eax
push str.bSolarize
push str._s_d_n
push esi
call fcn.0040fad1
movzx eax, byte [edi + 0x543]
push eax
push str.bInvert
push str._s_d_n
push esi
call fcn.0040fad1
add esp, 0x2c
lea ecx, [edi + 0x47c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fWaveAlpha
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x490]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fWaveScale
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x4a4]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fWaveSmoothing
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x4bc]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fWaveParam
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x4d4]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fModWaveAlphaStart
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x4e8]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fModWaveAlphaEnd
push ebx
push esi
call fcn.0040fad1
movss xmm0, dword [edi + 0x4fc]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.fWarpAnimSpeed
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x500]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fWarpScale
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x514]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fZoomExponent
mov ebx, str._s_.5f_n
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x528]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.fShader
push str._s_.3f_n
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x544]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c0770
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x558]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e38
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x56c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e3c
push str._s_.3f_n
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x580]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e40
push str._s_.3f_n
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x594]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e44
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x5a8]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e48
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x5bc]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c34cc
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x5d0]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e4c
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x5e4]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5e50
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x5f8]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5eac
mov ebx, str._s_.3f_n
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x60c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5eb4
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x620]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5ebc
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x634]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5ec4
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x648]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5ecc
push ebx
push esi
call fcn.0040fad1
lea ecx, [edi + 0x65c]
add esp, 0x10
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f00
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x670]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f08
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x684]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f10
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x698]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f18
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x6ac]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f20
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x6c0]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f28
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x6d4]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f30
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x6e8]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f38
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x6fc]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f40
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x710]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f48
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x724]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.nMotionVectorsX
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x738]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.nMotionVectorsY
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x74c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f60
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x760]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f68
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x774]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f70
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x788]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f78
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x79c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f80
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x7b0]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f88
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x7c4]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c5f90
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x7d8]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c676c
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x7ec]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c6770
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x800]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c6774
push ebx
push esi
call fcn.0040fad1
lea ecx, [edi + 0x814]
add esp, 0x10
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c6778
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x828]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c677c
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x83c]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push 0x4c6780
push ebx
push esi
call fcn.0040fad1
add esp, 0x10
lea ecx, [edi + 0x850]
mov dword [esp], 0xbf800000
call fcn.0046d0b6
push ecx
push ecx
fstp qword [esp]
push str.b1ed
push ebx
push esi
call fcn.0040fad1
add esp, 0x14
lea ebx, [edi + 0x103368]
and dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x14]
push 0x10
pop eax
mov dword [ebp + 8], eax
cmp dword [ebx], 1
jne 0x45a766
push edi
push str.dummy_filename
push esi
mov ecx, ebx
call fcn.0045af29
mov eax, dword [ebp + 8]
inc edi
add ebx, 0x183d8
sub eax, 1
mov dword [ebp + 8], eax
jne 0x45a74f
and dword [ebp - 0x14], 0
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add ebx, 0x868
push 0x10
pop eax
mov dword [ebp + 8], eax
cmp dword [ebx], 1
jne 0x45a7a1
push edi
push str.dummy_filename
push esi
mov ecx, ebx
call fcn.00459997
mov eax, dword [ebp + 8]
inc edi
add ebx, 0x102b0
sub eax, 1
mov dword [ebp + 8], eax
jne 0x45a78a
mov edi, dword [ebp - 0x10]
xor ebx, ebx
push ebx
push str.per_frame_init_
lea eax, [edi + 0x2873d0]
push eax
push 0x10
push esi
call fcn.0046cc5e
push ebx
push str.per_frame_
lea eax, [edi + 0x28f3d0]
push eax
push 0x10
push esi
call fcn.0046cc5e
push ebx
push str.per_pixel_
lea eax, [edi + 0x2973d0]
push eax
push 0x10
push esi
call fcn.0046cc5e
add esp, 0x3c
cmp dword [edi + 0x408], 2
jl 0x45a818
push 1
push str.warp_
lea eax, [edi + 0x29f3d0]
push eax
push 0x10
push esi
call fcn.0046cc5e
add esp, 0x14
cmp dword [edi + 0x40c], 2
jl 0x45a83a
push 1
push str.comp_
lea eax, [edi + 0x2a73d0]
push eax
push 0x10
push esi
call fcn.0046cc5e
add esp, 0x14
mov eax, dword [0x4e895c]
mov edi, str._s_.6f_n
cmp eax, 1
jne 0x45aaf0
push 0x4bf948
push esi
call fcn.0040fad1
push str._SPRITE1_BEGIN__n
push esi
call fcn.0040fad1
push 0x4e8358
push str.SpriteName_ls_n
push esi
call fcn.0040fad1
mov eax, dword [0x4e7f20]
add esp, 0x1c
test eax, eax
je 0x45a895
push eax
push str.SpriteColorKey
push str._s0x_X_n
push esi
call fcn.0040fad1
add esp, 0x10
jmp 0x45a8a2
push str.SpriteColorKey0x000000_n
push esi
call fcn.0040fad1
pop ecx
pop ecx
push dword [0x4e7f24]
push str.SpriteLayer
push str._s_d_n
push esi
call fcn.0040fad1
push dword [0x4e7f28]
push str.SpriteBlend
push str._s_d_n
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f30]
add esp, 0x18
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteAlpha
push edi
push esi
call fcn.0040fad1
push dword [0x4e7f2c]
push str.SpriteBurn
push str._s_d_n
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f34]
add esp, 0x1c
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteX
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f38]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteY
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f3c]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteSX
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f40]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteSY
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f4c]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteRot
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f44]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteSpeed
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f50]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteRepeatX
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7f54]
cvtps2pd xmm0, xmm0
add esp, 0xc
movsd qword [esp], xmm0
push str.SpriteRepeatY
push edi
push esi
call fcn.0040fad1
add esp, 0x14
lea ecx, [ebp - 0x5c]
push 0x4e8758
call fcn.00403425
push 1
push 3
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x10c]
call fcn.0042d387
lea ecx, [ebp - 0x5c]
call fcn.00405080
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
xor edi, edi
mov byte [ebp - 4], 3
inc edi
jmp 0x45aa6c
cmp dword [ebp - 0x1c], 0
je 0x45aa6c
mov ecx, edi
lea eax, [ebp - 0x2c]
inc edi
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push eax
push ecx
push str.code__d_s_n
push esi
call fcn.0040fad1
add esp, 0x10
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00411ed8
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x45aa48
push str._SPRITE1_END__n
push esi
call fcn.0040fad1
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
push 0xf
pop edi
cmp eax, edi
jbe 0x45aad3
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x45aaca
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040439b
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.00485cba
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x2c], bl
call fcn.0042e6cf
mov eax, dword [0x4e895c]
cmp dword [0x4e8958], 1
jne 0x45af0f
test eax, eax
jne 0x45af0f
push 0x4bf948
push esi
call fcn.0040fad1
push str._SPRITE1_BEGIN__n
push esi
call fcn.0040fad1
mov ebx, 0x400
lea eax, [ebp - 0x5bc]
push ebx
push 0
push eax
call fcn.00486d50
add esp, 0x1c
push 0x4e7920
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x5bc]
push 0x200
push eax
call fcn.0049e6d2
push ebx
lea eax, [ebp - 0xdbc]
push 0
push eax
call fcn.00486d50
mov edi, 0xdd4140
lea eax, [ebp - 0xdbc]
push edi
push 0x200
push eax
call fcn.0049e6d2
push str.textures_
lea eax, [ebp - 0xdbc]
push 0x200
push eax
call fcn.0049e663
push ebx
lea eax, [ebp - 0x11bc]
push 0
push eax
call fcn.00486d50
push edi
mov edi, 0x200
lea eax, [ebp - 0x11bc]
push edi
push eax
call fcn.0049e6d2
add esp, 0x48
lea eax, [ebp - 0x11bc]
push str.sprites_
push edi
push eax
call fcn.0049e663
push ebx
lea eax, [ebp - 0x15bc]
push 0
push eax
call fcn.00486d50
lea eax, [ebp - 0xdbc]
push eax
lea eax, [ebp - 0x15bc]
push edi
push eax
call fcn.0049e6d2
lea eax, [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x15bc]
push edi
push eax
call fcn.0049e663
push ebx
xor ebx, ebx
lea eax, [ebp - 0x9bc]
push ebx
push eax
call fcn.00486d50
lea eax, [ebp - 0x11bc]
push eax
push edi
lea eax, [ebp - 0x9bc]
push eax
call fcn.0049e6d2
add esp, 0x48
lea eax, [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x9bc]
push edi
push eax
call fcn.0049e663
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x15bc]
add esp, 0xc
push eax
call edi
test eax, eax
je 0x45ac59
lea eax, [ebp - 0x5bc]
push eax
push str.SpriteNametextures_ls_n
push esi
jmp 0x45ac73
lea eax, [ebp - 0x9bc]
push eax
call edi
test eax, eax
lea eax, [ebp - 0x5bc]
push eax
push str.SpriteNamesprites_ls_n
push esi
je 0x45ac7d
call fcn.0040fad1
add esp, 0xc
jmp 0x45ac98
call fcn.0040fad1
add esp, 0xc
lea eax, [ebp - 0x9bc]
push ebx
push eax
push 0x4e7920
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [0x4e78e4]
test eax, eax
je 0x45acb7
push eax
push str.SpriteColorKey
push str._s0x_X_n
push esi
call fcn.0040fad1
add esp, 0x10
jmp 0x45acc4
push str.SpriteColorKey0x000000_n
push esi
call fcn.0040fad1
pop ecx
pop ecx
push dword [0x4e78e8]
mov edi, str._s_d_n
push str.SpriteLayer
push edi
push esi
call fcn.0040fad1
push dword [0x4e78ec]
push str.SpriteBlend
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e78f4]
add esp, 0x18
cvtps2pd xmm0, xmm0
mov edi, str._s_.6f_n
movsd qword [esp], xmm0
push str.SpriteAlpha
push edi
push esi
call fcn.0040fad1
push dword [0x4e78f0]
push str.SpriteBurn
push str._s_d_n
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e78f8]
add esp, 0x1c
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteX
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e78fc]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteY
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7900]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteSX
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7904]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteSY
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7910]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteRot
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7908]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteSpeed
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7914]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteRepeatX
push edi
push esi
call fcn.0040fad1
movss xmm0, dword [0x4e7918]
add esp, 0xc
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.SpriteRepeatY
push edi
push esi
call fcn.0040fad1
add esp, 0x14
lea ecx, [ebp - 0x5c]
push 0x4e7d20
call fcn.00403425
push 1
push 3
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0042d387
lea ecx, [ebp - 0x5c]
call fcn.00405080
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], bl
xor edi, edi
mov byte [ebp - 4], 7
inc edi
jmp 0x45ae94
cmp dword [ebp - 0x34], 0
je 0x45ae94
mov ecx, edi
lea eax, [ebp - 0x44]
inc edi
cmp dword [ebp - 0x30], 0xf
cmova eax, dword [ebp - 0x44]
push eax
push ecx
push str.code__d_s_n
push esi
call fcn.0040fad1
add esp, 0x10
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00411ed8
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x45ae70
push str._SPRITE1_END__n
push esi
call fcn.0040fad1
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
push 0xf
pop edi
cmp eax, edi
jbe 0x45aefb
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x45aef2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040439b
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.00485cba
pop ecx
pop ecx
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x44], bl
call fcn.0042e6cf
push esi
call fcn.00491402
pop ecx
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4