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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6900b8
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x70c004]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
push edi
mov eax, dword [0x70c004]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 8]
lea ecx, [eax + 0x80918]
call fcn.0046f4f8
mov ecx, eax
call fcn.004741a6
fstp dword [esp + 0x48]
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [eax + 0x80918]
call fcn.0046f4f8
mov ecx, eax
call fcn.00474569
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x38]
call eax
test al, al
je 0x4439b0
mov byte [ebx + 0x2de6], 1
jmp 0x4439b7
mov byte [ebx + 0x2de6], 0
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x5c]
push 0x1f4
call eax
mov eax, dword [ebx + 8]
cmp dword [eax + 0x80118], 0
je 0x4439e8
mov eax, dword [eax + 0x80118]
push 0x1f4
mov ecx, eax
call fcn.0045df10
mov eax, dword [ebx + 8]
cmp dword [eax + 0x8011c], 0
je 0x443a06
mov eax, dword [eax + 0x8011c]
push 0x1f4
mov ecx, eax
call fcn.0045df10
mov eax, dword [ebx + 8]
lea esi, [eax + 0x2143c]
mov dword [ebx + 0x2dd8], 0xffffffff
mov dword [ebx + 0x2dd4], 0
mov edi, dword [esi + 0x10]
cmp dword [esi + 0xc], edi
jbe 0x443a30
call fcn.0064a1e1
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x44], ecx
cmp ecx, dword [esi + 0x10]
jbe 0x443a4b
call fcn.0064a1e1
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push edx
push ecx
push eax
lea edi, [esp + 0x70]
call fcn.00446670
lea ecx, [esp + 0x1c]
call fcn.0047b9b4
xor edi, edi
mov dword [esp + 0x320], edi
push 0x12
mov esi, 0xf
push str.cfg_sound_view.ini
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
call fcn.004051a0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x324], 1
call fcn.0047ba78
mov byte [esp + 0x320], 0
cmp dword [esp + 0x80], 0x10
jb 0x443acd
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0045c06d
add esp, 4
push fcn.00404c40
push fcn.004064e0
push esi
push 0x1c
lea edx, [esp + 0x174]
push edx
call fcn.00649b22
lea eax, [esp + 0x164]
push eax
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x328], 2
call fcn.0047bc74
test al, al
je 0x443c84
lea esp, [esp]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], edi
mov byte [esp + 0xd8], 0
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], edi
mov byte [esp + 0xf4], 0
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], edi
mov byte [esp + 0x110], 0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x320], 5
call fcn.00447920
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x32c], 6
call fcn.00404d30
mov eax, dword [ebx + 8]
lea edx, [esp + 0xd4]
push edx
lea ecx, [eax + 0x2143c]
call fcn.004464e0
cmp dword [esp + 0x124], 0x10
jb 0x443bb5
mov eax, dword [esp + 0x110]
push eax
call fcn.0045c06d
add esp, 4
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], edi
mov byte [esp + 0x110], 0
jb 0x443be5
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.0045c06d
add esp, 4
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], edi
mov byte [esp + 0xf4], 0
jb 0x443c15
mov edx, dword [esp + 0xd8]
push edx
call fcn.0045c06d
add esp, 4
push fcn.00404c40
push esi
push 0x1c
lea eax, [esp + 0x170]
push eax
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], edi
mov byte [esp + 0xe8], 0
mov byte [esp + 0x330], 0
call fcn.00649be5
push fcn.00404c40
push fcn.004064e0
push esi
push 0x1c
lea ecx, [esp + 0x174]
push ecx
call fcn.00649b22
lea edx, [esp + 0x164]
push edx
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x328], 2
call fcn.0047bc74
test al, al
jne 0x443b10
push fcn.00404c40
push esi
push 0x1c
lea eax, [esp + 0x170]
push eax
mov byte [esp + 0x330], 0
call fcn.00649be5
lea ecx, [esp + 0x1c]
mov dword [esp + 0x320], 0xffffffff
call fcn.0047ba6d
push 0x550
call fcn.0045c111
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x320], 7
cmp eax, edi
je 0x443ce1
mov ecx, dword [ebx + 8]
push ecx
push eax
call fcn.00451320
jmp 0x443ce3
xor eax, eax
mov dword [esp + 0x320], 0xffffffff
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x38]
call eax
test al, al
mov eax, dword [ebx + 8]
setne cl
mov byte [ebx + 0x2de6], cl
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x5c]
push 0x1f4
call eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x80118]
push 0x1f4
mov ecx, eax
call fcn.0045df10
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [edx]
call eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x2c]
push 4
call fcn.0044fd00
cmp dword [eax], edi
je 0x443d69
push 4
lea eax, [ebx + 0x2c]
call fcn.0044fd00
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
mov al, byte [ebx + 0x2de6]
mov byte [ebx + 0x14f8], al
mov eax, dword [ebx + 8]
lea ecx, [eax + 0x1f90]
call fcn.004683bf
mov dword [ebx + 0x2dd0], eax
mov eax, dword [ebx + 8]
mov byte [ebx + 0x2de7], 0
mov byte [ebx + 0x2de8], 0
mov eax, dword [eax + 0x2008]
push 0x10
push str.objg000_000.bmp
lea ecx, [esp + 0x24]
mov dword [ebx + 0x2d28], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
push edi
push 1
mov dword [esp + 0x328], 8
mov edx, dword [ebx + 0x1500]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x1500]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x443e0b
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
push 0x10
push str.obje001_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
push edi
push 1
mov dword [esp + 0x328], 9
mov edx, dword [ebx + 0x1628]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x1628]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x443e70
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
push 0x10
push str.objg001_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
push edi
push 1
mov dword [esp + 0x328], 0xa
mov edx, dword [ebx + 0x16bc]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x16bc]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x443ed5
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
push 0x14
push str.MsgWinSquareFilename
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x328], 0xb
call fcn.0046f7b8
mov ecx, eax
call fcn.004704b6
push edi
push 1
mov byte [esp + 0x328], 0xc
mov edx, dword [ebx + 0x1788]
lea ecx, [ebx + 0x1788]
push 0x15
push eax
mov eax, dword [edx + 0x140]
call eax
cmp dword [esp + 0x9c], 0x10
jb 0x443f52
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0045c06d
add esp, 4
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov byte [esp + 0x88], 0
jb 0x443f87
mov edx, dword [esp + 0x20]
push edx
call fcn.0045c06d
add esp, 4
push 0x10
push str.objg003_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
push edi
push 1
mov dword [esp + 0x328], 0xd
mov eax, dword [ebx + 0x1594]
mov eax, dword [eax + 0x140]
lea ecx, [ebx + 0x1594]
push 0x15
lea edx, [esp + 0x28]
push edx
call eax
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x443fec
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0045c06d
add esp, 4
mov eax, dword [ebx + 8]
push 0x10
push str.objg004_000.bmp
lea ecx, [esp + 0x24]
mov dword [ebx + 0x2700], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
push edi
push 1
mov dword [esp + 0x328], 0xe
mov edx, dword [ebx + 0x18b0]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x18b0]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x44405a
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
push 0x10
push str.objg007_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
call fcn.004051a0
push edi
mov dword [esp + 0x324], esi
mov edx, dword [ebx + 0x1ce0]
mov edx, dword [edx + 0x140]
push 1
lea esi, [ebx + 0x1ce0]
push 0x15
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x4440bd
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
fld dword [esp + 0x48]
fld qword [0x6d04c0]
fmul st(1)
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fld qword [0x6cfc30]
mov dword [esp + 0x84], ecx
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fst dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0x88], edx
fmul qword [0x6d04b8]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0x90], ecx
fmul qword [0x6d04b0]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x94], edx
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0x98], eax
fmul qword [0x6d04a8]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], ecx
fst dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xa0], edx
fmul qword [0x6d04a0]
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], eax
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld st(1)
mov dword [esp + 0xa8], ecx
fmul qword [0x6d0498]
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xac], edx
fst dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fxch st(1)
mov dword [esp + 0xb0], eax
fmul qword [0x6d0490]
mov eax, dword [esi]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb4], ecx
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
mov dword [esp + 0xb8], edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, esi
call edx
fld dword [esp + 0x48]
mov eax, dword [esp + 0x50]
fld qword [0x6d0488]
cdq
fmul st(1)
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x50], eax
call fcn.0064b350
fmul qword [0x6d0100]
mov dword [esp + 0x44], eax
call fcn.0064b350
mov dword [esp + 0x54], eax
lea ecx, [ebx + 0x1944]
mov dword [esp + 0x40], ecx
lea esi, [ebx + 0x1d74]
jmp 0x444234
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, 4
push eax
push edi
mov eax, 3
push eax
push edi
mov eax, 2
push eax
push edi
mov eax, 1
push eax
push edi
xor eax, eax
push eax
push edi
mov eax, 5
push eax
mov eax, 7
push eax
lea eax, [ebx + 0x18b0]
push eax
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push 0
call eax
fld dword [esp + edi*8 + 0x84]
call fcn.0064b350
fld dword [esp + edi*8 + 0x88]
mov dword [esp + 0x60], eax
call fcn.0064b350
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
push eax
mov eax, dword [esp + 0x64]
push eax
call edx
fld dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
fstp dword [esp]
call fcn.004c32e5
mov edx, dword [esi]
lea eax, [ebx + 0x1ce0]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov eax, dword [esp + 0x50]
lea ecx, [edi + 1]
imul edi, eax
mov dword [esp + 0x14], ecx
imul ecx, eax
sub esp, 0x10
mov eax, esp
xor edx, edx
mov dword [eax], edx
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x30]
mov edi, dword [esi]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x4c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push 0xff
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push 0xf
mov ecx, esi
call eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x40]
push esi
push eax
lea eax, [ebx + 0x26f8]
push eax
call fcn.0044e770
mov edi, dword [esp + 0x14]
add dword [esp + 0x40], 0x84
add esi, 0x15c
cmp edi, 7
jb 0x444230
mov edx, dword [ebx + 0x1944]
mov eax, dword [edx + 0x18]
lea ecx, [ebx + 0x1944]
push 1
call eax
mov edx, dword [ebx + 0x1b54]
mov eax, dword [edx + 0x18]
lea ecx, [ebx + 0x1b54]
push 1
call eax
mov edx, dword [ebx + 0x1bd8]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x1bd8]
push 1
call eax
mov edx, dword [ebx + 0x1c5c]
mov eax, dword [edx + 0xc]
lea ecx, [ebx + 0x1c5c]
push 1
call eax
mov eax, dword [ebx + 8]
mov edi, 0x10
push edi
push str.objg002_000.bmp
lea ecx, [esp + 0x24]
mov dword [ebx + 0x2724], 2
mov dword [ebx + 0x285c], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004051a0
push 0
push 1
mov dword [esp + 0x328], edi
mov edx, dword [ebx + 0x27c0]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x27c0]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x444433
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
mov esi, dword [ebx + 0x2dd0]
xor ecx, ecx
mov eax, esi
mov edx, 0x84
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0060a958
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x320], 0x11
test eax, eax
je 0x444497
push fcn.004c3654
push fcn.004c35e7
push esi
lea edi, [eax + 4]
push 0x84
push edi
mov dword [eax], esi
call fcn.00649b22
mov eax, edi
mov edi, 0x10
jmp 0x444499
xor eax, eax
mov dword [esp + 0x320], 0xffffffff
xor esi, esi
cmp dword [ebx + 0x2dd0], esi
mov dword [ebx + 0x2888], eax
jle 0x4445ff
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [ebx + 0x2888]
mov edx, dword [ecx + edi]
mov eax, 4
push eax
push esi
mov eax, 3
push eax
push esi
mov eax, 2
push eax
push esi
mov eax, 1
push eax
push esi
xor eax, eax
push eax
push esi
mov eax, 5
push eax
mov eax, dword [ebx + 0x2dd0]
push eax
add ecx, edi
lea eax, [ebx + 0x27c0]
push eax
mov eax, dword [edx + 0x84]
call eax
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul qword [0x6d00c8]
fadd qword [0x6d0340]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0064b350
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
lea ecx, [eax + eax*8]
mov edx, esi
sub edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [0x6d0480]
fadd qword [0x6d0478]
fmulp st(1)
call fcn.0064b350
mov ecx, dword [ebx + 0x2888]
mov edx, dword [ecx + edi]
mov edx, dword [edx + 0x2c]
add ecx, edi
push eax
mov eax, dword [esp + 0x64]
push eax
call edx
mov eax, dword [ebx + 0x2888]
mov edx, dword [eax + edi]
lea ecx, [eax + edi]
mov eax, dword [edx + 0x18]
push 0
call eax
mov ecx, dword [ebx + 0x2888]
mov edx, dword [ecx + edi]
mov eax, dword [edx + 8]
add ecx, edi
push 1
call eax
mov ecx, dword [ebx + 0x2888]
mov edx, dword [ecx + edi]
mov eax, dword [edx + 0xc]
add ecx, edi
push 0
call eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ecx
fld dword [esp + 0x4c]
push edx
push ecx
mov ecx, dword [ebx + 0x2888]
fstp dword [esp]
add ecx, edi
call fcn.004c32e5
mov eax, dword [ebx + 0x2888]
push 0
add eax, edi
push eax
lea eax, [ebx + 0x2854]
push eax
call fcn.0044e770
inc esi
add edi, 0x84
cmp esi, dword [ebx + 0x2dd0]
jl 0x4444c0
mov edi, 0x10
push edi
mov esi, 0xf
push str.objg005_000.bmp
lea ecx, [esp + 0x24]
mov dword [ebx + 0x2880], 2
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004051a0
push 0
push 1
mov dword [esp + 0x328], 0x12
mov edx, dword [ebx + 0x2a00]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x2a00]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x444676
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
push edi
push str.objg005_001.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.004051a0
push 0
push 1
mov dword [esp + 0x328], 0x13
mov edx, dword [ebx + 0x2a94]
mov edx, dword [edx + 0x140]
lea ecx, [ebx + 0x2a94]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x34], edi
jb 0x4446de
mov eax, dword [esp + 0x20]
push eax
call fcn.0045c06d
add esp, 4
mov edx, dword [ebx + 0x2b28]
lea esi, [ebx + 0x2b28]
lea eax, [ebx + 0x1ce0]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov eax, dword [esp + 0x50]
mov edi, dword [esi]
lea ecx, [eax*8]
mov dword [esp + 0x14], ecx
lea ecx, [eax*8]
sub ecx, eax
sub esp, 0x10
mov eax, esp
xor edx, edx
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x4c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x48]
push 0xff
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov edi, 0xf
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
push ecx
mov ecx, esi
call edx
push 0x10
push str.objg006_000.bmp
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.004051a0
push 0
push 1
mov dword [esp + 0x328], 0x14
mov eax, dword [ebx + 0x2c84]
mov edx, dword [eax + 0x140]
lea esi, [ebx + 0x2c84]
push 0x15
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x320], 0xffffffff
cmp dword [esp + 0x80], 0x10
jb 0x4447d8
mov eax, dword [esp + 0x6c]
push eax
call fcn.0045c06d
add esp, 4
mov ecx, 1
push ecx
mov eax, 0xa
push eax
push esi
lea ecx, [ebx + 0x2d18]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
call fcn.004c3ce9
mov esi, ebx
call fcn.00445c80
xor eax, eax
cmp dword [ebx + 0x2dd0], eax
jle 0x444836
mov ecx, dword [ebx + 8]
add ecx, 0x20400
cmp dword [ecx], 0
jne 0x4448a3
inc eax
add ecx, 4
cmp eax, dword [ebx + 0x2dd0]
jl 0x444821
mov ecx, dword [ebx + 0x2714]
sub ecx, dword [ebx + 0x2710]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor esi, esi
test ecx, ecx
jle 0x4448a3
lea edi, [ebx + 0x2704]
push esi
mov eax, edi
call fcn.0044fd00
cmp dword [eax], 0
je 0x44487f
push esi
mov eax, edi
call fcn.0044fd00
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
call eax
mov ecx, dword [ebx + 0x2714]
sub ecx, dword [ebx + 0x2710]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
cmp esi, ecx
jl 0x444861
mov eax, ebx
call fcn.00445780
mov eax, dword [ebx + 0x2dd0]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
mov byte [ebx + 0x2de9], 1
mov byte [ebx + 0x2d2c], 0
neg ecx
or ecx, eax
push ecx
call fcn.0060a958
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [ebx + 0x2de0], eax
call fcn.0047b9b4
lea ecx, [esp + 0xbc]
call fcn.0047ba6d
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.00649a98
mov esp, ebp
pop ebp
ret