Function at 0x1004bb66
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007cd97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004bbe8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x294], eax
push dword [ebp - 0x230]
push 1
push dword [ebp - 0x288]
push dword [ebp - 0x298]
push 0x259f
push 0x29f3
push dword [ebp - 0x294]
call fcn.1004d31d
add esp, 0x1c
jmp 0x1004d30c
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x244], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x290], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x26c]
movzx eax, byte [eax]
test eax, eax
je 0x1004bcac
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
jmp 0x1004bc77
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 1
jg 0x1004bca7
mov eax, dword [ebp - 0x40]
push dword [eax]
mov ecx, dword [ebp - 0x124]
call fcn.1002809c
mov esi, eax
mov eax, dword [ebp - 0x40]
push dword [eax]
mov ecx, dword [ebp - 0x124]
call fcn.1002809c
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1004bc6c
jmp 0x1004d30c
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0xa0], 0x48bbca63
mov dword [ebp - 0x378], 0xaeb9
mov dword [ebp - 0xa0], 0
jmp 0x1004bd09
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xe
je 0x1004bdbc
mov dword [ebp - 0x80], 0
jmp 0x1004bd26
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 4
jge 0x1004bd3c
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x304], 1
jmp 0x1004bd1f
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x304], 0
jmp 0x1004bd6a
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x304]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x304], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x304], 0
je 0x1004bd95
push 0
push 0x265c
push 0x68ab
push 0x7b2e
call fcn.10055fea
add esp, 0x10
jmp 0x1004bd4f
push 0
push 0x5fe2
push 1
push 0x60c4
push 0x27f
push 0x780d
push 0
call fcn.1004dd0a
add esp, 0x1c
jmp 0x1004bcfc
lea ecx, [ebp - 0x36c]
call fcn.10027bb7
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x2dc], 0x7d393e75
mov dword [ebp - 0x2d8], 0x7d393e75
mov dword [ebp - 0x2d4], 0x7d393e75
mov dword [ebp - 0x2d0], 0x7d393e75
lea ecx, [ebp - 0xc9]
call fcn.100280ab
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x3a8]
call fcn.100280ae
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2b0]
call fcn.1002805a
mov byte [ebp - 4], 1
mov dword [ebp - 0xf0], 9
mov dword [ebp - 0xb0], 0
jmp 0x1004be56
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x1004be72
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x2e8], 0xec0ae971
jmp 0x1004be49
mov dword [ebp - 0x20], 0
jmp 0x1004be82
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1004beaf
mov byte [ebp - 0x2d], 0
push 0
push 0x4c1b
push 1
lea eax, [ebp - 0x2d]
push eax
push 0x70d7
push 0x434
push 1
call fcn.1004dd0a
add esp, 0x1c
jmp 0x1004be7b
mov dword [ebp - 0x20], 0
jmp 0x1004bebf
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1004c185
push 3
lea ecx, [ebp - 0xbc]
call fcn.10027ffe
mov byte [ebp - 4], 2
mov dword [ebp - 0x1dc], 0xa53061ec
mov dword [ebp - 0x88], 0
jmp 0x1004befd
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jge 0x1004bf1f
push dword [ebp - 0x88]
lea ecx, [ebp - 0xbc]
call fcn.1002809c
mov dword [eax], 0xa6deec54
jmp 0x1004bef0
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
and dword [eax], 0
jmp 0x1004bf55
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x118]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
cmp dword [eax], 2
jg 0x1004c171
mov dword [ebp - 0x90], 0x44401d1b
mov dword [ebp - 0x260], 0x6a81d68c
mov dword [ebp - 0x74], 0
jmp 0x1004bf8f
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x1004bfa5
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x394], 0xffffffff
jmp 0x1004bf88
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
mov eax, dword [eax]
mov esi, dword [ebp + eax*4 - 0x2e8]
sub esi, dword [ebp - 0x90]
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
cmp esi, dword [eax]
jl 0x1004bfde
mov dword [ebp - 0xd8], 1
jmp 0x1004bfe5
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 1
jle 0x1004c006
mov dword [ebp - 0xe0], 1
jmp 0x1004c00d
and dword [ebp - 0xe0], 0
mov esi, dword [ebp - 0xe0]
add esi, 0x6941
push 3
lea ecx, [ebp - 0x2b0]
call fcn.1002809c
mov dword [eax], esi
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
push 3
lea ecx, [ebp - 0x2b0]
call fcn.1002809c
cmp dword [eax], 0x718bc698
jne 0x1004c056
mov dword [ebp - 0x284], 1
jmp 0x1004c05d
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x384], eax
cmp dword [ebp - 0xf0], 1
jne 0x1004c07e
mov dword [ebp - 0x1e4], 1
jmp 0x1004c085
and dword [ebp - 0x1e4], 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x2e8]
add eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x90], eax
jne 0x1004c0c4
push 3
lea ecx, [ebp - 0x2b0]
call fcn.1002809c
cmp dword [eax], 0
jne 0x1004c0c4
and dword [ebp - 0xe8], 0
jmp 0x1004c0ce
mov dword [ebp - 0xe8], 1
push 1
lea ecx, [ebp - 0xbc]
call fcn.1002809c
mov eax, dword [eax]
mov ecx, dword [ebp - 0xe8]
sub ecx, dword [ebp + eax*4 - 0x2e8]
cmp ecx, dword [ebp - 0x260]
jne 0x1004c0fe
mov dword [ebp - 0x1ec], 1
jmp 0x1004c105
and dword [ebp - 0x1ec], 0
push 0
lea ecx, [ebp - 0xbc]
call fcn.1002809c
mov ecx, dword [ebp - 0x1ec]
sub ecx, dword [eax]
jne 0x1004c12e
mov eax, 0xfc786c7a
test eax, eax
jne 0x1004c12e
and dword [ebp - 0x1f4], 0
jmp 0x1004c138
mov dword [ebp - 0x1f4], 1
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x1f4], eax
jge 0x1004c152
mov dword [ebp - 0xf8], 1
jmp 0x1004c159
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + eax - 0x394], ecx
jmp 0x1004bf31
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.10028080
jmp 0x1004beb8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.10028080
push 0x5a18
push 0
push 0x4db2
push 0x704
push dword [ebp - 0x1d0]
lea eax, [ebp - 0x36c]
push eax
push 0x74df
call fcn.1004d31d
add esp, 0x1c
mov dword [ebp - 0xac], 0x782a1836
mov dword [ebp - 0x24], 0xfffa
mov dword [ebp - 0x28], 0xcd333563
mov dword [ebp - 0x114], 0xfffffff7
mov dword [ebp - 0x1e8], 0x5661c443
mov dword [ebp - 0x1c0], 3
mov dword [ebp - 0xc0], 8
push 4
lea ecx, [ebp - 0x2f4]
call fcn.10027ffe
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
jmp 0x1004c220
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004c233
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1c], 0
jmp 0x1004c219
mov dword [ebp - 0x14], 0
jmp 0x1004c243
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004c259
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x220], 8
jmp 0x1004c23c
mov dword [ebp - 0x14], 0
jmp 0x1004c269
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1004c27f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3a0], 0
jmp 0x1004c262
push 0x6ab8
push 0x1fe4
lea eax, [ebp - 0x2f4]
push eax
push 0x6c74
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.10051403
add esp, 0x18
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x114], 0x981c5860
ja 0x1004c2d2
mov dword [ebp - 0x1fc], 1
jmp 0x1004c2d9
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1e8]
dec eax
cmp dword [ebp - 0x1fc], eax
jne 0x1004c2f4
mov dword [ebp - 0x100], 1
jmp 0x1004c2fb
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0xffff
jb 0x1004c313
mov dword [ebp - 0x204], 1
jmp 0x1004c31a
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x204], eax
jne 0x1004c331
mov dword [ebp - 0x108], 1
jmp 0x1004c338
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x108], eax
jle 0x1004c34f
mov dword [ebp - 0x20c], 1
jmp 0x1004c356
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20c], eax
jg 0x1004c36d
mov dword [ebp - 0x214], 1
jmp 0x1004c374
and dword [ebp - 0x214], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
cmp dword [ebp - 0x214], eax
jne 0x1004c392
mov dword [ebp - 0x110], 1
jmp 0x1004c399
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
neg eax
je 0x1004c3b8
mov eax, 0xa9dfeee8
test eax, eax
je 0x1004c3b8
mov dword [ebp - 0x198], 1
jmp 0x1004c3bf
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x198], eax
jle 0x1004c3d1
cmp dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1c]
cmp dword [ebp + eax - 0x220], ecx
jg 0x1004c403
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x220], 0
jne 0x1004c403
and dword [ebp - 0x120], 0
jmp 0x1004c40d
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x120], eax
jge 0x1004c424
mov dword [ebp - 0xc8], 1
jmp 0x1004c42b
and dword [ebp - 0xc8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x1c], ecx
mov eax, dword [ebp - 0xc8]
add eax, 0x57cdc685
cmp eax, dword [ebp - 0x28]
jne 0x1004c457
mov dword [ebp - 0x1d8], 1
jmp 0x1004c45e
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x1d8]
cmp eax, dword [ebp - 0xac]
jle 0x1004c47c
mov dword [ebp - 0x128], 1
jmp 0x1004c483
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x128], eax
jne 0x1004c49a
mov dword [ebp - 0x1a0], 1
jmp 0x1004c4a1
and dword [ebp - 0x1a0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x220]
cmp dword [ebp - 0x1a0], eax
jge 0x1004c4c1
mov dword [ebp - 0x130], 1
jmp 0x1004c4c8
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x130], eax
jne 0x1004c4df
mov dword [ebp - 0x1f8], 1
jmp 0x1004c4e6
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x1f8], eax
jge 0x1004c4fd
mov dword [ebp - 0x138], 1
jmp 0x1004c504
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0xca40
jle 0x1004c520
push 4
pop eax
test eax, eax
jne 0x1004c520
and dword [ebp - 0x1a8], 0
jmp 0x1004c52a
mov dword [ebp - 0x1a8], 1
cmp dword [ebp - 0x1a8], 0x9025b0d6
jb 0x1004c542
mov dword [ebp - 0x140], 1
jmp 0x1004c549
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x140], eax
jg 0x1004c781
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x54], 0xfffffff9
mov dword [ebp - 0x6c], 0xffffffff
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp + eax - 0x220]
je 0x1004c595
mov dword [ebp - 0x1e0], 1
jmp 0x1004c59c
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1e0], eax
je 0x1004c5b3
mov dword [ebp - 0x148], 1
jmp 0x1004c5ba
and dword [ebp - 0x148], 0
imul eax, dword [ebp - 0x148], 0xac69
cmp eax, dword [ebp - 0x3c]
jl 0x1004c5d5
mov dword [ebp - 0x28c], 1
jmp 0x1004c5dc
and dword [ebp - 0x28c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x220]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x3c]
jg 0x1004c603
mov dword [ebp - 0x1b0], 1
jmp 0x1004c60a
and dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0x720f
jl 0x1004c622
mov dword [ebp - 0x150], 1
jmp 0x1004c629
and dword [ebp - 0x150], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x220]
cmp eax, dword [ebp - 0x150]
je 0x1004c64a
mov dword [ebp - 0x208], 1
jmp 0x1004c651
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp + eax - 0x1c], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x3c], 1
je 0x1004c683
mov dword [ebp - 0x158], 1
jmp 0x1004c68a
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x158], eax
jne 0x1004c6a1
mov dword [ebp - 0x1b8], 1
jmp 0x1004c6a8
and dword [ebp - 0x1b8], 0
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0xac]
jl 0x1004c6c5
mov dword [ebp - 0x160], 1
jmp 0x1004c6cc
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x1c0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x220]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xac]
neg ecx
imul eax, ecx
test eax, eax
jne 0x1004c719
cmp dword [ebp - 0x6c], 0
jne 0x1004c719
and dword [ebp - 0x268], 0
jmp 0x1004c723
mov dword [ebp - 0x268], 1
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x334], eax
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x54], eax
jne 0x1004c75b
mov dword [ebp - 0x168], 1
jmp 0x1004c762
and dword [ebp - 0x168], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1c]
add eax, dword [ebp - 0x168]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1c], eax
jmp 0x1004c911
mov dword [ebp - 0x64], 0xde17a8f3
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xa8], 0xffffffff
push 0
call fcn.1005465c
pop ecx
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x33c], eax
cmp dword [ebp - 0x64], 0
jne 0x1004c820
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x28], eax
jne 0x1004c7cd
mov dword [ebp - 0x170], 1
jmp 0x1004c7d4
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0x170], eax
jle 0x1004c7f0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x3a0], 0
mov eax, 0x6454c9bf
test eax, eax
jne 0x1004c805
mov dword [ebp - 0x200], 1
jmp 0x1004c80c
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x200], eax
je 0x1004c820
and dword [ebp - 0x178], 0
jmp 0x1004c82a
mov dword [ebp - 0x178], 1
cmp dword [ebp - 0x178], 0x5504
jge 0x1004c842
mov dword [ebp - 0x1c8], 1
jmp 0x1004c849
and dword [ebp - 0x1c8], 0
mov esi, 0x9c96
sub esi, dword [ebp - 0x1c8]
push 1
lea ecx, [ebp - 0x2f4]
call fcn.1002809c
cmp esi, dword [eax]
jle 0x1004c871
mov dword [ebp - 0x180], 1
jmp 0x1004c878
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x180], eax
jle 0x1004c88f
mov dword [ebp - 0x1f0], 1
jmp 0x1004c896
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x98]
cmp eax, 1
jg 0x1004c8b9
mov dword [ebp - 0x188], 1
jmp 0x1004c8c0
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1004c8e1
mov dword [ebp - 0x270], 1
jmp 0x1004c8e8
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0xa8], 0x742485fc
mov eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f4]
call fcn.10028080
and dword [ebp - 0x58], 0
jmp 0x1004c92d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jae 0x1004cfad
push 2
lea ecx, [ebp - 0x2a4]
call fcn.10027ffe
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], 0x491ba6b4
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x2c], 0x4667120
mov dword [ebp - 0x94], 0xc84132d3
mov dword [ebp - 0x190], 0x7025
mov dword [ebp - 0x23c], 0x1000c67c
cmp dword [ebp - 0x190], 0x7368
jle 0x1004ca4e
and dword [ebp - 0x78], 0
jmp 0x1004c9a2
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x15da
jge 0x1004ca4e
and dword [ebp - 0x7c], 0
jmp 0x1004c9bc
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xa95
jge 0x1004ca49
and dword [ebp - 0x84], 0
jmp 0x1004c9df
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0xd7c
jge 0x1004ca44
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], edx
push dword [ebp - 0x27c]
push dword [ebp - 0x280]
lea ecx, [ebp - 0x3c0]
call fcn.1000e3f2
pop ecx
pop ecx
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
call fcn.10027c01
push eax
call fcn.100636ff
pop ecx
lea ecx, [ebp - 0x3c0]
call fcn.10027bf7
jmp 0x1004c9d2
jmp 0x1004c9b5
jmp 0x1004c99b
mov dword [ebp - 0x18], 0x535dd253
mov byte [ebp - 4], 5
cmp dword [ebp - 0x190], 0x6f61
jge 0x1004ca71
push dword [ebp - 0x23c]
call fcn.100636ff
pop ecx
jmp 0x1004ca8d
mov dword [ebp - 4], 4
jmp 0x1004ca9d
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x17c], 7
mov dword [ebp - 0x50], 0xa2f725dc
mov dword [ebp - 0x24c], 0x3a68
lea eax, [ebp - 0x5c]
push eax
push 0x3302
lea eax, [ebp - 0x2a4]
push eax
push 0
call fcn.1004d8f4
add esp, 0x10
mov dword [ebp - 0x5c], 0
jmp 0x1004cae9
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1004caff
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x22c], 0x3fe6
jmp 0x1004cae2
push 0
lea ecx, [ebp - 0x2a4]
call fcn.1002809c
mov dword [eax], 0x21f9
push 0
lea ecx, [ebp - 0x2a4]
call fcn.1002809c
cmp dword [eax], 0
je 0x1004cb30
mov dword [ebp - 0x154], 1
jmp 0x1004cb37
and dword [ebp - 0x154], 0
xor eax, eax
jne 0x1004cb4d
cmp dword [ebp - 0x8c], 0
jne 0x1004cb4d
and dword [ebp - 0x210], 0
jmp 0x1004cb57
mov dword [ebp - 0x210], 1
cmp dword [ebp - 0x210], 3
jne 0x1004cb6c
mov dword [ebp - 0x10c], 1
jmp 0x1004cb73
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x10c], eax
jle 0x1004cb8d
mov dword [ebp - 0x11c], 1
jmp 0x1004cb94
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x44], eax
jle 0x1004cbbd
mov dword [ebp - 0xd0], 1
jmp 0x1004cbc4
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x22c]
add eax, dword [ebp - 0xd0]
cmp eax, 0xffffffff
jg 0x1004cbe7
mov dword [ebp - 0x12c], 1
jmp 0x1004cbee
and dword [ebp - 0x12c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x22c]
cmp dword [ebp - 0x12c], eax
jle 0x1004cc0f
mov dword [ebp - 0x134], 1
jmp 0x1004cc16
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x2c], eax
jge 0x1004cc36
mov dword [ebp - 0x13c], 1
jmp 0x1004cc3d
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x13c], eax
jne 0x1004cc57
mov dword [ebp - 0x144], 1
jmp 0x1004cc5e
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0x58fc
jge 0x1004cc76
mov dword [ebp - 0x14c], 1
jmp 0x1004cc7d
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x22c]
cmp dword [ebp - 0x14c], eax
jne 0x1004cc9d
mov dword [ebp - 0x234], 1
jmp 0x1004cca4
and dword [ebp - 0x234], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x22c]
mov dword [ebp - 0x380], eax
mov eax, 0x3747
cmp eax, 6
je 0x1004cccc
mov dword [ebp - 0x15c], 1
jmp 0x1004ccd3
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x15c]
jle 0x1004cced
mov dword [ebp - 0x164], 1
jmp 0x1004ccf4
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
sub eax, 0x63b4fa11
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x22c]
je 0x1004cd19
mov dword [ebp - 0x16c], 1
jmp 0x1004cd20
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x18], eax
jg 0x1004cd46
mov dword [ebp - 0x174], 1
jmp 0x1004cd4d
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
sub eax, dword [ebp - 0x94]
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x22c]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x44], 0
jmp 0x1004cd7b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jg 0x1004cf51
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0x9c], 0
jmp 0x1004cdb2
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x1004cdce
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x2c8], 0x84a8988e
jmp 0x1004cda5
cmp dword [ebp - 0x184], 0x731d497c
jne 0x1004cde6
mov dword [ebp - 0x1b4], 1
jmp 0x1004cded
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x50], 0
jne 0x1004ce55
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x388], eax
push 0xfffffffffffffff7
pop eax
test eax, eax
je 0x1004ce1b
cmp dword [ebp - 0x184], 0
je 0x1004ce1b
mov dword [ebp - 0x18c], 1
jmp 0x1004ce22
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
add eax, 7
cmp eax, 0xfffffffe
jl 0x1004ce3c
mov dword [ebp - 0x194], 1
jmp 0x1004ce43
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0xfffffffa
jb 0x1004ce55
and dword [ebp - 0x19c], 0
jmp 0x1004ce5f
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x19c], eax
jne 0x1004ce76
mov dword [ebp - 0x1a4], 1
jmp 0x1004ce7d
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x24c]
cmp dword [ebp - 0x1ac], eax
jg 0x1004cea3
mov dword [ebp - 0x1bc], 1
jmp 0x1004ceaa
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x1bc]
jge 0x1004cec4
mov dword [ebp - 0x1c4], 1
jmp 0x1004cecb
and dword [ebp - 0x1c4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp + eax - 0x2c8], ecx
mov dword [ebp - 0x4c], 0
jmp 0x1004ceee
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x1004cf4c
mov dword [ebp - 0x50], 1
jmp 0x1004cf04
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x1004cf4a
mov dword [ebp - 0x2c], 2
jmp 0x1004cf1a
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1004cf48
mov dword [ebp - 0x18], 0
jmp 0x1004cf30
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004cf46
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c8], 4
jmp 0x1004cf29
jmp 0x1004cf13
jmp 0x1004cefd
jmp 0x1004cee7
jmp 0x1004cd74
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.10028080
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax]
add eax, dword [ebp - 0x58]
xor edx, edx
div dword [0x10082604]
mov eax, dword [ebp - 0x1d4]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x1d4]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.1004864b
push eax
lea ecx, [ebp - 0x36c]
call fcn.10056454
jmp 0x1004c926
mov dword [ebp - 0x48], 0x643cdf98
mov dword [ebp - 0xa4], 0
jmp 0x1004cfcd
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 4
jge 0x1004cfe9
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x2c0], 0xc93b4e1
jmp 0x1004cfc0
mov dword [ebp - 0x48], 3
jmp 0x1004cff9
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1004d2a4
mov dword [ebp - 0x60], 0xfffffffd
mov dword [ebp - 0x310], 0xa41b8700
mov dword [ebp - 0x350], 0xfffffffc
mov dword [ebp - 0x318], 7
mov dword [ebp - 0x354], 0xac3efc16
mov dword [ebp - 0x320], 1
mov dword [ebp - 0x370], 0xd423cb8e
mov dword [ebp - 0x328], 0x3a34071e
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x330], 0x45db0ff8
push 1
lea ecx, [ebp - 0x34c]
call fcn.10027ffe
mov byte [ebp - 4], 7
mov dword [ebp - 0x374], 1
mov dword [ebp - 0xc4], 0x99991913
push 0x6759
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x338]
push eax
push 0x5a79
push 0x58f0
push 0
call fcn.1004bb43
add esp, 0x18
mov dword [ebp - 0x60], 0
jmp 0x1004d0c0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jg 0x1004d249
mov dword [ebp - 0x70], 0x51da622a
mov dword [ebp - 0x70], 0
jmp 0x1004d0e1
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jg 0x1004d22c
mov dword [ebp - 0x34], 0xfffffffe
mov dword [ebp - 0x34], 0
jmp 0x1004d102
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1004d227
mov dword [ebp - 0x68], 0x40ed3c15
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x68], 3
jmp 0x1004d12d
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x1004d213
mov eax, dword [ebp - 0x60]
cmp dword [ebp + eax*4 - 0x2c0], 0x8fb0b44c
ja 0x1004d153
mov dword [ebp - 0xe4], 1
jmp 0x1004d15a
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0x254], 0
je 0x1004d16f
mov dword [ebp - 0xd4], 1
jmp 0x1004d176
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xd4]
jle 0x1004d18d
mov dword [ebp - 0xdc], 1
jmp 0x1004d194
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0xdc], eax
jg 0x1004d1ab
mov dword [ebp - 0xec], 1
jmp 0x1004d1b2
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0x34]
jne 0x1004d1cf
mov dword [ebp - 0xf4], 1
jmp 0x1004d1d6
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c0]
cmp dword [ebp - 0xf4], eax
jge 0x1004d1f7
mov dword [ebp - 0xfc], 1
jmp 0x1004d1fe
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x2c0], ecx
jmp 0x1004d126
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x2c0], 0
je 0x1004d222
jmp 0x1004d227
jmp 0x1004d0fb
jmp 0x1004d0da
push 0
push 0x760f
lea eax, [ebp - 0x70]
push eax
push 0x4a11
call fcn.1005287a
add esp, 0x10
jmp 0x1004d0b9
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0x25c], 2
jae 0x1004d277
mov dword [ebp - 0x104], 1
jmp 0x1004d27e
and dword [ebp - 0x104], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x104]
mov dword [ebp + eax - 0x2c0], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34c]
call fcn.10028080
jmp 0x1004cff2
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004d2da
push 1
push 0x4bd3
push 0x2647
push 0x57b0
push 0
push 0x27fe
push 0x7206
push 0x46a2
call fcn.1005515e
add esp, 0x20
lea eax, [ebp - 0x36c]
push eax
mov ecx, dword [ebp - 0x264]
call fcn.10056436
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x36c]
call fcn.10027fae
jmp 0x1004d30c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret