Function at 0x10030983
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100309d2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.10074aac
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx]
mov dword [ecx + 8], eax
jmp 0x10031e3d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x4c], 0xb0cadfb1
mov dword [ebp - 0x14], 0
jmp 0x100309f6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10030a09
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x34], 8
jmp 0x100309ef
mov dword [ebp - 0x14], 0
jmp 0x10030a19
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x10030a2f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x218], 0xfffffff6
jmp 0x10030a12
mov dword [ebp - 0x14], 0
jmp 0x10030a3f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10030a55
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x240], 0x90f9986e
jmp 0x10030a38
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x34], 0
jmp 0x10030a7a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x34], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0x1d
je 0x10030aa3
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x10030aa1
push 0x3ecf
push 1
call fcn.1002ba45
pop ecx
pop ecx
jmp 0x10030a65
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ebp + eax - 0x34], ecx
jle 0x10030abe
mov dword [ebp - 0xf0], 1
jmp 0x10030ac5
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xf0], eax
jg 0x10030adc
mov dword [ebp - 0x1a0], 1
jmp 0x10030ae3
and dword [ebp - 0x1a0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x218]
imul eax, dword [ebp - 0x1a0]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x218]
je 0x10030b12
mov dword [ebp - 0x190], 1
jmp 0x10030b19
and dword [ebp - 0x190], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x240]
inc eax
mov dword [ebp - 0x1a8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp + eax - 0x240], ecx
mov eax, dword [ebp - 0x1a8]
imul eax, dword [ebp - 0x190]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x34]
sub ecx, eax
mov dword [ebp - 0x4c], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp eax, dword [ebp - 0x4c]
jl 0x10030b87
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x240], 0
je 0x10030b87
mov dword [ebp - 0x198], 1
jmp 0x10030b8e
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x198], eax
jge 0x10030ba5
mov dword [ebp - 0xb0], 1
jmp 0x10030bac
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x6baf
jl 0x10030bc4
mov dword [ebp - 0xb4], 1
jmp 0x10030bcb
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x48]
jne 0x10030be2
mov dword [ebp - 0x204], 1
jmp 0x10030be9
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x4c], eax
jne 0x10030c06
mov dword [ebp - 0x8c], 1
jmp 0x10030c0d
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x218], ecx
cmp dword [ebp - 0x8c], 0
jne 0x10030c42
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x240], 0
jne 0x10030c42
and dword [ebp - 0x134], 0
jmp 0x10030c4c
mov dword [ebp - 0x134], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x34], ecx
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], 0xf72b5725
mov dword [ebp - 0x74], 0x2fa5d872
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x18], 0x5dbd55a
mov dword [ebp - 0x220], 0x26a8acdd
mov eax, 0xab2aee5a
test eax, eax
je 0x10030e3d
cmp dword [ebp - 8], 0
jne 0x10030cb6
mov dword [ebp - 0xbc], 1
jmp 0x10030cbd
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 1
jg 0x10030cd2
mov dword [ebp - 0x20c], 1
jmp 0x10030cd9
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 8], 1
jne 0x10030cf4
mov dword [ebp - 0x174], 1
jmp 0x10030cfb
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x174], eax
jne 0x10030d12
mov dword [ebp - 0xc4], 1
jmp 0x10030d19
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x74], eax
jl 0x10030d36
mov dword [ebp - 0x13c], 1
jmp 0x10030d3d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x13c], eax
jle 0x10030d54
mov dword [ebp - 0xcc], 1
jmp 0x10030d5b
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xcc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x58], eax
jge 0x10030d7c
mov dword [ebp - 0x194], 1
jmp 0x10030d83
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0x18]
imul eax, eax, 0xffffffff
test eax, eax
je 0x10030da5
cmp dword [ebp - 0x58], 0
je 0x10030da5
mov dword [ebp - 0xd4], 1
jmp 0x10030dac
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xd4], eax
jl 0x10030dc3
mov dword [ebp - 0x144], 1
jmp 0x10030dca
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffffd
jge 0x10030de5
mov dword [ebp - 0xdc], 1
jmp 0x10030dec
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xdc]
jl 0x10030e03
mov dword [ebp - 0x17c], 1
jmp 0x10030e0a
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xf1ef
jle 0x10030e22
mov dword [ebp - 0xe4], 1
jmp 0x10030e29
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xe4]
je 0x10030e3d
and dword [ebp - 0x14c], 0
jmp 0x10030e47
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14c], eax
jg 0x10030e64
cmp dword [ebp - 0x74], 0
je 0x10030e64
mov dword [ebp - 0xec], 1
jmp 0x10030e6b
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 1
je 0x10030e80
mov dword [ebp - 0x1a4], 1
jmp 0x10030e87
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 9
ja 0x10030e9c
mov dword [ebp - 0xf4], 1
jmp 0x10030ea3
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 8]
je 0x10030ec0
cmp dword [ebp - 0x18], 0
je 0x10030ec0
mov dword [ebp - 0x154], 1
jmp 0x10030ec7
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
add eax, 0x3633e7a3
je 0x10030ee9
mov eax, 0x7e05af84
test eax, eax
je 0x10030ee9
mov dword [ebp - 0xfc], 1
jmp 0x10030ef0
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xfc], eax
jle 0x10030f07
mov dword [ebp - 0x184], 1
jmp 0x10030f0e
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x184], eax
jne 0x10030f2b
cmp dword [ebp - 0x18], 0
jne 0x10030f2b
and dword [ebp - 0x104], 0
jmp 0x10030f35
mov dword [ebp - 0x104], 1
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x104]
sub eax, 0x7fad5407
je 0x10030f4c
cmp dword [ebp - 0x58], 0
jne 0x10030f56
cmp dword [ebp - 0x18], 0
je 0x10031106
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x6c], 0
jmp 0x10030f70
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10030f86
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x9c], 0x3232af72
jmp 0x10030f69
mov dword [ebp - 0x18], 0
jmp 0x10030f96
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffe7
jg 0x10030fb7
push 0x4257
push 1
push 0x55cc
push 0x6234
call fcn.1002ba8a
add esp, 0x10
jmp 0x10030f8f
cmp dword [ebp - 8], 0
je 0x100310a6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x274], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0xfff8
jb 0x10030ff3
mov dword [ebp - 0x15c], 1
jmp 0x10030ffa
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
cmp dword [ebp - 0x15c], eax
jle 0x1003101b
mov dword [ebp - 0x10c], 1
jmp 0x10031022
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
add eax, 0x7874d2d
jne 0x1003103d
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x9c], 0
imul eax, dword [ebp - 0x18], 0xa0c2
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x9c]
jg 0x1003105f
mov dword [ebp - 0x228], 1
jmp 0x10031066
and dword [ebp - 0x228], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x284], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x28c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
cmp dword [ebp + eax - 0x9c], ecx
jne 0x100310bf
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
jne 0x100310bf
and dword [ebp - 0x19c], 0
jmp 0x100310c9
mov dword [ebp - 0x19c], 1
cmp dword [ebp - 0x19c], 1
jl 0x100310fb
push 1
push 0x124c
push 0x4899
call fcn.1002c06b
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0
push 0x7cba
call fcn.1002c110
add esp, 0xc
jmp 0x10031104
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x230], eax
jmp 0x1003111a
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1003111a
push 0
call dword [sym.imp.USER32.dll_RegisterClassA]
and dword [ebp - 0x80], 0
jmp 0x10031130
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x80], eax
jge 0x10031e3d
mov dword [ebp - 0x294], 0xfffffff9
mov dword [ebp - 0x29c], 0xffffffff
mov dword [ebp - 0x2a4], 0xbf34fda
mov dword [ebp - 0x2d4], 0x51fe77dd
mov dword [ebp - 0x2dc], 0x729cf308
mov dword [ebp - 0x2d0], 0x4896e6a3
mov dword [ebp - 0x2cc], 0x4896e6a3
mov dword [ebp - 0x2c8], 0x4896e6a3
mov dword [ebp - 0x2c4], 0x4896e6a3
mov dword [ebp - 0x114], 0xffff
mov dword [ebp - 0x68], 0
jmp 0x100311b6
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x100311cc
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x320], 8
jmp 0x100311af
mov eax, dword [ebp - 0x114]
dec eax
mov dword [ebp - 0x114], eax
push 0
call fcn.1002c0c8
pop ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x100311fa
mov dword [ebp - 0x164], 1
jmp 0x10031201
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x10031226
mov dword [ebp - 0x11c], 1
jmp 0x1003122d
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x10031252
mov dword [ebp - 0x18c], 1
jmp 0x10031259
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1003129b
push 0x4000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x33f2
push 0x467b
call fcn.10029f02
pop ecx
pop ecx
call eax
jmp 0x10031120
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], 0
jmp 0x100312b2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x100312c5
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x40], 0x8bbca631
jmp 0x100312ab
mov dword [ebp - 0x2c], 0
jmp 0x100312d5
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x100312eb
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x2e4], 0
jmp 0x100312ce
mov dword [ebp - 4], 0
jmp 0x100312fb
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jg 0x10031488
mov dword [ebp - 0xc8], 0x39e071a0
mov dword [ebp - 0x210], 0x30dfddae
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp + ecx*4 - 0x40]
cmp dword [ebp + eax*4 - 0x40], ecx
jl 0x1003135c
mov dword [ebp - 0x124], 1
jmp 0x10031363
and dword [ebp - 0x124], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x124], eax
jge 0x10031381
mov dword [ebp - 0x16c], 1
jmp 0x10031388
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 6
je 0x1003139d
mov dword [ebp - 0x12c], 1
jmp 0x100313a4
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
neg eax
cmp eax, dword [ebp - 4]
jge 0x100313bd
mov dword [ebp - 0xac], 1
jmp 0x100313c4
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp dword [ebp - 0xac], eax
jne 0x100313df
mov dword [ebp - 0xa8], 1
jmp 0x100313e6
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp dword [ebp - 0xa8], eax
jne 0x10031401
mov dword [ebp - 0xb8], 1
jmp 0x10031408
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp dword [ebp - 0xb8], eax
jne 0x10031423
mov dword [ebp - 0xc0], 1
jmp 0x1003142a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 4]
add eax, dword [ebp + ecx*4 - 0x40]
jne 0x10031451
mov dword [ebp - 0xd0], 1
jmp 0x10031458
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xa624cdb8
jne 0x10031470
mov dword [ebp - 0xd8], 1
jmp 0x10031477
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x210], eax
jmp 0x100312f4
mov dword [ebp - 4], 0xffffffe6
jmp 0x10031498
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1a
jle 0x10031717
mov dword [ebp - 0x30], 0xa814b11f
mov dword [ebp - 0x2e0], 0x39bf5bf8
mov dword [ebp - 0x1ec], 0x61e7ff51
mov dword [ebp - 0x90], 0x759f32f5
mov dword [ebp - 0x1f0], 0x231d
mov dword [ebp - 0x60], 0
jmp 0x100314e1
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x100314f7
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x2f0], 1
jmp 0x100314da
mov dword [ebp - 0x30], 0
jmp 0x10031507
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jg 0x10031712
mov dword [ebp - 0x288], 1
mov dword [ebp - 0x234], 0xfffffffc
mov dword [ebp - 0x70], 0
jmp 0x10031535
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1003154b
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0xa0], 0x2097e65f
jmp 0x1003152e
mov eax, dword [ebp - 0x30]
cmp dword [ebp + eax*4 - 0x40], 0
je 0x100316a1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x90]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x40]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x1fc], 0x7dc4
jne 0x1003159d
mov dword [ebp - 0xe0], 1
jmp 0x100315a4
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0xb4ab19f8
jne 0x100315bc
mov dword [ebp - 0xe8], 1
jmp 0x100315c3
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xe8]
add eax, 0x23d3
mov dword [ebp - 0x1e4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp + eax - 0x2f0], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x40]
mov dword [ebp - 0x290], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa0], 0
jae 0x10031613
mov dword [ebp - 0x88], 1
jmp 0x1003161a
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0xa0], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x40]
cmp eax, dword [ebp - 0x88]
jne 0x10031648
mov dword [ebp - 0xf8], 1
jmp 0x1003164f
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 1
jae 0x10031664
mov dword [ebp - 0x100], 1
jmp 0x1003166b
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x1ec]
cmp dword [ebp - 0x100], eax
je 0x10031685
mov dword [ebp - 0x108], 1
jmp 0x1003168c
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
je 0x100316a1
mov dword [ebp - 0x110], 1
jmp 0x100316a8
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 1
jge 0x100316bd
mov dword [ebp - 0x118], 1
jmp 0x100316c4
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x1f0]
cmp dword [ebp - 0x118], eax
je 0x100316de
mov dword [ebp - 0x120], 1
jmp 0x100316e5
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 1
jg 0x100316fa
mov dword [ebp - 0x128], 1
jmp 0x10031701
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x234], eax
jmp 0x10031500
jmp 0x10031491
push dword [ebp - 0x1f8]
push dword [ebp - 0x21c]
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x200]
lea eax, [ebp - 0x1f4]
push eax
call fcn.1002b20a
add esp, 0x18
mov dword [ebp - 0x160], 0x4a4e7fb1
mov dword [ebp - 0x54], 0
jmp 0x10031757
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jge 0x1003176d
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x1d0], 1
jmp 0x10031750
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x10031781
push 1
call fcn.1002c0c8
pop ecx
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1d0], 0
jmp 0x100317ac
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1d0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1d0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1d0], 7
jne 0x10031ae2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x250], 0xfffffffe
mov dword [ebp - 0x24c], 0xfffffffe
mov dword [ebp - 0x248], 0xfffffffe
mov dword [ebp - 0x244], 0xfffffffe
mov dword [ebp - 0x10], 0
jmp 0x100317fe
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10031814
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1d8], 0x8f8
jmp 0x100317f7
mov dword [ebp - 0x10], 0
jmp 0x10031824
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003183a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x314], 1
jmp 0x1003181d
mov dword [ebp - 0x10], 0
jmp 0x1003184a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10031860
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2fc], 0xfffffffc
jmp 0x10031843
mov dword [ebp - 0x44], 1
jmp 0x10031870
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x10031add
mov dword [ebp - 0xc], 0xd65121ac
mov dword [ebp - 0xc], 1
jmp 0x10031891
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10031a87
mov dword [ebp - 0x7c], 0x7d77fc7d
mov dword [ebp - 0x1e8], 0x653649d9
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1d8]
mov dword [ebp - 0x2d8], eax
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 3
mov eax, dword [ebp + eax - 0x1d0]
mov dword [ebp + ecx - 0x250], eax
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x1d0]
cmp dword [ebp + eax - 0x1d0], ecx
jne 0x100318fc
mov dword [ebp - 0x130], 1
jmp 0x10031903
and dword [ebp - 0x130], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1d0]
imul eax, dword [ebp - 0x130]
test eax, eax
jne 0x10031927
mov dword [ebp - 0x22c], 1
jmp 0x1003192e
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0xc], 0xcff29c21
jne 0x10031955
mov dword [ebp - 0x138], 1
jmp 0x1003195c
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
add eax, 0xc177
jne 0x10031975
mov dword [ebp - 0x140], 1
jmp 0x1003197c
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1d8]
add eax, dword [ebp - 0x140]
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x314]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp + ecx*4 - 0x1d8]
jne 0x100319b0
mov dword [ebp - 0x208], 1
jmp 0x100319b7
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x148], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax - 0x2fc], ecx
cmp dword [ebp - 0x148], 0x8dad
jge 0x100319ea
mov dword [ebp - 0x224], 1
jmp 0x100319f1
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2a0], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x250]
mov dword [ebp - 0x2b0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1d0], 0x73c1
je 0x10031a2c
mov dword [ebp - 0x150], 1
jmp 0x10031a33
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x1d8]
cmp dword [ebp - 0x150], eax
jge 0x10031a51
mov dword [ebp - 0x158], 1
jmp 0x10031a58
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x1d0]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0xc], 0
je 0x10031a82
jmp 0x1003188a
jmp 0x1003188a
mov dword [ebp - 0xc], 0
jmp 0x10031a97
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jg 0x10031ad8
mov dword [ebp - 0x5c], 0x8d58945c
mov dword [ebp - 0x5c], 0
jmp 0x10031ab4
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jg 0x10031ad6
mov dword [ebp - 0x160], 0xd3763964
push 0
lea eax, [ebp - 0x160]
push eax
call fcn.1002e781
pop ecx
pop ecx
jmp 0x10031aad
jmp 0x10031a90
jmp 0x10031869
jmp 0x10031793
push dword [ebp - 0x64]
push 0
push dword [ebp - 0x20]
lea eax, [ebp - 0xa4]
push eax
call fcn.1002ba8a
add esp, 0x10
cmp dword [ebp - 0xa4], 0
jbe 0x10031e38
mov dword [ebp - 0x1c], 0xfb0b0297
mov dword [ebp - 0x170], 0x74b1b055
mov dword [ebp - 0x24], 0
jmp 0x10031b27
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10031b3d
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1b4], 3
jmp 0x10031b20
mov dword [ebp - 0x24], 0
jmp 0x10031b4d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10031b63
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x25c], 0xfc88eb98
jmp 0x10031b46
mov dword [ebp - 0x1c], 2
jmp 0x10031b73
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10031dfc
mov dword [ebp - 0x28], 0
jmp 0x10031b8d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10031ba3
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1c0], 0x114768c0
jmp 0x10031b86
mov dword [ebp - 0x28], 0
jmp 0x10031bb3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10031bc9
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x308], 0xffffffff
jmp 0x10031bac
mov byte [ebp - 0x35], 0
push 0x3c89
push 1
lea eax, [ebp - 0x35]
push eax
call fcn.1002c110
add esp, 0xc
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x1c0], 0
jmp 0x10031c0e
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x1c0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1c0], 2
jg 0x10031df7
mov dword [ebp - 0x50], 0
jmp 0x10031c32
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x10031c48
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x26c], 0x350d8af
jmp 0x10031c2b
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x1b4], 0
jne 0x10031c61
mov dword [ebp - 0x168], 1
jmp 0x10031c68
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x170]
mov dword [ebp + eax - 0x25c], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp + eax*4 - 0x1b4], 6
ja 0x10031caa
mov dword [ebp - 0x84], 1
jmp 0x10031cb1
and dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x84]
mov dword [ebp + eax - 0x26c], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp - 0x84], eax
jl 0x10031cf2
cmp dword [ebp - 0x1c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
cmp dword [ebp + eax*4 - 0x1b4], 0
mov eax, dword [ebp - 0x1c]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x1b4]
test eax, eax
jne 0x10031d20
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x26c], 0
jne 0x10031d20
and dword [ebp - 0x1e0], 0
jmp 0x10031d2a
mov dword [ebp - 0x1e0], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1c0]
mov dword [ebp - 0x2a8], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x26c]
neg eax
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ebp + ecx*4 - 0x1b4]
jl 0x10031d64
mov dword [ebp - 0x178], 1
jmp 0x10031d6b
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ebp + ecx*4 - 0x1b4]
jl 0x10031d8c
mov dword [ebp - 0x180], 1
jmp 0x10031d93
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x1b4]
add eax, dword [ebp - 0x180]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x308], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x1b4], 0
jne 0x10031dd5
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x26c], 0
jne 0x10031dd5
and dword [ebp - 0x188], 0
jmp 0x10031ddf
mov dword [ebp - 0x188], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x188]
mov dword [ebp + eax - 0x25c], ecx
jmp 0x10031bf3
jmp 0x10031b6c
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax - 0x25c], ecx
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x1f4]
push dword [ebp - 0xa4]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x33f2
push 0x303d
call fcn.10029f02
pop ecx
pop ecx
call eax
jmp 0x10031120
mov esp, ebp
pop ebp
ret