Function at 0x413830
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47c4d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1924
call fcn.0045a8a0
mov eax, dword [0x48b114]
push ebx
mov ebx, ecx
mov ecx, dword [0x4938c0]
mov dword [esp + 0x1924], eax
mov eax, dword [ecx + 0xd7c]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], eax
lea edx, [esi + 0x1f060]
lea eax, [esi + 0x1ecdc]
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
call fcn.00448590
mov ecx, eax
call fcn.00447650
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov ecx, 0x514
lea edi, [esp + 0x190]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004340d0
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x190]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], edx
jmp 0x4138f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, edi
call fcn.00434100
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc eax
add edx, 0x104
cmp eax, 0x14
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4138f0
push 0x104
lea edx, [esp + 0x8c]
push str.BgSet
push edx
mov dword [esp + 0x2c], 0
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416959
push 0x104
lea eax, [esp + 0x8c]
push str.ChrSet
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416959
push 0x104
lea ecx, [esp + 0x8c]
push str.BgSetColor
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4139f4
lea edx, [esp + 0x190]
push edx
mov ecx, edi
call fcn.00433990
mov byte [esp + 0x2c], al
lea eax, [esp + 0x294]
push eax
mov ecx, edi
call fcn.00433990
lea ecx, [esp + 0x398]
push ecx
mov ecx, edi
mov byte [esp + 0x24], al
call fcn.00433990
mov ecx, dword [esp + 0x2c]
push 0xff
mov byte [esp + 0x1c], al
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 0x258
push 0x320
push edx
mov ecx, ebx
call fcn.00412570
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.BgSetXY
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416863
push 0x104
lea ecx, [esp + 0x8c]
push str.ChrSetXY
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416863
push 0x104
lea edx, [esp + 0x8c]
push str.BgSetRate
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x413aa9
lea eax, [esp + 0x194]
push 0x47f800
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x413a94
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
mov edx, dword [esp + 0x14]
mov dword [edx + 0x44], eax
mov eax, 1
jmp 0x416a45
mov eax, dword [esp + 0x14]
mov dword [eax + 0x44], 0x64
mov eax, 1
jmp 0x416a45
lea ecx, [esp + 0x8c]
push str.BgSetARGB
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea edx, [esp + 0x8c]
push str.ChrSetARGB
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea eax, [esp + 0x8c]
push str.ChrSetPry
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x413b48
mov ebx, dword [esp + 0x14]
lea esi, [esp + 0x190]
add ebx, 0x94
mov dword [esp + 0x18], 5
nop
push esi
mov ecx, edi
call fcn.00433990
mov dword [ebx], eax
mov eax, dword [esp + 0x18]
add esi, 0x104
add ebx, 0x54
dec eax
mov dword [esp + 0x18], eax
jne 0x413b20
mov eax, 1
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.ChrDel
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x413bd3
lea edx, [esp + 0x194]
push 0x47f7d0
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x413ba8
mov esi, dword [esp + 0x14]
add esi, 0x54
mov edi, 5
push esi
mov ecx, ebx
call fcn.004106b0
add esi, 0x54
dec edi
jne 0x413b90
mov eax, 1
jmp 0x416a45
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.00433990
mov edx, dword [esp + 0x14]
inc eax
imul eax, eax, 0x54
add eax, edx
push eax
mov ecx, ebx
call fcn.004106b0
mov eax, 1
jmp 0x416a45
lea ecx, [esp + 0x8c]
push str.ChrSetEx
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x413f9b
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x190]
push edx
call fcn.00433990
mov ecx, dword [esp + 0x14]
lea esi, [eax + 1]
mov eax, esi
imul eax, eax, 0x54
add eax, ecx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea edi, [esi + esi*2 + 0x21]
shl edi, 4
add edi, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x39c]
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x29c]
push eax
mov ecx, ebx
call fcn.00411cb0
cmp al, 1
jne 0x416535
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], ecx
add eax, 0xc
mov dl, byte [eax]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x37], dl
cmp dl, byte [ecx]
jne 0x413cb1
mov cl, dl
test cl, cl
je 0x413cad
mov dl, byte [eax + 1]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x37], dl
cmp dl, byte [ecx + 1]
jne 0x413cb1
mov edx, ecx
mov cl, byte [esp + 0x37]
add edx, 2
add eax, 2
test cl, cl
mov dword [esp + 0x24], edx
jne 0x413c75
xor eax, eax
jmp 0x413cb6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x413d2a
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xe0c]
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, ebx
call fcn.00412460
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x2c]
lea ecx, [ebx + 0x2a32c4]
push eax
mov dword [esp + 0x24], ecx
call fcn.0043a7a0
imul esi, esi, 0x23c
lea esi, [esi + ebx + 0x2a255c]
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.00447400
mov ecx, dword [esp + 0x18]
push 0x800
call fcn.00401380
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004013b0
push eax
mov ecx, esi
call fcn.004449a0
jmp 0x413d9e
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x2c]
lea ecx, [ebx + 0x2a32c4]
push eax
mov dword [esp + 0x24], ecx
call fcn.0043a7a0
imul esi, esi, 0x23c
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
push 0
push 0
push 0
lea esi, [esi + ebx + 0x2a255c]
push esi
push ecx
mov ecx, dword [edi + 0x24]
push edx
mov edx, dword [edi + 0x20]
push ecx
push edx
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.00445b90
push 0
push 0
push 0
mov ecx, esi
call fcn.0043cfe0
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x2c]
push eax
mov eax, dword [edi + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
call fcn.0043cfe0
mov ecx, eax
call fcn.004537c0
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4a8]
push edx
lea eax, [esp + 0x3a8]
push eax
lea ecx, [esp + 0x2a8]
push ecx
mov ecx, ebx
call fcn.00411d90
cmp al, 1
jne 0x416535
xor edx, edx
mov eax, edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
push 0x24
lea ecx, [esp + 0x48]
mov dword [eax + 0x18], edx
push 0x47f7bc
push ecx
mov dword [eax + 0x1c], edx
call fcn.0045b4a0
add esp, 0xc
test eax, eax
je 0x413f83
push 0x24
lea edx, [esp + 0x48]
push edx
push edi
call fcn.0045af60
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push eax
call fcn.0043a7a0
lea ecx, [esp + 0x16e8]
mov ebx, eax
call fcn.004474e0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xe0c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push edi
mov dword [esp + 0x1960], 0
call fcn.004040b0
lea ecx, [esp + 0x1708]
call fcn.004472f0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x16e8]
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], eax
call fcn.004013b0
lea ecx, [esp + 0x16e8]
mov dword [esp + 0x20], eax
mov dword [edi + 0x28], eax
call fcn.00401380
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
push 0
push ecx
push edx
push ebx
push eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x34]
push eax
push 0
push 0
mov ecx, esi
call fcn.00445b90
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
push 0
push ecx
push edx
mov ecx, ebx
call fcn.0043cfe0
mov ecx, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x2c]
push eax
push ecx
push 0
push 0
mov ecx, esi
call fcn.0043cfe0
mov ecx, eax
call fcn.004537c0
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
push 1
push 0
push 0
lea edx, [esp + 0x16f4]
push edx
mov edx, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x20]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00445b90
mov edx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
lea ecx, [esp + 0x16e8]
push ecx
mov ecx, dword [edi + 0x24]
push 0
push 0
push ebx
push edx
mov edx, dword [edi + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00401970
lea ecx, [esp + 0x16e8]
call fcn.00447400
lea ecx, [esp + 0x16e8]
mov dword [esp + 0x193c], 0xffffffff
call fcn.00446e60
mov eax, 1
jmp 0x416a45
xor eax, eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.UpDate
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414ccc
mov ecx, dword [esp + 0x10]
push 1
call fcn.00401600
push 0
push 0
push 0
lea eax, [ebx + 0x2a15b8]
push eax
push 0x258
push 0x320
push 0
lea ecx, [ebx + 0x2a1c6c]
push 0
lea esi, [ebx + 0x2a0f04]
mov dword [esp + 0x58], ecx
call fcn.00445b90
mov edi, dword [esp + 0x14]
push edi
push esi
mov ecx, ebx
call fcn.00413150
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [ebx + 0x2a1140]
push eax
mov ecx, ebx
call fcn.00413150
mov eax, dword [esp + 0x24]
sub eax, edi
lea esi, [edi + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 6
jmp 0x414033
mov eax, dword [esp + 0x20]
mov edi, dword [eax + esi]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x414049
push eax
lea ecx, [ebx + 0x2a32c4]
call fcn.0043a910
cmp edi, 0xffffffff
je 0x41405a
push edi
lea ecx, [ebx + 0x2a32c4]
call fcn.0043a940
mov eax, dword [esp + 0x18]
add esi, 0x54
dec eax
mov dword [esp + 0x18], eax
jne 0x41402f
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
push 0
push 0
push 0
lea eax, [ebx + 0x2a0f04]
push eax
push 0x258
push 0x320
mov ecx, 0xe1
push 0
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebx + 0x2a15b8]
call fcn.00445b90
push 0
push 0
push 0
lea eax, [ebx + 0x2a1140]
push eax
push 0x258
push 0x320
push 0
lea edi, [ebx + 0x2a17f4]
push 0
mov ecx, edi
call fcn.00445b90
push 0x104
lea edx, [esp + 0x194]
push str.Normal
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x414c54
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4140f1
sub eax, edx
mov dword [esp + 0x18], eax
je 0x414c54
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x1ace0], 1
je 0x414c58
cmp dword [ebx + 0x5ba5ac], 1
je 0x414c58
push 0x104
lea eax, [esp + 0x194]
push str.Cross
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4141b0
lea ecx, [esp + 0x294]
push ecx
mov ecx, esi
call fcn.00433990
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push 0
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esi + 0xd90]
push edi
push edx
push eax
call fcn.0040a550
mov ecx, dword [esi + 0xd90]
lea edi, [ebx + 0xac]
push edi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [esi + 0xd90]
push 1
call fcn.0040e580
mov eax, dword [esi + 0xd90]
mov dword [eax + 0xf0], 0
mov ecx, edi
jmp 0x4150aa
push 0x104
lea ecx, [esp + 0x194]
push str.Cross2
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414227
lea edx, [esp + 0x294]
push edx
mov ecx, esi
call fcn.00433990
mov edi, dword [esp + 0x10]
push 0
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [edi + 0xd94]
push eax
call fcn.0040a8f0
mov ecx, dword [edi + 0xd94]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd94]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.Waip
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4142d1
lea eax, [esp + 0x398]
push eax
mov ecx, esi
call fcn.00433990
push 0x104
lea ecx, [esp + 0x298]
push 0x47f790
push ecx
mov dword [esp + 0x20], eax
mov esi, 1
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414281
xor esi, esi
mov edx, dword [esp + 0x28]
push 1
lea eax, [ebx + 0x2a15b8]
push eax
mov eax, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0xd88]
push edx
push 1
push esi
push eax
call fcn.00408e50
mov ecx, dword [edi + 0xd88]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd88]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea ecx, [esp + 0x194]
push str.Circle
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414379
lea edx, [esp + 0x398]
push edx
mov ecx, esi
call fcn.00433990
push 0x104
mov dword [esp + 0x18], eax
lea eax, [esp + 0x298]
push str.Inside
push eax
mov esi, 1
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41432b
xor esi, esi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push 1
lea eax, [ebx + 0x2a15b8]
push eax
push edi
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0xd8c]
push esi
push edx
call fcn.0040a190
mov ecx, dword [edi + 0xd8c]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd8c]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea eax, [esp + 0x194]
push str.Blind
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414423
lea ecx, [esp + 0x398]
push ecx
mov ecx, esi
call fcn.00433990
push 0x104
lea edx, [esp + 0x298]
push 0x47f790
push edx
mov dword [esp + 0x20], eax
mov esi, 1
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4143d3
xor esi, esi
mov ecx, dword [esp + 0x14]
push 1
lea eax, [ebx + 0x2a15b8]
push eax
mov eax, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x1c]
push eax
push 0
push esi
push ecx
mov ecx, dword [edi + 0xd88]
call fcn.00408e50
mov ecx, dword [edi + 0xd88]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd88]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.Zoom
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4144f0
lea eax, [esp + 0x49c]
push eax
mov ecx, esi
call fcn.00433990
lea ecx, [esp + 0x294]
push ecx
mov ecx, esi
mov edi, eax
call fcn.00433990
lea edx, [esp + 0x398]
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00433990
push 0x104
mov dword [esp + 0x28], eax
lea eax, [esp + 0x298]
push 0x47f790
push eax
call fcn.0045c12a
fild dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 1
lea eax, [ebx + 0x2a15b8]
push eax
push ecx
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0x40]
fstp dword [esp]
push edi
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0xda8]
call fcn.0040f5a0
mov ecx, dword [edi + 0xda8]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xda8]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.ZoomR
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4145a3
lea eax, [esp + 0x49c]
push eax
mov ecx, esi
call fcn.00433990
lea ecx, [esp + 0x294]
push ecx
mov ecx, esi
mov edi, eax
call fcn.00433990
lea edx, [esp + 0x398]
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00433990
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
push 1
lea eax, [ebx + 0x2a15b8]
push eax
mov eax, dword [esp + 0x30]
push eax
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0x40]
fstp dword [esp]
push edi
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0xdac]
call fcn.0040fb30
mov ecx, dword [edi + 0xdac]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdac]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea ecx, [esp + 0x194]
push str.Raster
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41461b
lea edx, [esp + 0x294]
push edx
mov ecx, esi
call fcn.00433990
push 1
push 2
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 0xdb0]
push eax
call fcn.0040bb50
mov ecx, dword [edi + 0xdb0]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdb0]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.Whirl
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414691
lea eax, [esp + 0x294]
push eax
mov ecx, esi
call fcn.00433990
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0xda4]
push eax
call fcn.0040e5e0
mov ecx, dword [edi + 0xda4]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xda4]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.AlphaC
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414779
lea eax, [esp + 0x6a4]
push eax
mov ecx, esi
call fcn.00433990
lea ecx, [esp + 0x398]
push ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.00433990
lea edx, [esp + 0x49c]
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00433990
push 0x104
mov dword [esp + 0x28], eax
lea eax, [esp + 0x5a4]
push 0x47e830
push eax
xor esi, esi
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414711
mov esi, 1
mov ecx, dword [esp + 0x28]
fild dword [esp + 0x24]
push 1
push esi
lea eax, [ebx + 0x2a15b8]
push eax
mov eax, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 0xd84]
sub esp, 8
fstp dword [esp + 4]
lea edx, [esp + 0x2b0]
fild dword [esp + 0x48]
fstp dword [esp]
push edx
push eax
call fcn.00407900
mov ecx, dword [edi + 0xd84]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd84]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea ecx, [esp + 0x194]
push str.Water
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4147f1
lea edx, [esp + 0x294]
push edx
mov ecx, esi
call fcn.00433990
push 1
push 3
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 0xda0]
push eax
call fcn.0040d730
mov ecx, dword [edi + 0xda0]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xda0]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.NoiseC
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414869
lea eax, [esp + 0x294]
push eax
mov ecx, esi
call fcn.00433990
push 0
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 0xd98]
push eax
call fcn.0040adb0
mov ecx, dword [edi + 0xd98]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd98]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea edx, [esp + 0x194]
push str.Scroll
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414a1b
lea eax, [esp + 0x294]
push eax
mov ecx, esi
call fcn.00433990
lea ecx, [esp + 0x398]
push ecx
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.00433990
lea edx, [esp + 0x49c]
push edx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.00433990
mov dword [esp + 0x38], eax
lea eax, [esp + 0x5a0]
push eax
mov ecx, esi
call fcn.00433990
lea ecx, [esp + 0x6a4]
push ecx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.00433990
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebx + 0x2a32c4]
call fcn.0043a7a0
mov edi, eax
test edi, edi
mov dword [esp + 0x20], 0x320
mov dword [esp + 0x18], 0x258
je 0x414929
mov ecx, edi
call fcn.004013b0
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.00401380
mov dword [esp + 0x18], eax
lea edi, [ebx + 0x2a20e4]
test edi, edi
jne 0x41493a
xor ecx, ecx
call fcn.0043ca70
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push 0x800
push edx
push eax
mov ecx, edi
call fcn.004449a0
mov ecx, dword [esi + 0x354]
mov edx, dword [esi + 0x358]
push esi
lea eax, [ebx + 0x2a0f04]
mov dword [esp + 0x1c], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x24], edx
call fcn.00413150
xor eax, eax
push esi
push edi
mov ecx, ebx
mov dword [esi + 0x354], eax
mov dword [esi + 0x358], eax
call fcn.00413150
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x354], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x358], ecx
mov dword [esi + 0x358], eax
push esi
lea eax, [ebx + 0x2a0f04]
push eax
mov ecx, ebx
mov dword [esi + 0x354], edx
call fcn.00413150
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push 1
push edi
mov edi, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [edi + 0xd9c]
push edx
push eax
call fcn.0040cc20
mov ecx, dword [edi + 0xd9c]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xd9c]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea ecx, [esp + 0x194]
push str.ImageCross
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414a99
lea edx, [esp + 0x294]
push edx
mov ecx, esi
call fcn.00433990
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0xdb4]
lea edx, [esp + 0x3a8]
push edx
push eax
call fcn.00408040
mov ecx, dword [edi + 0xdb4]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdb4]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea eax, [esp + 0x194]
push str.ImageCross2
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x414b96
lea ecx, [esp + 0x4a0]
push str.right
push ecx
mov dword [esp + 0x38], eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414ae5
mov dword [esp + 0x2c], 2
push 0x104
lea edx, [esp + 0x4a0]
push 0x47f714
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414b0b
mov dword [esp + 0x2c], 1
push 0x104
lea eax, [esp + 0x4a0]
push str.bottom
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414b31
mov dword [esp + 0x2c], 3
lea ecx, [esp + 0x294]
push ecx
mov ecx, esi
call fcn.00433990
mov edx, dword [esp + 0x2c]
push 1
push edx
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x20]
push ecx
mov ecx, dword [edi + 0xdb8]
lea edx, [esp + 0x3ac]
push edx
push eax
call fcn.00408810
mov ecx, dword [edi + 0xdb8]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdb8]
push 1
call fcn.0040e580
jmp 0x4150a8
lea eax, [esp + 0x194]
push str.Pattern
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416859
lea ecx, [esp + 0x294]
push ecx
mov ecx, esi
call fcn.00433990
lea edx, [esp + 0x49c]
push edx
mov ecx, esi
mov edi, eax
call fcn.00433990
mov dword [esp + 0x20], eax
lea eax, [esp + 0x5a0]
push eax
mov ecx, esi
call fcn.00433990
lea ecx, [esp + 0x6a4]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00433990
mov edx, dword [esp + 0x28]
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x3b0]
push edx
push edi
mov edi, dword [esp + 0x30]
mov ecx, dword [edi + 0xdc4]
call fcn.0040b8b0
mov ecx, dword [edi + 0xdc4]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdc4]
push 1
call fcn.0040e580
jmp 0x4150a8
mov esi, dword [esp + 0x2c]
push 0x104
lea eax, [esp + 0x194]
push str.Scroll
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414ca4
lea ecx, [esp + 0x49c]
push ecx
mov ecx, esi
call fcn.00433990
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x5a0]
push edx
mov ecx, esi
mov dword [ebx + 0x354], eax
call fcn.00433990
mov dword [ebx + 0x358], eax
mov ecx, dword [esp + 0x38]
push 0
push 0
push 0
push edi
push 0x258
push 0x320
push 0
push 0
call fcn.00445b90
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.Effect
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4150c5
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [ebx + 0x2a15b8]
push eax
mov ecx, ebx
call fcn.00413150
mov ecx, dword [esp + 0x28]
push 0
push 0
push 0
lea eax, [ebx + 0x2a15b8]
push eax
push 0x258
push 0x320
push 0
push 0
call fcn.00445b90
cmp dword [ebx + 0x5ba5ac], 1
je 0x416859
cmp dword [edi + 0x1ace0], 1
je 0x416859
push 0x104
lea edx, [esp + 0x194]
push str.Water
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414da1
lea eax, [esp + 0x398]
push eax
mov ecx, edi
call fcn.00433990
lea ecx, [esp + 0x294]
push ecx
mov ecx, edi
mov esi, eax
call fcn.00433990
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push 1
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [edi + 0xda0]
push edx
push eax
push esi
call fcn.0040d6b0
jmp 0x4147c7
push 0x104
lea eax, [esp + 0x194]
push str.Rotate
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414e42
lea ecx, [esp + 0x398]
push ecx
mov ecx, edi
call fcn.00433990
push 0x104
lea edx, [esp + 0x298]
push str.WatchR
push edx
mov edi, eax
xor esi, esi
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414df9
mov esi, 1
push 1
lea eax, [ebx + 0x2a15b8]
push eax
mov eax, dword [esp + 0x30]
push eax
push esi
push edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0xdc8]
call fcn.0040c9d0
mov ecx, dword [edi + 0xdc8]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdc8]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea ecx, [esp + 0x194]
push str.Shake
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414f06
lea edx, [esp + 0x398]
push edx
mov ecx, edi
call fcn.00433990
push 0x104
mov edi, eax
lea eax, [esp + 0x298]
push 0x47f6e0
push eax
mov esi, 2
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414e9a
xor esi, esi
push 0x104
lea ecx, [esp + 0x298]
push 0x47f6dc
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414ebd
mov esi, 1
mov edx, dword [esp + 0x28]
push 1
lea eax, [ebx + 0x2a15b8]
push eax
push edx
push edi
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0xdcc]
push esi
call fcn.0040d060
mov ecx, dword [edi + 0xdcc]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdcc]
push 1
call fcn.0040e580
jmp 0x4150a8
push 0x104
lea eax, [esp + 0x194]
push str.Blur
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x414ff8
lea ecx, [esp + 0x298]
push 0x47e830
push ecx
mov dword [esp + 0x24], eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x414f52
mov dword [esp + 0x18], 1
lea edx, [esp + 0x398]
push edx
mov ecx, edi
call fcn.00433990
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x49c]
push eax
mov ecx, edi
call fcn.00433990
lea ecx, [esp + 0x5a0]
push ecx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.00433990
lea edx, [esp + 0x6a4]
push edx
mov ecx, edi
mov esi, eax
call fcn.00433990
fild dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push 1
push ecx
push esi
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [edi + 0xdbc]
push edx
sub esp, 8
fstp dword [esp + 4]
fild dword [esp + 0x48]
fstp dword [esp]
push eax
call fcn.00409400
mov ecx, dword [edi + 0xdbc]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdbc]
push 1
call fcn.0040e580
jmp 0x4150a8
lea eax, [esp + 0x194]
push str.Blur2
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4150c5
push 0x104
lea ecx, [esp + 0x298]
push 0x47f790
push ecx
mov dword [esp + 0x24], 1
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41503f
mov dword [esp + 0x18], eax
lea edx, [esp + 0x398]
push edx
mov ecx, edi
call fcn.00433990
mov esi, eax
lea eax, [esp + 0x49c]
push eax
mov ecx, edi
call fcn.00433990
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
push 1
push esi
push ecx
lea ecx, [ebx + 0x2a15b8]
push ecx
mov ecx, dword [edi + 0xdc0]
push edx
push eax
call fcn.00409b50
mov ecx, dword [edi + 0xdc0]
lea esi, [ebx + 0xac]
push esi
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [edi + 0xdc0]
push 1
call fcn.0040e580
mov ecx, esi
push 1
call fcn.004217d0
mov dword [ebx + 0x5ba578], 1
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.WeatherMask
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x4151fb
xor ecx, ecx
add esi, 0x1fc78
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
lea eax, [esp + 0x194]
mov dword [edx + 0x18], ecx
push 0x47e82c
push eax
mov dword [edx + 0x1c], ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x4151d7
lea eax, [esp + 0x190]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x415137
lea ecx, [esp + 0x44]
call fcn.00453660
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xe0c]
push eax
sub esp, 0x1c
lea eax, [esp + 0x1b0]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov dword [esp + 0x1960], 1
call fcn.004040b0
lea ecx, [esp + 0x64]
call fcn.00454100
push 0
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
push 0x258
push 0x320
push 0
push 0
lea ecx, [ebx + 0x2a1ea8]
call fcn.0043cfe0
mov ecx, eax
call fcn.004537c0
lea ecx, [esp + 0x44]
call fcn.00453680
lea ecx, [esp + 0x44]
mov dword [esp + 0x193c], 0xffffffff
call fcn.00453bf0
mov eax, 1
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
push 0
lea ecx, [ebx + 0x2a1ea8]
call fcn.0043cfe0
mov ecx, eax
call fcn.00453ad0
mov eax, 1
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
lea edx, [esp + 0x8c]
push str.Rain
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x4152a2
lea eax, [esp + 0x194]
push 0x47e830
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415279
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0xdd0]
push 0xc1200000
lea ecx, [ebx + 0x2a1ea8]
call fcn.0043cfe0
mov edx, dword [esp + 0x2c]
push eax
push edx
push 0x78
mov ecx, edi
call fcn.004221e0
mov eax, 1
mov dword [esi + 0x1f898], 1
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdd0]
call fcn.00421f10
mov eax, 1
mov dword [esi + 0x1f898], 0
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
lea ecx, [esp + 0x8c]
push str.RainPow
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4152ea
lea edx, [esp + 0x190]
push edx
mov ecx, edi
call fcn.00433990
mov dword [esi + 0x1f8e0], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xdd0]
call fcn.00421f50
mov eax, 1
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.RainSpeed
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415337
lea edx, [esp + 0x190]
push edx
mov ecx, edi
call fcn.00433990
mov dword [esi + 0x1f8e4], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xdd0]
call fcn.00422180
mov eax, 1
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.Snow
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x415460
lea edx, [esp + 0x194]
push 0x47e830
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415437
xor ecx, ecx
lea eax, [esi + 0x1f8ec]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
lea eax, [esp + 0x294]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4153a4
sub eax, edx
mov dword [esp + 0x38], eax
je 0x4153d0
lea eax, [esp + 0x294]
lea edx, [esi + 0x1f8ec]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4153c4
jmp 0x4153f0
mov edx, dword [str.yuki.bmp]
lea eax, [esi + 0x1f8ec]
mov dword [eax], edx
mov ecx, dword [0x47f694]
mov dword [eax + 4], ecx
mov dl, byte [0x47f698]
mov byte [eax + 8], dl
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xdd4]
push 0
lea ecx, [ebx + 0x2a1ea8]
call fcn.0043cfe0
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esi + 0x1f8ec]
push eax
push ecx
push 0x78
mov ecx, edi
call fcn.00439910
mov eax, 1
mov dword [esi + 0x1f8e8], 1
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xdd4]
call fcn.00439630
mov eax, 1
mov dword [esi + 0x1f8e8], 0
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
lea eax, [esp + 0x8c]
push str.SnowPow
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4154a8
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
mov edx, dword [esp + 0x10]
mov dword [esi + 0x1f930], eax
mov ecx, dword [edx + 0xdd4]
push eax
call fcn.00439690
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.SnowSpeed
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4154f5
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
mov edx, dword [esp + 0x10]
mov dword [esi + 0x1f934], eax
mov ecx, dword [edx + 0xdd4]
push eax
call fcn.004393f0
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.WorldSize
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea ecx, [esp + 0x8c]
push str.CameraPosition
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41560e
lea edx, [esp + 0x190]
push edx
mov ecx, edi
call fcn.00433990
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
lea eax, [esp + 0x294]
push eax
mov ecx, edi
fstp dword [esp + 0x30]
call fcn.00433990
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
lea ecx, [esp + 0x398]
push ecx
mov ecx, edi
fstp dword [esp + 0x24]
call fcn.00433990
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
call fcn.0045bbc0
fld dword [esp + 0x20]
mov edi, eax
call fcn.0045bbc0
fld dword [esp + 0x18]
mov ebx, eax
call fcn.0045bbc0
add esi, 0x1f8c0
mov ecx, 3
mov dword [esi - 4], edi
mov dword [esi], ebx
mov dword [esi + 4], eax
add esi, 0x50
dec ecx
jne 0x4155b4
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edx + 0xdd0]
push esi
push edi
push ebx
call fcn.00422190
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdd4]
push esi
push edi
push ebx
call fcn.00439400
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xdd8]
push esi
push edi
push ebx
call fcn.00439400
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.CameraDirection
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4156df
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.00433990
lea ecx, [esp + 0x294]
push ecx
mov ecx, edi
mov ebx, eax
call fcn.00433990
lea edx, [esp + 0x398]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.00433990
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1f8c8], ebx
mov dword [esi + 0x1f8cc], eax
mov dword [esi + 0x1f8d0], edi
mov dword [esi + 0x1f918], ebx
mov dword [esi + 0x1f91c], eax
mov dword [esi + 0x1f920], edi
push edi
mov dword [esi + 0x1f968], ebx
mov dword [esi + 0x1f96c], eax
mov dword [esi + 0x1f970], edi
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0xdd0]
push eax
push ebx
call fcn.00422140
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xdd4]
push edi
push eax
push ebx
call fcn.004393b0
mov ecx, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esi + 0xdd8]
push ebx
call fcn.004393b0
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.WindDirection
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4157c8
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.00433990
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
lea ecx, [esp + 0x294]
push ecx
mov ecx, edi
fstp dword [esp + 0x30]
call fcn.00433990
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
lea edx, [esp + 0x398]
push edx
mov ecx, edi
fstp dword [esp + 0x24]
call fcn.00433990
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x2c]
call fcn.0045bbc0
fld dword [esp + 0x20]
mov edi, eax
call fcn.0045bbc0
fld dword [esp + 0x18]
mov ebx, eax
call fcn.0045bbc0
add esi, 0x1f8d8
mov ecx, 3
lea esp, [esp]
mov dword [esi - 4], edi
mov dword [esi], ebx
mov dword [esi + 4], eax
add esi, 0x50
dec ecx
jne 0x415780
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [eax + 0xdd4]
push esi
push edi
push ebx
call fcn.00439440
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0xdd8]
push esi
push edi
push ebx
call fcn.00439440
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.SatouEffect
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x415885
lea eax, [esp + 0x194]
push 0x47e830
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x415856
lea edx, [eax + 0x35c]
mov dword [eax + 0x37c], 1
xor ecx, ecx
mov eax, edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
lea eax, [esp + 0x294]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x415842
mov eax, 1
jmp 0x416a45
xor edx, edx
lea ecx, [eax + 0x35c]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov dword [eax + 0x37c], edx
mov eax, 1
jmp 0x416a45
lea edx, [esp + 0x8c]
push str.Leaf
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x41595e
lea eax, [esp + 0x194]
push 0x47e830
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415935
lea ecx, [esp + 0x294]
push ecx
mov ecx, edi
call fcn.00433990
lea edx, [esp + 0x398]
push edx
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.00433990
fild dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdd8]
push ecx
mov dword [esp + 0x1c], ecx
fstp dword [esp]
lea ecx, [ebx + 0x2a1ea8]
call fcn.0043cfe0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push edx
push 0x78
call fcn.0041bd40
mov eax, 1
mov dword [esi + 0x1f938], 1
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdd8]
call fcn.0041b990
mov eax, 1
mov dword [esi + 0x1f938], 0
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
lea ecx, [esp + 0x8c]
push str.LeafPow
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4159a6
lea edx, [esp + 0x190]
push edx
mov ecx, edi
call fcn.00433990
mov dword [esi + 0x1f980], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xdd8]
call fcn.0041ba00
mov eax, 1
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.Reversal
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x4159f7
lea edx, [esp + 0x194]
push 0x47e830
push edx
call fcn.0045c12a
mov ecx, dword [esp + 0x20]
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [ecx + 0x380], eax
mov eax, 1
jmp 0x416a45
lea edx, [esp + 0x8c]
push 0x47f614
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea eax, [esp + 0x8c]
push 0x47f610
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea ecx, [esp + 0x8c]
push 0x47f60c
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea edx, [esp + 0x8c]
push 0x47f608
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea eax, [esp + 0x8c]
push 0x47f604
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea ecx, [esp + 0x8c]
push 0x47f600
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea edx, [esp + 0x8c]
push 0x47f5fc
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea eax, [esp + 0x8c]
push 0x47f5f8
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415b18
push 0x104
lea ecx, [esp + 0x8c]
push 0x47f5f4
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415b2f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdf4]
lea edx, [esp + 0x190]
push edx
call fcn.004067c0
mov eax, dword [esi + 0x173c0]
mov ecx, eax
mov dword [esp + 0x14], eax
imul ecx, ecx, 0x7b3c
imul eax, eax, 0x54
lea edx, [ecx + esi + 0x5c]
add eax, esi
push 0x104
mov dword [esp + 0x1c], edx
lea ecx, [eax + 0x1f3e4]
lea edx, [esp + 0x8c]
add eax, 0x1f4e0
push str.WinFrame
push edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x415bd5
lea eax, [esp + 0x194]
push 0x47e830
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415bb3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [ecx], 1
mov dword [edx], 1
jmp 0x415bbd
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
push esi
mov ecx, ebx
call fcn.00413400
mov eax, 1
mov dword [ebx + 0x5ba574], eax
jmp 0x416a45
lea ecx, [esp + 0x8c]
push str.WinClear
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415c77
mov edx, dword [esp + 0x14]
add edx, 0x5f7
imul edx, edx, 0x54
mov eax, dword [edx + esi]
cmp eax, 0xffffffff
je 0x415c3d
push eax
lea ecx, [ebx + 0x2a32c4]
call fcn.0043a7a0
push 1
push 0x1e
mov edi, eax
mov eax, dword [esp + 0x20]
push 0x1e
push eax
push edi
lea ecx, [ebx + 0x2b24f4]
call fcn.0041ceb0
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
push edi
mov ecx, ebx
call fcn.00411eb0
push 0x384
push 0
lea edi, [ebx + 0x5ba5d0]
push edi
mov ecx, ebx
call fcn.00410f70
xor eax, eax
mov dword [ebx + 0x5ba5dc], 0
mov ecx, 0x1c24
rep stosd dword es:[edi], eax
push esi
mov ecx, ebx
call fcn.004113c0
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.WinPos
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415d32
mov eax, dword [esp + 0x14]
imul eax, eax, 0x58
cmp dword [eax + esi + 0x17304], 1
mov ebx, 0xa
mov esi, ebx
je 0x415cb6
mov esi, 0x19a
push 0x104
lea eax, [esp + 0x194]
push 0x47f800
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415ce5
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
mov ebx, eax
push 0x104
lea edx, [esp + 0x298]
push 0x47f800
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x415d14
lea eax, [esp + 0x294]
push eax
mov ecx, edi
call fcn.00433990
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], esi
mov eax, 1
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.WinFontColor
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea edx, [esp + 0x8c]
push str.WinFontSize
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea eax, [esp + 0x8c]
push str.WinCurrent
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415db3
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
mov dword [esi + 0x173c0], eax
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.WinSetPry
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415e50
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.00433990
lea ecx, [esp + 0x294]
lea ebx, [eax + eax*4]
push ecx
mov ecx, edi
shl ebx, 1
call fcn.00433990
lea eax, [eax + eax*4]
lea edx, [esp + 0x398]
shl eax, 1
push edx
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.00433990
lea ecx, [ebx + 1]
mov dword [esi + 0x1f424], ecx
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*4]
lea edx, [ecx + 1]
shl eax, 1
mov dword [esi + 0x1f520], ebx
mov dword [esi + 0x1f478], edx
mov dword [esi + 0x1f574], ecx
lea ecx, [eax + 1]
mov dword [esi + 0x1f4cc], ecx
mov dword [esi + 0x1f5c8], eax
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.WinMode
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415ed8
mov eax, dword [esp + 0x14]
imul eax, eax, 0x58
mov ecx, dword [eax + esi + 0x172bc]
mov edx, dword [eax + esi + 0x172c8]
mov edi, dword [eax + esi + 0x172c4]
add eax, esi
mov eax, dword [eax + 0x172c0]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x30], edi
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
mov dword [edx + 0x30], edi
mov edi, dword [esp + 0x38]
mov dword [edx + 0x34], edi
mov edi, dword [esp + 0x18]
mov dword [ecx + 0x38], edi
mov dword [ecx + 0x3c], eax
push esi
mov ecx, ebx
mov dword [edx + 0x38], edi
mov dword [edx + 0x3c], eax
call fcn.00413400
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.MesPos
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415f2e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0x58
mov edx, dword [eax + esi + 0x17308]
add eax, esi
mov eax, dword [eax + 0x1730c]
mov dword [ecx], 1
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
push esi
mov ecx, ebx
call fcn.00413400
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.WinImage
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x415fba
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0xe0c]
mov esi, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x194]
push eax
push esi
mov ecx, ebx
call fcn.00412460
mov eax, dword [esi + 0x2c]
push eax
lea ecx, [ebx + 0x2a32c4]
call fcn.0043a7a0
push 0x80
push 0x80
mov esi, eax
push 0x80
push 0x80
mov ecx, esi
call fcn.00401380
push eax
mov ecx, esi
call fcn.004013b0
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov ecx, ebx
call fcn.00412570
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push 0x47f580
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea eax, [esp + 0x8c]
push 0x47f57c
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea ecx, [esp + 0x8c]
push 0x47f578
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41605e
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416026
sub eax, edx
mov dword [esp + 0x38], eax
je 0x416054
mov eax, dword [ebx + 0x5ba5ac]
test eax, eax
jne 0x416054
lea edx, [esp + 0x190]
push edx
mov ecx, edi
call fcn.00433990
mov dword [ebx + 0x5ba5c8], eax
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.SltAdd
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea ecx, [esp + 0x8c]
push str.SltDel
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea edx, [esp + 0x8c]
push str.SltRun
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4160d9
mov ecx, ebx
call fcn.00410630
push esi
mov ecx, ebx
call fcn.00410880
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.SltMaskAdd
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea ecx, [esp + 0x8c]
push str.SltMaskDel
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea edx, [esp + 0x8c]
push str.SltMaskRun
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416154
mov ecx, ebx
call fcn.00410630
push esi
mov ecx, ebx
call fcn.00410b70
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.SltMaskSet
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41618e
add esi, 0x18588
push esi
lea ecx, [ebx + 0x2b2738]
call fcn.00437030
mov eax, 1
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.SndLoad
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea edx, [esp + 0x8c]
push str.SndPlay
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x4163aa
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x194]
push str.bgm01
push eax
or esi, 0xffffffff
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4161f9
xor esi, esi
push 0x104
lea ecx, [esp + 0x194]
push str.bgm02
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41621c
mov esi, 1
push 0x104
lea edx, [esp + 0x194]
push str.se01
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41623f
mov esi, 2
push 0x104
lea eax, [esp + 0x194]
push str.se02
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416262
mov esi, 3
push 0x104
lea ecx, [esp + 0x194]
push str.se03
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416285
mov esi, 4
push 0x104
lea edx, [esp + 0x194]
push str.voice01
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4162a8
mov esi, 5
push 0x104
lea eax, [esp + 0x194]
push str.voice02
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4162cb
mov esi, 6
push 0x104
lea ecx, [esp + 0x194]
push str.voice03
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4162ee
mov esi, 7
push 0x104
lea edx, [esp + 0x5a4]
push str.FADE
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416314
mov dword [esp + 0x18], 1
push 0x104
lea eax, [esp + 0x5a4]
push str.FADES
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
mov eax, 2
je 0x41633b
mov eax, dword [esp + 0x18]
cmp esi, 0xffffffff
je 0x416535
cmp eax, 2
jne 0x41637f
mov eax, dword [ebx + 0x5ba5ac]
test eax, eax
jne 0x416590
lea ecx, [esp + 0x6a4]
push ecx
mov ecx, edi
call fcn.00433990
push eax
lea edx, [ebx + 0x5ba5b0]
push edx
mov ecx, ebx
call fcn.00410f00
mov eax, 1
jmp 0x416a45
test eax, eax
jne 0x416590
mov eax, dword [edi + 0x1acb8]
imul eax, eax, 0xffffffba
push eax
push esi
mov ecx, edi
call fcn.004343c0
mov ecx, eax
call fcn.0044d0d0
mov eax, 1
jmp 0x416a45
lea ecx, [esp + 0x8c]
push str.SndStop
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x41659a
lea edx, [esp + 0x194]
push str.bgm01
push edx
or esi, 0xffffffff
mov dword [esp + 0x24], eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4163ee
xor esi, esi
push 0x104
lea eax, [esp + 0x194]
push str.bgm02
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416411
mov esi, 1
push 0x104
lea ecx, [esp + 0x194]
push str.se01
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416434
mov esi, 2
push 0x104
lea edx, [esp + 0x194]
push str.se02
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416457
mov esi, 3
push 0x104
lea eax, [esp + 0x194]
push str.se03
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41647a
mov esi, 4
push 0x104
lea ecx, [esp + 0x194]
push str.voice01
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x41649d
mov esi, 5
push 0x104
lea edx, [esp + 0x194]
push str.voice02
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4164c0
mov esi, 6
push 0x104
lea eax, [esp + 0x194]
push str.voice03
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4164e3
mov esi, 7
push 0x104
lea ecx, [esp + 0x298]
push str.FADE
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416509
mov dword [esp + 0x18], 1
push 0x104
lea edx, [esp + 0x298]
push str.FADES
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
mov eax, 2
je 0x416530
mov eax, dword [esp + 0x18]
cmp esi, 0xffffffff
jne 0x41653c
xor eax, eax
jmp 0x416a45
cmp eax, 2
jne 0x416573
mov eax, dword [ebx + 0x5ba5ac]
test eax, eax
jne 0x416590
lea eax, [esp + 0x398]
push eax
mov ecx, edi
call fcn.00433990
push eax
lea ecx, [ebx + 0x5ba5b0]
push ecx
mov ecx, ebx
call fcn.00410f00
mov eax, 1
jmp 0x416a45
test eax, eax
jne 0x416590
mov edx, dword [edi + 0x1acb8]
imul edx, edx, 0xffffffba
push edx
push esi
mov ecx, edi
call fcn.004343c0
mov ecx, eax
call fcn.0044d0d0
mov eax, 1
jmp 0x416a45
lea eax, [esp + 0x8c]
push str.MoviePlay
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416704
mov ax, word [0x47f4b8]
mov edx, dword [str.Movie_]
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov cl, byte [0x47f4ba]
mov word [esp + 0x6c], ax
lea eax, [esp + 0x190]
mov dword [esp + 0x68], edx
mov byte [esp + 0x6e], cl
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x416607
lea edi, [esp + 0x68]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x416615
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [edx + 0xa7c]
and ecx, 3
cmp eax, 1
rep movsb byte es:[edi], byte [esi]
je 0x4166fa
mov esi, edx
mov ecx, esi
call fcn.00448590
mov ecx, eax
call fcn.00447650
mov ecx, eax
call fcn.0043c7d0
test eax, eax
je 0x4166a2
mov ecx, dword [esi + 0xddc]
lea eax, [esp + 0x68]
push eax
call fcn.00420f50
cmp al, 1
jne 0x4166fa
test ebx, ebx
je 0x41667f
lea eax, [ebx + 0xac]
jmp 0x416681
xor eax, eax
mov ecx, dword [esi + 0xddc]
push eax
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [esi + 0xddc]
push 1
call fcn.0040e580
jmp 0x4166e3
mov ecx, dword [esi + 0xde0]
lea edx, [esp + 0x68]
push edx
call fcn.00421500
cmp al, 1
jne 0x4166fa
test ebx, ebx
je 0x4166c2
lea eax, [ebx + 0xac]
jmp 0x4166c4
xor eax, eax
mov ecx, dword [esi + 0xde0]
push eax
add ecx, 0xac
call fcn.004217c0
mov ecx, dword [esi + 0xde0]
push 1
call fcn.00421240
lea ecx, [ebx + 0xac]
push 1
call fcn.004217d0
mov dword [ebx + 0x5ba578], 0
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.CursorSet
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea ecx, [esp + 0x8c]
push str.SystemIcon
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
push 0x104
jne 0x416773
lea edx, [esp + 0x194]
push 0x47e830
push edx
call fcn.0045c12a
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x1f894], eax
mov eax, 1
jmp 0x416a45
lea eax, [esp + 0x8c]
push str.TitleReturn
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4167d5
mov ecx, ebx
call fcn.00412bf0
push 0x104
lea ecx, [esp + 0x194]
push str.MENU
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x4167c5
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0xd60]
mov dword [eax + 0xb4], 9
mov eax, 1
mov dword [edi + 0x1acf4], eax
jmp 0x416a45
push 0x104
lea ecx, [esp + 0x8c]
push str.WaitIcon
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea edx, [esp + 0x8c]
push str.SysLock
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416859
push 0x104
lea eax, [esp + 0x8c]
push str.DayDsp
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
je 0x416851
push 0x104
lea ecx, [esp + 0x8c]
push 0x47f468
push ecx
call fcn.0045c12a
add esp, 0xc
test eax, eax
jne 0x416859
push esi
mov ecx, ebx
call fcn.00413400
mov eax, 1
jmp 0x416a45
push 0x104
lea edx, [esp + 0x8c]
push str.ChrSetXY
push edx
call fcn.0045c12a
add esp, 0xc
test eax, eax
mov ebx, 1
je 0x41688a
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x190]
push eax
mov ecx, edi
call fcn.00433990
xor ecx, ecx
cmp ebx, 1
jne 0x4168a3
lea ecx, [eax + 1]
mov edx, dword [esp + 0x14]
imul ecx, ecx, 0x54
add ecx, edx
cmp ebx, 1
mov esi, ecx
jne 0x416921
lea ecx, [esp + 0x294]
push ecx
mov ecx, edi
call fcn.00433990
lea edx, [esp + 0x398]
push edx
mov ecx, edi
mov dword [esi + 0x30], eax
call fcn.00433990
mov dword [esi + 0x34], eax
lea eax, [esp + 0x49c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4168e5
sub eax, edx
mov dword [esp + 0x38], eax
je 0x416910
lea eax, [esp + 0x49c]
push eax
mov ecx, edi
call fcn.00433990
mov dword [esi + 0x44], eax
mov eax, 1
jmp 0x416a45
mov dword [esi + 0x44], 0x64
mov eax, 1
jmp 0x416a45
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x294]
push edx
mov ecx, edi
mov dword [esi + 0x354], eax
call fcn.00433990
mov dword [esi + 0x358], eax
mov eax, 1
jmp 0x416a45
push 0x104
lea eax, [esp + 0x8c]
push str.ChrSet
push eax
call fcn.0045c12a
add esp, 0xc
test eax, eax
mov esi, 1
jne 0x416980
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ecx, esi
jne 0x41699a
lea ecx, [esp + 0x190]
push ecx
mov ecx, edi
call fcn.00433990
inc eax
mov ecx, dword [esp + 0x14]
mov edx, eax
imul edx, edx, 0x54
lea eax, [eax + eax*2 + 0x21]
shl eax, 4
add eax, ecx
add edx, ecx
mov dword [eax], 0
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x15e0]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, esi
jne 0x4169f0
mov edi, edi
mov al, byte [esp + edi + 0x190]
mov byte [esp + edi + 0x15e0], al
inc edi
test al, al
jne 0x4169d0
jmp 0x416a03
mov al, byte [esp + edi + 0x190]
mov byte [esp + edi + 0x15e0], al
inc edi
test al, al
jne 0x4169f0
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0xe0c]
push ecx
lea eax, [esp + 0x15e4]
push eax
push edx
mov ecx, ebx
call fcn.00412460
mov ecx, dword [edi + 0xe0c]
lea edx, [esp + 0x15e0]
push edx
call fcn.0044f620
test eax, eax
je 0x416a43
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x1cc38], esi
mov eax, esi
mov ecx, dword [esp + 0x1934]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x192c]
call fcn.0045a5f9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4