Function at 0x4048eb
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d34cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x268
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x198], 1
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x190], 1
lea ecx, [ebp - 0x6d]
call fcn.0040b9d7
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b9da
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x208]
call fcn.0040b986
push 1
lea ecx, [ebp - 0x10c]
call fcn.0040b8da
mov dword [ebp - 0x38], 0x99fb023e
mov dword [ebp - 0x40], 0
jmp 0x40498e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x4049aa
push dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
call fcn.0040b9c8
mov dword [eax], 0xe8e56f9b
jmp 0x404987
push 0
lea ecx, [ebp - 0x10c]
call fcn.0040b9c8
and dword [eax], 0
jmp 0x4049e0
push 0
lea ecx, [ebp - 0x10c]
call fcn.0040b9c8
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xdc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x10c]
call fcn.0040b9c8
cmp dword [eax], 4
jge 0x404a09
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004045b8
pop ecx
pop ecx
jmp 0x4049bc
mov dword [ebp - 0x38], 0xffffffe3
jmp 0x404a19
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff7
jl 0x404a32
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x404a30
call fcn.004045e7
jmp 0x404a12
lea ecx, [ebp - 0x10c]
call fcn.0040b9ac
lea ecx, [ebp - 0x208]
call fcn.0040b9ac
lea eax, [ebp - 0x98]
push eax
push 0
push 0x4831
call fcn.00405713
add esp, 0xc
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x8c], 0x61a6b719
mov dword [ebp - 0x1c], 0xffffffe6
jmp 0x404a86
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x404af3
push 2
lea ecx, [ebp - 0x218]
call fcn.0040b8da
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004045f2
pop ecx
pop ecx
mov dword [ebp - 0x48], 1
jmp 0x404ac5
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x404ae6
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x404ae4
push 0
push 0x1d90
call dword [0xad3454]
jmp 0x404abe
lea ecx, [ebp - 0x218]
call fcn.0040b9ac
jmp 0x404a7f
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
jne 0x404b32
cmp dword [ebp - 0x1c], 0xb17d72b9
jne 0x404b10
mov dword [ebp - 0x90], 1
jmp 0x404b17
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 1
ja 0x404b32
cmp dword [ebp - 0x34], 0
je 0x404b32
mov dword [ebp - 0x144], 1
jmp 0x404b39
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x34], eax
jne 0x404b56
mov dword [ebp - 0x88], 1
jmp 0x404b5d
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x34]
cmp dword [ebp - 0x1c], eax
jl 0x404b8d
mov dword [ebp - 0xe8], 1
jmp 0x404b94
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x98], 0
je 0x4051a7
push dword [ebp + 8]
lea ecx, [ebp - 0x1c0]
call fcn.0040b7c8
mov dword [ebp - 0x21c], 0x35568345
mov byte [ebp - 0x2a], 0
lea eax, [ebp - 0x2a]
push eax
call fcn.0040463a
pop ecx
mov byte [ebp - 0x22], 0
lea eax, [ebp - 0x22]
push eax
call fcn.0040466c
pop ecx
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040b81f
push dword [eax]
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040b833
push dword [eax]
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040b81f
push dword [eax]
mov edx, 0x403b94
lea ecx, [ebp - 0x1f8]
call fcn.0040e123
add esp, 0xc
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x15c], 0x869ec427
push 3
lea ecx, [ebp - 0x1a8]
call fcn.0040b8da
mov dword [ebp - 0x154], 0xfffffff8
mov dword [ebp - 0x128], 0xb3f4b141
mov dword [ebp - 0x11c], 0xd9532955
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00404698
pop ecx
pop ecx
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004046dd
add esp, 0x14
mov byte [ebp - 0x23], 0
lea eax, [ebp - 0x23]
push eax
call fcn.00404864
pop ecx
lea ecx, [ebp - 0x1a8]
call fcn.0040b9ac
mov dword [ebp - 0xc8], 0x5085
mov dword [ebp - 0x158], 0xab8cc0
cmp dword [ebp - 0xc8], 0x5332
jle 0x404d89
and dword [ebp - 0x5c], 0
jmp 0x404d01
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x5313
jge 0x404d89
and dword [ebp - 0x50], 0
jmp 0x404d17
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x637
jge 0x404d84
and dword [ebp - 0x64], 0
jmp 0x404d2d
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x3b15
jge 0x404d82
and dword [ebp - 0x58], 0
jmp 0x404d43
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xcd
jge 0x404d80
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
imul ecx, dword [ebp - 0x58]
sub eax, ecx
cdq
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
push dword [ebp - 0x130]
push dword [ebp - 0x134]
mov ecx, 0xad0258
call fcn.0040b6b3
jmp 0x404d3c
jmp 0x404d26
jmp 0x404d10
jmp 0x404cfa
and dword [ebp - 0x6c], 0
and dword [ebp - 4], 0
cmp dword [ebp - 0xc8], 0x4e82
jge 0x404dad
mov edx, dword [ebp - 0x158]
mov ecx, 0xad0258
call fcn.0040df38
jmp 0x404dc9
or dword [ebp - 4], 0xffffffff
jmp 0x404dd3
mov dword [ebp - 0x20], 0
jmp 0x404de3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x404df9
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x124], 0
jmp 0x404ddc
mov dword [ebp - 0x20], 0
jmp 0x404e09
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x404e1f
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x100], 1
jmp 0x404e02
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x100], 0
jmp 0x404e4d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x100]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x100], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x100], 1
jge 0x404e77
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x100]
mov dword [ebp + eax*4 - 0x124], 3
jmp 0x404e32
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax - 0x100]
mov dword [ebp + ecx - 0x100], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
jmp 0x404ea5
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0xa0]
je 0x40519c
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push dword [eax + 0x28]
lea ecx, [ebp - 0x1d8]
call fcn.0040b7f0
mov dword [ebp - 0x68], 0xfffffffe
push 4
lea ecx, [ebp - 0x188]
call fcn.0040b8da
mov dword [ebp - 0xd8], 0xfffffffe
mov dword [ebp - 0x14], 0
jmp 0x404ef9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x404f0c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], 2
jmp 0x404ef2
mov dword [ebp - 0x14], 0
jmp 0x404f1c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x404f32
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x238], 0x34215e1a
jmp 0x404f15
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404893
pop ecx
pop ecx
mov dword [ebp - 0x14], 0
jmp 0x404f54
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x404f6a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x228], 0
jmp 0x404f4d
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x68], 0
jne 0x404fd7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x228]
dec eax
mov dword [ebp - 0xe0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x228], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
imul eax, dword [ebp - 0xe0]
test eax, eax
jne 0x404fd7
cmp dword [ebp - 0x68], 0x35327163
jle 0x404fd7
push 1
lea ecx, [ebp - 0x188]
call fcn.0040b9c8
cmp dword [eax], 0
jne 0x404fd7
and dword [ebp - 0xa8], 0
jmp 0x404fe1
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0
jle 0x404ff6
mov dword [ebp - 0xd0], 1
jmp 0x404ffd
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
imul eax, dword [ebp - 0xd0]
cmp eax, 0x2c7a2e42
jge 0x40502a
cmp dword [ebp - 0xd8], 0
je 0x40502a
mov dword [ebp - 0xb0], 1
jmp 0x405031
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x238]
cmp eax, dword [ebp - 0xb0]
jg 0x40505b
mov eax, 0x7a30
test eax, eax
je 0x40505b
mov dword [ebp - 0xf0], 1
jmp 0x405062
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xfffffffd
jge 0x405077
mov dword [ebp - 0xb8], 1
jmp 0x40507e
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x238]
imul eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xd8]
jl 0x4050a5
mov dword [ebp - 0xc0], 1
jmp 0x4050ac
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x78]
cmp eax, dword [ebp - 0xc0]
jl 0x4050ca
mov dword [ebp - 0x84], 1
jmp 0x4050d1
and dword [ebp - 0x84], 0
push 1
lea ecx, [ebp - 0x188]
call fcn.0040b9c8
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
lea ecx, [ebp - 0x188]
call fcn.0040b9ac
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0040b81f
push dword [eax]
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0040b833
push dword [eax]
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0040b81f
push dword [eax]
mov edx, 0x403b94
lea ecx, [ebp - 0x1e4]
call fcn.0040e123
add esp, 0xc
lea edx, [ebp - 0x1d8]
lea ecx, [ebp - 0x1c0]
call fcn.0040e18c
movzx eax, al
test eax, eax
je 0x40518c
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + eax + 0x10]
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x1d8]
call fcn.0040b815
lea ecx, [ebp - 0x1c0]
call fcn.0040b815
mov eax, dword [ebp - 0x164]
jmp 0x40567c
lea ecx, [ebp - 0x1d8]
call fcn.0040b815
jmp 0x404e9d
lea ecx, [ebp - 0x1c0]
call fcn.0040b815
mov dword [ebp - 0x94], 0x6661
mov dword [ebp - 0x12c], 0xab8d20
cmp dword [ebp - 0x94], 0x674f
jle 0x405228
and dword [ebp - 0x3c], 0
jmp 0x4051d4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x1211
jge 0x405220
and dword [ebp - 0x44], 0
jmp 0x4051ea
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x604
jge 0x40521e
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
mov ecx, 0xad0258
call fcn.0040b6b3
jmp 0x4051e3
jmp 0x4051cd
push 0
call dword [0xad345c]
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 4], 2
cmp dword [ebp - 0x94], 0x64ff
jge 0x405252
mov edx, dword [ebp - 0x12c]
mov ecx, 0xad0258
call fcn.0040df38
jmp 0x40526e
or dword [ebp - 4], 0xffffffff
jmp 0x405278
mov dword [ebp - 0x28], 0xb3a00d0e
mov dword [ebp - 0x30], 0x8d9a2b82
mov dword [ebp - 0x74], 0xf4dad240
mov dword [ebp - 0x120], 0xfffffffa
cmp dword [ebp - 0x18], 0
je 0x4052a1
cmp dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xcda2ae7b
jb 0x4052b6
mov dword [ebp - 0x160], 1
jmp 0x4052bd
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x18], 0x7c2c9ebf
jg 0x4052de
cmp dword [ebp - 0x18], 0
je 0x4052f0
cmp dword [ebp - 0x18], 0
je 0x4052f0
mov dword [ebp - 0x9c], 1
jmp 0x4052f7
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
sub eax, 0xa8df17d
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
jmp 0x40531b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x38
je 0x40567a
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0xbc], 0xd3d38e20
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 0x114], 1
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xa4], 0x4c9c
mov dword [ebp - 0x138], 0xab8dac
cmp dword [ebp - 0xa4], 0x4cd7
jle 0x4053eb
and dword [ebp - 0x4c], 0
jmp 0x405381
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x657e
jge 0x4053eb
and dword [ebp - 0x54], 0
jmp 0x405397
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x626e
jge 0x4053e9
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
sar eax, cl
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
lea ecx, [ebp - 0x278]
call fcn.00401ab8
pop ecx
pop ecx
mov ecx, eax
call fcn.0040b6a8
push eax
call fcn.004bdbc7
pop ecx
lea ecx, [ebp - 0x278]
call fcn.0040b69e
jmp 0x405390
jmp 0x40537a
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0xa4], 0x4b62
jge 0x40540e
push dword [ebp - 0x138]
call fcn.004bdbc7
pop ecx
jmp 0x40542a
or dword [ebp - 4], 0xffffffff
jmp 0x405434
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x405441
call fcn.004048db
mov dword [ebp - 0x30], 0
jmp 0x405451
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x18
jl 0x405675
mov dword [ebp - 0x178], 1
mov dword [ebp - 0x174], 1
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], 1
mov dword [ebp - 0xf4], 3
mov eax, dword [ebp - 0x7c]
sub eax, 0x3585ca25
cmp dword [ebp - 0x18], eax
jg 0x4054a6
mov dword [ebp - 0x168], 1
jmp 0x4054ad
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x7c], 0xfff7
je 0x4054c2
mov dword [ebp - 0xac], 1
jmp 0x4054c9
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x507b
jl 0x4054e1
mov dword [ebp - 0xb4], 1
jmp 0x4054e8
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xbc], eax
jle 0x40550b
mov dword [ebp - 0xc4], 1
jmp 0x405512
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0xc4]
lea eax, [ecx + eax + 0x1b460d54]
add eax, dword [ebp - 0x18]
je 0x40553c
cmp dword [ebp - 0x18], 0
je 0x40553c
mov dword [ebp - 0xcc], 1
jmp 0x405543
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0x3309
jl 0x40555b
mov dword [ebp - 0xd4], 1
jmp 0x405562
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x7f72
jg 0x40557a
mov dword [ebp - 0x17c], 1
jmp 0x405581
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x178]
mov dword [ebp - 0x24c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x178], 0
jne 0x4055b6
mov eax, 0xf00f
test eax, eax
jne 0x4055b6
and dword [ebp - 0x150], 0
jmp 0x4055c0
mov dword [ebp - 0x150], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x30], eax
jle 0x4055dd
mov dword [ebp - 0x80], 1
jmp 0x4055e1
and dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x178]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xf4], 0xa762afed
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1fc], eax
push 2
pop eax
sub eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x18]
jg 0x40562a
mov dword [ebp - 0x118], 1
jmp 0x405631
and dword [ebp - 0x118], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x178]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x120], eax
jg 0x40565d
mov dword [ebp - 0xec], 1
jmp 0x405664
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
jmp 0x40544a
jmp 0x405314
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret