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

Disassembly:
sub esp, 0xe8
mov eax, dword [0x45e1ac]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [0x461028]
push 0x7f
lea eax, [esp + 0x79]
push 0
push eax
mov byte [esp + 0x80], 0
call fcn.0043c7b0
add esp, 0xc
lea ebx, [edi + 4]
mov dword [esp + 0x10], 2
jmp 0x40ad90
mov ebp, 7
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40adaf
mov esi, eax
call fcn.00404930
jmp 0x40adb1
xor eax, eax
mov dword [ebx], eax
add ebx, 4
sub ebp, 1
jne 0x40ad95
sub dword [esp + 0x10], 1
jne 0x40ad90
lea ebx, [edi + 0x3c]
mov ebp, 0x23
lea ebx, [ebx]
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40adea
mov esi, eax
call fcn.00404930
jmp 0x40adec
xor eax, eax
mov dword [ebx], eax
add ebx, 4
sub ebp, 1
jne 0x40add0
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x14], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x28], 0x45814c
mov dword [esp + 0x2c], 0x4585b0
jmp 0x40ae20
mov eax, dword [esp + 0x14]
lea ecx, [eax*8]
xor esi, esi
sub ecx, eax
add ecx, 0x32
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ecx
lea ebx, [ebx]
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40ae5e
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x1c]
jmp 0x40ae60
xor eax, eax
mov edx, dword [esp + 0x10]
add edx, esi
lea ecx, [edi + edx*4]
mov dword [esp + 0x20], ecx
mov dword [ecx], eax
test esi, esi
jne 0x40aead
cmp dword [esp + 0x14], esi
jne 0x40ae85
push str.BG01.spring_particle.pak
lea eax, [esp + 0x78]
push eax
jmp 0x40ae8f
push str.BG01.spring_night_particle.pak
lea ecx, [esp + 0x78]
push ecx
call fcn.0043b874
mov edx, dword [esp + 0x18]
mov eax, dword [edi + edx*4]
add esp, 8
push eax
lea eax, [esp + 0x78]
call fcn.00404e10
jmp 0x40af36
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x28]
push esi
push edx
lea eax, [esp + 0x7c]
push str.AddnewBO_spring_bg_obj_add__s_02d.pak
push eax
call fcn.0043b874
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea edx, [esp + 0x8c]
push edx
call ebp
push 0
lea ecx, [esp + 0x28]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
mov dword [esi + 0x3e8], eax
mov esi, dword [esp + 0x20]
add esp, 4
inc esi
cmp esi, 7
mov dword [esp + 0x1c], esi
jl 0x40ae40
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x40ae20
xor eax, eax
lea esi, [edi + 0x100]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
jmp 0x40af70
mov eax, dword [esp + eax*4 + 0x28]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], esi
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40afa2
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x10]
jmp 0x40afa4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov dword [esi], eax
lea eax, [esp + 0x7c]
push str.AddnewBO_summer_bg_obj_add__s_02d.pak
push eax
call fcn.0043b874
mov esi, dword [esi]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x8c]
push ecx
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
mov dword [esi + 0x3e8], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
inc eax
add esi, 4
add esp, 4
cmp eax, 9
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
jl 0x40af84
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x40af70
mov dword [esp + 0x14], 0
mov edi, edi
mov eax, dword [esp + 0x14]
imul eax, eax, 0xb
xor esi, esi
add eax, 0x52
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40b092
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x1c]
jmp 0x40b094
xor eax, eax
mov ecx, dword [esp + 0x10]
add ecx, esi
lea ecx, [edi + ecx*4]
mov dword [esp + 0x20], ecx
mov dword [ecx], eax
test esi, esi
jne 0x40b0e1
cmp dword [esp + 0x14], esi
jne 0x40b0b9
push str.BG03.fall_particle.pak
lea edx, [esp + 0x78]
push edx
jmp 0x40b0c3
push str.BG03.fall_night_particle.pak
lea eax, [esp + 0x78]
push eax
call fcn.0043b874
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ecx*4]
add esp, 8
push edx
lea eax, [esp + 0x78]
call fcn.00404e10
jmp 0x40b16a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x28]
push esi
push ecx
lea edx, [esp + 0x7c]
push str.AddnewBOAutumn_bg_obj_add__s_02d.pak
push edx
call fcn.0043b874
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x8c]
push ecx
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
mov dword [esi + 0x3e8], eax
mov esi, dword [esp + 0x20]
add esp, 4
inc esi
cmp esi, 0xb
mov dword [esp + 0x1c], esi
jl 0x40b074
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x40b060
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
imul eax, eax, 0xb
xor esi, esi
add eax, 0x68
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40b1c4
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x1c]
jmp 0x40b1c6
xor eax, eax
mov ecx, dword [esp + 0x10]
add ecx, esi
lea ecx, [edi + ecx*4]
mov dword [esp + 0x20], ecx
mov dword [ecx], eax
test esi, esi
jne 0x40b213
cmp dword [esp + 0x14], esi
jne 0x40b1eb
push str.BGwinter_snow.pak
lea edx, [esp + 0x78]
push edx
jmp 0x40b1f5
push str.BG04.winter_particle.pak
lea eax, [esp + 0x78]
push eax
call fcn.0043b874
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + ecx*4]
add esp, 8
push edx
lea eax, [esp + 0x78]
call fcn.00404e10
jmp 0x40b29c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x28]
push esi
push ecx
lea edx, [esp + 0x7c]
push str.AddnewBOwinter_bg_obj_add__s_02d.pak
push edx
call fcn.0043b874
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x8c]
push ecx
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
mov dword [esi + 0x3e8], eax
mov esi, dword [esp + 0x20]
add esp, 4
inc esi
cmp esi, 0xb
mov dword [esp + 0x1c], esi
jl 0x40b1a6
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x40b192
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], str.01_sakura
mov dword [esp + 0x34], str.02_king
mov dword [esp + 0x38], str.03_girl
mov dword [esp + 0x3c], str.04_subject
mov dword [esp + 0x40], str.05_left_one
mov dword [esp + 0x44], str.06_left_two
mov dword [esp + 0x48], str.07_left_three
mov dword [esp + 0x4c], str.08_right_one
mov dword [esp + 0x50], str.09_right_two
mov dword [esp + 0x54], str.10_right_three
mov dword [esp + 0x58], str.11_many
mov dword [esp + 0x5c], str.12_light
mov dword [esp + 0x60], str.castle_room_obj_01
mov dword [esp + 0x64], str.castle_room_obj_02
mov dword [esp + 0x68], str.castle_room_obj_03
mov dword [esp + 0x6c], str.castle_room_obj_04
mov dword [esp + 0x70], str.castle_room_obj_05
mov ecx, eax
xor esi, esi
shl ecx, 4
add ecx, eax
lea edx, [edi + ecx*4 + 0x1f8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edx
jmp 0x40b370
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40b38e
mov esi, eax
call fcn.00404930
mov esi, dword [esp + 0x1c]
jmp 0x40b390
xor eax, eax
cmp dword [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jne 0x40b3ae
mov edx, dword [esp + esi*4 + 0x30]
push edx
push str.AddnewBO_s.pak
lea eax, [esp + 0x7c]
push eax
jmp 0x40b3bd
mov ecx, dword [esp + esi*4 + 0x30]
push ecx
push str.AddnewBO_s_n.pak
lea edx, [esp + 0x7c]
push edx
call fcn.0043b874
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [esp + 0x8c]
push ecx
call ebp
push 0
lea edx, [esp + 0x1c]
push edx
push 4
lea ecx, [esi + 0x3e0]
push ecx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add dword [esp + 0x14], 4
mov dword [esi + 0x3e8], eax
mov esi, dword [esp + 0x20]
inc esi
add esp, 4
cmp esi, 0x11
mov dword [esp + 0x1c], esi
jl 0x40b370
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 2
mov dword [esp + 0x14], eax
jl 0x40b350
mov esi, dword [edi + 4]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.BG01.spring.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x20]
push str.BG01.spring_night.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 8]
push str.BG02.summer_v2_nomal.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
mov dword [esi + 0x424], 0
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x24]
push str.BG02.summer_v2_night.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0xc]
push str.BG03.fall.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x28]
push str.BG03.fall_night.pak
call ebp
mov dword [esi + 0x3cc], eax
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x10]
push str.AddnewBG04.winter.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x2c]
push str.AddnewBG04.winter_night.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x18]
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.AddnewBO01.spring_v2.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x34]
push str.AddnewBO01.spring_v2_night.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x14]
push str.BG02.summer_v2_sunset.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
mov dword [esi + 0x424], 0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x1c]
push str.AddnewBG05.castle_room.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x38]
push str.AddnewBG05.castle_room_night.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x3c]
push str.BG03.fall_ship.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esi + 0x3cc], eax
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0x40]
push str.BG03.fall_ship_night.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0xbc]
push str.AddnewBO_summer_bg_obj_add_10.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0xc4]
push 0
push 0x80000000
push str.AddnewBO_summer_bg_obj_add_s_10.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov dword [esi + 0x3e8], eax
mov esi, dword [edi + 0xc0]
push str.AddnewBO_summer_bg_obj_add_n_10.pak
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esi + 0x3e0]
push edx
push eax
mov dword [esi + 0x3cc], eax
call ebx
xor ecx, ecx
mov eax, 0x300
mov edx, 2
mul edx
seto cl
mov dword [esi + 0x424], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043b07e
mov dword [esi + 0x3e8], eax
mov eax, dword [edi + 0xb0]
add esp, 4
push eax
mov eax, str.AddnewBO_summer_bg_obj_add_11.pak
call fcn.00404e10
mov ecx, dword [edi + 0xb8]
push ecx
mov eax, str.AddnewBO_summer_bg_obj_add_s_11.pak
call fcn.00404e10
mov edx, dword [edi + 0xb4]
push edx
mov eax, str.AddnewBO_summer_bg_obj_add_n_11.pak
call fcn.00404e10
mov eax, dword [edi + 0x44]
push eax
mov eax, str.AddnewBOjaws_01.pak
call fcn.00404e10
mov ecx, dword [edi + 0x48]
push ecx
mov eax, str.AddnewBOjaws_02.pak
call fcn.00404e10
mov edx, dword [edi + 0x4c]
push edx
mov eax, str.AddnewBOjaws_03.pak
call fcn.00404e10
mov eax, dword [edi + 0x50]
push eax
mov eax, str.AddnewBO_fall_bg_obj_character_hime.pak
call fcn.00404e10
mov ecx, dword [edi + 0x54]
push ecx
mov eax, str.AddnewBO_fall_bg_obj_fish_01.pak
call fcn.00404e10
mov edx, dword [edi + 0x58]
push edx
mov eax, str.AddnewBO_fall_bg_obj_fish_gold_01.pak
call fcn.00404e10
mov eax, dword [edi + 0x5c]
push eax
mov eax, str.AddnewBO_fall_bg_obj_RCC_01.pak
call fcn.00404e10
mov ecx, dword [edi + 0x60]
push ecx
mov eax, str.AddnewBO_spring_bg_obj_deer_01.pak
call fcn.00404e10
mov edx, dword [edi + 0x64]
push edx
mov eax, str.AddnewBO_spring_bg_obj_deer_02.pak
call fcn.00404e10
mov eax, dword [edi + 0x68]
push eax
mov eax, str.AddnewBO_spring_bg_obj_fish_01.pak
call fcn.00404e10
mov ecx, dword [edi + 0x6c]
push ecx
mov eax, str.AddnewBO_spring_bg_obj_ninja_01.pak
call fcn.00404e10
mov edx, dword [edi + 0x70]
push edx
mov eax, str.AddnewBO_spring_bg_obj_ninja_02.pak
call fcn.00404e10
mov eax, dword [edi + 0x74]
push eax
mov eax, str.AddnewBO_spring_bg_obj_RCC_01.pak
call fcn.00404e10
mov ecx, dword [edi + 0x78]
push ecx
mov eax, str.AddnewBO_summer_bg_obj_RCC_01.pak
call fcn.00404e10
mov edx, dword [edi + 0x7c]
push edx
mov eax, str.AddnewBO_summer_bg_obj_whale_01.pak
call fcn.00404e10
mov eax, dword [edi + 0x80]
push eax
mov eax, str.AddnewBOwinter_bg_obj_deer_01.pak
call fcn.00404e10
mov ecx, dword [edi + 0x84]
push ecx
mov eax, str.AddnewBOwinter_bg_obj_butler.pak
call fcn.00404e10
mov edx, dword [edi + 0x88]
push edx
mov eax, str.AddnewBOwinter_bg_obj_crow_01.pak
call fcn.00404e10
mov eax, dword [edi + 0x8c]
push eax
mov eax, str.AddnewBOwinter_bg_obj_crow_02.pak
call fcn.00404e10
mov ecx, dword [edi + 0x90]
push ecx
mov eax, str.AddnewBOwinter_bg_obj_crow_03.pak
call fcn.00404e10
mov edx, dword [edi + 0x94]
push edx
mov eax, str.AddnewBOwinter_bg_obj_crow_04.pak
call fcn.00404e10
mov eax, dword [edi + 0x98]
push eax
mov eax, str.AddnewBOwinter_bg_obj_crow_in.pak
call fcn.00404e10
mov ecx, dword [edi + 0x9c]
push ecx
mov eax, str.AddnewBOwinter_bg_obj_crow_out.pak
call fcn.00404e10
mov edx, dword [edi + 0xa4]
push edx
mov eax, str.AddnewBOwinter_bg_obj_deer_in.pak
call fcn.00404e10
mov eax, dword [edi + 0xa8]
push eax
mov eax, str.AddnewBOwinter_bg_obj_deer_loop.pak
call fcn.00404e10
mov ecx, dword [edi + 0xac]
push ecx
mov eax, str.AddnewBOwinter_bg_obj_deer_out.pak
call fcn.00404e10
mov edx, dword [edi + 0xa0]
push edx
mov eax, str.AddnewBOwinter_bg_obj_RCC_01.pak
call fcn.00404e10
push 0x42c
call fcn.0043b07e
add esp, 4
test eax, eax
je 0x40bd41
mov esi, eax
call fcn.00404930
jmp 0x40bd43
xor eax, eax
mov dword [edi + 0x280], eax
push eax
mov eax, str.BGSummer_Tree.pak
call fcn.00404e10
xor eax, eax
mov dword [edi + 0x2d8], eax
mov dword [edi + 0x2dc], eax
mov dword [edi + 0x2e0], eax
mov dword [edi + 0x2e4], eax
mov dword [edi + 0x2e8], eax
xor ebp, ebp
mov dword [edi + 0x2ec], eax
call fcn.0043bdf0
cdq
mov ecx, 0xd2
idiv ecx
push 0xd8
lea eax, [edi + 0x2f0]
push ebp
push eax
add edx, 5
mov dword [edi + 0x2ec], edx
call fcn.0043c7b0
mov eax, dword [edi + 0x3cc]
add esp, 0xc
cmp eax, 5
ja case.default.0x40bdb6
jmp dword [eax*4 + 0x40c2a4]
mov edx, dword [edi + 0xc8]
mov eax, 1
mov word [edx + 0x408], ax
mov esi, dword [edi + 0xc8]
mov eax, esi
call fcn.00404cf0
cmp dword [esi + 0x3cc], ebp
je 0x40be14
mov eax, dword [esi + 0x3ec]
cmp eax, ebp
je 0x40bdfd
push eax
call fcn.0043a7f1
add esp, 4
mov dword [esi + 0x3ec], ebp
mov ecx, dword [esi + 0x3cc]
push ebp
push ebp
push 4
push ecx
mov dword [esi + 0x424], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebx, [edi + 0xcc]
mov dword [esp + 0x10], 6
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40be33
dec eax
or eax, 0xfffffffe
inc eax
jne 0x40be84
mov esi, dword [ebx]
mov eax, esi
call fcn.00404cf0
cmp dword [esi + 0x3cc], ebp
je 0x40be76
mov eax, dword [esi + 0x3ec]
cmp eax, ebp
je 0x40be5f
push eax
call fcn.0043a7f1
add esp, 4
mov dword [esi + 0x3ec], ebp
mov edx, dword [esi + 0x3cc]
push ebp
push ebp
push 4
push edx
mov dword [esi + 0x424], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebx]
mov ecx, 1
mov word [eax + 0x408], cx
mov esi, 1
add ebx, 4
sub dword [esp + 0x10], esi
jne 0x40be22
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40bea3
dec eax
or eax, 0xfffffffe
inc eax
jne case.default.0x40bdb6
xor ecx, ecx
lea eax, [edi + 0x2f0]
cmp byte [eax], 0
je 0x40bec5
add ecx, esi
add eax, 0x24
cmp ecx, 6
jl 0x40beb1
jmp case.default.0x40bdb6
lea edx, [ecx + ecx*8]
lea eax, [edi + edx*4]
mov dword [eax + 0x2f8], 0xb
fldz
fst dword [eax + 0x2fc]
fstp dword [eax + 0x300]
mov byte [eax + 0x2f1], 1
mov byte [eax + 0x2f0], 1
mov dword [eax + 0x304], ebp
mov dword [eax + 0x30c], esi
mov dword [eax + 0x308], ebp
mov dword [eax + 0x310], ebp
lea eax, [ecx + ecx*8 + 0xbd]
mov dword [edi + eax*4], esi
jmp case.default.0x40bdb6
mov edi, dword [esp + 0x24]
mov ebx, 9
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40bf32
dec eax
or eax, 0xfffffffe
inc eax
jne 0x40bf85
mov esi, dword [edi]
mov eax, esi
call fcn.00404cf0
cmp dword [esi + 0x3cc], ebp
je 0x40bf75
mov eax, dword [esi + 0x3ec]
cmp eax, ebp
je 0x40bf5e
push eax
call fcn.0043a7f1
add esp, 4
mov dword [esi + 0x3ec], ebp
mov ecx, dword [esi + 0x3cc]
push ebp
push ebp
push 4
push ecx
mov dword [esi + 0x424], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [edi]
mov eax, 1
mov word [edx + 0x408], ax
jmp 0x40bf90
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + 0x408], dx
add edi, 4
sub ebx, 1
jne 0x40bf21
jmp case.default.0x40bdb6
mov eax, dword [edi + 0x148]
mov ecx, 1
mov word [eax + 0x408], cx
lea ebx, [edi + 0x14c]
mov dword [esp + 0x10], 0xa
lea ecx, [ecx]
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40bfd1
dec eax
or eax, 0xfffffffe
inc eax
jne 0x40c024
mov esi, dword [ebx]
mov eax, esi
call fcn.00404cf0
cmp dword [esi + 0x3cc], ebp
je 0x40c014
mov eax, dword [esi + 0x3ec]
cmp eax, ebp
je 0x40bffd
push eax
call fcn.0043a7f1
add esp, 4
mov dword [esi + 0x3ec], ebp
mov edx, dword [esi + 0x3cc]
push ebp
push ebp
push 4
push edx
mov dword [esi + 0x424], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebx]
mov ecx, 1
mov word [eax + 0x408], cx
jmp 0x40c02f
mov edx, dword [ebx]
xor eax, eax
mov word [edx + 0x408], ax
add ebx, 4
sub dword [esp + 0x10], 1
jne 0x40bfc0
xor ecx, ecx
lea eax, [edi + 0x2f0]
lea esi, [ecx + 1]
cmp byte [eax], 0
je 0x40c055
add ecx, esi
add eax, 0x24
cmp ecx, 6
jl 0x40c044
jmp 0x40c0a5
fldz
lea edx, [ecx + ecx*8]
lea eax, [edi + edx*4]
fstp dword [eax + 0x2fc]
fldz
mov byte [eax + 0x2f0], 1
fstp dword [eax + 0x300]
mov byte [eax + 0x2f1], 1
mov dword [eax + 0x2f8], 6
mov dword [eax + 0x304], ebp
mov dword [eax + 0x30c], esi
mov dword [eax + 0x308], ebp
mov dword [eax + 0x310], ebp
lea eax, [ecx + ecx*8 + 0xbd]
mov dword [edi + eax*4], esi
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40c0b6
dec eax
or eax, 0xfffffffe
inc eax
jne 0x40c11f
xor ecx, ecx
lea eax, [edi + 0x2f0]
cmp byte [eax], 0
je 0x40c0d1
add ecx, esi
add eax, 0x24
cmp ecx, 6
jl 0x40c0c0
jmp 0x40c11f
fldz
lea edx, [ecx + ecx*8]
lea eax, [edi + edx*4]
fst dword [eax + 0x2fc]
fstp dword [eax + 0x300]
mov byte [eax + 0x2f0], 1
mov byte [eax + 0x2f1], 1
mov dword [eax + 0x2f8], 7
mov dword [eax + 0x304], ebp
mov dword [eax + 0x30c], esi
mov dword [eax + 0x308], ebp
mov dword [eax + 0x310], ebp
lea eax, [ecx + ecx*8 + 0xbd]
mov dword [edi + eax*4], esi
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40c130
dec eax
or eax, 0xfffffffe
inc eax
jne case.default.0x40bdb6
xor ecx, ecx
lea eax, [edi + 0x2f0]
mov edi, edi
cmp byte [eax], 0
je 0x40c154
add ecx, esi
add eax, 0x24
cmp ecx, 6
jl 0x40c140
jmp case.default.0x40bdb6
lea edx, [ecx + ecx*8]
lea eax, [edi + edx*4]
mov dword [eax + 0x2f8], 5
jmp 0x40bed5
mov ecx, dword [edi + 0x1a0]
mov edx, 1
mov word [ecx + 0x408], dx
lea ebx, [edi + 0x1a4]
mov dword [esp + 0x10], 0xa
lea esp, [esp]
call fcn.0043bdf0
and eax, 0x80000001
jns 0x40c1a1
dec eax
or eax, 0xfffffffe
inc eax
jne 0x40c1f4
mov esi, dword [ebx]
mov eax, esi
call fcn.00404cf0
cmp dword [esi + 0x3cc], ebp
je 0x40c1e4
mov eax, dword [esi + 0x3ec]
cmp eax, ebp
je 0x40c1cd
push eax
call fcn.0043a7f1
add esp, 4
mov dword [esi + 0x3ec], ebp
mov eax, dword [esi + 0x3cc]
push ebp
push ebp
push 4
push eax
mov dword [esi + 0x424], ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebx]
mov edx, 1
mov word [ecx + 0x408], dx
jmp 0x40c1ff
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax + 0x408], cx
add ebx, 4
sub dword [esp + 0x10], 1
jne 0x40c190
call fcn.0043bdf0
cdq
mov ecx, 5
idiv ecx
test edx, edx
jne case.default.0x40bdb6
xor ecx, ecx
lea eax, [edi + 0x2f0]
cmp byte [eax], 0
je 0x40c232
inc ecx
add eax, 0x24
cmp ecx, 6
jl 0x40c222
jmp case.default.0x40bdb6
fldz
lea edx, [ecx + ecx*8]
lea eax, [edi + edx*4]
fst dword [eax + 0x2fc]
fstp dword [eax + 0x300]
mov byte [eax + 0x2f0], 1
mov byte [eax + 0x2f1], 1
mov dword [eax + 0x2f8], 0x12
mov dword [eax + 0x304], ebp
mov dword [eax + 0x30c], 1
mov dword [eax + 0x308], ebp
mov dword [eax + 0x310], ebp
lea eax, [ecx + ecx*8 + 0xbd]
mov dword [edi + eax*4], 1
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043a7e2
add esp, 0xe8
ret