Function at 0x457390
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68d2b7
mov eax, dword fs:[0]
push eax
sub esp, 0xa24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70c004]
xor eax, esp
push eax
lea eax, [esp + 0xa38]
mov dword fs:[0], eax
mov esi, ecx
push 0x1d
xor ebx, ebx
mov edi, 0xf
push str.bg_bg_007_000_000_000_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004051a0
push ebx
push 1
mov dword [esp + 0xa48], ebx
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x140]
lea ecx, [esi + 0xc]
push 0x15
lea edx, [esp + 0x24]
push edx
call eax
mov ebp, 0x10
mov dword [esp + 0xa40], 0xffffffff
cmp dword [esp + 0x30], ebp
jb 0x45742a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045c06d
add esp, 4
push 0x14
push str.MsgWinSquareFilename
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004051a0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0xa48], 1
call fcn.0046f7b8
mov ecx, eax
call fcn.004704b6
push ebx
push 1
mov byte [esp + 0xa48], 2
mov edx, dword [esi + 0xa0]
lea ecx, [esi + 0xa0]
push 0x15
push eax
mov eax, dword [edx + 0x140]
call eax
cmp dword [esp + 0x68], ebp
jb 0x45749c
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0045c06d
add esp, 4
mov dword [esp + 0xa40], 0xffffffff
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
cmp dword [esp + 0x30], ebp
jb 0x4574c6
mov edx, dword [esp + 0x1c]
push edx
call fcn.0045c06d
add esp, 4
push 0xe
push str.obj_sakura.bmp
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.004051a0
push 1
push 1
mov dword [esp + 0xa48], 3
mov eax, dword [esi + 0x134]
mov eax, dword [eax + 0x140]
lea ecx, [esi + 0x134]
push 0x15
lea edx, [esp + 0x40]
push edx
call eax
mov dword [esp + 0xa40], 0xffffffff
cmp dword [esp + 0x4c], ebp
jb 0x45752a
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0045c06d
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.004deea9
mov dword [esp + 0xa40], 4
call dword [0x6943b0]
push eax
lea ecx, [esp + 0x70]
call fcn.004dee67
add esi, 0x1cc
mov edi, 0x32
push 0x5a
lea ecx, [esp + 0x70]
call fcn.004defd9
sub eax, 0x2d
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push 0x8ca0
lea ecx, [esp + 0x70]
fstp dword [esi - 4]
call fcn.004defd9
mov edx, eax
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
test edx, edx
jge 0x4575aa
fadd dword [0x6cfbe0]
push 0x1f400
fstp dword [esi]
lea ecx, [esp + 0x70]
call fcn.004defd9
mov ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
test edx, edx
jge 0x4575d8
fadd dword [0x6cfbe0]
push 0x11940
fstp dword [esi + 4]
lea ecx, [esp + 0x70]
call fcn.004defd9
mov edx, eax
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
test edx, edx
jge 0x457607
fadd dword [0x6cfbe0]
fstp dword [esi + 8]
add esi, ebp
sub edi, 1
jne 0x457565
lea ecx, [esp + 0x6c]
mov dword [esp + 0xa40], 0xffffffff
call fcn.004dee60
mov ecx, dword [esp + 0xa38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret