Function at 0x1002cc22
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5fc
push esi
push edi
mov dword [ebp - 0x14], 0x99ff6065
mov dword [ebp - 0x7c], 0x17f215a
mov dword [ebp - 0x48], 0x3bd3
push 3
lea ecx, [ebp - 0x508]
call fcn.1002fcd7
and dword [ebp - 4], 0
mov dword [ebp - 0x318], 0xfffffffc
mov dword [ebp - 0xd4], 0
jmp 0x1002cc8b
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 3
jge 0x1002ccad
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x508]
call fcn.1002fdaa
mov dword [eax], 0x7800ff6
jmp 0x1002cc7e
cmp dword [ebp - 0x14], 0
je 0x1002cec7
mov dword [ebp - 0x280], 1
or dword [ebp - 0x414], 0xffffffff
or dword [ebp - 0x410], 0xffffffff
or dword [ebp - 0x40c], 0xffffffff
or dword [ebp - 0x408], 0xffffffff
lea ecx, [ebp - 0x131]
call fcn.1002fec9
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x5c8]
call fcn.1002fecc
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x4f8]
call fcn.1002fe18
mov byte [ebp - 4], 1
mov dword [ebp - 0x324], 0xfffffff7
mov dword [ebp - 0x9c], 0
jmp 0x1002cd39
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1002cd55
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x59c], 0
jmp 0x1002cd2c
mov byte [ebp - 0x39], 0
push 0x5667
push 0x2166
push 0x9b7
push 1
lea eax, [ebp - 0x39]
push eax
push 1
push 0x656f
push 0x3dff
push 0x63b2
push 0x6ff0
push 0x76bd
call fcn.10015fa0
add esp, 0x2c
cmp dword [ebp - 0x14], 0
jne 0x1002cdac
cmp dword [ebp - 0x14], 0
jne 0x1002cdac
cmp dword [ebp - 0x14], 0
jne 0x1002cdac
and dword [ebp - 0x220], 0
jmp 0x1002cdb6
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x280]
add eax, dword [ebp - 0x220]
cmp eax, 9
jb 0x1002cdd3
mov dword [ebp - 0x278], 1
jmp 0x1002cdda
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x278], eax
jne 0x1002cdf1
mov dword [ebp - 0x130], 1
jmp 0x1002cdf8
and dword [ebp - 0x130], 0
push 1
lea ecx, [ebp - 0x4f8]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x130], eax
jl 0x1002ce24
mov dword [ebp - 0x288], 1
jmp 0x1002ce2b
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x280]
add eax, dword [ebp - 0x288]
add eax, dword [ebp - 0x14]
jne 0x1002ce4b
cmp dword [ebp - 0x7c], 0
jne 0x1002ce4b
and dword [ebp - 0x290], 0
jmp 0x1002ce55
mov dword [ebp - 0x290], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x59c]
cmp dword [ebp - 0x290], eax
je 0x1002ce76
mov dword [ebp - 0x270], 1
jmp 0x1002ce7d
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x270], eax
jne 0x1002ce94
mov dword [ebp - 0x15c], 1
jmp 0x1002ce9b
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x15c]
add ecx, 0x25cb
imul eax, ecx
mov dword [ebp - 0x324], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4f8]
call fcn.1002fd7f
jmp 0x1002d1be
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x7c], 0
jmp 0x1002cede
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jg 0x1002d1be
mov dword [ebp - 0x310], 0xcfeb4e52
mov dword [ebp - 0x48], 0
jmp 0x1002cf02
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x1002d1b9
mov dword [ebp - 0x14], 0
jmp 0x1002cf1c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002cf9c
mov dword [ebp - 0xdc], 0x77963f6d
mov dword [ebp - 0xdc], 0
jmp 0x1002cf45
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 2
jg 0x1002cf97
mov dword [ebp - 0x90], 4
call fcn.1002b364
mov dword [ebp - 0x90], 2
jmp 0x1002cf76
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jl 0x1002cf95
cmp dword [ebp - 0x310], 0
je 0x1002cf8a
jmp 0x1002cf95
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x318], eax
jmp 0x1002cf69
jmp 0x1002cf38
jmp 0x1002cf15
mov dword [ebp - 0x320], 0x261e
cmp dword [ebp - 0x320], 0x8d6
jge 0x1002d1ac
lea eax, [ebp - 0x60]
push eax
push 0x1000774c
call fcn.1005cf7b
pop ecx
pop ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x358]
call fcn.10030290
mov byte [ebp - 4], 2
xorpd xmm0, xmm0
movlpd qword [ebp - 0x150], xmm0
jmp 0x1002d004
mov eax, dword [ebp - 0x150]
add eax, 1
mov ecx, dword [ebp - 0x14c]
adc ecx, 0
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x5c]
jg 0x1002d03c
jl 0x1002d01c
mov eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0x60]
jae 0x1002d03c
push dword [ebp - 0x150]
lea ecx, [ebp - 0x358]
call fcn.10030393
push eax
push 0x10007910
call fcn.1005cf7b
pop ecx
pop ecx
jmp 0x1002cfe6
push dword [ebp - 0x60]
lea ecx, [ebp - 0x3a4]
call fcn.10030290
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
sub eax, 1
mov ecx, dword [ebp - 0x5c]
sbb ecx, 0
push eax
lea ecx, [ebp - 0x358]
call fcn.10030393
mov esi, eax
mov eax, dword [ebp - 0x60]
sub eax, 1
mov ecx, dword [ebp - 0x5c]
sbb ecx, 0
push eax
lea ecx, [ebp - 0x3a4]
call fcn.10030393
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x60]
sub eax, 2
mov ecx, dword [ebp - 0x5c]
sbb ecx, 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
jmp 0x1002d0b9
mov eax, dword [ebp - 0x84]
sub eax, 1
mov ecx, dword [ebp - 0x80]
sbb ecx, 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x80], 0
jl 0x1002d11a
jg 0x1002d0ca
cmp dword [ebp - 0x84], 0
jb 0x1002d11a
push dword [ebp - 0x84]
lea ecx, [ebp - 0x358]
call fcn.10030393
mov esi, eax
mov eax, dword [ebp - 0x84]
add eax, 1
mov ecx, dword [ebp - 0x80]
adc ecx, 0
push eax
lea ecx, [ebp - 0x358]
call fcn.10030393
mov edi, dword [esi]
add edi, dword [eax]
mov esi, dword [esi + 4]
adc esi, dword [eax + 4]
push dword [ebp - 0x84]
lea ecx, [ebp - 0x3a4]
call fcn.10030393
mov dword [eax], edi
mov dword [eax + 4], esi
jmp 0x1002d0a1
xorpd xmm0, xmm0
movlpd qword [ebp - 0x10c], xmm0
jmp 0x1002d146
mov eax, dword [ebp - 0x10c]
add eax, 1
mov ecx, dword [ebp - 0x108]
adc ecx, 0
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x5c]
jg 0x1002d183
jl 0x1002d15e
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x60]
jae 0x1002d183
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x3a4]
call fcn.10030393
push dword [eax + 4]
push dword [eax]
push 0x100079fc
call fcn.1005d3c8
add esp, 0xc
jmp 0x1002d128
push 0x100076a5
call fcn.1005d752
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3a4]
call fcn.100302f8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x358]
call fcn.100302f8
cmp dword [ebp - 0x48], 0
je 0x1002d1b4
jmp 0x1002d1b9
jmp 0x1002cefb
jmp 0x1002ced7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x508]
call fcn.1002fd7f
and dword [ebp - 0x20], 0
mov dword [ebp - 0x328], 0xd72
mov dword [ebp - 0xe4], 7
mov dword [ebp - 0x140], 0xe75cb554
mov dword [ebp - 0x120], 0x84c6a37d
mov dword [ebp - 0x17c], 0xb7d6b592
mov dword [ebp - 0xd8], 3
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x174], 0x2e63372
push 0x4c43
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xe4]
push eax
push 0x534c
push 0x47db
push 0x3953
push 0x21f3
push 0x6f6d
push 0x23fa
push 1
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x328]
push eax
push 0x1deb
push 1
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.100162b3
add esp, 0x48
or eax, 0xffffffff
je 0x1002d2a7
cmp dword [ebp - 0x120], 0
je 0x1002d2a7
mov dword [ebp - 0x254], 1
jmp 0x1002d2ae
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0xe4]
imul eax, dword [ebp - 0x254]
inc eax
cmp eax, 0x534ce5fe
jge 0x1002d2cf
mov dword [ebp - 0x20c], 1
jmp 0x1002d2d6
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x174]
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0xd8], eax
jle 0x1002d302
mov dword [ebp - 0x27c], 1
jmp 0x1002d309
and dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0xffffffff
ja 0x1002d342
mov dword [ebp - 0x330], 0
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.1002b3b3
add esp, 0x10
jmp 0x1002d3a6
mov dword [ebp - 0x338], 0xfffffff9
mov dword [ebp - 0x344], 0x9805
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x338]
push eax
push 0x11a7
push 0x83e
push 1
push 0x5a50
push 0x1206
push 1
call fcn.10016576
add esp, 0x2c
lea eax, [ebp - 0x344]
push eax
call fcn.1002b50c
pop ecx
mov dword [ebp - 0x51c], 0xfffffffd
mov dword [ebp - 0x50c], 0xffffffff
mov dword [ebp - 0x4c4], 0xfffffff6
mov dword [ebp - 0x544], 0x4e7937d8
mov dword [ebp - 0x45c], 0x462751c7
mov dword [ebp - 0x460], 0x5059b8bc
mov dword [ebp - 0x458], 0xfffffff9
mov dword [ebp - 0x470], 0xffffffff
mov dword [ebp - 0x478], 0xf21009d4
mov dword [ebp - 0x32c], 0xb6b0
mov dword [ebp - 0xb0], 0
jmp 0x1002d423
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x1002d43f
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x5f8], 4
jmp 0x1002d416
lea eax, [ebp - 0x32c]
push eax
call fcn.1002b523
pop ecx
mov dword [ebp - 0x18], 0x1824a8c6
mov dword [ebp - 0x8c], 1
push 1
lea ecx, [ebp - 0x420]
call fcn.1002fcd7
mov dword [ebp - 4], 4
mov dword [ebp - 0xf0], 0
jmp 0x1002d48a
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 1
jge 0x1002d4ac
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x420]
call fcn.1002fdaa
mov dword [eax], 1
jmp 0x1002d47d
mov dword [ebp - 0x18], 0xffffffe7
jmp 0x1002d4bc
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x11
jl 0x1002d5d4
mov dword [ebp - 0xb8], 0
jmp 0x1002d4df
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 3
jge 0x1002d4fb
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x3bc], 3
jmp 0x1002d4d2
mov dword [ebp - 0x308], 0x2626
cmp dword [ebp - 0x308], 0x684
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x3bc], 0
je 0x1002d531
cmp dword [ebp - 0x18], 0
je 0x1002d531
mov dword [ebp - 0x214], 1
jmp 0x1002d538
and dword [ebp - 0x214], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x3bc], 0
jne 0x1002d55a
mov eax, 0xc038
test eax, eax
jne 0x1002d55a
and dword [ebp - 0x184], 0
jmp 0x1002d564
mov dword [ebp - 0x184], 1
cmp dword [ebp - 0x184], 1
je 0x1002d579
mov dword [ebp - 0x2e0], 1
jmp 0x1002d580
and dword [ebp - 0x2e0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3bc]
mov dword [ebp - 0x488], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3bc]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x214], eax
jle 0x1002d5bc
mov dword [ebp - 0x18c], 1
jmp 0x1002d5c3
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x8c], eax
jmp 0x1002d4b5
mov dword [ebp - 0x8c], 0
jmp 0x1002d5ed
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x1002d769
mov dword [ebp - 0x25c], 1
mov dword [ebp - 0x498], 6
mov dword [ebp - 0x394], 0xd2ae4566
mov dword [ebp - 0x18], 0
jmp 0x1002d628
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1002d756
mov dword [ebp - 0x54], 0x8aa2d34c
mov dword [ebp - 0x4a0], 1
mov dword [ebp - 0x54], 0
jmp 0x1002d653
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jg 0x1002d751
mov dword [ebp - 0xe0], 0xfffffffa
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4b0], 0xfb96f37d
mov dword [ebp - 0xe0], 0
jmp 0x1002d694
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jg 0x1002d747
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x2cc], 0xd1edb6b7
mov dword [ebp - 0xc0], 0
jmp 0x1002d6ce
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jg 0x1002d725
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
lea eax, [ebp - 0x54]
push eax
push 0xbf7
push 0x76ca
push 1
push 0x737f
push 0x25de
call fcn.10016c51
add esp, 0x24
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.1002b53c
add esp, 0xc
jmp 0x1002d6c1
push 1
push 1
push 0xab9
lea eax, [ebp - 0x394]
push eax
push 0x2f21
call fcn.10016df2
add esp, 0x14
jmp 0x1002d687
call fcn.1002b70b
jmp 0x1002d64c
jmp 0x1002d621
mov byte [ebp - 0x41], 0
lea eax, [ebp - 0x41]
push eax
call fcn.1002b735
pop ecx
jmp 0x1002d5e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x420]
call fcn.1002fd7f
mov dword [ebp - 0x334], 0x9fdf99ff
push 3
lea ecx, [ebp - 0x42c]
call fcn.1002fcd7
mov dword [ebp - 4], 5
mov dword [ebp - 0x2d4], 0x5bb00289
mov dword [ebp - 0x100], 0
jmp 0x1002d7b9
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 3
jge 0x1002d7d8
push dword [ebp - 0x100]
lea ecx, [ebp - 0x42c]
call fcn.1002fdaa
and dword [eax], 0
jmp 0x1002d7ac
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x334]
push eax
call fcn.1002b757
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.1002fd7f
mov dword [ebp - 0x194], 0x36951ad3
push 2
lea ecx, [ebp - 0x444]
call fcn.1002fcd7
mov dword [ebp - 4], 6
mov dword [ebp - 0xc8], 0
jmp 0x1002d83b
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 2
jge 0x1002d85d
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x444]
call fcn.1002fdaa
mov dword [eax], 0xfffffffb
jmp 0x1002d82e
mov eax, dword [ebp - 0x194]
imul eax, dword [ebp - 0x194]
mov dword [ebp - 0x21c], eax
push 1
lea ecx, [ebp - 0x444]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x21c]
mov dword [eax], ecx
cmp dword [ebp - 0x21c], 0
je 0x1002d8a1
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1002d89f
call fcn.1002b7f9
jmp 0x1002d8af
mov byte [ebp - 0x31], 0
lea eax, [ebp - 0x31]
push eax
call fcn.1002b810
pop ecx
mov byte [ebp - 0x37], 0
lea eax, [ebp - 0x37]
push eax
call fcn.1002b843
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.1002fd7f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002dd25
mov dword [ebp - 0x10], 3
mov dword [ebp - 0xd0], 0x1a6b719d
mov dword [ebp - 0xe8], 0x1b0cadfb
mov dword [ebp - 0x138], 0xcb090aec
push 1
lea ecx, [ebp - 0x3b0]
call fcn.1002fcd7
mov dword [ebp - 4], 7
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2e4], 0x9931
mov dword [ebp - 0x33c], 0
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.1002b88a
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
je 0x1002da1c
imul eax, dword [ebp - 0x10], 0x5fa
sub eax, 0x3c5
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xd0], eax
jne 0x1002d98a
mov dword [ebp - 0x19c], 1
jmp 0x1002d991
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x19c], eax
jle 0x1002d9a8
mov dword [ebp - 0x2a0], 1
jmp 0x1002d9af
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xe8], eax
jne 0x1002d9d5
mov dword [ebp - 0x1a4], 1
jmp 0x1002d9dc
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x1a4]
imul eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x10]
je 0x1002d9fb
mov dword [ebp - 0x224], 1
jmp 0x1002da02
and dword [ebp - 0x224], 0
imul eax, dword [ebp - 0x224], 0x7965
test eax, eax
je 0x1002da1c
mov dword [ebp - 0x1ac], 1
jmp 0x1002da23
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1ac], eax
jl 0x1002da3a
mov dword [ebp - 0x264], 1
jmp 0x1002da41
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x264]
test eax, eax
je 0x1002da61
cmp dword [ebp - 0x10], 0
je 0x1002da61
mov dword [ebp - 0x1b4], 1
jmp 0x1002da68
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1b4], eax
jne 0x1002da7f
mov dword [ebp - 0x22c], 1
jmp 0x1002da86
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x22c]
jg 0x1002da9d
mov dword [ebp - 0x1bc], 1
jmp 0x1002daa4
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1bc]
je 0x1002dabb
mov dword [ebp - 0x284], 1
jmp 0x1002dac2
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x284]
lea eax, [ecx + eax + 0x7935]
imul eax, eax, 0x26cd
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x10], 0
jmp 0x1002daee
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1002dbb3
mov dword [ebp - 0x234], 0xeb8f83f3
mov dword [ebp - 0x1c4], 0xffffffff
mov dword [ebp - 0x37c], 0xb4d66fc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x234]
push eax
push 1
lea eax, [ebp - 0xd0]
push eax
push 0x75c
lea eax, [ebp - 0x138]
push eax
push 1
push 1
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x2dc]
push eax
push 0x56d9
lea eax, [ebp - 0xe8]
push eax
call fcn.100177b8
add esp, 0x34
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x33c]
push eax
call fcn.1002b8d2
add esp, 0x28
jmp 0x1002dae7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b0]
call fcn.1002fd7f
mov dword [ebp - 0x50], 6
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x2ec], 0x7b445ace
mov dword [ebp - 0x340], 0xfffffffc
mov dword [ebp - 0x2c], 0
jmp 0x1002dbf7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002dc0d
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x590], 4
jmp 0x1002dbf0
mov dword [ebp - 0x2c], 0
jmp 0x1002dc1d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1002dc33
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x3d0], 0xf2d6273d
jmp 0x1002dc16
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c8], eax
cmp dword [ebp - 0x50], 0xffff
je 0x1002dc5a
mov dword [ebp - 0x1cc], 1
jmp 0x1002dc61
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x1cc], eax
je 0x1002dc78
mov dword [ebp - 0x128], 1
jmp 0x1002dc7f
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0x590], ecx
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x128]
imul eax, eax, 0xffff
cmp eax, dword [ebp - 0x148]
je 0x1002dcb5
mov dword [ebp - 0x26c], 1
jmp 0x1002dcbc
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x148]
add eax, dword [ebp - 0x26c]
mov ecx, 0xe57bf5cd
sub ecx, eax
imul ecx, dword [ebp - 0x148]
cmp ecx, dword [ebp - 0x50]
je 0x1002dced
cmp dword [ebp - 0x2ec], 0
jne 0x1002dced
and dword [ebp - 0x1d4], 0
jmp 0x1002dcf7
mov dword [ebp - 0x1d4], 1
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x340], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3d0]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3d0], eax
xor eax, eax
jmp 0x1002f3a4
call fcn.1002ba9c
push 0x738b
push 0
push 0x6bd9
lea eax, [ebp - 0x110]
push eax
push 0x59ad
push 1
lea eax, [ebp - 0x74]
push eax
push 0x1a5e
push 0x5ffc
push 0x16ba
push 1
lea eax, [ebp + 8]
push eax
call fcn.10026aa2
add esp, 0x30
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0x4550
je 0x1002e0ed
mov dword [ebp - 0x4d0], 1
mov dword [ebp - 0x188], 0xe76f5020
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x1fc], 0xfab8c3ad
mov dword [ebp - 0x23c], 0x58fb770a
mov dword [ebp - 0x4c], 0x8afa2faf
mov dword [ebp - 0x4e0], 0x2ee6d058
mov dword [ebp - 0x294], 0x3e86f8c7
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0x244], 0xd697e780
mov dword [ebp - 0x4e8], 0x9e95
mov dword [ebp - 0x2f4], 0x7c7008b1
push 2
lea ecx, [ebp - 0x438]
call fcn.1002fcd7
mov dword [ebp - 4], 8
mov dword [ebp - 0x390], 0x6ffe6170
mov dword [ebp - 0x170], 0x270b
mov dword [ebp - 0x1c], 0
jmp 0x1002de21
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1002de37
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x56c], 0x19c9214a
jmp 0x1002de1a
mov dword [ebp - 0x1c], 0
jmp 0x1002de47
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002de5d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x29c], 0
jmp 0x1002de40
push 0x2736
push 0x5ef4
push 0x5916
lea eax, [ebp - 0x438]
push eax
push 0x1629
push 0x5ae8
push 0x7690
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
push 0x39d0
push 0x6adb
call fcn.1001866b
add esp, 0x30
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x29c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x29c], eax
mov dword [ebp - 0x23c], 0x7cf8
mov eax, dword [ebp - 0x2f4]
cmp dword [ebp - 0x23c], eax
jle 0x1002dedb
mov dword [ebp - 0x348], 1
jmp 0x1002dee2
and dword [ebp - 0x348], 0
cmp dword [ebp - 0x1fc], 0
jne 0x1002def7
mov dword [ebp - 0x1dc], 1
jmp 0x1002defe
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x294], eax
jne 0x1002df21
mov dword [ebp - 0x1e4], 1
jmp 0x1002df28
and dword [ebp - 0x1e4], 0
push 0
lea ecx, [ebp - 0x438]
call fcn.1002fdaa
mov ecx, dword [ebp - 0x1e4]
mov dword [eax], ecx
mov dword [ebp - 0x244], 0xfffffff6
cmp dword [ebp - 0x244], 1
ja 0x1002df5c
mov dword [ebp - 0x2fc], 1
jmp 0x1002df63
and dword [ebp - 0x2fc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x29c]
mov dword [ebp - 0x540], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x29c]
mov dword [ebp - 0x548], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x55c], eax
mov eax, 0x44f8a3d3
test eax, eax
je 0x1002dfb0
cmp dword [ebp - 0x4c], 0
je 0x1002dfb0
mov dword [ebp - 0x1ec], 1
jmp 0x1002dfb7
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1ec]
sub eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x188]
jge 0x1002dfd4
mov dword [ebp - 0x274], 1
jmp 0x1002dfdb
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x24c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x24c]
mov dword [ebp + eax - 0x56c], ecx
mov eax, dword [ebp - 0x170]
imul eax, dword [ebp - 0x24c]
cmp eax, 0xcede
je 0x1002e026
mov dword [ebp - 0x28c], 1
jmp 0x1002e02d
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x1fc]
cmp dword [ebp - 0x28c], eax
jl 0x1002e047
mov dword [ebp - 0x204], 1
jmp 0x1002e04e
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x204]
jne 0x1002e072
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x56c], 0
jne 0x1002e072
and dword [ebp - 0x158], 0
jmp 0x1002e07c
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x4c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x29c]
cmp dword [ebp - 0x4c], eax
jne 0x1002e0a3
mov dword [ebp - 0x178], 1
jmp 0x1002e0aa
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x170]
cmp dword [ebp - 0x178], eax
jge 0x1002e0c4
mov dword [ebp - 0x180], 1
jmp 0x1002e0cb
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x188], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.1002fd7f
xor eax, eax
jmp 0x1002f3a4
lea eax, [ebp - 0x74]
push eax
push 0
push 1
push 0x1809
push 0x5688
push 0x2a19
lea eax, [ebp - 0xf4]
push eax
call fcn.1002af30
add esp, 0x1c
cmp dword [ebp - 0xf4], 0
jne 0x1002e330
mov dword [ebp - 0x400], 0xfffffffd
mov dword [ebp - 0x3fc], 0xfffffffd
mov dword [ebp - 0x3f8], 0xfffffffd
mov dword [ebp - 0x3f4], 0xfffffffd
lea ecx, [ebp - 0x139]
call fcn.1002fec9
push eax
lea eax, [ebp - 0x3f0]
push eax
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x5b0]
call fcn.1002fecc
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x368]
call fcn.1002fe18
mov dword [ebp - 4], 9
mov dword [ebp - 0x64], 0xd4081c29
mov dword [ebp - 0x190], 0xed56
mov dword [ebp - 0x64], 0
jmp 0x1002e1a5
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jg 0x1002e31a
mov dword [ebp - 0x34c], 0x2751c76d
mov dword [ebp - 0x38c], 0x934215e1
mov dword [ebp - 0xf8], 0xa10aa43b
mov dword [ebp - 0x304], 0x33880e03
mov dword [ebp - 0x314], 0x54671013
mov dword [ebp - 0x558], 0x44b0bf2
mov dword [ebp - 0x6c], 0x860a421e
mov dword [ebp - 0x40], 0x1a93826a
mov dword [ebp - 0x30c], 0x23eb
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.1002bb71
add esp, 0x14
mov dword [ebp - 0x40], 3
jmp 0x1002e23b
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1002e315
mov dword [ebp - 0x198], 0xffffffff
mov dword [ebp - 0x6c], 0
jmp 0x1002e25f
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jg 0x1002e2a1
push dword [ebp - 0x40]
lea ecx, [ebp - 0x368]
call fcn.1002fdaa
xor eax, eax
inc eax
je 0x1002e28f
push dword [ebp - 0x40]
lea ecx, [ebp - 0x368]
call fcn.1002fdaa
cmp dword [eax], 0
je 0x1002e28d
jmp 0x1002e2a1
jmp 0x1002e29f
call fcn.1002bc57
cmp dword [ebp - 0x198], 0
je 0x1002e29f
jmp 0x1002e258
jmp 0x1002e258
mov dword [ebp - 0xf8], 3
jmp 0x1002e2ba
mov eax, dword [ebp - 0xf8]
dec eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jl 0x1002e310
mov dword [ebp - 0x35c], 0xfffffffd
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x38c]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.1002bc81
add esp, 0x24
jmp 0x1002e2ad
jmp 0x1002e234
jmp 0x1002e19e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x368]
call fcn.1002fd7f
xor eax, eax
jmp 0x1002f3a4
lea eax, [ebp - 0x4cc]
push eax
push 0x1a15
lea eax, [ebp - 0x110]
push eax
push 1
lea eax, [ebp - 0x74]
push eax
push 0x6c6d
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0x79b9
call fcn.1002127c
add esp, 0x28
push 1
lea eax, [ebp + 8]
push eax
push 0x5ca8
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x43c4
push 0x1095
push 1
push 0x7503
push 0x329b
call fcn.1002139b
add esp, 0x28
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x1a8]
push eax
push 1
push 0x6990
lea eax, [ebp - 0x74]
push eax
push 1
push 0x4ec0
call fcn.100214a3
add esp, 0x1c
mov dword [ebp - 0x24], 0
push 3
lea ecx, [ebp - 0x450]
call fcn.1002fcd7
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x398], 0xda8db884
mov dword [ebp - 0x2bc], 0x2f37fc03
lea eax, [ebp - 0x480]
push eax
push 0x299c
push 1
push 0x4686
push 0x125e
lea eax, [ebp - 0x450]
push eax
push 0x537b
push 1
call fcn.100215c3
add esp, 0x20
mov dword [ebp - 0x24], 0x15
jmp 0x1002e42e
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xd
jle 0x1002e4cc
mov dword [ebp - 0xa4], 0
jmp 0x1002e451
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jge 0x1002e46d
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x2a8], 0x7df2f4a8
jmp 0x1002e444
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x2a8], 8
jmp 0x1002e49b
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a8]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2a8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2a8], 0xb
jge 0x1002e4bf
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2a8], 0
je 0x1002e4bd
jmp 0x1002e4bf
jmp 0x1002e480
cmp dword [ebp - 0x24], 0
je 0x1002e4c7
jmp 0x1002e4cc
jmp 0x1002e427
mov dword [ebp - 0x24], 0
jmp 0x1002e4dc
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1002e551
mov dword [ebp - 0x88], 0x1eb32a83
mov dword [ebp - 0x88], 0
jmp 0x1002e505
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jg 0x1002e527
mov dword [ebp - 0x31c], 0xfffffffd
lea eax, [ebp - 0x31c]
push eax
call fcn.1002bdbe
pop ecx
jmp 0x1002e4f8
lea eax, [ebp - 0x398]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.1002be14
add esp, 0x14
jmp 0x1002e4d5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.1002fd7f
cmp dword [ebp - 0x1a8], 0
je 0x1002e707
mov dword [ebp - 0xac], 0xfffffffb
mov dword [ebp - 0xac], 0
jmp 0x1002e590
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xffffffe6
jle 0x1002e6de
mov dword [ebp - 0xb4], 3
mov byte [ebp - 0x32], 0
lea eax, [ebp - 0x32]
push eax
call fcn.1002bf0a
pop ecx
mov dword [ebp - 0xb4], 0xffffffff
jmp 0x1002e5ce
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xfffffff2
jle 0x1002e6d9
push 2
lea ecx, [ebp - 0x378]
call fcn.1002fcd7
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x68], 0
jmp 0x1002e5ff
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x1002e615
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x608], 0x58fb770a
jmp 0x1002e5f8
push 0x2196
push 0x3c06
push 1
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x55e
push 1
call fcn.10021845
add esp, 0x1c
call fcn.1002bf42
push 0
lea ecx, [ebp - 0x378]
call fcn.1002fdaa
and dword [eax], 0
jmp 0x1002e676
push 0
lea ecx, [ebp - 0x378]
call fcn.1002fdaa
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1a0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x378]
call fcn.1002fdaa
cmp dword [eax], 3
jg 0x1002e6c5
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1002e6c3
push 0x41f9
push 0x6302
push 0x6132
push 0x375c
push 1
push 0x2303
push 1
push 0x3df0
push 0x532
call fcn.10022190
add esp, 0x24
jmp 0x1002e652
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x378]
call fcn.1002fd7f
jmp 0x1002e5c1
jmp 0x1002e583
push 0
push 0x796a
push 0x4df9
push dword [ebp - 0x20]
push 1
push 0x3ff4
push 0x7893
push dword [ebp - 0x1a8]
call fcn.1002b01d
add esp, 0x20
push dword [ebp - 0x20]
call fcn.1001283c
pop ecx
test eax, eax
jne 0x1002e71b
xor eax, eax
jmp 0x1002f3a4
push 2
lea ecx, [ebp - 0x518]
call fcn.1002fcd7
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xbc], 0x57976326
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.1002c171
pop ecx
pop ecx
mov dword [ebp - 0xbc], 1
jmp 0x1002e767
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jl 0x1002e7b0
mov byte [ebp - 0x42], 0
lea eax, [ebp - 0x42]
push eax
push 1
push 0x76e3
push 0x7b33
push 0x319d
push 1
push 0x1843
push 0x6631
push 0x5609
push 0x14bc
push 1
push 0x58eb
call fcn.10026aa2
add esp, 0x30
jmp 0x1002e75a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x518]
call fcn.1002fd7f
push 0x48d4
push 0x2226
push 0x18c9
push 0x37cb
push 1
push 1
push 0x4203
push 0x41e4
push 0x2e4f
lea eax, [ebp - 0x20]
push eax
push 0x3ec0
push 0x506a
call fcn.1002728d
add esp, 0x30
mov dword [ebp - 0x70], 7
mov dword [ebp - 0xc4], 0
jmp 0x1002e81c
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 3
jge 0x1002e838
mov eax, dword [ebp - 0xc4]
mov dword [ebp + eax*4 - 0x528], 1
jmp 0x1002e80f
mov dword [ebp - 0x70], 0
jmp 0x1002e848
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jg 0x1002ea4c
mov dword [ebp - 0x16c], 0x3c69aed2
mov dword [ebp - 0x168], 0x3c69aed2
mov dword [ebp - 0x164], 0x3c69aed2
mov dword [ebp - 0x160], 0x3c69aed2
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x16c], 0
jmp 0x1002e8a5
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x16c]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x16c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x16c], 2
jg 0x1002ea47
mov dword [ebp - 0xcc], 0
jmp 0x1002e8d1
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 1
jge 0x1002e8ed
mov eax, dword [ebp - 0xcc]
mov dword [ebp + eax*4 - 0x94], 0x1a9565e0
jmp 0x1002e8c4
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x94], 2
jmp 0x1002e91b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x94]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x94], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x94], 0
jl 0x1002ea31
mov dword [ebp - 0x98], 6
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x16c]
mov eax, dword [ebp + eax*4 - 0x528]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp + eax*4 - 0x528], ecx
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x1b0], eax
jge 0x1002e97c
mov dword [ebp - 0x1b8], 1
jmp 0x1002e983
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x464], eax
push 4
pop eax
shl eax, 1
push 0xfffffffffffffffc
pop ecx
sub ecx, dword [ebp - 0x98]
cmp dword [ebp + eax - 0x16c], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x16c]
mov dword [ebp - 0x454], eax
push 0xfffffffffffffffd
pop eax
cmp eax, 0xfffffff7
jle 0x1002e9cb
mov dword [ebp - 0x1c0], 1
jmp 0x1002e9d2
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1b8]
cmp eax, dword [ebp - 0x1c0]
je 0x1002e9ec
mov dword [ebp - 0x1c8], 1
jmp 0x1002e9f3
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x36], 0
push 0x4317
lea eax, [ebp - 0x36]
push eax
push 0x4389
push 1
push 0xa3a
push 0x6915
push 1
push 0x6138
call fcn.10027600
add esp, 0x20
jmp 0x1002e900
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x16c], 0
je 0x1002ea42
jmp 0x1002ea47
jmp 0x1002e88c
jmp 0x1002e841
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002f383
mov dword [ebp - 0xa0], 0x256915a
mov dword [ebp - 0x46c], 0xfffffff7
mov dword [ebp - 0x4d4], 0xce4a6f44
mov dword [ebp - 0x474], 0x6702e633
mov dword [ebp - 0x36c], 0x2148
cmp dword [ebp - 0x36c], 0x112e
jge 0x1002eb71
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x10007a04
call fcn.1005cf7b
add esp, 0xc
mov eax, dword [ebp - 0x114]
imul eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x11c]
imul ecx, dword [ebp - 0x11c]
add eax, ecx
cvtsi2sd xmm0, eax
movsd qword [ebp - 0x3d8], xmm0
push ecx
push ecx
movsd xmm0, qword [ebp - 0x3d8]
movsd qword [esp], xmm0
call fcn.1005ae64
pop ecx
pop ecx
call fcn.10073c40
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x78]
cvtsi2sd xmm0, eax
ucomisd xmm0, qword [ebp - 0x3d8]
lahf
test ah, 0x44
jp 0x1002eb24
push 0x10007a10
call fcn.1005d752
pop ecx
jmp 0x1002eb71
mov eax, dword [ebp - 0x114]
imul eax, dword [ebp - 0x11c]
test eax, eax
jge 0x1002eb3c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
and eax, 0x80000001
jns 0x1002eb4b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1002eb5b
mov dword [ebp - 0x1d0], 0x10007a18
jmp 0x1002eb65
mov dword [ebp - 0x1d0], 0x10007a10
push dword [ebp - 0x1d0]
call fcn.1005d752
pop ecx
mov dword [ebp - 0x28], 0
jmp 0x1002eb81
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x1002eb97
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x5d4], 0xfffffff6
jmp 0x1002eb7a
mov dword [ebp - 0x28], 0
jmp 0x1002eba7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1002ebbd
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x5c0], 0x61ece30
jmp 0x1002eba0
push 0x3750
push 0x35c
push 0x5c8f
push 1
push 0x2b87
push 0x48c7
push 1
push 0x25ae
push 0x3a0c
push 1
push 0x3185
push 0x50ef
push 0x7242
push 0x4a79
call fcn.1002ab6f
add esp, 0x38
mov dword [ebp - 0xa0], 2
jmp 0x1002ec1b
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jl 0x1002ee9d
mov dword [ebp - 0xec], 7
mov dword [ebp - 0x554], 0x5166941f
mov dword [ebp - 0x47c], 1
mov dword [ebp - 0x4dc], 0xfffffff7
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x52c], 0xffffffff
mov dword [ebp - 0x48c], 0xfffffff9
mov dword [ebp - 0x4e4], 0xffffffff
mov dword [ebp - 0x494], 0xf7c629c4
mov dword [ebp - 0x54c], 0xfffffff8
push 2
lea ecx, [ebp - 0x538]
call fcn.1002fcd7
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x2c4], 0x2206
cmp dword [ebp - 0x2c4], 0x528
jge 0x1002ed89
lea eax, [ebp - 0x124]
push eax
mov ecx, 0x10667850
call fcn.1002f796
lea ecx, [ebp - 0x584]
call fcn.1002f486
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x124]
dec eax
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x2c8], 0
je 0x1002ed7a
lea edx, [ebp - 0x584]
mov ecx, 0x10667850
call fcn.10034a84
mov byte [ebp - 0x38], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x49c], esp
lea eax, [ebp - 0x584]
push eax
call fcn.1002f460
lea eax, [ebp - 0x5ec]
push eax
call fcn.1002c7f9
add esp, 0x1c
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d8], eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x2d8]
mov ecx, 0x10667798
call fcn.10034881
mov dl, byte [ebp - 0x38]
mov ecx, eax
call fcn.10034351
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5ec]
call fcn.1002f4e9
jmp 0x1002ecda
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x584]
call fcn.1002f4e9
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.1002c302
pop ecx
pop ecx
mov dword [ebp - 0xec], 2
jmp 0x1002edb7
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jl 0x1002ee62
mov dword [ebp - 0x4a4], 4
mov dword [ebp - 0x53c], 9
mov dword [ebp - 0x4ac], 0xffffffff
and dword [ebp - 0x3ec], 0
and dword [ebp - 0x3e8], 0
and dword [ebp - 0x3e4], 0
and dword [ebp - 0x3e0], 0
lea ecx, [ebp - 0x141]
call fcn.1002fec9
push eax
lea eax, [ebp - 0x3dc]
push eax
lea eax, [ebp - 0x3ec]
push eax
lea ecx, [ebp - 0x5b8]
call fcn.1002fecc
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x5a8]
call fcn.1002fe18
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x2c0], 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.1002c34a
pop ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5a8]
call fcn.1002fd7f
jmp 0x1002edaa
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1002ee89
push 0x7dbb
push 0x7019
push 1
push 1
push 0x22a
call fcn.1002ae36
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x538]
call fcn.1002fd7f
jmp 0x1002ec0e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf4]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x2f0], 0xf5a9c4c8
mov dword [ebp - 0x2e8], 0x534bf8f0
mov dword [ebp - 0xfc], 0
jmp 0x1002eede
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 3
jge 0x1002eefa
mov eax, dword [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x388], 7
jmp 0x1002eed1
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x388], 0
jmp 0x1002ef25
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x388]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x388], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x388], 0xfffffff5
jle 0x1002ef48
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x388], 0
je 0x1002ef46
jmp 0x1002ef48
jmp 0x1002ef0c
push 1
push 0x27b7
lea eax, [ebp - 0x2e8]
push eax
push 0x42bc
push 1
lea eax, [ebp - 0x2f0]
push eax
push 0x69e1
push 0x72eb
call fcn.1002b01d
add esp, 0x20
cmp dword [ebp - 0x260], 0
jne 0x1002ef86
xor eax, eax
jmp 0x1002f3a4
mov dword [ebp - 0x2b8], 0x8ade19d2
mov dword [ebp - 0x2b4], 0x8ade19d2
mov dword [ebp - 0x2b0], 0x8ade19d2
mov dword [ebp - 0x2ac], 0x8ade19d2
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x104], 0
jmp 0x1002efd1
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 1
jge 0x1002efed
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x12c], 0xfffffffc
jmp 0x1002efc4
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x2b8], 0
jmp 0x1002f01b
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2b8]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x2b8], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2b8], 0
jg 0x1002f032
call fcn.1002c363
jmp 0x1002f000
mov dword [ebp - 0xa8], 0
jmp 0x1002f04b
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 8
jle 0x1002f331
mov dword [ebp - 0x58], 0xffffffff
push 1
lea ecx, [ebp - 0x3c8]
call fcn.1002fcd7
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x4fc]
push eax
call fcn.1002c397
pop ecx
pop ecx
mov dword [ebp - 0x58], 0xd
jmp 0x1002f098
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jge 0x1002f31d
mov dword [ebp - 0x30], 0x9593
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x2f8], 0x41dbc46d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x550], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
mov dword [ebp - 0x4bc], eax
mov eax, 0x7273
test eax, eax
je 0x1002f109
push 0
lea ecx, [ebp - 0x3c8]
call fcn.1002fdaa
cmp dword [eax], 0
je 0x1002f109
mov dword [ebp - 0x1d8], 1
jmp 0x1002f110
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1d8], eax
jne 0x1002f127
mov dword [ebp - 0x1e0], 1
jmp 0x1002f12e
and dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], 0xffffffff
jle 0x1002f143
mov dword [ebp - 0x1e8], 1
jmp 0x1002f14a
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1e8]
jg 0x1002f161
mov dword [ebp - 0x1f0], 1
jmp 0x1002f168
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 1
jle 0x1002f17d
mov dword [ebp - 0x1f8], 1
jmp 0x1002f184
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x1f8]
cmp eax, dword [ebp - 0x30]
jle 0x1002f1a1
mov dword [ebp - 0x200], 1
jmp 0x1002f1a8
and dword [ebp - 0x200], 0
cmp dword [ebp - 0x200], 0x122d800f
je 0x1002f1c0
mov dword [ebp - 0x208], 1
jmp 0x1002f1c7
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
cmp dword [ebp - 0x208], eax
jl 0x1002f1e8
mov dword [ebp - 0x210], 1
jmp 0x1002f1ef
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x210], eax
jl 0x1002f206
mov dword [ebp - 0x218], 1
jmp 0x1002f20d
and dword [ebp - 0x218], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
cmp dword [ebp - 0x218], eax
jge 0x1002f22e
mov dword [ebp - 0x154], 1
jmp 0x1002f235
and dword [ebp - 0x154], 0
mov esi, dword [ebp - 0x30]
add esi, dword [ebp - 0x154]
add esi, dword [ebp - 0x228]
push 0
lea ecx, [ebp - 0x3c8]
call fcn.1002fdaa
cmp esi, dword [eax]
jg 0x1002f267
mov eax, 0x69a7
test eax, eax
jne 0x1002f267
and dword [ebp - 0x230], 0
jmp 0x1002f271
mov dword [ebp - 0x230], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x230], eax
jg 0x1002f288
mov dword [ebp - 0x240], 1
jmp 0x1002f28f
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x238], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x238]
mov dword [ebp + eax - 0x2b8], ecx
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x240]
jg 0x1002f2c5
mov dword [ebp - 0x248], 1
jmp 0x1002f2cc
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x248]
cmp eax, 0xffffffff
jb 0x1002f2e6
mov dword [ebp - 0x250], 1
jmp 0x1002f2ed
and dword [ebp - 0x250], 0
cmp dword [ebp - 0x250], 0xe5c7
je 0x1002f305
mov dword [ebp - 0x258], 1
jmp 0x1002f30c
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x2f8], eax
jmp 0x1002f091
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c8]
call fcn.1002fd7f
jmp 0x1002f03e
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x260]
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x1002f353
xor eax, eax
jmp 0x1002f3a4
push 1
push 1
push 0x6dd7
push 0x32e8
push 0x28e8
push 0x71c9
push 1
push 0x3fb6
push 0x7aaa
lea eax, [ebp - 0x20]
push eax
call fcn.1002b23a
add esp, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
je 0x1002f397
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x268], eax
jmp 0x1002f39e
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret