Function at 0x411597
Capabilities:
Parse pe header

Disassembly:
push 0x44
mov eax, 0x4a8ee8
call fcn.0048894a
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
not eax
mov ecx, edi
test al, 1
je 0x41260c
push 2
call fcn.0040666b
push dword [esi + 0x348]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x34c]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.0040f151
xor eax, eax
mov dword [esi + 0x354], eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
push eax
mov dword [esi + 0x358], ecx
call fcn.00401dcc
mov ecx, dword [eax]
mov dword [esi + 0x354], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x358], ecx
push dword [eax + 4]
push dword [eax]
push edi
call fcn.004797b2
push dword [esi + 0x26c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x5c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x60]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x350]
mov ecx, edi
call fcn.0040666b
cmp byte [ebp + 0xc], 0
je 0x411843
cmp dword [esi + 0x350], 0
je 0x411843
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
mov ebx, 0x4af7ec
push ebx
call fcn.00401aa9
and dword [ebp - 4], 0
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00419fde
or dword [ebp - 4], 0xffffffff
pop ecx
lea eax, [ebp - 0x10]
push eax
call fcn.00419903
add esp, 0xc
mov eax, dword [ebp - 0x10]
and dword [ebp - 0x14], 0
mov byte [ebp + 0xb], 0
mov eax, dword [eax - 0xc]
mov dword [ebp - 4], 1
test eax, eax
je 0x41171a
push 0x4acfac
lea ecx, [ebp - 0x10]
call fcn.00406b6b
test eax, eax
je 0x4116e6
push 0x4af7e8
lea ecx, [ebp - 0x10]
call fcn.00406b6b
test eax, eax
je 0x4116e6
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
je 0x4116e6
inc dword [ebp - 0x14]
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00419b18
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00401608
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010a3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x4116a8
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0040666b
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push ebx
call fcn.00401aa9
push ecx
mov eax, esp
mov dword [ebp - 0x30], esp
push eax
mov byte [ebp - 4], 3
call fcn.00419fde
pop ecx
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00419903
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401608
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010a3
mov byte [ebp + 0xb], 0
jmp 0x411828
push 0x4acfac
lea ecx, [ebp - 0x10]
call fcn.00406b6b
test eax, eax
je 0x4117fd
push 0x4af7e8
lea ecx, [ebp - 0x10]
call fcn.00406b6b
test eax, eax
je 0x4117fd
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
je 0x4117fd
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x1c]
push eax
call fcn.00418fea
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0040f151
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010a3
push edi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00419b18
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00401608
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004010a3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x411776
or dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
mov ecx, eax
call fcn.004010a3
push dword [esi + 0x6c]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0x70]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x411878
cmp dword [esi + 0x6c], 0
je 0x411878
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
lea eax, [esi + 0x74]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x78]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x7c]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x80]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x84]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x88]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x8c]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x90]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x98]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x9c]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0xa0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xa4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xa8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xac]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0xb0]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x411977
cmp dword [esi + 0xa8], 0
je 0x411977
cmp dword [esi + 0xac], 0
je 0x411977
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
lea eax, [esi + 0xb4]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0xb8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xbc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xc0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xc4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xc8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xcc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xd0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xd4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xd8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xdc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xe0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xe4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xe8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xec]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xf0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xf4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xf8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0xfc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x100]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x104]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x108]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x10c]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x110]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x114]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x118]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x11c]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x120]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x124]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x128]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0x12c]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x411b35
cmp dword [esi + 0x128], 0
je 0x411b35
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push dword [esi + 0x130]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x134]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x138]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x13c]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x140]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x144]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x148]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x14c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x150]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x154]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x158]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x15c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x160]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x168]
push dword [esi + 0x164]
push edi
call fcn.004797b2
push dword [esi + 0x16c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x170]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x174]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x178]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x17c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x180]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x184]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x188]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x18c]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x190]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x194]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x198]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1a0]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0x19c]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x411cd2
cmp dword [esi + 0x198], 0
je 0x411cd2
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push dword [esi + 0x1a4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1a8]
mov ecx, edi
call fcn.0040666b
fld dword [esi + 0x1ac]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.0040fa8e
push dword [esi + 0x1b0]
mov ecx, edi
call fcn.0040666b
fld dword [esi + 0x1b4]
push ecx
mov ecx, edi
fstp dword [esp]
call fcn.0040fa8e
push dword [esi + 0x1b8]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0x1bc]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x411d59
cmp dword [esi + 0x1b8], 0
je 0x411d59
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push dword [esi + 0x1c0]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x1c4]
push eax
mov ecx, edi
call fcn.0040f151
lea eax, [esi + 0x1c8]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x1cc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1d0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1d4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1d8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1dc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1e0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1e4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1e8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1ec]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1f0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1f4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1f8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x1fc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x200]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x204]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x208]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x20c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x210]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x214]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x218]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x21c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x220]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x224]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x228]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0x22c]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x411eeb
cmp dword [esi + 0x224], 3
jne 0x411eeb
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
lea eax, [esi + 0x58]
push eax
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x4123d1
cmp dword [esi + 0x224], 4
jne 0x4121bc
lea eax, [ebp - 0x28]
push eax
call fcn.00418ca5
mov ebx, 0x4acfb0
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 7
call fcn.00401fdd
lea ecx, [esi + 0x58]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 8
call fcn.0040168d
push str..bmp
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.00401fdd
add esp, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xd
call fcn.004010a3
lea eax, [ebp - 0x38]
push eax
call fcn.00418ca5
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401fdd
lea ecx, [esi + 0x58]
push ecx
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040168d
push str._Alpha.bmp
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x10
call fcn.00401fdd
add esp, 0x28
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x14
call fcn.004010a3
lea eax, [ebp - 0x20]
push eax
call fcn.00418ca5
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x15
call fcn.00401fdd
lea ecx, [esi + 0x58]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x16
call fcn.0040168d
push str._Min.bmp
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0x17
call fcn.00401fdd
add esp, 0x28
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x1b
call fcn.004010a3
lea eax, [ebp - 0x2c]
push eax
call fcn.00418ca5
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00401fdd
lea ecx, [esi + 0x58]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0040168d
push str._Max.bmp
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1e
call fcn.00401fdd
add esp, 0x28
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x22
call fcn.004010a3
lea eax, [ebp - 0x20]
push eax
call fcn.00418ca5
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x23
call fcn.00401fdd
lea ecx, [esi + 0x58]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x24
call fcn.0040168d
push str._Exit.bmp
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x25
call fcn.00401fdd
add esp, 0x28
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x29
call fcn.004010a3
push edi
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push edi
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push edi
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push edi
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push edi
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push dword [esi + 0x2a4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2a8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2ac]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2b0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2b4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2b8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2bc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2c0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2c4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2c8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2cc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2d0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2d4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2d8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2dc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2e0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2e4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2e8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2ec]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2f0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2f4]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2f8]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2fc]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x300]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x304]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x308]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x30c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x310]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x314]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x318]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x31c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x320]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x324]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x328]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x32c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x330]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x334]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x338]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x33c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x340]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x344]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x238]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x23c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x240]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x244]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x248]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x24c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x250]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x254]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0x258]
push ebx
mov ecx, edi
call fcn.0040f151
cmp byte [ebp + 0xc], 0
je 0x41246a
cmp dword [esi + 0x254], 0
je 0x41246a
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e8d
pop ecx
pop ecx
push dword [esi + 0x25c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x260]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x264]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x268]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x26c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x270]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x274]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x278]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x27c]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x280]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x284]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x288]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x28c]
mov ecx, edi
call fcn.0040666b
lea eax, [esi + 0x290]
push eax
mov ecx, edi
call fcn.0040f151
push dword [esi + 0x294]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x298]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x29c]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x2a0]
mov ecx, edi
call fcn.0040666b
push dword [esi + 0x24]
mov ecx, edi
call fcn.0040666b
lea ebx, [esi + 0xc]
mov eax, dword [ebx + 0x14]
push ebx
push dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.0040fb65
push ebx
push dword [ebx + 0x14]
jmp 0x412597
lea ecx, [ebp - 0x3c]
call fcn.0040fb09
push dword [ebp + 0xc]
mov ecx, dword [eax]
push edi
call fcn.004148c6
lea ecx, [ebp - 0x3c]
call fcn.0040fa0e
push ebx
push dword [ebx + 0x14]
lea ecx, [ebp - 0x34]
call fcn.0040fb65
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040f9e7
test al, al
je 0x412578
push dword [esi + 0x48]
mov ecx, edi
call fcn.0040666b
mov eax, dword [esi + 0x44]
add esi, 0x30
push esi
push dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.0040fb65
push esi
push dword [esi + 0x14]
jmp 0x4125ef
lea ecx, [ebp - 0x3c]
call fcn.0040fb09
push dword [ebp + 0xc]
mov ecx, dword [eax]
push edi
call fcn.00414c8e
lea ecx, [ebp - 0x3c]
call fcn.0040fa0e
push esi
push dword [esi + 0x14]
lea ecx, [ebp - 0x34]
call fcn.0040fb65
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040f9e7
test al, al
je 0x4125d0
jmp 0x413e03
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call fcn.004066a4
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x348]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x34c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x354]
push eax
push edi
call fcn.004797dc
lea eax, [esi + 0x26c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x60]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x350]
push eax
mov ecx, edi
call fcn.004066a4
cmp dword [esi + 0x350], 0
mov ebx, 0x4acfb0
je 0x412764
cmp byte [ebp + 0xc], 0
je 0x412764
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004066a4
mov eax, dword [ebp + 8]
test eax, eax
jle 0x412764
mov dword [ebp - 0x18], eax
call fcn.00464f86
push eax
lea ecx, [ebp + 8]
call fcn.00401275
lea eax, [ebp + 8]
push eax
mov ecx, edi
mov dword [ebp - 4], 0x2a
call fcn.0040dbe6
lea eax, [ebp - 0x30]
push eax
call fcn.0041a17d
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x2b
call fcn.00401fdd
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x2c
call fcn.0040168d
add esp, 0x1c
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x2f
call fcn.004010a3
push edi
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
dec dword [ebp - 0x18]
jne 0x4126c3
lea eax, [esi + 0x6c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x70]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x4128c1
cmp dword [esi + 0x6c], 0
je 0x41289b
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
jne 0x4127c0
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x30
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x41289b
push ecx
lea eax, [esi + 0x70]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x31
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x32
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x33
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
push eax
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x34
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
lea eax, [esi + 0x70]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x70]
mov dword [ebp - 4], 0x35
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
lea eax, [esi + 0x70]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
je 0x4128bd
push ecx
lea eax, [esi + 0x70]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x4128c1
and dword [esi + 0x6c], 0
lea eax, [esi + 0x74]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x78]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x7c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x80]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x84]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x88]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x8c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x90]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x94]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x98]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x9c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0xa0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xa4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xa8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xac]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xb0]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x412b1a
xor eax, eax
cmp dword [esi + 0xac], eax
je 0x412ada
cmp dword [esi + 0xa8], eax
je 0x412ada
mov ecx, dword [esi + 0xb0]
cmp dword [ecx - 0xc], eax
jne 0x4129f0
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x36
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x412ada
push ecx
lea eax, [esi + 0xb0]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x37
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x38
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x39
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
push eax
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 0x3a
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
lea eax, [esi + 0xb0]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
lea ecx, [esi + 0xb0]
mov dword [ebp - 4], 0x3b
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
lea eax, [esi + 0xb0]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0xac], eax
je 0x412b1a
cmp dword [esi + 0xa8], eax
je 0x412b1a
mov ecx, dword [esi + 0xb0]
cmp dword [ecx - 0xc], eax
je 0x412b13
push ecx
lea eax, [esi + 0xb0]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x412b1a
and dword [esi + 0xa8], 0
lea eax, [esi + 0xb4]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0xb8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xbc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xc0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xc4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xc8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xcc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xd0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xd4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xd8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xdc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xe0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xe4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xe8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xec]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xf0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xf4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xf8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0xfc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x100]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x104]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x108]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x10c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x110]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x114]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x118]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x11c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x120]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x124]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x128]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x12c]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x412e3a
cmp dword [esi + 0x128], 0
je 0x412e3a
mov eax, dword [esi + 0x12c]
cmp dword [eax - 0xc], 0
jne 0x412d18
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x3c
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x412e02
push ecx
lea eax, [esi + 0x12c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x3d
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x3e
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x3f
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
push eax
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 0x40
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
lea eax, [esi + 0x12c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x12c]
mov dword [ebp - 4], 0x41
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
lea eax, [esi + 0x12c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
cmp dword [esi + 0x128], 0
je 0x412e3a
mov eax, dword [esi + 0x12c]
cmp dword [eax - 0xc], 0
je 0x412e33
push ecx
lea eax, [esi + 0x12c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x412e3a
and dword [esi + 0x128], 0
lea eax, [esi + 0x130]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x134]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x138]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x13c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x140]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x144]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x148]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x14c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x150]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x154]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x158]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x15c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x160]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x164]
push eax
push edi
call fcn.004797dc
lea eax, [esi + 0x16c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x170]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x174]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x178]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x17c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x180]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x184]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x188]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x18c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x190]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x194]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x198]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1a0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x19c]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x41312f
cmp dword [esi + 0x198], 0
je 0x41312f
mov eax, dword [esi + 0x19c]
cmp dword [eax - 0xc], 0
jne 0x41300d
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x42
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x4130f7
push ecx
lea eax, [esi + 0x19c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x43
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x44
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x45
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
push eax
lea ecx, [esi + 0x19c]
mov byte [ebp - 4], 0x46
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
lea eax, [esi + 0x19c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x19c]
mov dword [ebp - 4], 0x47
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
lea eax, [esi + 0x19c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
cmp dword [esi + 0x198], 0
je 0x41312f
mov eax, dword [esi + 0x19c]
cmp dword [eax - 0xc], 0
je 0x413128
push ecx
lea eax, [esi + 0x19c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x41312f
and dword [esi + 0x198], 0
lea eax, [esi + 0x1a4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1a8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1ac]
push eax
mov ecx, edi
call fcn.0040fac7
lea eax, [esi + 0x1b0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1b4]
push eax
mov ecx, edi
call fcn.0040fac7
lea eax, [esi + 0x1b8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1bc]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x4132ff
cmp dword [esi + 0x1b8], 0
je 0x4132ff
mov eax, dword [esi + 0x1bc]
cmp dword [eax - 0xc], 0
jne 0x4131dd
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x48
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x4132c7
push ecx
lea eax, [esi + 0x1bc]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x49
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x4a
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x4b
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
push eax
lea ecx, [esi + 0x1bc]
mov byte [ebp - 4], 0x4c
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
lea eax, [esi + 0x1bc]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x1bc]
mov dword [ebp - 4], 0x4d
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
lea eax, [esi + 0x1bc]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
cmp dword [esi + 0x1b8], 0
je 0x4132ff
mov eax, dword [esi + 0x1bc]
cmp dword [eax - 0xc], 0
je 0x4132f8
push ecx
lea eax, [esi + 0x1bc]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x4132ff
and dword [esi + 0x1b8], 0
lea eax, [esi + 0x1c0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1c4]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x1c8]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x1cc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1d0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1d4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1d8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1dc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1e0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1e4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1e8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1ec]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1f0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1f4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1f8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x1fc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x200]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x204]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x208]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x20c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x210]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x214]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x218]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x21c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x220]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x224]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x228]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x22c]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x4135f5
cmp dword [esi + 0x224], 3
jne 0x4135f5
mov eax, dword [esi + 0x22c]
cmp dword [eax - 0xc], 0
jne 0x4134d3
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x4e
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x4135bd
push ecx
lea eax, [esi + 0x22c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x4f
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x50
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x51
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
push eax
lea ecx, [esi + 0x22c]
mov byte [ebp - 4], 0x52
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
lea eax, [esi + 0x22c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x22c]
mov dword [ebp - 4], 0x53
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
lea eax, [esi + 0x22c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
cmp dword [esi + 0x224], 3
jne 0x4135f5
mov eax, dword [esi + 0x22c]
cmp dword [eax - 0xc], 0
je 0x4135ee
push ecx
lea eax, [esi + 0x22c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x4135f5
and dword [esi + 0x224], 0
lea eax, [esi + 0x58]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x413b2d
cmp dword [esi + 0x224], 4
jne 0x41381b
lea eax, [ebp - 0x2c]
push eax
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 0x54
call fcn.00401fdd
lea ebx, [esi + 0x58]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x55
call fcn.0040168d
push str..bmp
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x56
call fcn.00401fdd
add esp, 0x28
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x57
call fcn.00401608
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x58
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
push edi
push ecx
mov dword [ebp + 8], esp
mov eax, esp
push str._Alpha.bmp
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
mov dword [ebp + 8], eax
call fcn.004013d2
lea eax, [ebp - 0x38]
push eax
call fcn.0041910a
pop ecx
pop ecx
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0x59
call fcn.00401fdd
add esp, 0xc
call fcn.00418e10
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
mov dword [ebp + 8], esp
mov ebx, esp
push str._Min.bmp
push ecx
lea eax, [esi + 0x58]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041910a
pop ecx
pop ecx
push eax
push ebx
mov dword [ebp - 4], 0x5a
call fcn.00401fdd
add esp, 0xc
call fcn.00418e10
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
mov dword [ebp + 8], esp
mov ebx, esp
push str._Max.bmp
push ecx
lea eax, [esi + 0x58]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041910a
pop ecx
pop ecx
push eax
push ebx
mov dword [ebp - 4], 0x5b
call fcn.00401fdd
add esp, 0xc
call fcn.00418e10
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
mov dword [ebp + 8], esp
mov ebx, esp
push str._Exit.bmp
push ecx
lea eax, [esi + 0x58]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041910a
pop ecx
pop ecx
push eax
push ebx
mov dword [ebp - 4], 0x5c
call fcn.00401fdd
add esp, 0xc
call fcn.00418e10
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010a3
mov ebx, 0x4acfb0
lea eax, [esi + 0x2a4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2a8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2ac]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2b0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2b4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2b8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2bc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2c0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2c4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2c8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2cc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2d0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2d4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2d8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2dc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2e0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2e4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2e8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2ec]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2f0]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2f4]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2f8]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2fc]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x300]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x304]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x308]
push eax
mov ecx, edi
call fcn.004066a4
cmp dword [ebp - 0x14], 2
jl 0x413a1d
lea eax, [esi + 0x30c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x310]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x314]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x318]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x31c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x320]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x324]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x328]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x32c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x330]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x334]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x338]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x33c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x340]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x344]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x238]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x23c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x240]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x244]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x248]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x24c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x250]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x254]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x258]
push eax
mov ecx, edi
call fcn.0040dbe6
cmp byte [ebp + 0xc], 0
je 0x413c47
cmp dword [esi + 0x254], 0
je 0x413c15
mov eax, dword [esi + 0x258]
cmp dword [eax - 0xc], 0
jne 0x413b39
lea ecx, [ebp - 0x50]
call fcn.0047628c
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0x5d
call fcn.004763c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004762a3
jmp 0x413c15
mov ecx, esi
call fcn.004107c1
jmp 0x413a63
push ecx
lea eax, [esi + 0x258]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
lea eax, [ebp - 0x28]
push eax
call fcn.00418fea
mov dword [ebp + 8], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0x5e
call fcn.0041a0f3
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x5f
call fcn.00401fdd
push dword [ebp + 8]
mov byte [ebp - 4], 0x60
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040168d
add esp, 0x24
lea ebx, [esi + 0x258]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x61
call fcn.00401608
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004010a3
mov ecx, dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
lea eax, [ebp + 8]
push eax
call fcn.0041974f
pop ecx
pop ecx
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x62
call fcn.00401608
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004010a3
push edi
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push ebx
call fcn.004013d2
call fcn.00418e10
pop ecx
pop ecx
lea ebx, [esi + 0x254]
cmp dword [ebx], 0
je 0x413c47
lea eax, [esi + 0x258]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x413c44
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004013d2
call fcn.00418d2d
pop ecx
test al, al
jne 0x413c47
and dword [ebx], 0
lea eax, [esi + 0x25c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x260]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x264]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x268]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x26c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x270]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x274]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x278]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x27c]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x280]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x284]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x288]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x28c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x290]
push eax
mov ecx, edi
call fcn.0040dbe6
lea eax, [esi + 0x294]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x298]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x29c]
push eax
mov ecx, edi
call fcn.004066a4
lea eax, [esi + 0x2a0]
push eax
mov ecx, edi
call fcn.004066a4
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004066a4
mov eax, dword [ebp + 8]
test eax, eax
jle 0x413da3
mov dword [ebp + 8], eax
push 0x30
call fcn.00463a5c
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0x63
test eax, eax
je 0x413d7e
push esi
mov ecx, eax
call fcn.004145b5
mov ebx, eax
jmp 0x413d80
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 0x38], ebx
call fcn.004110e2
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call fcn.004148c6
dec dword [ebp + 8]
jne 0x413d5c
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004066a4
mov eax, dword [ebp + 8]
test eax, eax
jle 0x413e03
mov dword [ebp + 8], eax
push 0x14
call fcn.00463a5c
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0x64
test eax, eax
je 0x413dde
push esi
mov ecx, eax
call fcn.00414b06
mov ebx, eax
jmp 0x413de0
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x30]
mov dword [ebp - 0x38], ebx
call fcn.004110e2
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call fcn.00414c8e
dec dword [ebp + 8]
jne 0x413dbc
mov al, 1
call fcn.00488a22
ret 8