Function at 0x40a85c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
push esi
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x40c01f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x278], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x26c]
movzx eax, byte [eax]
test eax, eax
je 0x40a8d1
push 0x2fb4
push 1
call fcn.0040c03d
pop ecx
pop ecx
jmp 0x40c01d
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
movzx eax, byte [eax]
test eax, eax
je 0x40bfba
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x7c], eax
push 0x2684
push 0x6c2c
push 0
call fcn.0041e751
add esp, 0xc
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x300], 0xffffffff
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x40a9ad
push 0x45bf
push 1
push 0x5689
push 0x66cf
push 0
push 0x5542
push 0
push 0x6d7
push 0xe0b
call fcn.0040d917
add esp, 0x24
push 0x6a02
push 0x6e5c
push 0x7994
push 0x2240
push 0x1c48
push 0x3f6b
push 1
push 0x4542
push 0
push 0x6926
push 0x4053
call fcn.00408d4e
add esp, 0x2c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x130], 0x6cc6b0c4
mov dword [ebp - 0x2e4], 1
mov dword [ebp - 0x78], 0
jmp 0x40aa11
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 4
jge 0x40aa24
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x50], 0xffffffff
jmp 0x40aa0a
mov dword [ebp - 0x30], 0
jmp 0x40aa34
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 8
jl 0x40afbf
mov dword [ebp - 4], 0x4914d2ed
mov dword [ebp - 0x288], 0xfffffffb
mov dword [ebp - 0xac], 0xbf3f
mov dword [ebp - 4], 3
jmp 0x40aa69
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40afba
mov dword [ebp - 8], 0
mov dword [ebp - 0x54], 0xab3ae5d5
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x290], 0xd538
mov dword [ebp - 8], 3
jmp 0x40aaa2
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40ae50
mov dword [ebp - 0x1b0], 0xfda6
mov dword [ebp - 0x5c], 0
jmp 0x40aac6
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x40aadc
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x340], 0xffffffff
jmp 0x40aabf
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x50], 0
je 0x40ab59
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub eax, dword [ebp + ecx*4 - 0x50]
mov ecx, dword [ebp - 8]
add eax, dword [ebp + ecx*4 - 0x50]
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp + ecx*4 - 0x50]
jge 0x40ab19
mov dword [ebp - 0x194], 1
jmp 0x40ab20
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0x32c5b641
jle 0x40ab38
mov dword [ebp - 0x240], 1
jmp 0x40ab3f
and dword [ebp - 0x240], 0
imul eax, dword [ebp - 0x240], 0x66ef
test eax, eax
je 0x40ab59
mov dword [ebp - 0x1d4], 1
jmp 0x40ab60
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1d4]
sub ecx, dword [ebp + eax*4 - 0x50]
mov eax, dword [ebp - 8]
cmp ecx, dword [ebp + eax*4 - 0x50]
jle 0x40ab82
mov dword [ebp - 0xc0], 1
jmp 0x40ab89
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0xc0], eax
jne 0x40aba4
mov dword [ebp - 0x180], 1
jmp 0x40abab
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
neg eax
je 0x40abd1
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x50], 0
je 0x40abd1
mov dword [ebp - 0xc8], 1
jmp 0x40abd8
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc8], eax
jge 0x40abef
mov dword [ebp - 0x188], 1
jmp 0x40abf6
and dword [ebp - 0x188], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x188]
add eax, dword [ebp - 4]
imul eax, eax, 0xc5c3
cmp eax, dword [ebp - 8]
je 0x40ac19
mov dword [ebp - 0xd0], 1
jmp 0x40ac20
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0xd0], eax
jg 0x40ac3b
mov dword [ebp - 0x190], 1
jmp 0x40ac42
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x320], eax
push 4
pop eax
shl eax, 0
mov ecx, 0xc254
sub ecx, dword [ebp + eax - 0x50]
cmp ecx, dword [ebp - 4]
je 0x40ac74
mov dword [ebp - 0xd8], 1
jmp 0x40ac7b
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xd8], eax
jg 0x40ac92
mov dword [ebp - 0x198], 1
jmp 0x40ac99
and dword [ebp - 0x198], 0
imul eax, dword [ebp - 0x198], 9
mov dword [ebp - 0xe0], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x340], ecx
cmp dword [ebp - 0xe0], 0
jb 0x40accd
mov dword [ebp - 0x1a0], 1
jmp 0x40acd4
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1b0]
imul eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 9
jge 0x40acf6
mov dword [ebp - 0xe8], 1
jmp 0x40acfd
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x116e8cfb
jl 0x40ad15
mov dword [ebp - 0x1a8], 1
jmp 0x40ad1c
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1a8]
jne 0x40ad33
mov dword [ebp - 0xf0], 1
jmp 0x40ad3a
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp dword [ebp - 0xf0], eax
jle 0x40ad5e
cmp dword [ebp - 0x1b0], 0
jne 0x40ad5e
and dword [ebp - 0xf8], 0
jmp 0x40ad68
mov dword [ebp - 0xf8], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xf8], eax
jge 0x40ad89
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x50], 0
je 0x40ad89
mov dword [ebp - 0x1b8], 1
jmp 0x40ad90
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
add eax, 0xfd32
cmp eax, 0xffffffff
jl 0x40adac
mov dword [ebp - 0x100], 1
jmp 0x40adb3
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
add eax, 8
cmp dword [ebp - 0x54], eax
jle 0x40adcd
mov dword [ebp - 0x1c0], 1
jmp 0x40add4
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x50]
add eax, dword [ebp - 0x1c0]
jne 0x40ade7
cmp dword [ebp - 4], 0
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x50], 0xd714
jg 0x40ae03
mov dword [ebp - 0x108], 1
jmp 0x40ae0a
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffffff6
jne 0x40ae1f
mov dword [ebp - 0x1c8], 1
jmp 0x40ae26
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 0
jge 0x40ae3b
mov dword [ebp - 0x110], 1
jmp 0x40ae42
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x54], eax
jmp 0x40aa9b
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x50]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp + eax*4 - 0x50], ecx
cmp dword [ebp - 0x1d0], 0
jne 0x40afa2
cmp dword [ebp - 4], 0
jne 0x40af40
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xac]
cmp dword [ebp + eax*4 - 0x50], ecx
jl 0x40ae9c
mov dword [ebp - 0x2b8], 1
jmp 0x40aea3
and dword [ebp - 0x2b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x30c], eax
imul eax, dword [ebp - 0x30], 0
cmp eax, 0xdc747387
jne 0x40aed6
mov dword [ebp - 0x118], 1
jmp 0x40aedd
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 1
ja 0x40aef2
mov dword [ebp - 0x1d8], 1
jmp 0x40aef9
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x1d8]
jg 0x40af13
mov dword [ebp - 0x120], 1
jmp 0x40af1a
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, 0x110
cmp dword [ebp - 0x130], eax
jne 0x40af40
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x50], 0
jne 0x40af40
and dword [ebp - 0x1e0], 0
jmp 0x40af4a
mov dword [ebp - 0x1e0], 1
mov eax, dword [ebp - 0x1e0]
neg eax
mov ecx, dword [ebp - 4]
sub eax, dword [ebp + ecx*4 - 0x50]
cmp eax, dword [ebp - 0x34]
jl 0x40af6d
cmp dword [ebp - 0x34], 0
jne 0x40af6d
and dword [ebp - 0x128], 0
jmp 0x40af77
mov dword [ebp - 0x128], 1
imul eax, dword [ebp - 0x128], 0x8e81
imul eax, dword [ebp - 0x2e4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 8], eax
jne 0x40afa2
mov dword [ebp - 0x1e8], 1
jmp 0x40afa9
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x290], eax
jmp 0x40aa62
jmp 0x40aa2d
push 0x6784
push 0x44a4
push 0x203a
lea eax, [ebp - 0x130]
push eax
push 0x40c4
push 0
push 0x2b71
push 0x111a
push 0x1ae4
push 1
push 0x355b
lea eax, [ebp - 0x30]
push eax
call fcn.0041b67d
add esp, 0x30
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x90], 0
jmp 0x40b032
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x90], eax
jge 0x40bfb8
mov dword [ebp - 0x17c], 4
mov dword [ebp - 0xa8], 0xce3051eb
push 1
lea ecx, [ebp - 0x230]
call fcn.00432107
mov dword [ebp - 0x218], 0xc299
push 3
lea ecx, [ebp - 0x268]
call fcn.00432107
mov dword [ebp - 0x40], 0xfffffff9
push 2
lea ecx, [ebp - 0x250]
call fcn.00432107
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x214], 0xfffffff6
mov dword [ebp - 0x184], 0x7f7f2bfc
mov dword [ebp - 0x2c0], 0xfffffffe
push 0
push 0x1be7
push 0x480d
lea eax, [ebp - 0x230]
push eax
push 0x679c
lea eax, [ebp - 0x28]
push eax
push 0x85f
push 0x7627
push 0
push 0x6f3a
push 0x3ed0
call fcn.0040a584
add esp, 0x2c
push 1
push 0
push 0x894
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push 0x3503
push 0x37f6
call fcn.0040a85c
add esp, 0x20
push 0
lea eax, [ebp - 0x250]
push eax
push 0x757e
lea eax, [ebp - 0x28]
push eax
call fcn.0040c2bc
add esp, 0x10
mov dword [ebp - 0x28], 0
jmp 0x40b151
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x40b164
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x64], 2
jmp 0x40b14a
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x230]
push eax
push 0x1efc
push 0x4ef3
lea eax, [ebp - 0x40]
push eax
push 0x1ac1
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0040f59b
add esp, 0x28
push 2
lea ecx, [ebp - 0x268]
call fcn.004321f5
mov dword [ebp - 0x1f0], eax
push 0
lea ecx, [ebp - 0x230]
call fcn.004321f5
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1f0]
cmp dword [eax], 0
jne 0x40b53d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x314], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
je 0x40b20f
cmp dword [ebp - 0x98], 0
je 0x40b20f
mov dword [ebp - 0x138], 1
jmp 0x40b216
and dword [ebp - 0x138], 0
push 1
lea ecx, [ebp - 0x250]
call fcn.004321f5
mov ecx, dword [ebp - 0x138]
imul ecx, dword [eax]
cmp ecx, dword [ebp - 0x98]
jge 0x40b249
mov eax, 0x31c1
test eax, eax
je 0x40b249
mov dword [ebp - 0x1f8], 1
jmp 0x40b250
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
sub eax, dword [ebp - 0x40]
je 0x40b267
mov dword [ebp - 0x140], 1
jmp 0x40b26e
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x40]
push 0
lea ecx, [ebp - 0x230]
call fcn.004321f5
cmp esi, dword [eax]
jne 0x40b297
mov dword [ebp - 0x200], 1
jmp 0x40b29e
and dword [ebp - 0x200], 0
mov esi, dword [ebp - 0x200]
neg esi
push 0
lea ecx, [ebp - 0x230]
call fcn.004321f5
cmp esi, dword [eax]
jl 0x40b2c3
mov dword [ebp - 0x148], 1
jmp 0x40b2ca
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x854e
jle 0x40b2ec
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x64], 0
jne 0x40b2ec
and dword [ebp - 0x208], 0
jmp 0x40b2f6
mov dword [ebp - 0x208], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x208], eax
jl 0x40b314
mov dword [ebp - 0x150], 1
jmp 0x40b31b
and dword [ebp - 0x150], 0
push 1
lea ecx, [ebp - 0x250]
call fcn.004321f5
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
jle 0x40b33e
mov dword [ebp - 0x210], 1
jmp 0x40b345
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0x39a0
jl 0x40b35d
mov dword [ebp - 0x158], 1
jmp 0x40b364
and dword [ebp - 0x158], 0
push 0
lea ecx, [ebp - 0x230]
call fcn.004321f5
mov eax, dword [eax]
cmp eax, dword [ebp - 0x158]
jle 0x40b387
mov dword [ebp - 0xb4], 1
jmp 0x40b38e
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0x230]
call fcn.004321f5
mov ecx, dword [ebp - 0xb4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0xb4], eax
jg 0x40b3bd
mov dword [ebp - 0x220], 1
jmp 0x40b3c4
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x218]
cmp dword [ebp - 0x220], eax
jne 0x40b3de
mov dword [ebp - 0x164], 1
jmp 0x40b3e5
and dword [ebp - 0x164], 0
push 2
lea ecx, [ebp - 0x268]
call fcn.004321f5
mov ecx, dword [ebp - 0x164]
mov dword [eax], ecx
xor eax, eax
inc eax
je 0x40b411
cmp dword [ebp - 0x40], 0
je 0x40b411
mov dword [ebp - 0x234], 1
jmp 0x40b418
and dword [ebp - 0x234], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.004321f5
mov ecx, dword [ebp - 0x234]
sub ecx, dword [eax]
imul eax, ecx, 0
test eax, eax
je 0x40b452
push 0
lea ecx, [ebp - 0x268]
call fcn.004321f5
cmp dword [eax], 0
je 0x40b452
mov dword [ebp - 0x16c], 1
jmp 0x40b459
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x16c], eax
jne 0x40b473
mov dword [ebp - 0x1dc], 1
jmp 0x40b47a
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 0x7092
jge 0x40b492
mov dword [ebp - 0x174], 1
jmp 0x40b499
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
imul eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0x184], eax
jge 0x40b4d2
mov dword [ebp - 0x23c], 1
jmp 0x40b4d9
and dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 6
jb 0x40b4ee
mov dword [ebp - 0x18c], 1
jmp 0x40b4f5
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0x18c], 0xffffffff
jl 0x40b50a
mov dword [ebp - 0x1ec], 1
jmp 0x40b511
and dword [ebp - 0x1ec], 0
push 0
lea ecx, [ebp - 0x250]
call fcn.004321f5
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x1ec]
jne 0x40b53d
and dword [ebp - 0xb8], 0
jmp 0x40b547
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c0], eax
lea ecx, [ebp - 0x250]
call fcn.004321d9
lea ecx, [ebp - 0x268]
call fcn.004321d9
lea ecx, [ebp - 0x230]
call fcn.004321d9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x40bb8e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0xef0
lea eax, [ebp - 0x298]
push eax
push 0x1be8
push 0x221c
push 0x2d0b
push 0x5231
lea eax, [ebp - 0xdc]
push eax
push 1
push 0x3f5f
push 0x591e
push 0x3812
push 0
push 0
call fcn.0040ed89
add esp, 0x3c
mov dword [ebp - 0x10], 0xfffffff7
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x94], 0xfffffffe
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], eax
jl 0x40bb6f
mov dword [ebp - 0x15c], 0xfffffffe
mov dword [ebp - 0x160], 2
mov dword [ebp - 0x6c], 0x1cfe0c2d
mov dword [ebp - 0xb0], 0xfb07d6e1
mov dword [ebp - 0x2dc], 0x1f68849
mov dword [ebp - 0x1c], 0
jmp 0x40b639
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jge 0x40bb4d
mov dword [ebp - 0x19c], 0xfe874d4a
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x170], 0x55a6f0ed
mov dword [ebp - 0x74], 0
jmp 0x40b671
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 4
jge 0x40b687
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
jmp 0x40b66a
mov dword [ebp - 0x10], 0xffffffe4
jmp 0x40b697
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40ba19
mov dword [ebp - 0xc], 0x607a9881
mov dword [ebp - 0xc], 0
jmp 0x40b6b8
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x40ba14
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x18], 0
jmp 0x40b6d9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x40ba0f
mov dword [ebp - 0x24], 0xfffffffd
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x40b704
push 0
push 0x29be
call fcn.0041a614
pop ecx
pop ecx
mov dword [ebp - 0x24], 0
jmp 0x40b714
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x40ba0a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp + ecx*4 - 0x8c]
cmp dword [ebp + eax*4 - 0x8c], ecx
jl 0x40b740
mov dword [ebp - 0x20c], 1
jmp 0x40b747
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x8c]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x15c], eax
jle 0x40b76e
mov dword [ebp - 0x21c], 1
jmp 0x40b775
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x8c]
cmp dword [ebp - 0xa0], eax
jl 0x40b7ab
mov dword [ebp - 0x1f4], 1
jmp 0x40b7b2
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0xfffe
ja 0x40b7ca
mov dword [ebp - 0x1a4], 1
jmp 0x40b7d1
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1a4], eax
je 0x40b7e8
mov dword [ebp - 0x244], 1
jmp 0x40b7ef
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 0x629bad2c
jge 0x40b807
mov dword [ebp - 0x1ac], 1
jmp 0x40b80e
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x8c]
add eax, dword [ebp - 0x1ac]
sub eax, dword [ebp - 0x10]
sub eax, 8
imul eax, dword [ebp - 0x1c]
test eax, eax
je 0x40b845
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x8c], 0
je 0x40b845
mov dword [ebp - 0x1fc], 1
jmp 0x40b84c
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1fc], eax
jne 0x40b863
mov dword [ebp - 0x2d8], 1
jmp 0x40b86a
and dword [ebp - 0x2d8], 0
cmp dword [ebp - 0x24], 3
jb 0x40b87c
mov dword [ebp - 0x1b4], 1
jmp 0x40b883
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1b4], eax
jle 0x40b89a
mov dword [ebp - 0x224], 1
jmp 0x40b8a1
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
add eax, 4
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp + ecx*4 - 0x8c]
jl 0x40b8c2
mov dword [ebp - 0x1bc], 1
jmp 0x40b8c9
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jg 0x40b8e3
mov dword [ebp - 0x2a0], 1
jmp 0x40b8ea
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40b905
push 0xfffffffffffffffe
pop eax
test eax, eax
jne 0x40b905
and dword [ebp - 0x204], 0
jmp 0x40b90f
mov dword [ebp - 0x204], 1
cmp dword [ebp - 0x204], 1
jg 0x40b924
mov dword [ebp - 0x2c8], 1
jmp 0x40b92b
and dword [ebp - 0x2c8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x328], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0x24], eax
jne 0x40b964
mov dword [ebp - 0x1c4], 1
jmp 0x40b96b
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x18], 0
je 0x40b98f
cmp dword [ebp - 0x24], 0
je 0x40b98f
mov dword [ebp - 0x238], 1
jmp 0x40b996
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0x257b06f8
jle 0x40b9ae
mov dword [ebp - 0x1cc], 1
jmp 0x40b9b5
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x20c], eax
je 0x40b9d5
mov dword [ebp - 0x2a8], 1
jmp 0x40b9dc
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x8c]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x8c]
mov dword [ebp - 0xb0], eax
jmp 0x40b70d
jmp 0x40b6d2
jmp 0x40b6b1
jmp 0x40b690
mov eax, dword [ebp - 0x160]
dec eax
jne 0x40ba3a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x8c], 0
jne 0x40ba3a
and dword [ebp - 0x168], 0
jmp 0x40ba44
mov dword [ebp - 0x168], 1
mov eax, dword [ebp - 0x170]
imul eax, dword [ebp - 0x168]
mov dword [ebp - 0x6c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x310], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0x170], eax
je 0x40ba90
mov dword [ebp - 0x178], 1
jmp 0x40ba97
and dword [ebp - 0x178], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x8c]
imul eax, dword [ebp - 0x178]
cmp eax, 0x1efb40ac
je 0x40babd
mov dword [ebp - 0xbc], 1
jmp 0x40bac4
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 6
jg 0x40bad9
mov dword [ebp - 0xc4], 1
jmp 0x40bae0
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xc4]
jl 0x40bb00
cmp dword [ebp - 0xa0], 0
jne 0x40bb00
and dword [ebp - 0xcc], 0
jmp 0x40bb0a
mov dword [ebp - 0xcc], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x8c]
cmp dword [ebp - 0xcc], eax
jne 0x40bb2b
mov dword [ebp - 0xd4], 1
jmp 0x40bb32
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x94], 1
jmp 0x40b632
lea eax, [ebp - 0x94]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.0042aec1
add esp, 0x14
jmp 0x40bb89
push 0x736d
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.00414b94
add esp, 0x14
jmp 0x40b01c
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x40bba5
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x40bbbb
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x34c], 0xfffffffe
jmp 0x40bb9e
mov dword [ebp - 0x60], 7
jmp 0x40bbcb
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jg 0x40bc62
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x68], 0
jmp 0x40bbef
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x40bc05
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x2f0], 0x1dbeccce
jmp 0x40bbe8
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x2f0], 0
jmp 0x40bc30
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2f0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x2f0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x2f0], 2
jg 0x40bc4f
push 0x11c9
push 0
call fcn.00411da6
pop ecx
pop ecx
jmp 0x40bc17
cmp dword [ebp - 0x2b0], 0
je 0x40bc5d
jmp 0x40bbc4
jmp 0x40bbc4
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xdc]
add ecx, dword [eax + 0xc]
push ecx
push 0x98d
push 0xaf0
call fcn.00406eb6
pop ecx
pop ecx
call eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x274]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0xa4]
call fcn.0040782a
add esp, 0xc
mov dword [ebp - 0x20], 8
mov dword [ebp - 0xe4], 0xffffffff
push 2
lea ecx, [ebp - 0x25c]
call fcn.00432107
mov dword [ebp - 0x70], 0x5637
mov dword [ebp - 0x27c], 0x25739271
mov dword [ebp - 0x284], 0xffffffff
push 0x71c9
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push 1
lea eax, [ebp - 0x25c]
push eax
call fcn.0040983a
add esp, 0x18
mov dword [ebp - 0x38], 0
jmp 0x40bd1d
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x40bd33
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x2fc], 0x5a44198d
jmp 0x40bd16
cmp dword [ebp - 0x20], 1
je 0x40bd45
mov dword [ebp - 0xec], 1
jmp 0x40bd4c
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xec]
jg 0x40bd6f
mov dword [ebp - 0xfc], 1
jmp 0x40bd76
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jl 0x40bd8d
mov dword [ebp - 0xf4], 1
jmp 0x40bd94
and dword [ebp - 0xf4], 0
push 1
lea ecx, [ebp - 0x25c]
call fcn.004321f5
mov ecx, dword [ebp - 0xf4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0xfc], 1
ja 0x40bdd0
mov dword [ebp - 0x9c], 1
jmp 0x40bdd7
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x2fc], ecx
cmp dword [ebp - 0x9c], 0xfffffffd
jge 0x40bdfe
mov dword [ebp - 0x104], 1
jmp 0x40be05
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0x104]
test eax, eax
jg 0x40be1e
mov dword [ebp - 0x10c], 1
jmp 0x40be25
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x10c], eax
jge 0x40be3c
mov dword [ebp - 0x114], 1
jmp 0x40be43
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x114], eax
je 0x40be5a
mov dword [ebp - 0x11c], 1
jmp 0x40be61
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x27c], eax
push 0
lea ecx, [ebp - 0x25c]
call fcn.004321f5
cmp dword [eax], 0
je 0x40be9a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x2fc], 0
je 0x40be9a
mov dword [ebp - 0x124], 1
jmp 0x40bea1
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0x37d4
je 0x40beb9
mov dword [ebp - 0x12c], 1
jmp 0x40bec0
and dword [ebp - 0x12c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2fc]
imul eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x20]
jne 0x40beea
mov eax, 0x64d9
test eax, eax
jne 0x40beea
and dword [ebp - 0x134], 0
jmp 0x40bef4
mov dword [ebp - 0x134], 1
push 0
lea ecx, [ebp - 0x25c]
call fcn.004321f5
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [eax]
jle 0x40bf17
mov dword [ebp - 0x13c], 1
jmp 0x40bf1e
and dword [ebp - 0x13c], 0
push 0
lea ecx, [ebp - 0x25c]
call fcn.004321f5
mov ecx, dword [ebp - 0x13c]
cmp ecx, dword [eax]
je 0x40bf41
mov dword [ebp - 0x144], 1
jmp 0x40bf48
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x144]
jg 0x40bf5f
mov dword [ebp - 0x14c], 1
jmp 0x40bf66
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0
jb 0x40bf7b
mov dword [ebp - 0x154], 1
jmp 0x40bf82
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x25c]
call fcn.004321d9
lea eax, [ebp - 0x14]
push eax
push 0x36bb
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.00413568
add esp, 0x10
jmp 0x40b01c
jmp 0x40c01d
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
jmp 0x40bffd
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 3
jge 0x40c01d
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov ecx, dword [ebp - 0x270]
call fcn.004321f5
mov dword [eax], 0xf261718b
jmp 0x40bff2
jmp 0x40c038
push 0x5d4a
push 0x509c
push 0x2c64
push 1
call fcn.0040921c
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret