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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66769f
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x13958]
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
mov ecx, dword [eax + 0xdf480]
mov edx, dword [eax + 0x1395c]
fdiv qword [0x6a1590]
xor ebx, ebx
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x34]
cmp ecx, ebx
je 0x40159b
mov ecx, dword [ecx + 0xc]
jmp 0x40159d
xor ecx, ecx
mov edx, dword [ecx + 0x2c0]
mov ecx, dword [ecx + 0x2c4]
mov byte [eax + 0xdf488], bl
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x2d90], ebx
mov dword [esi + 0x2d94], ebx
cmp byte [0xf6273c], bl
je 0x4015d7
push 0x350
call fcn.0062d956
jmp 0x4015fb
cmp dword [0xf62698], ebx
jne 0x4015f1
mov byte [0xf6273c], 1
call fcn.0046ef62
mov byte [0xf6273c], bl
push 0x350
call fcn.0046eda1
mov dword [esp + 0x18], eax
add esp, 4
mov dword [esp + 0xb8], ebx
cmp eax, ebx
je 0x401618
mov edi, dword [esi + 8]
push eax
call fcn.00445390
jmp 0x40161a
xor eax, eax
mov dword [esp + 0xb8], 0xffffffff
mov edx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
lea ecx, [esi + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [edx]
call eax
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x1218]
mov ebx, 9
mov dword [esi + 0x20], eax
call fcn.0041c2c0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
push 0x1d
mov ebx, 0xf
xor edi, edi
push str.bg_bg_000_000_000_000_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 1
mov edx, dword [esi + 0x155c]
mov edx, dword [edx + 0x140]
lea ecx, [esi + 0x155c]
push 0x15
lea eax, [esp + 0x24]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x4016c3
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obje000_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 2
mov edx, dword [esi + 0x15f0]
mov edx, dword [edx + 0x140]
lea ecx, [esi + 0x15f0]
push 0x15
lea eax, [esp + 0x24]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x401728
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046efcb
add esp, 4
push 0x16
push str.sys_3obje600_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 3
mov edx, dword [esi + 0x1684]
mov edx, dword [edx + 0x140]
lea ebx, [esi + 0x1684]
push 0x15
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x40178f
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046efcb
add esp, 4
mov eax, 1
mov ecx, eax
mov dword [esi + 0x171c], ebx
mov dword [esi + 0x1720], eax
mov dword [esi + 0x1724], ecx
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x20e8]
cmp eax, ecx
jne 0x40181e
push 0x10
push str.objm000_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 4
mov edx, dword [esi + 0x1728]
mov edx, dword [edx + 0x140]
lea ecx, [esi + 0x1728]
push 0x15
lea eax, [esp + 0x24]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x40181e
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046efcb
add esp, 4
push 0x16
push str.sys_3obj_f003_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00404c00
push edi
push 1
mov dword [esp + 0xc0], 5
mov edx, dword [esi + 0x17bc]
mov edx, dword [edx + 0x140]
lea ecx, [esi + 0x17bc]
push 0x15
lea eax, [esp + 0x24]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x401887
mov eax, dword [esp + 0x1c]
push eax
call fcn.0046efcb
add esp, 4
fld dword [esp + 0x34]
xor ebx, ebx
fmul qword [0x6a1548]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], 4
mov dword [esp + 0x5c], 2
mov dword [esp + 0x4c], 5
call fcn.00631650
mov dword [esp + 0x50], eax
lea edi, [esi + 0x1850]
mov edi, edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x5c]
push eax
mov edx, dword [edi]
push ebx
mov edx, dword [edx + 0x84]
mov eax, 3
push eax
push ebx
push ecx
push ebx
mov eax, 1
push eax
push ebx
xor eax, eax
push eax
mov eax, dword [esp + 0x70]
push ebx
push eax
mov eax, 3
push eax
lea eax, [esi + 0x17bc]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 0
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 1
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0
mov ecx, edi
call edx
fild dword [esp + 0x14]
fmul qword [0x6a18b0]
fadd qword [0x6a23a8]
fmul dword [esp + 0x34]
call fcn.00631650
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x54]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x38]
lea ecx, [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x3c]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, edi
call edx
fild dword [eax]
fmul dword [esp + 0x34]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x14]
lea ecx, [esp + 0x9c]
add eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x34]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x24], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
push 0
push edi
lea eax, [esi + 0x19b8]
push eax
call fcn.00442680
inc ebx
add edi, 0x78
mov dword [esp + 0x14], ebx
cmp ebx, 3
jb 0x4018c0
push 0x10
xor ebx, ebx
push str.obje002_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404c00
push ebx
mov dword [esp + 0xbc], 6
mov eax, dword [esi + 0x19f0]
mov eax, dword [eax + 0x140]
lea ecx, [esi + 0x19f0]
push 1
push 0x15
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x58], ecx
call eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x401afb
cmp byte [0xf6273d], bl
je 0x401aba
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0062da20
add esp, 4
jmp 0x401afb
mov edx, dword [esp + 0x1c]
mov esi, dword [0xf62698]
push edx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x401af8
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x401aeb
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
fld dword [esp + 0x34]
mov dword [esp + 0x14], ebx
fmul qword [0x6a1f20]
call fcn.00631650
mov dword [esp + 0x54], eax
lea edi, [esi + 0x1a84]
jmp 0x401b20
mov edx, dword [edi]
mov edx, dword [edx + 0x84]
mov eax, 4
push eax
push ebx
mov eax, 3
push eax
push ebx
mov eax, 2
push eax
push ebx
mov eax, 1
push eax
push ebx
xor eax, eax
push eax
push ebx
mov eax, 5
push eax
mov eax, 0xa
push eax
mov eax, dword [esp + 0x78]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 0
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 1
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0
mov ecx, edi
call edx
fild dword [esp + 0x14]
fmul qword [0x6a1f30]
fadd qword [0x6a1f28]
fmul dword [esp + 0x34]
call fcn.00631650
mov ecx, dword [esp + 0x54]
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x38]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x3c]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, edi
call edx
fild dword [eax]
fmul dword [esp + 0x34]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x14]
lea ecx, [esp + 0x94]
add eax, dword [esp + 0x38]
push ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
mov ecx, edi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x34]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x3c]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x24], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
push 0
push edi
lea eax, [esi + 0x1f34]
push eax
call fcn.00442680
inc ebx
add edi, 0x78
mov dword [esp + 0x14], ebx
cmp ebx, 0xa
jb 0x401b20
push 0x10
xor ebx, ebx
push str.obj_f002_000.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404c00
push ebx
mov dword [esp + 0xbc], 7
mov eax, dword [esi + 0x1f6c]
mov eax, dword [eax + 0x140]
lea ecx, [esi + 0x1f6c]
push 1
push 0x15
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x58], ecx
call eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x401d66
cmp byte [0xf6273d], bl
je 0x401d25
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0062da20
add esp, 4
mov dword [esp + 0x14], ebx
lea edi, [esi + 0x2000]
jmp 0x401d76
mov edx, dword [esp + 0x1c]
mov esi, dword [0xf62698]
push edx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x401d63
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x401d56
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], ebx
lea edi, [esi + 0x2000]
jmp 0x401d76
mov ebx, dword [esp + 0x14]
mov eax, 4
push eax
xor eax, eax
push eax
mov edx, dword [edi]
mov edx, dword [edx + 0x84]
mov eax, 3
push eax
xor eax, eax
push eax
mov eax, 2
push eax
xor eax, eax
push eax
mov eax, 1
push eax
xor eax, eax
push eax
push eax
push eax
mov eax, 5
push eax
mov eax, 1
push eax
mov eax, dword [esp + 0x78]
push eax
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 0
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 8]
push 1
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0
mov ecx, edi
call edx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], eax
lea eax, [eax + eax*2]
sub ebx, eax
mov dword [esp + 0x58], ebx
fild dword [esp + 0x58]
fmul qword [0x6a1f18]
fadd qword [0x6a1f80]
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00631650
fild dword [esp + 0x40]
mov ebx, eax
fmul qword [0x6a15a0]
fadd qword [0x6a1f10]
fmulp st(1)
call fcn.00631650
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
push ebx
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x3c]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, edi
call edx
fild dword [eax]
fmul dword [esp + 0x34]
call fcn.00631650
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, edi
call edx
mov ebx, dword [eax]
mov eax, dword [edi]
add ebx, dword [esp + 0x40]
mov edx, dword [eax + 0x34]
add ebx, dword [esp + 0x38]
lea ecx, [esp + 0x94]
push ecx
mov ecx, edi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x34]
call fcn.00631650
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add eax, dword [esp + 0x40]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x24], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov ecx, edi
call edx
push 0
push edi
lea eax, [esi + 0x2438]
push eax
call fcn.00442680
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x78
mov dword [esp + 0x14], eax
cmp eax, 9
jb 0x401d72
push 0x10
xor ebx, ebx
mov edi, 0xf
push str.obj_f002_001.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0xc0], 8
mov eax, dword [esi + 0x29a4]
mov eax, dword [eax + 0x140]
lea ecx, [esi + 0x29a4]
push 0x15
lea edx, [esp + 0x24]
push edx
call eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x401fe7
cmp byte [0xf6273d], bl
je 0x401fa6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0062da20
add esp, 4
jmp 0x401fe7
mov edx, dword [esp + 0x1c]
mov esi, dword [0xf62698]
push edx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x401fe4
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x401fd7
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
push 0x10
push str.obje003_001.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0xc0], 9
mov eax, dword [esi + 0x2b20]
mov eax, dword [eax + 0x140]
lea ecx, [esi + 0x2b20]
push 0x15
lea edx, [esp + 0x24]
push edx
call eax
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x402098
cmp byte [0xf6273d], 0
je 0x402057
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0062da20
add esp, 4
jmp 0x402098
mov edx, dword [esp + 0x1c]
mov esi, dword [0xf62698]
push edx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x402095
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x402088
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
push 0x10
push str.obje003_002.bmp
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0xc0], 0xa
mov eax, dword [esi + 0x2c58]
mov edx, dword [eax + 0x140]
lea edi, [esi + 0x2c58]
push 0x15
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x40214b
cmp byte [0xf6273d], 0
je 0x40210a
mov eax, dword [esp + 0x1c]
push eax
call fcn.0062da20
add esp, 4
jmp 0x40214b
mov ecx, dword [esp + 0x1c]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x402148
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x40213b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
mov ecx, 1
mov dword [esi + 0x2cf0], edi
push 0x10
mov eax, 0xa
mov dword [esi + 0x2cf8], ecx
mov edi, 0xf
push str.obje003_003.bmp
lea ecx, [esp + 0x20]
mov dword [esi + 0x2cf4], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], 0
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0xc0], 0xb
mov edx, dword [esi + 0x2cfc]
mov edx, dword [edx + 0x140]
lea ecx, [esi + 0x2cfc]
push 0x15
lea eax, [esp + 0x24]
push eax
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x40221d
cmp byte [0xf6273d], 0
je 0x4021dc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0062da20
add esp, 4
jmp 0x40221d
mov ecx, dword [esp + 0x1c]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x40221a
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x40220d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
push 0x10
push str.obje003_004.bmp
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], 0
call fcn.00404c00
push ebx
push 1
mov dword [esp + 0xc0], 0xc
mov edx, dword [esi + 0x2bb4]
mov edx, dword [edx + 0x140]
lea edi, [esi + 0x2bb4]
push 0x15
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call edx
mov dword [esp + 0xb8], 0xffffffff
cmp dword [esp + 0x78], 0x10
jb 0x4022d3
cmp byte [0xf6273d], 0
je 0x402292
mov eax, dword [esp + 0x64]
push eax
call fcn.0062da20
add esp, 4
jmp 0x4022d3
mov ecx, dword [esp + 0x64]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], ebx
jne 0x4022d0
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, ebx
je 0x4022c3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], ebx
mov byte [0xf6273d], 0
mov esi, dword [ebp + 8]
mov dword [esi + 0x2c4c], edi
mov eax, 0xa
mov dword [esi + 0x2c50], eax
mov ecx, 1
mov dword [esi + 0x2c54], ecx
mov eax, dword [esi + 8]
mov dword [esi + 0x19c0], eax
mov dword [esi + 0x1f3c], eax
mov dword [esi + 0x2440], eax
mov eax, 2
mov dword [esi + 0x19e4], eax
mov dword [esi + 0x1f60], eax
mov dword [esi + 0x2464], eax
or eax, 0xffffffff
push ebx
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], 0
mov byte [esi + 0x2d9c], 0
mov dword [esi + 0x2da0], eax
mov dword [esi + 0x2da4], eax
mov dword [esi + 0x2dac], eax
mov byte [esi + 0x2db0], 0
call fcn.00403c90
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [edx + 0x20bc], 0xffffffff
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4