Function at 0x40e475
Capabilities:
Clear file content
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x40f533
lea eax, [ebp + 0x30]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
movzx eax, byte [eax]
test eax, eax
je 0x40e50e
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x230], eax
push dword [ebp - 0x230]
push dword [ebp - 0x21c]
push 1
push 0x27f0
call fcn.0040f5b4
add esp, 0x10
jmp 0x40f531
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1c4]
movzx eax, byte [eax]
test eax, eax
je 0x40e558
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x40f531
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0x7a4a12b5
mov dword [ebp - 0xc8], 0xe011b55e
mov dword [ebp - 0xb0], 0xcf7a0211
mov dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0xb8], 0xfffffff8
mov dword [ebp - 0x17c], 3
mov dword [ebp - 0x184], 0x30971cf7
mov dword [ebp - 0x18c], 0xfffffff6
mov dword [ebp - 0xe0], 0x7f44fb66
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0x14], 0
jmp 0x40e5ea
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x40e5fd
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], 0xe2799ac7
jmp 0x40e5e3
mov dword [ebp - 0x14], 0
jmp 0x40e60d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x40e623
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x28c], 0x8b74
jmp 0x40e606
mov dword [ebp - 4], 1
jmp 0x40e633
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40e984
mov dword [ebp - 0x194], 1
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x60], 0
jmp 0x40e661
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x40e677
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x29c], 0xffffffff
jmp 0x40e65a
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x44], 2
ja 0x40e68d
mov dword [ebp - 0xdc], 1
jmp 0x40e694
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x19c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x19c]
mov dword [ebp + eax - 0x29c], ecx
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp dword [ebp - 0xc8], eax
je 0x40e6e6
mov dword [ebp - 0x15c], 1
jmp 0x40e6ed
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x15c], eax
jle 0x40e707
cmp dword [ebp - 4], 0
jne 0x40e707
and dword [ebp - 0xa0], 0
jmp 0x40e711
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp dword [ebp - 0xa0], eax
jg 0x40e72c
mov dword [ebp - 0x164], 1
jmp 0x40e733
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
add eax, dword [ebp - 0x164]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x44]
jg 0x40e758
mov dword [ebp - 0xa8], 1
jmp 0x40e75f
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xffffffff
jge 0x40e774
mov dword [ebp - 0x16c], 1
jmp 0x40e77b
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp dword [ebp - 0x18c], eax
je 0x40e7ea
mov dword [ebp - 0x138], 1
jmp 0x40e7f1
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp dword [ebp - 0x138], eax
jne 0x40e80c
mov dword [ebp - 0xd0], 1
jmp 0x40e813
and dword [ebp - 0xd0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0xd0], eax
jge 0x40e831
mov dword [ebp - 0x170], 1
jmp 0x40e838
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x170]
jne 0x40e84f
mov dword [ebp - 0xd8], 1
jmp 0x40e856
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp eax, dword [ebp - 0xd8]
je 0x40e87a
mov eax, 0xa8ce9b8a
test eax, eax
je 0x40e87a
mov dword [ebp - 0x140], 1
jmp 0x40e881
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
neg eax
sub eax, dword [ebp - 4]
inc eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x44]
add ecx, eax
jne 0x40e8b6
cmp dword [ebp - 0xe8], 0
jne 0x40e8b6
and dword [ebp - 0x198], 0
jmp 0x40e8c0
mov dword [ebp - 0x198], 1
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
imul eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x198]
jg 0x40e8df
mov dword [ebp - 0x148], 1
jmp 0x40e8e6
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x148], eax
jne 0x40e900
mov dword [ebp - 0xf0], 1
jmp 0x40e907
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0x4b0f4f2d
jge 0x40e91f
mov dword [ebp - 0x178], 1
jmp 0x40e926
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
imul eax, dword [ebp - 0x178]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x44]
jl 0x40e94c
mov dword [ebp - 0xf8], 1
jmp 0x40e953
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0x5f7f7777
jne 0x40e96b
mov dword [ebp - 0x150], 1
jmp 0x40e972
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x150]
mov dword [ebp + eax*4 - 0x44], ecx
jmp 0x40e62c
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x100], 0xfffffffc
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x5c], 0
jmp 0x40e9b4
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x40e9ca
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x1d4], 0x9714
jmp 0x40e9ad
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1d4]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x210], eax
push 0
push 0x6138
push 0x7797
call fcn.0040f6c5
add esp, 0xc
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], 0xd4e06482
mov dword [ebp - 0x4c], 0xfffffff7
jmp 0x40ea29
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffe5
jg 0x40ea71
mov byte [ebp - 0x39], 0
push 1
push 0x400d
push 0x39b9
push 0x2de6
push 0x19fb
push 0
push 0x4544
push 0
push 0x1b08
push 0x6ed0
push 0x3588
push 1
lea eax, [ebp - 0x39]
push eax
call fcn.0041e6b1
add esp, 0x34
jmp 0x40ea22
mov dword [ebp - 0x4c], 0x5b0e446d
and dword [ebp - 0x78], 0
jmp 0x40ea8e
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x78], eax
jge 0x40f531
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x10], 0
jne 0x40f251
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x50], 0x1c36b586
mov dword [ebp - 0x54], 0
jmp 0x40ead2
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x40eae8
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x284], 0xffffffff
jmp 0x40eacb
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x10], eax
jne 0x40ec0d
push 4
lea ecx, [ebp - 0x248]
call fcn.00426223
push 0x2a2a
push 0
lea eax, [ebp - 0x248]
push eax
push 0x52c
lea eax, [ebp - 0x24c]
push eax
push 0
push 0x7a29
call fcn.0040c4d5
add esp, 0x1c
mov dword [ebp - 0x10], 3
jmp 0x40eb3a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40ebfd
mov dword [ebp - 0x6c], 0x83d87e3b
mov dword [ebp - 0x218], 0xfffffffe
xor eax, eax
inc eax
sub eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x10]
jne 0x40eb6c
mov dword [ebp - 0x190], 1
jmp 0x40eb73
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 1
jne 0x40eb88
mov dword [ebp - 0x108], 1
jmp 0x40eb8f
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x108]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x40ebc4
push 3
lea ecx, [ebp - 0x248]
call fcn.00426311
cmp dword [eax], 0
jne 0x40ebc4
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x40ebc4
and dword [ebp - 0x158], 0
jmp 0x40ebce
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x218]
cmp dword [ebp - 0x158], eax
jge 0x40ebe8
mov dword [ebp - 0x110], 1
jmp 0x40ebef
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x50], eax
jmp 0x40eb33
lea ecx, [ebp - 0x248]
call fcn.004262f5
jmp 0x40ed59
mov dword [ebp - 0x24], 0x51cd25bb
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x40ec28
push 0
call fcn.00410130
pop ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x180], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x180]
mov dword [ebp + eax - 0x284], ecx
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x180], eax
jge 0x40ec53
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x64]
jne 0x40ec6b
mov dword [ebp - 0x118], 1
jmp 0x40ec72
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0xeebcb174
jb 0x40ec8a
mov dword [ebp - 0x160], 1
jmp 0x40ec91
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
sub eax, 0xa
cmp eax, dword [ebp - 0x10]
jg 0x40ecab
mov dword [ebp - 0x120], 1
jmp 0x40ecb2
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x24]
jne 0x40eccc
mov dword [ebp - 0x1e0], 1
jmp 0x40ecd3
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x270], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x284]
sub eax, dword [ebp - 0x24]
je 0x40ed03
mov eax, 0xf55f
test eax, eax
je 0x40ed03
mov dword [ebp - 0x1a0], 1
jmp 0x40ed0a
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1a0], eax
jle 0x40ed21
mov dword [ebp - 0x128], 1
jmp 0x40ed28
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xfffffff8
ja 0x40ed49
mov dword [ebp - 0x168], 1
jmp 0x40ed50
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0041a348
add esp, 0x14
mov dword [ebp - 0x48], 0xea311c3f
mov dword [ebp - 0x18], 0
jmp 0x40ed90
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x40eda6
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1a8], 0x98a8f939
jmp 0x40ed89
mov dword [ebp - 0x18], 0
jmp 0x40edb6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x40edc9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x38], 0x885c6f1b
jmp 0x40edaf
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x38], 0
jmp 0x40edee
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x38], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x38], 1
jg 0x40f24c
mov dword [ebp - 0x2c], 0xdd8d1303
mov dword [ebp - 0xc], 0x9ea7eb8e
mov dword [ebp - 0x104], 0xfffffffd
push 0x3d9d
push 0x952
push 0
push 0
push 1
push 0x7bfb
push 1
lea eax, [ebp - 0x2c]
push eax
push 0x37f0
push 1
push 0x7f5
call fcn.00412eb1
add esp, 0x2c
mov dword [ebp - 0x2c], 0
jmp 0x40ee56
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x40f247
mov dword [ebp - 0x20c], 0xfffffff8
mov dword [ebp - 0x74], 0x4ee3b919
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x2c], 0
jne 0x40ee97
push 6
pop eax
test eax, eax
jne 0x40ee97
and dword [ebp - 0x130], 0
jmp 0x40eea1
mov dword [ebp - 0x130], 1
cmp dword [ebp - 0x130], 0xd45b0e82
jbe 0x40eeb9
mov dword [ebp - 0x188], 1
jmp 0x40eec0
and dword [ebp - 0x188], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1a8]
imul ecx, dword [ebp - 0x188]
cmp dword [ebp + eax*4 - 0x1a8], ecx
jle 0x40ef11
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
cmp dword [ebp + eax*4 - 0x1a8], 0
jne 0x40ef11
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x38], 0
jne 0x40ef11
and dword [ebp - 0xc4], 0
jmp 0x40ef1b
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x6dc9
cmp eax, 0xfffffff6
ja 0x40ef3d
mov dword [ebp - 0xcc], 1
jmp 0x40ef44
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
jmp 0x40ef5d
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jg 0x40f242
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x214], 1
mov byte [ebp - 0x2d], 0
push 0x1f4b
lea eax, [ebp - 0x2d]
push eax
push 0
push 0x1a69
push 0x4f33
push 0x34b3
push 0x1148
call fcn.0041e550
add esp, 0x1c
mov dword [ebp - 0x48], 0
jmp 0x40efb3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jg 0x40f23d
mov dword [ebp - 0xe4], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0x20c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x38], 0
jne 0x40eff0
mov dword [ebp - 0x10c], 1
jmp 0x40eff7
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x38]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x80], 0x643d
jle 0x40f01c
mov dword [ebp - 0x1ec], 1
jmp 0x40f023
and dword [ebp - 0x1ec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
mov eax, dword [ebp + eax*4 - 0x1a8]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0xe4], 0
jne 0x40f052
cmp dword [ebp - 0x80], 0
jne 0x40f052
and dword [ebp - 0xd4], 0
jmp 0x40f05c
mov dword [ebp - 0xd4], 1
imul eax, dword [ebp - 0xd4], 0x8390
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x38]
test eax, eax
jne 0x40f08b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x38], 0
jne 0x40f08b
and dword [ebp - 0x94], 0
jmp 0x40f095
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x94], eax
jge 0x40f0ac
mov dword [ebp - 0x22c], 1
jmp 0x40f0b3
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xe4], eax
jl 0x40f0ca
mov dword [ebp - 0xec], 1
jmp 0x40f0d1
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0
ja 0x40f0e6
mov dword [ebp - 0xf4], 1
jmp 0x40f0ed
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xf4], eax
jle 0x40f104
mov dword [ebp - 0xfc], 1
jmp 0x40f10b
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
imul eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xc]
jl 0x40f132
mov dword [ebp - 0x114], 1
jmp 0x40f139
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x74]
jge 0x40f156
mov dword [ebp - 0x11c], 1
jmp 0x40f15d
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x11c]
cmp eax, 0xdf100f83
jne 0x40f179
mov dword [ebp - 0x124], 1
jmp 0x40f180
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 1
jne 0x40f195
mov dword [ebp - 0x12c], 1
jmp 0x40f19c
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 1
jle 0x40f1b1
mov dword [ebp - 0x134], 1
jmp 0x40f1b8
and dword [ebp - 0x134], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x38]
cmp dword [ebp - 0x134], eax
jg 0x40f1d6
mov dword [ebp - 0x13c], 1
jmp 0x40f1dd
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x13c]
cmp eax, 1
jge 0x40f1f7
mov dword [ebp - 0x1f4], 1
jmp 0x40f1fe
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x274], eax
mov eax, 0x22a57d88
test eax, eax
jne 0x40f222
mov eax, 0x8686b464
test eax, eax
jne 0x40f222
and dword [ebp - 0x144], 0
jmp 0x40f22c
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x214], eax
jmp 0x40efac
jmp 0x40ef56
jmp 0x40ee4f
jmp 0x40edd9
jmp 0x40ea7e
push 2
lea ecx, [ebp - 0x23c]
call fcn.00426223
mov dword [ebp - 0x1fc], 0x2ee76f50
push 0x7078
push 0x63fd
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
call fcn.004117d9
add esp, 0x14
push 0
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x23c]
push eax
push 1
call fcn.0040dca2
add esp, 0x10
lea ecx, [ebp - 0x23c]
call fcn.004262f5
push 4
push 0x1000
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14c]
add ecx, dword [eax + 0xc]
push ecx
push 0x860
push 0x984
call fcn.00406b70
pop ecx
pop ecx
call eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x224]
add ecx, dword [eax + 0x14]
push ecx
push dword [ebp - 0x70]
call fcn.00406d24
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x58], 0
jmp 0x40f31b
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x40f331
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x90], 3
jmp 0x40f314
mov dword [ebp - 8], 2
jmp 0x40f341
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40f523
mov dword [ebp - 0x84], 8
mov dword [ebp - 0x1dc], 0xe60a2fc5
mov byte [ebp - 0x25], 0
lea eax, [ebp - 0x25]
push eax
push 0
call fcn.00410025
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x90], 0
jne 0x40f477
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x90]
push 4
pop ecx
shl ecx, 1
sub eax, dword [ebp + ecx - 0x90]
imul eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffff
je 0x40f3b6
cmp dword [ebp - 8], 0
jne 0x40f3b6
and dword [ebp - 0x154], 0
jmp 0x40f3c0
mov dword [ebp - 0x154], 1
cmp dword [ebp - 0x154], 0xac89
jle 0x40f3d8
mov dword [ebp - 0x204], 1
jmp 0x40f3df
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x90]
mov dword [ebp - 0x254], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x25c], eax
push 0xfffffffffffffffb
pop eax
dec eax
je 0x40f436
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x90], 0
je 0x40f436
mov dword [ebp - 0x98], 1
jmp 0x40f43d
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x98], eax
je 0x40f45e
mov dword [ebp - 0x9c], 1
jmp 0x40f465
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0xfffffff7
je 0x40f477
and dword [ebp - 0xa4], 0
jmp 0x40f481
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x90]
cmp dword [ebp - 0xa4], eax
jge 0x40f4ac
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0x90], 0
je 0x40f4ac
mov dword [ebp - 0xac], 1
jmp 0x40f4b3
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 1
jne 0x40f4c8
mov dword [ebp - 0xb4], 1
jmp 0x40f4cf
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xb4]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x90]
jg 0x40f502
cmp dword [ebp - 0x84], 0
je 0x40f502
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x40f502
mov dword [ebp - 0xbc], 1
jmp 0x40f509
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x90]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1dc], eax
jmp 0x40f33a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x70]
mov dword [eax + 8], ecx
jmp 0x40ea7e
jmp 0x40f5b0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x1b0], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x1c0], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1d8]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x1b0]
push dword [eax]
push 0
push dword [ebp - 0x1b8]
push dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1c8]
push dword [eax]
mov eax, dword [ebp - 0x1d0]
push dword [eax]
call fcn.00415c8e
add esp, 0x20
mov esp, ebp
pop ebp
ret