Function at 0x1002b709
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
cmp dword [ebp + 0x10], 0
jbe 0x1002b749
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002b749
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1002b056
pop ecx
pop ecx
jmp 0x1002c7a6
cmp dword [ebp + 0x10], 0
jne 0x1002c09f
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.1002094c
mov dword [ebp - 0x48], eax
cmp dword [0x1065c640], 0
jne 0x1002c073
mov dword [ebp - 0x1c8], 0x9d0
lea eax, [ebp - 0x1c8]
push eax
call fcn.1002af43
pop ecx
mov dword [ebp - 0x184], eax
mov byte [ebp - 0xfc], 0
mov byte [ebp - 0xfb], 0x1c
mov byte [ebp - 0xfa], 0x40
mov byte [ebp - 0xf9], 0xeb
mov byte [ebp - 0xf8], 0xc0
mov byte [ebp - 0xf7], 0x81
mov byte [ebp - 0xf6], 0xd1
mov byte [ebp - 0xf5], 0xf1
mov byte [ebp - 0xf4], 0xb7
mov byte [ebp - 0xf3], 0xaf
mov byte [ebp - 0xf2], 5
mov byte [ebp - 0xf1], 0x35
mov byte [ebp - 0xf0], 0x13
mov byte [ebp - 0xef], 0x78
mov byte [ebp - 0xee], 0x21
mov byte [ebp - 0xed], 0x58
mov byte [ebp - 0xec], 0xb1
mov byte [ebp - 0xeb], 0x3e
mov byte [ebp - 0xea], 0x4e
mov byte [ebp - 0xe9], 0xb2
mov byte [ebp - 0xe8], 0xdd
mov byte [ebp - 0xe7], 0xe5
mov byte [ebp - 0xe6], 0xc9
mov byte [ebp - 0xe5], 0x93
mov byte [ebp - 0xe4], 0x58
mov byte [ebp - 0xe3], 0xcf
mov byte [ebp - 0xe2], 0xbd
mov byte [ebp - 0xe1], 0xc0
mov byte [ebp - 0xe0], 0x3c
mov byte [ebp - 0xdf], 0x42
mov byte [ebp - 0xde], 0xec
mov byte [ebp - 0xdd], 0x93
mov byte [ebp - 0xdc], 0x62
mov byte [ebp - 0xdb], 0xbe
mov byte [ebp - 0xda], 0xdc
mov byte [ebp - 0xd9], 0x7d
mov byte [ebp - 0xd8], 0x2b
mov byte [ebp - 0xd7], 0x3e
mov byte [ebp - 0xd6], 0x17
mov byte [ebp - 0xd5], 0xdb
mov byte [ebp - 0xd4], 0xd4
mov byte [ebp - 0xd3], 0xbd
mov byte [ebp - 0xd2], 0xb7
mov byte [ebp - 0xd1], 0x53
mov byte [ebp - 0xd0], 0x3c
mov byte [ebp - 0xcf], 0xf
mov byte [ebp - 0xce], 0x5a
mov byte [ebp - 0xcd], 0xa2
mov byte [ebp - 0xcc], 0x2e
mov byte [ebp - 0xcb], 0x6e
mov byte [ebp - 0xca], 0x9e
mov byte [ebp - 0xc9], 0xa7
mov byte [ebp - 0xc8], 0x2c
mov byte [ebp - 0xc7], 0xc2
mov byte [ebp - 0xc6], 0xc7
mov byte [ebp - 0xc5], 2
mov byte [ebp - 0xc4], 0x54
mov byte [ebp - 0xc3], 3
mov byte [ebp - 0xc2], 0x46
mov byte [ebp - 0xc1], 0x10
mov byte [ebp - 0xc0], 0x38
mov byte [ebp - 0xbf], 0x32
mov byte [ebp - 0xbe], 0xa6
mov byte [ebp - 0xbd], 0x33
mov byte [ebp - 0xbc], 0x60
mov byte [ebp - 0xbb], 0x6e
mov byte [ebp - 0xba], 0xa9
mov byte [ebp - 0xb9], 5
mov byte [ebp - 0xb8], 0x35
mov byte [ebp - 0xb7], 0xb
mov byte [ebp - 0xb6], 0xa
mov byte [ebp - 0xb5], 8
mov byte [ebp - 0xb4], 0x17
mov byte [ebp - 0xb3], 0xc
mov byte [ebp - 0xb2], 0x38
mov byte [ebp - 0xb1], 6
mov byte [ebp - 0xb0], 0x24
mov byte [ebp - 0xaf], 4
mov byte [ebp - 0xae], 0x16
mov byte [ebp - 0xad], 0xa
mov byte [ebp - 0xac], 0x20
mov byte [ebp - 0xab], 9
mov byte [ebp - 0xaa], 0x2b
mov byte [ebp - 0xa9], 2
mov byte [ebp - 0xa8], 0x1a
mov byte [ebp - 0xa7], 7
mov byte [ebp - 0xa6], 0x1d
mov byte [ebp - 0xa5], 3
mov byte [ebp - 0xa4], 0x3f
mov byte [ebp - 0xa3], 1
mov byte [ebp - 0xa2], 0x33
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xfc]
or eax, 0x5b
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xfc]
and ecx, 0x5b
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xfc]
mov byte [ebp + ecx - 0x19c], al
mov dword [ebp - 0x10], 2
and dword [ebp - 0x3c], 0
jmp 0x1002ba56
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5b
jae 0x1002bb25
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xfc]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x10], eax
jne 0x1002ba9d
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xfc]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xfc]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x10], eax
jmp 0x1002ba4e
mov eax, dword [ebp - 0x10]
movzx eax, byte [ebp + eax - 0xfb]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x3c]
movzx ecx, byte [ebp + ecx - 0xfe]
movsx ecx, byte [ebp + ecx - 0x19c]
add eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xfb]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xfe]
movsx edx, byte [ebp + edx - 0x19c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xfb]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x3c]
movzx edx, byte [ebp + edx - 0xfe]
movsx edx, byte [ebp + edx - 0x19c]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ebp + ecx - 0xfc]
mov byte [ebp + ecx - 0x19c], al
and dword [ebp - 0x3c], 0
jmp 0x1002ba4e
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x19c], 0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.1002cc04
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b4], eax
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x1b4]
call fcn.1002094c
mov dword [0x1065c640], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10013d93
and dword [ebp - 0x58], 0
jmp 0x1002bb8d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xe
jae 0x1002bba0
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x19c], 0
jmp 0x1002bb86
mov byte [ebp - 0x174], 7
mov byte [ebp - 0x173], 0x84
mov byte [ebp - 0x172], 4
mov byte [ebp - 0x171], 6
mov byte [ebp - 0x170], 1
mov byte [ebp - 0x16f], 6
mov byte [ebp - 0x16e], 2
mov byte [ebp - 0x16d], 0x17
mov byte [ebp - 0x16c], 0
mov byte [ebp - 0x16b], 0x26
mov byte [ebp - 0x16a], 8
mov byte [ebp - 0x169], 0x2c
mov byte [ebp - 0x168], 0xd
mov byte [ebp - 0x167], 0x38
mov byte [ebp - 0x166], 3
mov byte [ebp - 0x165], 0x36
mov byte [ebp - 0x164], 0x58
mov byte [ebp - 0x163], 0xa9
mov byte [ebp - 0x162], 0x33
mov byte [ebp - 0x161], 0xe8
mov byte [ebp - 0x160], 0x6f
mov byte [ebp - 0x15f], 0xcc
mov byte [ebp - 0x15e], 0xf9
mov byte [ebp - 0x15d], 0x1c
mov byte [ebp - 0x15c], 0x81
mov byte [ebp - 0x15b], 0x51
mov byte [ebp - 0x15a], 0x7f
mov byte [ebp - 0x159], 0x90
mov byte [ebp - 0x158], 0xed
mov byte [ebp - 0x157], 0xb3
mov byte [ebp - 0x156], 0xd7
mov byte [ebp - 0x155], 0xa2
mov byte [ebp - 0x154], 0x89
mov byte [ebp - 0x153], 0x76
mov byte [ebp - 0x152], 0xbb
mov byte [ebp - 0x151], 0x39
mov byte [ebp - 0x150], 0xc0
mov byte [ebp - 0x14f], 0x2a
mov byte [ebp - 0x14e], 0xb2
mov byte [ebp - 0x14d], 0xbe
mov byte [ebp - 0x14c], 0x83
mov byte [ebp - 0x14b], 0x38
mov byte [ebp - 0x14a], 0x14
mov byte [ebp - 0x149], 0x43
mov byte [ebp - 0x148], 0x25
mov byte [ebp - 0x147], 0x59
mov byte [ebp - 0x146], 0xe2
mov byte [ebp - 0x145], 0xe9
mov byte [ebp - 0x144], 0x69
mov byte [ebp - 0x143], 0xf7
mov byte [ebp - 0x142], 0x81
mov byte [ebp - 0x141], 0xec
mov byte [ebp - 0x140], 0xca
mov byte [ebp - 0x13f], 0x6a
mov byte [ebp - 0x13e], 0x4f
mov byte [ebp - 0x13d], 0xca
mov byte [ebp - 0x13c], 0xc1
mov byte [ebp - 0x13b], 0xbb
mov byte [ebp - 0x13a], 0x1d
mov byte [ebp - 0x139], 0x73
mov byte [ebp - 0x138], 0x80
mov byte [ebp - 0x137], 0xf6
mov byte [ebp - 0x136], 0x9f
mov byte [ebp - 0x135], 0x92
mov byte [ebp - 0x134], 0xfa
mov byte [ebp - 0x133], 0x27
mov byte [ebp - 0x132], 0xb6
mov byte [ebp - 0x131], 0x35
mov byte [ebp - 0x130], 0x34
mov byte [ebp - 0x12f], 0x84
mov byte [ebp - 0x12e], 0xc0
mov byte [ebp - 0x12d], 0x74
mov byte [ebp - 0x12c], 0x91
mov byte [ebp - 0x12b], 0x80
mov byte [ebp - 0x12a], 0xc4
mov byte [ebp - 0x129], 0xf0
mov byte [ebp - 0x128], 0x46
mov byte [ebp - 0x127], 0x1a
mov byte [ebp - 0x126], 0xb6
mov byte [ebp - 0x125], 0x29
mov byte [ebp - 0x124], 9
mov byte [ebp - 0x123], 0x48
mov byte [ebp - 0x122], 0x1d
mov byte [ebp - 0x121], 0x92
mov byte [ebp - 0x120], 0xa9
mov byte [ebp - 0x11f], 0x54
mov byte [ebp - 0x11e], 0x48
mov byte [ebp - 0x11d], 0xf9
mov byte [ebp - 0x11c], 0xb6
mov byte [ebp - 0x11b], 0x61
mov byte [ebp - 0x11a], 0x86
mov byte [ebp - 0x119], 5
mov byte [ebp - 0x118], 0xcf
mov byte [ebp - 0x117], 0x9d
mov byte [ebp - 0x116], 0x6b
mov byte [ebp - 0x115], 0x6a
mov byte [ebp - 0x114], 0x53
mov byte [ebp - 0x113], 0x43
mov byte [ebp - 0x112], 0x92
mov byte [ebp - 0x111], 0x29
mov byte [ebp - 0x110], 0xf0
mov byte [ebp - 0x10f], 0x67
mov byte [ebp - 0x10e], 0x8d
mov byte [ebp - 0x10d], 0x69
mov byte [ebp - 0x10c], 0xee
mov byte [ebp - 0x10b], 0xb
mov byte [ebp - 0x10a], 0x12
mov byte [ebp - 0x109], 6
mov byte [ebp - 0x108], 0x23
mov byte [ebp - 0x107], 0xc
mov byte [ebp - 0x106], 0x23
mov byte [ebp - 0x105], 5
mov byte [ebp - 0x104], 0x16
mov byte [ebp - 0x103], 9
mov byte [ebp - 0x102], 6
mov byte [ebp - 0x101], 0xa
mov byte [ebp - 0x100], 6
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x174]
or eax, 0xf6
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x174]
and ecx, 0xf6
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x174]
mov byte [ebp + ecx - 0x1ac], al
mov dword [ebp - 0x14], 2
and dword [ebp - 0x40], 0
jmp 0x1002bf26
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x75
jae 0x1002bff5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x174]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x1002bf6d
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x174]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x174]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x1002bf1e
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x173]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x40]
movzx ecx, byte [ebp + ecx - 0x176]
movsx ecx, byte [ebp + ecx - 0x1ac]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x173]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x176]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x173]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x40]
movzx edx, byte [ebp + edx - 0x176]
movsx edx, byte [ebp + edx - 0x1ac]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x174]
mov byte [ebp + ecx - 0x1ac], al
and dword [ebp - 0x40], 0
jmp 0x1002bf1e
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax - 0x1ac], 0
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x264]
call fcn.1002cc04
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x184]
mov ecx, dword [ebp - 0x1c0]
call fcn.1002094c
mov dword [0x1065c70c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10013d93
and dword [ebp - 0x50], 0
jmp 0x1002c060
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xf
jae 0x1002c073
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x1ac], 0
jmp 0x1002c059
mov eax, dword [0x1065c640]
cmp eax, dword [ebp - 0x48]
je 0x1002c087
mov eax, dword [0x1065c70c]
cmp eax, dword [ebp - 0x48]
jne 0x1002c09f
mov ecx, dword [ebp + 0xc]
call fcn.10013def
push eax
push dword [ebp + 8]
call fcn.1002b056
pop ecx
pop ecx
jmp 0x1002c7a6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x1002c7a4
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x1002c7a4
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x54]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0x4550
jne 0x1002c7a4
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jbe 0x1002c7a4
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + eax + 0x78], 0
je 0x1002c7a4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x24], edx
mov eax, 0xffff
mov word [ebp - 0x1c], ax
or dword [ebp - 0x34], 0xffffffff
cmp dword [ebp + 0x10], 0
jbe 0x1002c140
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x1002c13b
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x1c], ax
jmp 0x1002c2d6
mov eax, dword [0x1065c774]
and eax, 1
jne 0x1002c177
mov eax, dword [0x1065c774]
or eax, 1
mov dword [0x1065c774], eax
mov dword [ebp - 4], 2
mov ecx, 0x1065c778
call fcn.10013fe2
push 0x1006d7db
call fcn.1005a736
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1065c63d]
test eax, eax
je 0x1002c1dd
mov ecx, 0x1065c778
call fcn.1002cc82
movzx eax, al
test eax, eax
jne 0x1002c1dd
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x188]
push eax
mov ecx, 0x1065c778
call fcn.10013fba
lea eax, [ebp - 0x1d4]
push eax
mov ecx, 0x1065c778
call fcn.10013fac
push eax
lea ecx, [ebp - 0x188]
call fcn.10013fcf
movzx eax, al
test eax, eax
je 0x1002c1dd
lea ecx, [ebp - 0x188]
call fcn.1002cc8b
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002c2d6
mov ecx, 0x1065c778
call fcn.1002cccf
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x1065c778
call fcn.1002ccd3
and dword [ebp - 0x2c], 0
jmp 0x1002c20f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x18]
jae 0x1002c2d6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x2c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x1002c2d1
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x234]
call fcn.1002cc04
mov dword [ebp - 4], 3
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x234]
call fcn.1002094c
mov dword [ebp - 0x18c], eax
movzx eax, byte [0x1065c63d]
test eax, eax
je 0x1002c28e
mov ecx, 0x1065c778
call fcn.1002cc82
movzx eax, al
test eax, eax
jne 0x1002c2ab
lea eax, [ebp - 0x18c]
push eax
mov ecx, 0x1065c778
call fcn.1002cc91
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov byte [0x1065c63d], 1
cmp dword [ebp - 0x34], 0xffffffff
jne 0x1002c2c2
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x48]
jne 0x1002c2c2
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10013d93
jmp 0x1002c208
cmp dword [ebp + 0x10], 0
jne 0x1002c2f6
cmp dword [ebp - 0x34], 0xffffffff
je 0x1002c2f6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x34]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x1c], ax
movzx eax, word [ebp - 0x1c]
cmp eax, 0xffff
je 0x1002c7a4
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jbe 0x1002c79f
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0x20], edx
jae 0x1002c79f
mov eax, dword [0x1065c774]
and eax, 2
jne 0x1002c380
mov eax, dword [0x1065c774]
or eax, 2
mov dword [0x1065c774], eax
mov dword [ebp - 4], 4
push 0x859
call fcn.1000ebcc
pop ecx
mov byte [0x1065c798], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0xa0], 2
mov byte [ebp - 0x9f], 0x90
mov byte [ebp - 0x9e], 1
mov byte [ebp - 0x9d], 0
mov byte [ebp - 0x9c], 0
mov byte [ebp - 0x9b], 8
mov byte [ebp - 0x9a], 0x3a
mov byte [ebp - 0x99], 0x3a
mov byte [ebp - 0x98], 0xe0
mov byte [ebp - 0x97], 0xec
mov byte [ebp - 0x96], 0xac
mov byte [ebp - 0x95], 0x4c
mov byte [ebp - 0x94], 0xe0
mov byte [ebp - 0x93], 0x46
mov byte [ebp - 0x92], 6
mov byte [ebp - 0x91], 0x37
mov byte [ebp - 0x90], 0x51
mov byte [ebp - 0x8f], 0x3c
mov byte [ebp - 0x8e], 0xc3
mov byte [ebp - 0x8d], 0x38
mov byte [ebp - 0x8c], 0x49
mov byte [ebp - 0x8b], 0xca
mov byte [ebp - 0x8a], 0x71
mov byte [ebp - 0x89], 0x6c
mov byte [ebp - 0x88], 0x89
mov byte [ebp - 0x87], 0x33
mov byte [ebp - 0x86], 0xf5
mov byte [ebp - 0x85], 0x6b
mov byte [ebp - 0x84], 0xa8
mov byte [ebp - 0x83], 0xd8
mov byte [ebp - 0x82], 0x81
mov byte [ebp - 0x81], 0x49
mov byte [ebp - 0x80], 0xa6
mov byte [ebp - 0x7f], 0x44
mov byte [ebp - 0x7e], 0x1d
mov byte [ebp - 0x7d], 0x4e
mov byte [ebp - 0x7c], 0xd0
mov byte [ebp - 0x7b], 0x4c
mov byte [ebp - 0x7a], 0xb2
mov byte [ebp - 0x79], 0x95
mov byte [ebp - 0x78], 0x82
mov byte [ebp - 0x77], 0x32
mov byte [ebp - 0x76], 0xe5
mov byte [ebp - 0x75], 0xe9
mov byte [ebp - 0x74], 0x10
mov byte [ebp - 0x73], 0x9a
mov byte [ebp - 0x72], 0xe
mov byte [ebp - 0x71], 0xe
mov byte [ebp - 0x70], 0xf9
mov byte [ebp - 0x6f], 0xd0
mov byte [ebp - 0x6e], 0x25
mov byte [ebp - 0x6d], 0x59
mov byte [ebp - 0x6c], 0x3a
mov byte [ebp - 0x6b], 0x2f
mov byte [ebp - 0x6a], 5
mov byte [ebp - 0x69], 0xbc
mov byte [ebp - 0x68], 0xbb
mov byte [ebp - 0x67], 9
mov byte [ebp - 0x66], 0xbb
mov byte [ebp - 0x65], 0xa0
mov byte [ebp - 0x64], 0xcb
mov byte [ebp - 0x63], 0x1c
mov byte [ebp - 0x62], 0x5f
mov byte [ebp - 0x61], 0xba
mov byte [ebp - 0x60], 0x2d
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0xa0]
or eax, 0xfc
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0xa0]
and ecx, 0xfc
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0xa0]
mov byte [ebp + ecx - 0x38], al
mov dword [ebp - 0x18], 2
and dword [ebp - 0x5c], 0
jmp 0x1002c534
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x41
jae 0x1002c5d5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x18], eax
jne 0x1002c57b
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xa0]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0xa0]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x18], eax
jmp 0x1002c52c
mov eax, dword [ebp - 0x18]
movzx eax, byte [ebp + eax - 0x9f]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x5c]
movzx ecx, byte [ebp + ecx - 0xa2]
movsx ecx, byte [ebp + ecx - 0x38]
or eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0x9f]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x5c]
movzx edx, byte [ebp + edx - 0xa2]
movsx edx, byte [ebp + edx - 0x38]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ebp + ecx - 0xa0]
mov byte [ebp + ecx - 0x38], al
and dword [ebp - 0x5c], 0
jmp 0x1002c52c
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x38], 0
mov eax, dword [0x1065c774]
and eax, 4
jne 0x1002c61b
mov eax, dword [0x1065c774]
or eax, 4
mov dword [0x1065c774], eax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x1065c738
call fcn.1002cc04
push 0x1006d7cc
call fcn.1005a736
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x4c], 0
jmp 0x1002c628
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jae 0x1002c638
mov eax, dword [ebp - 0x4c]
mov byte [ebp + eax - 0x38], 0
jmp 0x1002c621
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
movsx ecx, byte [0x1065c798]
cmp eax, ecx
je 0x1002c658
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x1002c63e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1ec]
call fcn.1002d060
mov dword [ebp - 4], 6
push 0x1065c738
lea ecx, [ebp - 0x1ec]
call fcn.1002cc33
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.1001457c
push dword [eax]
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.10014568
push dword [eax]
lea ecx, [ebp - 0x21c]
call fcn.1002d089
mov byte [ebp - 4], 7
lea eax, [ebp - 0x21c]
push eax
call fcn.100225b0
pop ecx
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x1002c74e
push dword [ebp - 0x28]
lea ecx, [ebp - 0x204]
call fcn.1002cc04
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1c4]
lea ecx, [ebp - 0x204]
call fcn.100215ae
movzx eax, al
test eax, eax
je 0x1002c721
push 0
push dword [ebp - 0x1c4]
push 0
push dword [ebp - 0x178]
call fcn.1002b709
add esp, 0x10
mov dword [ebp - 0x20], eax
jmp 0x1002c73d
push 1
push 0
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x178]
call fcn.1002b709
add esp, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x204]
call fcn.10013d93
jmp 0x1002c781
cmp dword [ebp + 0x10], 0
jne 0x1002c764
mov ecx, dword [ebp + 0xc]
call fcn.10013def
mov dword [ebp - 0x180], eax
jmp 0x1002c76e
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x180], eax
push dword [ebp - 0x180]
push dword [ebp + 8]
call fcn.1002b056
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x21c]
call fcn.10013c6b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.10013d93
mov eax, dword [ebp - 0x20]
jmp 0x1002c7a6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret