Function at 0x40f720
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov dword [ebp - 4], 0x17152
mov dword [ebp - 0x24], 0x11985
mov dword [ebp - 0x38], 0x14cc0
mov dword [ebp - 0x50], 0xa118
mov dword [ebp - 0x3c], 0x10d85
mov dword [ebp - 0x40], 0x4eb6
mov dword [ebp - 8], 0x176fa
mov dword [ebp - 0x10], 0x16c58
mov dword [ebp - 0x14], 0xa603
mov dword [ebp - 0x28], 0x15544
mov dword [ebp - 0x18], 0x2031
mov dword [ebp - 0xc], 0x10e0c
mov dword [ebp - 0x48], 0x4bb5
mov dword [ebp - 0x1c], 0x9aca
mov dword [ebp - 0x20], 0x10f4e
mov dword [ebp - 0x30], 0x149e8
mov dword [ebp - 0x44], 0x17ffb
mov dword [ebp - 0x2c], 0xff77
mov dword [ebp - 0x4c], 0xb18d
mov dword [ebp - 0x34], 0x2e93
mov eax, dword [ebp - 0x18]
add eax, 0xe65e
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
jmp 0x40f7d4
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x40]
jge 0x40f9e5
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
or edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x1c]
jge 0x40f839
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
jge 0x40f839
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jge 0x40f839
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x2c]
je 0x40f839
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x3c]
jge 0x40f849
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x50]
jl 0x40f854
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 4]
jge 0x40f865
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0xc]
jge 0x40f865
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x14]
jl 0x40f875
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x2c]
jge 0x40f87e
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x70]
jge 0x40f8c6
mov eax, dword [ebp - 0x34]
sub eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x50]
jge 0x40f8c6
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jl 0x40f8f3
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x18]
jge 0x40f963
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 8]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x74], 0
je 0x40f963
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jge 0x40f923
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 8]
jge 0x40f923
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x38]
jl 0x40f95a
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x14]
jge 0x40f963
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x7c]
jge 0x40f963
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x80], 0
je 0x40f9ce
mov edx, dword [ebp - 0x50]
and edx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x84], 0
je 0x40f9ce
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x10]
jge 0x40f9ce
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x34]
jl 0x40f9c5
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 4]
jge 0x40f9ce
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x38]
jge 0x40f9ce
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x40f7cb
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x48]
je 0x40f9fe
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x1c]
jl 0x40fa1e
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x20]
jl 0x40fa1e
mov ecx, dword [ebp - 0x34]
sub ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x2c]
jge 0x40fa27
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x433b
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], edx
jmp 0x40fa47
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x28]
jge 0x40fbd9
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x88]
cmp edx, dword [ebp - 0x8c]
jge 0x40fa9e
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x4c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x90], 0
jne 0x40faa6
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x10]
je 0x40faaf
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 8]
jl 0x40fad8
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x40]
jge 0x40fad0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x34]
jl 0x40fad8
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jge 0x40fb43
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x48]
jge 0x40fb15
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x94]
cmp edx, dword [ebp - 0x98]
jl 0x40fb3a
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x50]
imul edx, dword [ebp - 0x10]
test edx, edx
je 0x40fb43
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x38]
jge 0x40fb43
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x30]
jl 0x40fb9f
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
jl 0x40fb9f
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 8]
je 0x40fb94
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x38]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x9c], 0
jne 0x40fb9f
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x14]
jge 0x40fbd4
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xa4]
jge 0x40fbd4
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
jmp 0x40fa3e
mov ecx, dword [ebp - 0x40]
add ecx, 0x8180
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 4], edx
jmp 0x40fbf9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x50]
jge 0x40fe8e
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jl 0x40fc53
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x14]
jge 0x40fc2a
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0xc]
jl 0x40fc53
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0xa8], 0
je 0x40fc5c
mov edx, dword [ebp - 0x34]
imul edx, dword [ebp - 0xc]
test edx, edx
je 0x40fc5c
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x1c]
je 0x40fccc
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x10]
jge 0x40fccc
mov eax, dword [ebp - 0x44]
or eax, dword [ebp - 8]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x44]
sub ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0xac], 0
je 0x40fccc
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x14]
je 0x40fccc
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x48]
je 0x40fccc
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x3c]
jge 0x40fcbb
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jge 0x40fcbb
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jl 0x40fcc3
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 8]
jge 0x40fccc
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x34]
jge 0x40fcdd
mov dword [ebp - 0x54], 1
jmp 0x40fce4
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x4c]
or edx, dword [ebp - 0x54]
jne 0x40fd47
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
jl 0x40fd47
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0xb0], 0
je 0x40fd1e
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x28]
jl 0x40fd47
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [ebp - 0xb8]
jge 0x40fd71
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x3c]
jl 0x40fd68
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x1c]
jl 0x40fd68
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jge 0x40fd71
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jge 0x40fe89
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x4c]
jge 0x40fe89
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x1c]
jge 0x40fdc6
mov edx, dword [ebp - 8]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xbc]
cmp edx, dword [ebp - 0xc0]
jl 0x40fddd
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x44]
jne 0x40fddd
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x24]
jge 0x40fe89
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x24]
jge 0x40fe02
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x4c]
jge 0x40fe02
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x48]
jl 0x40fe54
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0xc8]
jge 0x40fe89
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [ebp - 0xd0]
jge 0x40fe89
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xc]
jl 0x40fe80
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 8]
jge 0x40fe89
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x40]
jge 0x40fe89
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x44]
jge 0x40fe89
mov ecx, dword [ebp - 0x3c]
sub ecx, 1
mov dword [ebp - 0x3c], ecx
jmp 0x40fbf0
mov edx, dword [ebp - 4]
sub edx, 0x4060
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
sub eax, 0x5bc2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
jmp 0x40feb9
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x50]
jge 0x41010c
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x34]
jge 0x40ffc0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1c]
jge 0x40ffc0
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x2c]
je 0x40ffc0
mov edx, dword [ebp - 0x40]
or edx, dword [ebp - 0x4c]
je 0x40ffc0
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x38]
jge 0x40ff33
mov dword [ebp - 0x58], 1
jmp 0x40ff3a
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x20]
xor edx, dword [ebp - 0x58]
je 0x40ffc0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x40]
jl 0x40ff6b
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x18]
jl 0x40ff6b
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0xc]
je 0x40ffc0
mov ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
je 0x40ffc0
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0xc]
jge 0x40ffc0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x40]
jl 0x40ffb7
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 8]
jl 0x40ffb7
mov edx, dword [ebp - 0xc]
or edx, dword [ebp - 0x44]
jne 0x40ffb7
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0x48]
sub edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0xd8]
jge 0x40ffc0
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x38]
jge 0x40ffd1
mov dword [ebp - 0x5c], 1
jmp 0x40ffd8
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x5c]
je 0x41001a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x34]
sub eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [ebp - 0xe0]
jge 0x41001a
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 8]
jge 0x41001a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x3c]
jge 0x41002b
mov dword [ebp - 0x60], 1
jmp 0x410032
mov dword [ebp - 0x60], 0
mov edx, dword [ebp - 0x34]
and edx, dword [ebp - 0x60]
je 0x410064
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xe4], 0
je 0x410064
mov edx, dword [ebp - 0x3c]
imul edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x30]
jl 0x410074
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x4c]
jge 0x4100a3
mov ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0xc]
je 0x4100a3
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x38]
jl 0x41009a
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
jl 0x41009a
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x3c]
jl 0x41009a
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x48]
jge 0x4100a3
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, dword [ebp - 0x44]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0xe8]
cmp edx, dword [ebp - 0xec]
jl 0x4100fe
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x3c]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0xf0], 0
je 0x410107
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x24]
jge 0x410107
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x40feb0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]