Function at 0x40e9c4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x10]
call fcn.00404180
mov ecx, dword [ebp + 8]
call fcn.00411670
mov dword [ebp - 0x224], eax
push 0xcc0020
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x727e8]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x727e4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x72800]
sub ecx, dword [eax + 0x727f8]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x727fc]
sub ecx, dword [eax + 0x727f4]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x727f8]
sub ecx, dword [eax + 0x19ac]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x727f4]
sub ecx, dword [eax + 0x19a8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + eax + 0x7296c], 0
jne 0x40eb45
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x727f4]
sub ecx, dword [eax + 0x19a8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x727fc]
mov ecx, dword [ebp - 0x248]
sub eax, dword [ecx + 0x727f4]
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x727f8]
sub ecx, dword [eax + 0x19ac]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x72800]
mov ecx, dword [ebp - 0x248]
sub eax, dword [ecx + 0x727f8]
add eax, 1
mov dword [ebp - 4], eax
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x248]
call fcn.0040c8a3
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40eb77
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x24c], eax
jmp 0x40eb89
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40ebc7
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x250], eax
jmp 0x40ebd9
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40ec17
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x254], eax
jmp 0x40ec29
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40ec67
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x258], eax
jmp 0x40ec79
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40ecb7
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x25c], eax
jmp 0x40ecc9
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40ed07
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x260], eax
jmp 0x40ed19
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x23c], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40ed57
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x264], eax
jmp 0x40ed69
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
cmp dword [edx + ecx + 0x7296c], 0
je 0x40eda7
mov eax, dword [ebp - 0x248]
add eax, 0x727a4
mov dword [ebp - 0x268], eax
jmp 0x40edb9
mov ecx, dword [ebp - 0x248]
add ecx, 0x727c4
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x244], edx
push 0xcc0020
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
mov ecx, dword [edx + 0x1c]
sub ecx, dword [eax + 0x14]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [edx + 0x18]
sub ecx, dword [eax + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x14]
sub ecx, dword [eax + 0x19ac]
push ecx
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x10]
sub ecx, dword [eax + 0x19a8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + eax + 0x7296c]
neg edx
sbb edx, edx
and edx, 0xffff00
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x248]
add eax, 0x72954
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
add edx, 4
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
add ecx, 4
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 0x52fa5c
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0x52f91c
push str.dolby_pl_txt
push 0x4ecc88
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x68]
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x7279c]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x248]
cmp dword [eax + edx + 0x72970], 1
jne 0x40f49c
push 0xcc0020
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x72828]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x72824]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x72840]
sub edx, dword [ecx + 0x72838]
add edx, 1
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x7283c]
sub edx, dword [ecx + 0x72834]
add edx, 1
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x72838]
sub edx, dword [ecx + 0x19ac]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x72834]
sub edx, dword [ecx + 0x19a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404520
push 0xcc0020
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x72868]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x72864]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x72880]
sub ecx, dword [eax + 0x72878]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x7287c]
sub ecx, dword [eax + 0x72874]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x72878]
sub ecx, dword [eax + 0x19ac]
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x248]
mov ecx, dword [edx + 0x72874]
sub ecx, dword [eax + 0x19a8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + eax + 0x7296c], 0
jne 0x40f12f
mov edx, dword [ebp - 0x248]
add edx, 0x72834
push edx
lea ecx, [ebp - 0x10]
call fcn.00404110
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19ac]
neg ecx
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x19a8]
neg eax
push eax
lea ecx, [ebp - 0x10]
call fcn.004040f0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.0040c8a3
mov edx, dword [ebp - 0x248]
add edx, 0x72874
push edx
lea ecx, [ebp - 0x10]
call fcn.00404110
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19ac]
neg ecx
push ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x19a8]
neg eax
push eax
lea ecx, [ebp - 0x10]
call fcn.004040f0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.0040c8a3
push 0xcc0020
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x72808]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x72804]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x72820]
sub eax, dword [edx + 0x72818]
add eax, 1
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x7281c]
sub eax, dword [edx + 0x72814]
add eax, 1
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x72818]
sub eax, dword [edx + 0x19ac]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x72814]
sub eax, dword [edx + 0x19a8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404520
push 0xcc0020
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x72848]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x72844]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x72860]
sub edx, dword [ecx + 0x72858]
add edx, 1
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x7285c]
sub edx, dword [ecx + 0x72854]
add edx, 1
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x72858]
sub edx, dword [ecx + 0x19ac]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x72854]
sub edx, dword [ecx + 0x19a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + ecx + 0x7296c]
neg eax
sbb eax, eax
and eax, 0xff9f9fa0
add eax, 0x606060
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x248]
add eax, 0x728d4
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 1
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + ecx + 0x72974]
imul eax, eax, 0x3c
add eax, str.Surrounds_N7
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x248]
add eax, 0x728f4
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 1
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + ecx + 0x72978]
imul eax, eax, 6
add eax, 0x4dac74
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + ecx + 0x7296c]
neg eax
sbb eax, eax
and eax, 0x9f9ea0
add eax, 0x606060
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x248]
add eax, 0x72914
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 1
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
push str.Center_Width
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x248]
add eax, 0x72934
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 1
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
push str.Dimension
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x248]
add eax, 0x72814
push eax
push 4
mov ecx, dword [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x248]
add ecx, 0x2508
call fcn.004ca9c2
mov edx, dword [ebp - 0x248]
add edx, 0x72854
push edx
push 5
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x248]
add ecx, 0x2508
call fcn.004ca9c2
jmp 0x40f4f1
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
push ecx
push 4
mov edx, dword [ebp - 0x248]
push edx
mov ecx, dword [ebp - 0x248]
add ecx, 0x2508
call fcn.004ca9c2
lea eax, [ebp - 0x10]
push eax
push 5
mov ecx, dword [ebp - 0x248]
push ecx
mov ecx, dword [ebp - 0x248]
add ecx, 0x2508
call fcn.004ca9c2
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + eax + 0x7296c], 0
je 0x40f5d1
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + eax + 0x7297c], 0
je 0x40f5d1
push 0xcc0020
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x72888]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x72884]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x728a0]
sub eax, dword [edx + 0x72898]
add eax, 1
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x7289c]
sub eax, dword [edx + 0x72894]
add eax, 1
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x72898]
sub eax, dword [edx + 0x19ac]
push eax
mov ecx, dword [ebp - 0x248]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx + 0x72894]
sub eax, dword [edx + 0x19a8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404520
jmp 0x40f666
push 0xcc0020
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x728a8]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x728a4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x728c0]
sub edx, dword [ecx + 0x728b8]
add edx, 1
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x728bc]
sub edx, dword [ecx + 0x728b4]
add edx, 1
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x728b8]
sub edx, dword [ecx + 0x19ac]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x248]
mov edx, dword [eax + 0x728b4]
sub edx, dword [ecx + 0x19a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + ecx + 0x7296c]
neg eax
sbb eax, eax
and eax, 0x9f9ea0
add eax, 0x606060
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x248]
add eax, 0x72894
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
add ecx, 0x11
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 0
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
push str.Panorama_Mode
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x7279c]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + ecx + 0x7296c]
neg eax
sbb eax, eax
and eax, 0xff7f7f80
add eax, 0x808080
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x248]
add eax, 0x727f4
push eax
lea ecx, [ebp - 0x10]
call fcn.00404110
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x19ac]
neg edx
add edx, 4
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x19a8]
neg ecx
add ecx, 4
push ecx
lea ecx, [ebp - 0x10]
call fcn.004040f0
mov ecx, dword [ebp - 0x248]
add ecx, 0x73774
call fcn.004047c0
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], 0
jmp 0x40f799
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x21c]
jge 0x40f7f9
mov ecx, dword [ebp - 0x248]
mov esi, dword [ecx + 0x7279c]
imul esi, esi, 0x14
mov edx, dword [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x248]
add ecx, 0x73774
call fcn.00411690
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + esi + 0x72970], eax
jne 0x40f7f7
mov edx, dword [ebp - 0x220]
push edx
mov ecx, dword [ebp - 0x248]
add ecx, 0x73774
call fcn.004047f0
jmp 0x40f7f9
jmp 0x40f78a
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x248]
add ecx, 0x73774
call fcn.0040d5e0
push eax
mov ecx, dword [ebp - 0x248]
add ecx, 0x73774
call fcn.00404820
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
pop esi
mov esp, ebp
pop ebp
ret 8