Function at 0x1002b563
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007d4a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002cc57
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x308], 0xfffffff7
mov byte [ebp - 0x32], 0
lea eax, [ebp - 0x32]
push eax
push 0
call fcn.1002d29a
pop ecx
pop ecx
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0x36]
push eax
push 0x5a6f
push 0
push 0x740
call fcn.10030b83
add esp, 0x10
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x64], 0xa61928c1
mov dword [ebp - 0x64], 0x14
jmp 0x1002b600
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x11
jge 0x1002b64b
cmp dword [ebp - 0x64], 0
je 0x1002b622
mov byte [ebp - 0x58], 0
movzx eax, byte [ebp - 0x58]
test eax, eax
je 0x1002b620
push 0
call fcn.10030bf6
pop ecx
jmp 0x1002b649
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x1002b649
push 0x864
push 0
push 0xd2a
push 0xd30
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1002b5f9
and dword [ebp - 0xac], 0
jmp 0x1002b66a
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xac], eax
jge 0x1002cc55
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x29c], 0x29
mov dword [ebp - 0x298], 0x29
mov dword [ebp - 0x294], 0x29
mov dword [ebp - 0x290], 0x29
lea ecx, [ebp - 0xb1]
call fcn.10008ba3
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x380]
call fcn.1001779c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2c0]
call fcn.1001774b
and dword [ebp - 4], 0
mov dword [ebp - 0x1f8], 0x2cc9105f
mov dword [ebp - 0x1e4], 0xa6b719d8
mov dword [ebp - 0x344], 0x3888
mov dword [ebp - 0x8c], 0
jmp 0x1002b721
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 3
jge 0x1002b73d
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x36c], 0xfffffffe
jmp 0x1002b714
mov dword [ebp - 0x2c], 0xa
jmp 0x1002b74d
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffee
jle 0x1002b7e9
mov dword [ebp - 0xa4], 0
jmp 0x1002b770
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jge 0x1002b78c
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x354], 0xbea12209
jmp 0x1002b763
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x354]
mov dword [ebp - 0x114], eax
push 0
lea ecx, [ebp - 0x2c0]
call fcn.1001778d
mov ecx, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [ecx], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx]
mov dword [ebp + eax - 0x36c], ecx
mov byte [ebp - 0x55], 0
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x1002b7e4
push 0x7215
push 1
call fcn.1002b3a4
pop ecx
pop ecx
jmp 0x1002b746
mov dword [ebp - 0x2c], 0xfffffff0
jmp 0x1002b7f9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff5
jle 0x1002b85d
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x240], 0xe7b1
mov dword [ebp - 0x248], 0xfffffff7
lea eax, [ebp - 0x1e4]
push eax
push 0x6fc8
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x2c0]
push eax
push 0
push 0x880
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.1002e0f6
add esp, 0x24
jmp 0x1002b7f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.10017771
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002b885
mov dword [ebp - 0x1c4], 1
jmp 0x1002b88c
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0x208], 0xa20a2982
mov dword [ebp - 0x30c], 0x3fc4b03e
mov dword [ebp - 0x348], 0x3dda37bb
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0xbc], 0xddcef989
mov dword [ebp - 0x328], 3
mov dword [ebp - 0x35c], 0xb151
mov dword [ebp - 0x1dc], 3
push 3
lea ecx, [ebp - 0x2e4]
call fcn.100176ef
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x1002b916
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002b92c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2b4], 0xffffffff
jmp 0x1002b90f
mov dword [ebp - 0x1c], 0
jmp 0x1002b93c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002b952
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1ec], 0x37aced45
jmp 0x1002b935
mov dword [ebp - 0x1c], 0
jmp 0x1002b962
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002b97e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.1001778d
mov dword [eax], 0x3205f5a2
jmp 0x1002b95b
cmp dword [ebp - 0xbc], 0
jne 0x1002b999
mov eax, 0x9820
test eax, eax
jne 0x1002b999
and dword [ebp - 0x1cc], 0
jmp 0x1002b9a3
mov dword [ebp - 0x1cc], 1
push 2
lea ecx, [ebp - 0x2e4]
call fcn.1001778d
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xd4]
mov dword [ecx], eax
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x1d0]
jle 0x1002ba01
mov dword [ebp - 0x1bc], 1
jmp 0x1002ba08
and dword [ebp - 0x1bc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2b4]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x2fc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b4]
mov dword [ebp - 0x300], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x2b4]
mov dword [ebp - 0x2f8], eax
mov dword [ebp - 0xbc], 0x786
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x208]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1ec], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.10017771
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002baaf
mov dword [ebp - 0xf0], 1
jmp 0x1002bab6
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0xcc9ca319
mov dword [ebp - 0x44], 0x4a219909
mov dword [ebp - 0x260], 0x1cea026
mov dword [ebp - 0x25c], 0x1cea026
mov dword [ebp - 0x258], 0x1cea026
mov dword [ebp - 0x254], 0x1cea026
mov dword [ebp - 0x14], 0
jmp 0x1002bb0f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1002bb22
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], 0x7dd68876
jmp 0x1002bb08
mov dword [ebp - 0x14], 0
jmp 0x1002bb32
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002bb48
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x378], 0xffffffff
jmp 0x1002bb2b
mov dword [ebp - 0x14], 0
jmp 0x1002bb58
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002bb6e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2d8], 0x83c17a3f
jmp 0x1002bb51
cmp dword [ebp - 0x20], 0
jne 0x1002bb8b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
or eax, 0xffffffff
sub eax, dword [ebp - 0x20]
jne 0x1002bb8b
and dword [ebp - 0x100], 0
jmp 0x1002bb95
mov dword [ebp - 0x100], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x310], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x314], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0x451d
je 0x1002bbd1
mov dword [ebp - 0x160], 1
jmp 0x1002bbd8
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0
jg 0x1002bbed
mov dword [ebp - 0xf8], 1
jmp 0x1002bbf4
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0xf8], eax
je 0x1002bc12
mov dword [ebp - 0x198], 1
jmp 0x1002bc19
and dword [ebp - 0x198], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x198], eax
jl 0x1002bc37
mov dword [ebp - 0x168], 1
jmp 0x1002bc3e
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x100]
cmp eax, dword [ebp - 0x168]
jge 0x1002bc58
mov dword [ebp - 0xcc], 1
jmp 0x1002bc5f
and dword [ebp - 0xcc], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xcc]
mov dword [ebp + eax - 0x378], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp eax, dword [ebp - 0xcc]
jne 0x1002bc8f
mov dword [ebp - 0xc4], 1
jmp 0x1002bc96
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp + eax - 0x3c], ecx
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xc4], eax
jge 0x1002bcbd
mov dword [ebp - 0x108], 1
jmp 0x1002bcc4
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x218], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2d8]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x1f4]
jg 0x1002bd0d
mov dword [ebp - 0xb0], 1
jmp 0x1002bd14
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xb0]
mov dword [ebp + eax - 0x2d8], ecx
cmp dword [ebp - 0xb0], 0
je 0x1002bd55
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1002bd50
push 0
push 0x2039
push 0x2804
call fcn.1002b436
add esp, 0xc
jmp 0x1002bdfd
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002bd6f
push 0x6552
push 0
call fcn.10031e06
pop ecx
pop ecx
mov dword [ebp - 0x44], 0xffffffe9
jmp 0x1002bd7f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffffc
jg 0x1002bdfd
mov dword [ebp - 0x30], 0
jmp 0x1002bd95
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x1002bdd1
mov dword [ebp - 0x20], 0
jmp 0x1002bdab
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x1002bdcf
mov byte [ebp - 0x33], 0
push 0
push 0x723
push 0x2c8a
lea eax, [ebp - 0x33]
push eax
call fcn.1002d1dd
add esp, 0x10
jmp 0x1002bda4
jmp 0x1002bd8e
mov dword [ebp - 0x20], 2
jmp 0x1002bde1
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1002bdf8
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x2d8], 0
je 0x1002bdf6
jmp 0x1002bdf8
jmp 0x1002bdda
jmp 0x1002bd78
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x260]
inc eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x260], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002be31
mov dword [ebp - 0x1c0], 1
jmp 0x1002be38
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x24], 0xada439be
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x84], 0
jmp 0x1002be7c
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x1002be98
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0xdc], 9
jmp 0x1002be6f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x110], 0
je 0x1002c077
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x4c], 5
and dword [ebp - 0x288], 0
and dword [ebp - 0x284], 0
and dword [ebp - 0x280], 0
and dword [ebp - 0x27c], 0
lea ecx, [ebp - 0xcd]
call fcn.10008ba3
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x390]
call fcn.1001779c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x324]
call fcn.1001774b
mov dword [ebp - 4], 2
cmp dword [ebp - 0x88], 0
jne 0x1002bf35
mov dword [ebp - 0x118], 1
jmp 0x1002bf3c
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x88]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x4c], eax
jge 0x1002bf62
cmp dword [ebp - 0x5c], 0
je 0x1002bf62
mov dword [ebp - 0x170], 1
jmp 0x1002bf69
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x170], eax
jl 0x1002bf80
mov dword [ebp - 0x1a0], 1
jmp 0x1002bf87
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0x1a0]
cmp eax, dword [ebp - 0x88]
jge 0x1002bfa7
mov dword [ebp - 0x120], 1
jmp 0x1002bfae
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x24]
cmp eax, 0x452f
je 0x1002c00c
mov dword [ebp - 0x220], 0xfffffffa
mov dword [ebp - 0x24], 0x15
jmp 0x1002bfde
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffef
je 0x1002c00a
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x3ed2
push 0x5a57
push 0x5f6f
push 0
call fcn.1002e07b
add esp, 0x18
jmp 0x1002bfd7
jmp 0x1002c063
mov dword [ebp - 0x24], 0xd
jmp 0x1002c01c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1a
jg 0x1002c063
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1002c034
call dword [sym.imp.USER32.dll_EndMenu]
mov dword [ebp - 0x4c], 0
jmp 0x1002c044
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x1002c061
lea eax, [ebp - 0x4c]
push eax
push 0
lea eax, [ebp - 0x324]
push eax
call fcn.1002b3e4
add esp, 0xc
jmp 0x1002c03d
jmp 0x1002c015
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.10017771
jmp 0x1002c277
mov dword [ebp - 0x2f4], 0x515e
mov dword [ebp - 0x2f0], 0x515e
mov dword [ebp - 0x2ec], 0x515e
mov dword [ebp - 0x2e8], 0x515e
mov dword [ebp - 0x5c], 0
jmp 0x1002c0af
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x11
je 0x1002c277
mov dword [ebp - 0xb8], 0x91450187
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x204], 0xfffffffd
mov dword [ebp - 0x18], 0
jmp 0x1002c0e7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x1002c272
mov byte [ebp - 0x57], 0
movzx eax, byte [ebp - 0x57]
test eax, eax
je 0x1002c111
push 0x532a
push 1
push 0x376d
call fcn.1002b3e4
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xdc]
mov dword [ebp + ecx*4 - 0xdc], eax
mov eax, 0x1ffbe626
test eax, eax
je 0x1002c1cb
mov eax, dword [ebp - 0x18]
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0x2f4]
cmp dword [ebp + eax*4 - 0xdc], ecx
je 0x1002c157
mov dword [ebp - 0x178], 1
jmp 0x1002c15e
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x178], eax
jne 0x1002c178
mov dword [ebp - 0x128], 1
jmp 0x1002c17f
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
jne 0x1002c194
mov dword [ebp - 0x1b8], 1
jmp 0x1002c19b
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x1b8], eax
jne 0x1002c1b2
mov dword [ebp - 0x130], 1
jmp 0x1002c1b9
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xdc]
cmp dword [ebp - 0x130], eax
jg 0x1002c1dd
cmp dword [ebp - 0xb8], 0
jne 0x1002c1dd
and dword [ebp - 0x180], 0
jmp 0x1002c1e7
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0xb8]
cmp eax, 0xdc4b
jge 0x1002c206
mov dword [ebp - 0x138], 1
jmp 0x1002c20d
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0
jg 0x1002c222
mov dword [ebp - 0x1fc], 1
jmp 0x1002c229
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xdc]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0xdc]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x228]
jl 0x1002c25a
mov dword [ebp - 0x1a8], 1
jmp 0x1002c261
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x204], eax
jmp 0x1002c0e0
jmp 0x1002c0a8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002c8d7
push 0x4000
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x28]
push dword [eax + 8]
push 0xbd2d
push 0xccef
call fcn.10024d36
pop ecx
pop ecx
call eax
push 4
lea ecx, [ebp - 0x78]
call fcn.100176ef
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 0xfa5c62e0
mov dword [ebp - 0x274], 0xfffffff6
mov dword [ebp - 0x270], 0xfffffff6
mov dword [ebp - 0x26c], 0xfffffff6
mov dword [ebp - 0x268], 0xfffffff6
lea ecx, [ebp - 0xc5]
call fcn.10008ba3
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x388]
call fcn.1001779c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x334]
call fcn.1001774b
mov byte [ebp - 4], 4
push 1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1002b436
add esp, 0xc
mov dword [ebp - 0x68], 0
jmp 0x1002c347
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1002c35d
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x214], 0x3ba20b95
jmp 0x1002c340
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2aa8
push 0xfbd
call fcn.10032ee8
add esp, 0x14
mov dword [ebp - 0x10], 0
jmp 0x1002c389
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x1002c8b7
mov dword [ebp - 0x60], 6
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x238], 0xfffffffd
mov dword [ebp - 0x90], 0
jmp 0x1002c3d1
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x1002c3ed
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x250], 0xfffffffa
jmp 0x1002c3c4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x214]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x214], eax
mov byte [ebp - 0x56], 0
movzx eax, byte [ebp - 0x56]
test eax, eax
je 0x1002c41c
push 0
call fcn.1002dffe
pop ecx
mov dword [ebp - 0x60], 0
jmp 0x1002c42c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jg 0x1002c8b2
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
cmp dword [eax], 1
jne 0x1002c45c
mov dword [ebp - 0x158], 1
jmp 0x1002c463
and dword [ebp - 0x158], 0
push 2
lea ecx, [ebp - 0x78]
call fcn.1001778d
cmp dword [eax], 0xffffffff
jl 0x1002c47e
mov dword [ebp - 0x140], 1
jmp 0x1002c485
and dword [ebp - 0x140], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0x140]
cmp ecx, dword [eax]
jle 0x1002c4a6
mov dword [ebp - 0x188], 1
jmp 0x1002c4ad
and dword [ebp - 0x188], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0x188]
cmp ecx, dword [eax]
je 0x1002c4ce
mov dword [ebp - 0x148], 1
jmp 0x1002c4d5
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
add eax, 0xc3a6
cmp eax, 0xc27f
jne 0x1002c4f3
mov dword [ebp - 0x1c8], 1
jmp 0x1002c4fa
and dword [ebp - 0x1c8], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0x1c8]
cmp ecx, dword [eax]
jne 0x1002c51b
mov dword [ebp - 0x150], 1
jmp 0x1002c522
and dword [ebp - 0x150], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
jne 0x1002c543
mov dword [ebp - 0x190], 1
jmp 0x1002c54a
and dword [ebp - 0x190], 0
mov esi, dword [ebp - 0x230]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
add esi, dword [eax]
cmp esi, dword [ebp - 0x190]
je 0x1002c571
mov dword [ebp - 0xc0], 1
jmp 0x1002c578
and dword [ebp - 0xc0], 0
push 2
lea ecx, [ebp - 0x334]
call fcn.1001778d
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
jl 0x1002c5bb
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
cmp dword [eax], 0
jne 0x1002c5bb
and dword [ebp - 0xe4], 0
jmp 0x1002c5c5
mov dword [ebp - 0xe4], 1
mov eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0xe4]
jle 0x1002c5f2
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1002c5ed
push 0
push 0x17a5
call fcn.10030d46
pop ecx
pop ecx
jmp 0x1002c8ad
mov dword [ebp - 0x54], 0x7108
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0x54]
add ecx, 5
cmp dword [eax], ecx
jle 0x1002c620
cmp dword [ebp - 0x60], 0
je 0x1002c620
mov dword [ebp - 0xec], 1
jmp 0x1002c627
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xec], eax
jge 0x1002c63e
mov dword [ebp - 0xf4], 1
jmp 0x1002c645
and dword [ebp - 0xf4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [eax]
je 0x1002c666
mov dword [ebp - 0xfc], 1
jmp 0x1002c66d
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0xfc]
jge 0x1002c684
mov dword [ebp - 0x104], 1
jmp 0x1002c68b
and dword [ebp - 0x104], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x214]
imul eax, dword [ebp - 0x104]
test eax, eax
je 0x1002c6bd
push 0
lea ecx, [ebp - 0x78]
call fcn.1001778d
cmp dword [eax], 0
je 0x1002c6bd
mov dword [ebp - 0x10c], 1
jmp 0x1002c6c4
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x10c], eax
jne 0x1002c6db
mov dword [ebp - 0xe0], 1
jmp 0x1002c6e2
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x493a
jle 0x1002c6fa
mov dword [ebp - 0x11c], 1
jmp 0x1002c701
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 1
jae 0x1002c716
mov dword [ebp - 0x124], 1
jmp 0x1002c71d
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x124]
cmp eax, 0xfffffff6
jne 0x1002c738
mov dword [ebp - 0x12c], 1
jmp 0x1002c73f
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x134], eax
push 2
lea ecx, [ebp - 0x78]
call fcn.1001778d
mov ecx, dword [ebp - 0x134]
mov dword [eax], ecx
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x134], eax
jle 0x1002c77a
mov dword [ebp - 0x13c], 1
jmp 0x1002c781
and dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 0x9132
jg 0x1002c7a9
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x214], 0
je 0x1002c7a9
mov dword [ebp - 0x23c], 1
jmp 0x1002c7b0
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x360], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x214]
mov dword [ebp - 0x340], eax
push 2
lea ecx, [ebp - 0x78]
call fcn.1001778d
cmp dword [eax], 0xeca6696b
je 0x1002c7ea
mov dword [ebp - 0x144], 1
jmp 0x1002c7f1
and dword [ebp - 0x144], 0
mov eax, 0xa5f03620
cmp eax, 0xc8ca929e
je 0x1002c809
mov dword [ebp - 0x14c], 1
jmp 0x1002c810
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x14c], eax
jge 0x1002c827
mov dword [ebp - 0x154], 1
jmp 0x1002c82e
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
imul eax, dword [ebp - 0x21c]
mov dword [ebp - 0x15c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + eax - 0x250], ecx
cmp dword [ebp - 0x15c], 0
jne 0x1002c876
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x250], 0
jne 0x1002c876
and dword [ebp - 0x164], 0
jmp 0x1002c880
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x174]
cmp eax, dword [ebp - 0x164]
jge 0x1002c89a
mov dword [ebp - 0x16c], 1
jmp 0x1002c8a1
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x174], eax
jmp 0x1002c425
jmp 0x1002c382
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x334]
call fcn.10017771
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10017771
jmp 0x1002b654
push 0x718e
push dword [ebp - 0x234]
push dword [ebp - 0x224]
lea eax, [ebp - 0x1d8]
push eax
push dword [ebp - 0x244]
push 0x29ae
push 0x8a9
push dword [ebp - 0x28]
push 0
call fcn.10032f7a
add esp, 0x24
push 1
lea ecx, [ebp - 0x2cc]
call fcn.100176ef
mov dword [ebp - 4], 5
mov dword [ebp - 0x80], 0xc4d8e5cc
mov dword [ebp - 0xa0], 0
jmp 0x1002c940
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x1002c962
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x2cc]
call fcn.1001778d
mov dword [eax], 0xd3df75dc
jmp 0x1002c933
mov dword [ebp - 0x80], 0
jmp 0x1002c972
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jg 0x1002c9d9
push 3
lea ecx, [ebp - 0x2a8]
call fcn.100176ef
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2a8]
push eax
push 0x21c3
lea eax, [ebp - 0x318]
push eax
push 0
call fcn.1002cfcb
add esp, 0x10
lea eax, [ebp - 0x2cc]
push eax
push 0x6087
push 0x7094
lea eax, [ebp - 0x2a8]
push eax
push 0
call fcn.10032660
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a8]
call fcn.10017771
jmp 0x1002c96b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.10017771
push 1
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1002b4ab
add esp, 0x10
push 3
lea ecx, [ebp - 0x9c]
call fcn.100176ef
mov dword [ebp - 4], 7
mov dword [ebp - 0x6c], 0xffffffff
push 0x4d99
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0
push 0x634b
push 0x66cc
call fcn.1002ce68
add esp, 0x18
push 1
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov eax, dword [eax]
add eax, 0xffff
jne 0x1002ca77
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
cmp dword [eax], 0
jne 0x1002ca77
and dword [ebp - 0x17c], 0
jmp 0x1002ca81
mov dword [ebp - 0x17c], 1
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [eax]
jle 0x1002caa4
mov dword [ebp - 0x184], 1
jmp 0x1002caab
and dword [ebp - 0x184], 0
imul eax, dword [ebp - 0x184], 0
cmp eax, 0xfffffffd
je 0x1002cac4
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov esi, eax
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x1002caf2
mov dword [ebp - 0x18c], 1
jmp 0x1002caf9
and dword [ebp - 0x18c], 0
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18c]
jg 0x1002cb1c
mov dword [ebp - 0x194], 1
jmp 0x1002cb23
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0xfffffff8
jae 0x1002cb47
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
cmp dword [eax], 0
jne 0x1002cb47
and dword [ebp - 0x19c], 0
jmp 0x1002cb51
mov dword [ebp - 0x19c], 1
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov eax, dword [eax]
cmp eax, dword [ebp - 0x19c]
je 0x1002cb74
mov dword [ebp - 0x1a4], 1
jmp 0x1002cb7b
and dword [ebp - 0x1a4], 0
push 0
lea ecx, [ebp - 0x9c]
call fcn.1001778d
mov ecx, dword [ebp - 0x1a4]
cmp ecx, dword [eax]
jg 0x1002cb9e
mov dword [ebp - 0x1d4], 1
jmp 0x1002cba5
and dword [ebp - 0x1d4], 0
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001778d
push 0
lea ecx, [ebp - 0x9c]
call fcn.1001778d
cmp dword [eax], 7
jge 0x1002cbd0
mov dword [ebp - 0x1ac], 1
jmp 0x1002cbd7
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x6c], 0xfffffff0
jmp 0x1002cbf0
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x16
jle 0x1002cc0c
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1002cc0a
push 1
call fcn.1002b529
pop ecx
jmp 0x1002cbe9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10017771
cmp dword [ebp - 0x1b4], 0
jbe 0x1002cc50
lea eax, [ebp - 0x304]
push eax
push dword [ebp - 0x1d8]
push dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x28]
push dword [eax + 8]
push 0xbd2d
push 0xc50e
call fcn.10024d36
pop ecx
pop ecx
call eax
jmp 0x1002b654
jmp 0x1002ccb1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0
jmp 0x1002cc94
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 1
jge 0x1002ccb1
mov eax, dword [ebp - 0x7c]
push dword [eax]
mov ecx, dword [ebp - 0x1f0]
call fcn.1001778d
or dword [eax], 0xffffffff
jmp 0x1002cc89
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret