Function at 0x404aeb
Capabilities:
Terminate process

Disassembly:
mov eax, 0x4c9910
call fcn.004b346c
sub esp, 0x1a8
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x9c], 0
je 0x404b7c
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x9c]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x114]
mov dword [ecx + 0xac], eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x9c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x404b68
push 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x118], eax
jmp 0x404b6f
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x114]
and dword [eax + 0x9c], 0
movzx eax, byte [0x4f2914]
test eax, eax
jne 0x4050f7
cmp dword [0x4f2910], 0
jne 0x404cc1
cmp dword [0x4f2908], 0
je 0x404baa
cmp dword [0x4f2908], 2
jne 0x404c00
push 0x19c
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x404bd8
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x28]
call fcn.00481b2e
mov dword [ebp - 0x11c], eax
jmp 0x404bdf
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x9c], ecx
jmp 0x404cbc
cmp dword [0x4f2908], 1
jne 0x404c5f
push 0x1a4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], 0
je 0x404c3a
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x30]
call fcn.00482da3
mov dword [ebp - 0x120], eax
jmp 0x404c41
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x2c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x9c], ecx
jmp 0x404cbc
cmp dword [0x4f2908], 3
jne 0x404cbc
push 0x19c
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0
je 0x404c99
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x38]
call fcn.00481b2e
mov dword [ebp - 0x124], eax
jmp 0x404ca0
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x9c], ecx
jmp 0x4050d2
cmp dword [0x4f2910], 1
jl 0x404f7a
cmp dword [0x4f2910], 3
jg 0x404f7a
cmp dword [0x4f2908], 0
je 0x404cfa
cmp dword [0x4f2908], 2
je 0x404cfa
cmp dword [0x4f2908], 3
jne 0x404e3d
mov eax, dword [0x4f2910]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 1
je 0x404d29
cmp dword [ebp - 0x128], 2
je 0x404d86
cmp dword [ebp - 0x128], 3
je 0x404de0
jmp 0x404e38
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x40], 0
je 0x404d5e
push 0
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x40]
call fcn.00483c86
mov dword [ebp - 0x12c], eax
jmp 0x404d65
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x3c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x9c], ecx
jmp 0x404e38
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x48], 0
je 0x404dbb
push 0
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x48]
call fcn.00483c86
mov dword [ebp - 0x130], eax
jmp 0x404dc2
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x44], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x9c], ecx
jmp 0x404e38
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x50], 0
je 0x404e15
push 0
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x50]
call fcn.00483c86
mov dword [ebp - 0x134], eax
jmp 0x404e1c
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x4c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x9c], ecx
jmp 0x404f75
mov eax, dword [0x4f2910]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 1
je 0x404e6c
cmp dword [ebp - 0x138], 2
je 0x404ec7
cmp dword [ebp - 0x138], 3
je 0x404f1f
jmp 0x404f75
push 0x1dc
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x58], 0
je 0x404e9f
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x58]
call fcn.0048d08f
mov dword [ebp - 0x13c], eax
jmp 0x404ea6
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x54], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0x9c], ecx
jmp 0x404f75
push 0x1dc
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x60], 0
je 0x404efa
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x60]
call fcn.0048d08f
mov dword [ebp - 0x140], eax
jmp 0x404f01
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x5c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x9c], ecx
jmp 0x404f75
push 0x1dc
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x68], 0
je 0x404f52
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x68]
call fcn.0048d08f
mov dword [ebp - 0x144], eax
jmp 0x404f59
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x64], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x9c], ecx
jmp 0x4050d2
cmp dword [0x4f2910], 4
jl 0x4050d2
cmp dword [0x4f2910], 7
jg 0x4050d2
mov eax, dword [0x4f2910]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 4
je 0x404fc3
cmp dword [ebp - 0x148], 5
je 0x405020
cmp dword [ebp - 0x148], 6
je 0x40507a
jmp 0x4050d2
push 0x1e0
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 9
cmp dword [ebp - 0x70], 0
je 0x404ff8
push 0
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x70]
call fcn.0048d789
mov dword [ebp - 0x14c], eax
jmp 0x404fff
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x6c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x9c], ecx
jmp 0x4050d2
push 0x1e0
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x78], 0
je 0x405055
push 0
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x78]
call fcn.0048d789
mov dword [ebp - 0x150], eax
jmp 0x40505c
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x74], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x9c], ecx
jmp 0x4050d2
push 0x1e0
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xb
cmp dword [ebp - 0x80], 0
je 0x4050af
push 0
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x80]
call fcn.0048d789
mov dword [ebp - 0x154], eax
jmp 0x4050b6
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x7c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + 0x9c], ecx
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0xe4]
and byte [eax + 0x54], 0
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0xe8]
and byte [eax + 0x54], 0
jmp 0x405a9f
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax + 0xa0]
test eax, eax
je 0x4056bd
cmp dword [0x4f2910], 0
jne 0x405213
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0xfc], 0
je 0x405146
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0xfc], 2
je 0x405146
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0xfc], 2
jne 0x4051ab
push 0x1a4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x88], 0
je 0x405180
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x88]
call fcn.004822df
mov dword [ebp - 0x158], eax
jmp 0x405187
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x84], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0x9c], ecx
jmp 0x40520e
push 0x1a4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x90], 0
je 0x4051e5
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x90]
call fcn.00482894
mov dword [ebp - 0x15c], eax
jmp 0x4051ec
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x8c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0x9c], ecx
jmp 0x4056a8
cmp dword [0x4f2910], 1
jl 0x405523
cmp dword [0x4f2910], 3
jg 0x405523
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0xfc], 0
je 0x40524f
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0xfc], 2
jne 0x4053b9
mov eax, dword [0x4f2910]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 1
je 0x40527e
cmp dword [ebp - 0x160], 2
je 0x4052e8
cmp dword [ebp - 0x160], 3
je 0x40534f
jmp 0x4053b4
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 0xe
cmp dword [ebp - 0x98], 0
je 0x4052ba
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x98]
call fcn.0048cd85
mov dword [ebp - 0x164], eax
jmp 0x4052c1
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x94], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x9c], ecx
jmp 0x4053b4
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 0xf
cmp dword [ebp - 0xa0], 0
je 0x405324
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xa0]
call fcn.0048cd85
mov dword [ebp - 0x168], eax
jmp 0x40532b
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x9c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 0x9c], ecx
jmp 0x4053b4
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], 0x10
cmp dword [ebp - 0xa8], 0
je 0x40538b
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xa8]
call fcn.0048cd85
mov dword [ebp - 0x16c], eax
jmp 0x405392
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xa4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 0x9c], ecx
jmp 0x40551e
mov eax, dword [0x4f2910]
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 1
je 0x4053e8
cmp dword [ebp - 0x170], 2
je 0x405452
cmp dword [ebp - 0x170], 3
je 0x4054b9
jmp 0x40551e
push 0x1dc
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0x11
cmp dword [ebp - 0xb0], 0
je 0x405424
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xb0]
call fcn.0048d464
mov dword [ebp - 0x174], eax
jmp 0x40542b
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xac], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xac]
mov dword [eax + 0x9c], ecx
jmp 0x40551e
push 0x1dc
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 0x12
cmp dword [ebp - 0xb8], 0
je 0x40548e
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xb8]
call fcn.0048d464
mov dword [ebp - 0x178], eax
jmp 0x405495
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xb4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 0x9c], ecx
jmp 0x40551e
push 0x1dc
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0xc0], 0
je 0x4054f5
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc0]
call fcn.0048d464
mov dword [ebp - 0x17c], eax
jmp 0x4054fc
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xbc], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x9c], ecx
jmp 0x4056a8
cmp dword [0x4f2910], 4
jl 0x4056a8
cmp dword [0x4f2910], 7
jg 0x4056a8
mov eax, dword [0x4f2910]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 4
je 0x40556c
cmp dword [ebp - 0x180], 5
je 0x4055d8
cmp dword [ebp - 0x180], 6
je 0x405641
jmp 0x4056a8
push 0x1e0
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 0x14
cmp dword [ebp - 0xc8], 0
je 0x4055aa
push 0
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc8]
call fcn.0049c31c
mov dword [ebp - 0x184], eax
jmp 0x4055b1
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0xc4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 0x9c], ecx
jmp 0x4056a8
push 0x1e0
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 0x15
cmp dword [ebp - 0xd0], 0
je 0x405616
push 0
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xd0]
call fcn.0049c31c
mov dword [ebp - 0x188], eax
jmp 0x40561d
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xcc], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 0x9c], ecx
jmp 0x4056a8
push 0x1e0
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0x16
cmp dword [ebp - 0xd8], 0
je 0x40567f
push 0
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xd8]
call fcn.0049c31c
mov dword [ebp - 0x18c], eax
jmp 0x405686
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xd4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xd4]
mov dword [eax + 0x9c], ecx
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0xe8]
mov byte [eax + 0x54], 1
jmp 0x405a9f
mov eax, dword [0x4f2904]
mov dword [0x4f28a8], eax
mov eax, dword [0x4f2908]
mov dword [0x4f2748], eax
cmp dword [0x4f2910], 1
jl 0x4056ec
cmp dword [0x4f2910], 7
jge 0x4056ec
and dword [0x4f2908], 0
jmp 0x405705
cmp dword [0x4f2908], 0
je 0x405705
cmp dword [0x4f2908], 3
je 0x405705
and dword [0x4f2908], 0
mov dword [0x4f2904], 1
cmp dword [0x4f2910], 0
jne 0x405780
push 0x1a4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 4], 0x17
cmp dword [ebp - 0xe0], 0
je 0x405752
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xe0]
call fcn.00480ff4
mov dword [ebp - 0x190], eax
jmp 0x405759
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0xdc], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 0x9c], ecx
jmp 0x405a8f
cmp dword [0x4f2910], 1
jl 0x40590a
cmp dword [0x4f2910], 3
jg 0x40590a
mov eax, dword [0x4f2910]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 1
je 0x4057c9
cmp dword [ebp - 0x194], 2
je 0x405835
cmp dword [ebp - 0x194], 3
je 0x40589e
jmp 0x405905
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0xe8], 0
je 0x405807
push 0
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xe8]
call fcn.00486a72
mov dword [ebp - 0x198], eax
jmp 0x40580e
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0xe4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 0x9c], ecx
jmp 0x405905
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0x19
cmp dword [ebp - 0xf0], 0
je 0x405873
push 0
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xf0]
call fcn.00486a72
mov dword [ebp - 0x19c], eax
jmp 0x40587a
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xec], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xec]
mov dword [eax + 0x9c], ecx
jmp 0x405905
push 0x1d4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 0x1a
cmp dword [ebp - 0xf8], 0
je 0x4058dc
push 0
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0xf8]
call fcn.00486a72
mov dword [ebp - 0x1a0], eax
jmp 0x4058e3
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0xf4], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x9c], ecx
jmp 0x405a8f
cmp dword [0x4f2910], 4
jl 0x405a8f
cmp dword [0x4f2910], 7
jg 0x405a8f
mov eax, dword [0x4f2910]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 4
je 0x405953
cmp dword [ebp - 0x1a4], 5
je 0x4059bf
cmp dword [ebp - 0x1a4], 6
je 0x405a28
jmp 0x405a8f
push 0x1e4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x100], eax
mov dword [ebp - 4], 0x1b
cmp dword [ebp - 0x100], 0
je 0x405991
push 0
push 0
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x100]
call fcn.00490b86
mov dword [ebp - 0x1a8], eax
jmp 0x405998
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0xfc], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0xfc]
mov dword [eax + 0x9c], ecx
jmp 0x405a8f
push 0x1e4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 4], 0x1c
cmp dword [ebp - 0x108], 0
je 0x4059fd
push 0
push 1
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x108]
call fcn.00490b86
mov dword [ebp - 0x1ac], eax
jmp 0x405a04
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x104], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x104]
mov dword [eax + 0x9c], ecx
jmp 0x405a8f
push 0x1e4
call fcn.0049e7a6
pop ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], 0x1d
cmp dword [ebp - 0x110], 0
je 0x405a66
push 0
push 2
push dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
call fcn.00490b86
mov dword [ebp - 0x1b0], eax
jmp 0x405a6d
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x10c], eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 0x9c], ecx
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0xe4]
mov byte [eax + 0x54], 1
movzx eax, byte [0x4f01a1]
test eax, eax
je 0x405ace
movzx eax, byte [0x4f0178]
test eax, eax
je 0x405ace
movzx eax, byte [ebp + 8]
test eax, eax
jne 0x405ace
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax + 0xa8]
test eax, eax
je 0x405ae7
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x405b21
mov eax, dword [ebp - 0x114]
movzx eax, byte [eax + 0xa8]
test eax, eax
jne 0x405b21
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x9c]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov byte [ebp - 0x11], al
movzx eax, byte [0x4f2914]
test eax, eax
jne 0x405b1f
mov eax, dword [ebp - 0x114]
and byte [eax + 0xa8], 0
jmp 0x405b64
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x9c]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [eax]
call dword [eax + 4]
mov byte [ebp - 0x11], al
movzx eax, byte [0x4f2914]
test eax, eax
jne 0x405b64
mov eax, dword [ebp - 0x114]
and byte [eax + 0xa8], 0
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x9c]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x9c]
mov eax, dword [eax]
call dword [eax + 0x3c]
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x405b9e
push str.Error_create_game.
call fcn.0043cedb
pop ecx
push 0xff
call fcn.004b40d7
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x405bad
and byte [0x4f0137], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0x9c]
mov ecx, dword [eax + 0x20]
call fcn.00418c41
movzx eax, al
test eax, eax
je 0x405be9
cmp dword [0x4f2910], 4
jge 0x405be9
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + 0xa4]
mov byte [eax + 0x54], 1
push dword [ebp - 0x114]
call fcn.0040f1cd
pop ecx
mov ecx, dword [ebp - 0x114]
call fcn.00405eb7
mov eax, dword [0x4f2910]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x405c45
cmp dword [ebp - 0x1b4], 0
jle 0x405cdf
cmp dword [ebp - 0x1b4], 3
jle 0x405c79
cmp dword [ebp - 0x1b4], 3
jle 0x405cdf
cmp dword [ebp - 0x1b4], 6
jle 0x405cad
jmp 0x405cdf
fld qword [0x4d05e0]
push ecx
push ecx
fstp qword [esp]
fld qword [0x4d05d8]
push ecx
push ecx
fstp qword [esp]
fld qword [0x4d05d0]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xe0]
call fcn.0040378f
jmp 0x405cdf
fld qword [0x4d05e0]
push ecx
push ecx
fstp qword [esp]
fld qword [0x4d05c8]
push ecx
push ecx
fstp qword [esp]
fld qword [0x4d05c0]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xe0]
call fcn.0040378f
jmp 0x405cdf
fld qword [0x4d05e0]
push ecx
push ecx
fstp qword [esp]
fld qword [0x4d05b8]
push ecx
push ecx
fstp qword [esp]
fld qword [0x4d05b0]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xe0]
call fcn.0040378f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x14