Function at 0x10038ea1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073eb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4d8
push esi
push edi
mov dword [ebp - 0x28], 0xd035
push 3
lea ecx, [ebp - 0x2e0]
call fcn.10013d2b
and dword [ebp - 4], 0
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x448]
push eax
push 1
push 0x134a
push 0x27aa
push 1
push 0x234
push 0x57c1
call fcn.10035b11
add esp, 0x20
mov eax, 0xbecba2af
test eax, eax
je 0x10038fc3
cmp dword [ebp - 0x28], 0
je 0x10038f20
cmp dword [ebp - 0x28], 0
jne 0x10038f24
cmp dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x208], eax
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10013deb
mov ecx, dword [ebp - 0x208]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x208]
jg 0x10038f59
mov dword [ebp - 0x294], 1
jmp 0x10038f60
and dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x294]
sub eax, 0xe652
cmp eax, 0x6fda0246
jg 0x10038f76
cmp dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x488], eax
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10013deb
cmp dword [eax], 0xdb7b2415
jbe 0x10038fa3
cmp dword [ebp - 0x28], 0
jne 0x10038fa3
and dword [ebp - 0x220], 0
jmp 0x10038fad
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x220]
neg eax
je 0x10038fc3
mov dword [ebp - 0x318], 1
jmp 0x10038fca
and dword [ebp - 0x318], 0
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10013deb
cmp dword [eax], 0
je 0x10038fef
mov byte [ebp - 0x43], 0
lea eax, [ebp - 0x43]
push eax
call fcn.10038ae9
pop ecx
jmp 0x1003926a
mov dword [ebp - 0x328], 0x1489
cmp dword [ebp - 0x328], 0x809
jge 0x100390f6
lea eax, [ebp - 0xc8]
push eax
mov ecx, 0x10663ef0
call fcn.100136f8
lea ecx, [ebp - 0x41c]
call fcn.1003baa7
mov byte [ebp - 4], 1
cmp dword [ebp - 0xc8], 0
jle 0x1003907a
mov eax, dword [ebp - 0xc8]
and eax, 0x80000001
jns 0x10039044
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x1003904e
mov byte [ebp - 0x11], 1
jmp 0x10039052
mov byte [ebp - 0x11], 0
mov al, byte [ebp - 0x11]
mov byte [ebp - 0x49], al
lea eax, [ebp - 0x49]
push eax
lea ecx, [ebp - 0x41c]
call fcn.1003bad5
mov eax, dword [ebp - 0xc8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xc8], eax
jmp 0x10039029
lea ecx, [ebp - 0x41c]
call fcn.1003bad1
dec eax
mov dword [ebp - 0x78], eax
jmp 0x10039092
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x100390d8
push dword [ebp - 0x78]
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x41c]
call fcn.10013ef3
mov ecx, eax
call fcn.10013f37
movzx eax, al
test eax, eax
je 0x100390d6
mov eax, dword [ebp - 0x78]
inc eax
push eax
mov ecx, 0x10663e38
call fcn.100139dd
mov edx, 0x1000b2fc
mov ecx, eax
call fcn.100188c7
jmp 0x1003908b
push fcn.100184bb
mov ecx, 0x10663e38
call fcn.100139d1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x41c]
call fcn.10013eea
mov dword [ebp - 0x58], 0xfffffff9
mov dword [ebp - 0x90], 0
jmp 0x10039116
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x10039132
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x2e8], 0xffffffff
jmp 0x10039109
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10013deb
cmp dword [eax], 0xffffffff
jne 0x10039150
mov dword [ebp - 0x280], 1
jmp 0x10039157
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x28]
add eax, 0xa4bc
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x2e8]
je 0x1003917a
mov dword [ebp - 0x28c], 1
jmp 0x10039181
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x28c]
sub eax, 0x53bf844b
je 0x100391a3
mov eax, 0xf0bd
test eax, eax
je 0x100391a3
mov dword [ebp - 0x168], 1
jmp 0x100391aa
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x58], eax
mov esi, dword [ebp - 0x58]
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10013deb
mov edi, dword [eax]
add edi, dword [ebp - 0x280]
imul edi, esi
push 0
lea ecx, [ebp - 0x2e0]
call fcn.10013deb
mov dword [eax], edi
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
cmp dword [ebp + eax - 0x2e8], ecx
jg 0x100391fb
mov dword [ebp - 0x228], 1
jmp 0x10039202
and dword [ebp - 0x228], 0
push 4
pop eax
shl eax, 0
imul eax, dword [ebp + eax - 0x2e8], 0xfffffff8
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x2e8]
mov ecx, 0x2966b911
sub ecx, eax
cmp ecx, dword [ebp - 0x58]
jne 0x10039236
mov dword [ebp - 0x170], 1
jmp 0x1003923d
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x170]
cmp dword [ebp - 0x228], eax
je 0x1003925a
mov dword [ebp - 0x178], 1
jmp 0x10039261
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x58], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.10013d8d
and dword [ebp - 0x20], 0
mov dword [ebp - 0x128], 0x1f90ef30
mov dword [ebp - 0x330], 4
mov dword [ebp - 0x338], 0x7fa3dfad
mov dword [ebp - 0xd0], 0
jmp 0x100392b4
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
jge 0x100392d0
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x2a0], 0xffff
jmp 0x100392a7
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x100392e1
call fcn.10038b23
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a0]
mov dword [ebp - 0x494], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a0]
mov dword [ebp - 0x43c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a0]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x10039375
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2a0]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x2a0]
imul eax, dword [ebp - 0x128]
cmp eax, 0x20e3
jle 0x10039357
mov dword [ebp - 0x2d0], 1
jmp 0x1003935e
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x2d0]
sub eax, dword [ebp - 0x330]
jne 0x10039375
and dword [ebp - 0x180], 0
jmp 0x1003937f
mov dword [ebp - 0x180], 1
mov eax, dword [ebp - 0x180]
add eax, 0xec3203b
cmp eax, 0xffffffff
jae 0x1003939b
mov dword [ebp - 0x230], 1
jmp 0x100393a2
and dword [ebp - 0x230], 0
cmp dword [ebp - 0x230], 0xd49598aa
ja 0x100393ba
mov dword [ebp - 0x188], 1
jmp 0x100393c1
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x338], eax
mov dword [ebp - 0xa4], 0x93b4e1a3
push 2
lea ecx, [ebp - 0x3bc]
call fcn.10013d2b
mov dword [ebp - 4], 2
mov dword [ebp - 0x364], 0xffffffff
mov dword [ebp - 0x340], 0xffffffff
lea eax, [ebp - 0x484]
push eax
push 0x2dbb
push 0x353e
push 1
lea eax, [ebp - 0x3bc]
push eax
push 0x407a
push 0x14bf
push 0x2943
push 0
call fcn.100371ec
add esp, 0x24
cmp dword [ebp - 0xa4], 0
je 0x10039457
lea eax, [ebp - 0x3bc]
push eax
push 1
lea eax, [ebp - 0xa4]
push eax
push 1
call fcn.10035dd3
add esp, 0x10
jmp 0x100394c4
mov dword [ebp - 0x348], 0xc0bf90a2
mov dword [ebp - 0x36c], 0x47adf1ad
mov dword [ebp - 0x35c], 0xed3c15d
lea eax, [ebp - 0xa4]
push eax
call fcn.10038b2e
pop ecx
push 1
lea eax, [ebp - 0x3bc]
push eax
push 1
lea eax, [ebp - 0x340]
push eax
push 0xd69
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.100360ae
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3bc]
call fcn.10013d8d
mov dword [ebp - 0x140], 0xfffffff7
mov dword [ebp - 0x104], 0xffffffff
mov dword [ebp - 0x24], 0xb90f9986
mov dword [ebp - 0x374], 8
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x37c], 1
mov dword [ebp - 0x320], 0xfffffff6
mov dword [ebp - 0xdc], 0
jmp 0x1003952c
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 1
jge 0x10039548
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x398], 0xd1ac
jmp 0x1003951f
push 0
push 1
push 0x5b04
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x140]
push eax
push 1
lea eax, [ebp - 0x374]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x2959
call fcn.100374e2
add esp, 0x28
mov dword [ebp - 0x50], 0
jmp 0x1003958d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jne 0x1003995e
mov dword [ebp - 0x334], 0x39b7
mov dword [ebp - 0xac], 0
jmp 0x100395ba
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 3
jge 0x100395d6
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x2cc], 1
jmp 0x100395ad
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2cc], 1
ja 0x100395f2
mov dword [ebp - 0x190], 1
jmp 0x100395f9
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x24]
je 0x1003961c
cmp dword [ebp - 0x140], 0xbca0bec
jle 0x1003961c
mov dword [ebp - 0x288], 1
jmp 0x10039623
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x288]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x2cc]
jle 0x10039646
mov dword [ebp - 0x238], 1
jmp 0x1003964d
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x238]
jle 0x10039673
mov dword [ebp - 0x198], 1
jmp 0x1003967a
and dword [ebp - 0x198], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax - 0x398], ecx
mov dword [ebp - 0x24], 0
jmp 0x1003969d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x10039959
mov dword [ebp - 0x3c], 4
push 1
lea ecx, [ebp - 0x3f4]
call fcn.10013d2b
mov dword [ebp - 4], 3
mov dword [ebp - 0x2c], 0
jmp 0x100396d2
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x100396ee
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x3f4]
call fcn.10013deb
mov dword [eax], 0x3bebda3f
jmp 0x100396cb
mov dword [ebp - 0x2c], 0
jmp 0x100396fe
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x10039714
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x32c], 0x2446
jmp 0x100396f7
cmp dword [ebp - 0x3c], 0
je 0x10039845
cmp dword [ebp - 0x37c], 0
jne 0x10039736
cmp dword [ebp - 0x3c], 0
jne 0x10039736
and dword [ebp - 0x2bc], 0
jmp 0x10039740
mov dword [ebp - 0x2bc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2cc]
cmp dword [ebp - 0x2bc], eax
je 0x10039761
mov dword [ebp - 0x1a0], 1
jmp 0x10039768
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x320]
cmp dword [ebp - 0x1a0], eax
jl 0x10039782
mov dword [ebp - 0x130], 1
jmp 0x10039789
and dword [ebp - 0x130], 0
push 0
lea ecx, [ebp - 0x3f4]
call fcn.10013deb
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
mov eax, dword [ebp - 0x130]
shl eax, 3
cmp eax, 0xef224b34
jae 0x100397ba
mov dword [ebp - 0x240], 1
jmp 0x100397c1
and dword [ebp - 0x240], 0
cmp dword [ebp - 0x240], 0xfffffff7
jle 0x100397d6
mov dword [ebp - 0x324], 1
jmp 0x100397dd
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x2cc], 0x3a8a1d58
je 0x10039802
mov dword [ebp - 0x1a8], 1
jmp 0x10039809
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1a8], eax
jl 0x10039820
mov dword [ebp - 0x290], 1
jmp 0x10039827
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x2cc]
cmp dword [ebp - 0x290], eax
jge 0x10039845
mov dword [ebp - 0x1b0], 1
jmp 0x1003984c
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1b0]
jg 0x10039863
mov dword [ebp - 0x390], 1
jmp 0x1003986a
and dword [ebp - 0x390], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2cc]
mov dword [ebp - 0x458], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ebp + ecx*4 - 0x2cc]
cmp dword [ebp + eax - 0x2cc], ecx
jg 0x100398a1
mov dword [ebp - 0x248], 1
jmp 0x100398a8
and dword [ebp - 0x248], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x32c]
cmp dword [ebp - 0x248], eax
je 0x100398c9
mov dword [ebp - 0x3ac], 1
jmp 0x100398d0
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x334]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x50], 0xabe926f5
je 0x100398f1
mov dword [ebp - 0x1b8], 1
jmp 0x100398f8
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
add eax, 0x713ec2cf
cmp eax, dword [ebp - 0x104]
jne 0x10039917
mov dword [ebp - 0x2d4], 1
jmp 0x1003991e
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x2d4], eax
jl 0x10039935
mov dword [ebp - 0x1c0], 1
jmp 0x1003993c
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x3c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3f4]
call fcn.10013d8d
jmp 0x10039696
jmp 0x10039586
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0xb4], 8
mov dword [ebp - 0xb4], 7
jmp 0x1003998a
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x14
jne 0x10039d4c
mov dword [ebp - 0xc4], 0xfffffff9
mov dword [ebp - 0xe4], 0
jmp 0x100399ba
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 2
jge 0x100399d6
mov eax, dword [ebp - 0xe4]
mov dword [ebp + eax*4 - 0x158], 0
jmp 0x100399ad
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x158], 0
je 0x10039b8b
mov dword [ebp - 0x70], 0xc405b401
mov dword [ebp - 0x70], 0
jmp 0x10039a01
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jg 0x10039b86
mov dword [ebp - 0x60], 0xfffffffb
mov dword [ebp - 0x60], 1
jmp 0x10039a22
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x10039b81
mov dword [ebp - 0xbc], 0
jmp 0x10039a45
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 2
jge 0x10039a61
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x2ac], 0xffffffff
jmp 0x10039a38
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x10039a8d
push 0x2572
push 0xc91
push 1
push 0
push 0x64f9
push 0x515a
call fcn.10036df7
add esp, 0x18
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2ac], 1
jmp 0x10039abb
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2ac]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2ac], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2ac], 0
jl 0x10039b7c
mov eax, dword [ebp - 0x60]
cmp dword [ebp + eax*4 - 0x158], 0xffffffff
je 0x10039ae8
mov dword [ebp - 0x1c8], 1
jmp 0x10039aef
and dword [ebp - 0x1c8], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x158], 5
jbe 0x10039b0b
mov dword [ebp - 0x250], 1
jmp 0x10039b12
and dword [ebp - 0x250], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2ac]
neg eax
add eax, dword [ebp - 0x250]
cmp dword [ebp - 0x1c8], eax
jl 0x10039b3b
mov dword [ebp - 0x298], 1
jmp 0x10039b42
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x70]
mov eax, dword [ebp + eax*4 - 0x158]
cmp eax, dword [ebp - 0x298]
jle 0x10039b60
mov dword [ebp - 0x1d0], 1
jmp 0x10039b67
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp + eax*4 - 0x158], ecx
jmp 0x10039aa0
jmp 0x10039a1b
jmp 0x100399fa
jmp 0x10039d47
push 3
lea ecx, [ebp - 0x2fc]
call fcn.10013d2b
mov dword [ebp - 4], 4
mov dword [ebp - 0x138], 0x14c38d67
mov dword [ebp - 0xfc], 0
jmp 0x10039bc2
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 3
jge 0x10039be4
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x2fc]
call fcn.10013deb
mov dword [eax], 0xf3d47941
jmp 0x10039bb5
cmp dword [ebp - 0xc4], 0x4204102
jle 0x10039bfc
mov dword [ebp - 0x258], 1
jmp 0x10039c03
and dword [ebp - 0x258], 0
push 1
lea ecx, [ebp - 0x2fc]
call fcn.10013deb
mov eax, dword [eax]
mov ecx, dword [ebp - 0x258]
lea eax, [eax + ecx + 0x72fa]
test eax, eax
je 0x10039c51
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x158], 0
je 0x10039c51
push 1
lea ecx, [ebp - 0x2fc]
call fcn.10013deb
cmp dword [eax], 0
je 0x10039c51
mov dword [ebp - 0x1d8], 1
jmp 0x10039c58
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0xffff
jbe 0x10039c70
mov dword [ebp - 0x2b4], 1
jmp 0x10039c77
and dword [ebp - 0x2b4], 0
push 1
lea ecx, [ebp - 0x2fc]
call fcn.10013deb
mov eax, dword [eax]
cmp eax, dword [ebp - 0x2b4]
jg 0x10039c9a
mov dword [ebp - 0x150], 1
jmp 0x10039ca1
and dword [ebp - 0x150], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp + eax - 0x158], ecx
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x138]
add eax, dword [ebp - 0xc4]
cmp eax, dword [ebp - 0x138]
jne 0x10039cda
mov dword [ebp - 0x384], 1
jmp 0x10039ce1
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x138], eax
jle 0x10039cfb
mov dword [ebp - 0x1e0], 1
jmp 0x10039d02
and dword [ebp - 0x1e0], 0
push 1
lea ecx, [ebp - 0x2fc]
call fcn.10013deb
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1e0]
jne 0x10039d25
mov dword [ebp - 0x260], 1
jmp 0x10039d2c
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0xc4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2fc]
call fcn.10013d8d
jmp 0x1003997d
mov eax, dword [ebp - 0x12c]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10039d63
xor eax, eax
jmp 0x1003b454
mov dword [ebp - 0xec], 0
jmp 0x10039d7c
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 3
jge 0x10039d98
mov eax, dword [ebp - 0xec]
mov dword [ebp + eax*4 - 0x4d4], 1
jmp 0x10039d6f
mov byte [ebp - 0x42], 0
lea eax, [ebp - 0x42]
push eax
call fcn.10038b74
pop ecx
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
call fcn.10038bae
pop ecx
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10038bd7
add esp, 0xc
mov dword [ebp - 0x34], 0xff60
mov dword [ebp - 0x18], 0x6141e4f1
cmp dword [ebp - 0x34], 0
je 0x1003a1b3
mov dword [ebp - 0x38], 0xfffa
mov dword [ebp - 0x10c], 0x2c32b96c
mov dword [ebp - 0x39c], 0xfffffffa
cmp dword [ebp - 0x38], 0
jne 0x10039e13
cmp dword [ebp - 0x38], 0
jne 0x10039e13
and dword [ebp - 0x2a4], 0
jmp 0x10039e1d
mov dword [ebp - 0x2a4], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x38], 0x4df6f978
jle 0x10039e5f
cmp dword [ebp - 0x38], 0
jne 0x10039e5f
and dword [ebp - 0x1e8], 0
jmp 0x10039e69
mov dword [ebp - 0x1e8], 1
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2a4]
je 0x10039e8a
call fcn.10038c05
jmp 0x1003a1ae
mov dword [ebp - 0x33c], 0x26c8
cmp dword [ebp - 0x33c], 0x6fd
jge 0x1003a040
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x1000b254
call fcn.1005821b
add esp, 0xc
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x308]
call fcn.10013d2b
mov dword [ebp - 4], 5
and dword [ebp - 0xcc], 0
jmp 0x10039ee4
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0x5c]
jge 0x10039f0f
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x308]
call fcn.10013deb
push eax
push 0x1000b248
call fcn.1005821b
pop ecx
pop ecx
jmp 0x10039ed7
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x308]
call fcn.10013e41
push dword [eax]
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x308]
call fcn.10013e33
push dword [eax]
call fcn.10018497
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1f0], eax
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0x308]
call fcn.10013deb
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x80], eax
jmp 0x10039f76
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
inc eax
cmp eax, dword [ebp - 0x5c]
jge 0x1003a010
mov eax, dword [ebp - 0x80]
inc eax
push eax
lea ecx, [ebp - 0x308]
call fcn.10013deb
mov eax, dword [eax]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x80]
inc eax
sub eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x148]
cmp dword [ebp - 0x268], eax
jge 0x10039fce
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x1f8], eax
jmp 0x10039fde
mov eax, dword [ebp - 0x68]
cdq
idiv dword [ebp - 0x148]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2b8]
imul eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x68]
sub ecx, eax
mov dword [ebp - 0x68], ecx
jmp 0x10039f6f
mov eax, dword [ebp - 0x68]
shl eax, 1
mov ecx, dword [ebp - 0x5c]
inc ecx
cdq
idiv ecx
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
push dword [ebp - 0x64]
push 0x1000b274
call fcn.100585c5
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.10013d8d
mov dword [ebp - 0x124], 0x8ee3f2f3
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1003a0b2
push 0x68f9
push 0x440e
push 0x1816
push 0x7fcf
push 0x52a8
push 0xf69
push 1
push 1
push 0x4cb9
push 0x30a6
push 0x7c96
push 0x2696
push 0x7216
push 0x78e5
push 0x2fae
push 0x3f03
push 0x7ffd
push 0x6dcc
call fcn.10036ce4
add esp, 0x48
cmp dword [ebp - 0x10c], 1
jl 0x1003a0c7
mov dword [ebp - 0x270], 1
jmp 0x1003a0ce
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x124], eax
jne 0x1003a0e5
mov dword [ebp - 0x200], 1
jmp 0x1003a0ec
and dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x200], eax
je 0x1003a106
mov dword [ebp - 0x15c], 1
jmp 0x1003a10d
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x124]
imul eax, dword [ebp - 0x270]
cmp eax, dword [ebp - 0x15c]
je 0x1003a12e
mov dword [ebp - 0x2b0], 1
jmp 0x1003a135
and dword [ebp - 0x2b0], 0
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x10c], eax
jne 0x1003a158
mov dword [ebp - 0x210], 1
jmp 0x1003a15f
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x18], eax
jle 0x1003a17c
mov dword [ebp - 0x278], 1
jmp 0x1003a183
and dword [ebp - 0x278], 0
cmp dword [ebp - 0x278], 0xfffa
jb 0x1003a19b
mov dword [ebp - 0x218], 1
jmp 0x1003a1a2
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x39c], eax
jmp 0x1003a27c
push 4
lea ecx, [ebp - 0x40c]
call fcn.10013d2b
mov dword [ebp - 4], 6
push 0x53d4
lea eax, [ebp - 0x40c]
push eax
push 1
push 0x7a80
push 1
lea eax, [ebp - 0x440]
push eax
call fcn.10036ec4
add esp, 0x18
mov dword [ebp - 0x34], 0
jmp 0x1003a1fb
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x10
jl 0x1003a26d
mov dword [ebp - 0x2c0], 0xd89e1771
cmp dword [ebp - 0x2c0], 0
je 0x1003a216
jmp 0x1003a26d
mov dword [ebp - 0x18], 0
jmp 0x1003a226
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x1003a26b
mov dword [ebp - 0x344], 0xa787d30f
push 0x66b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c0]
push eax
push 1
push 0x2dd1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x40c]
push eax
push 1
call fcn.100371ec
add esp, 0x24
jmp 0x1003a21f
jmp 0x1003a1f4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call fcn.10013d8d
mov eax, dword [ebp - 0x7c]
cmp dword [eax], 0x4550
je 0x1003a28e
xor eax, eax
jmp 0x1003b454
mov dword [ebp - 0xd4], 0xd4e7937d
cmp dword [ebp - 0xd4], 7
jg 0x1003a30f
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xd4], eax
jne 0x1003a2bb
mov dword [ebp - 0x38c], 1
jmp 0x1003a2c2
and dword [ebp - 0x38c], 0
mov eax, 0xabe8
test eax, eax
je 0x1003a30f
call fcn.10038c3c
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1003a30d
push 1
push 1
push 0x1f7b
push 0x5de9
push 0x271d
push 0x7692
push 1
push 0x19b1
push 0x37a8
push 0xfab
call fcn.100374e2
add esp, 0x28
jmp 0x1003a32e
mov dword [ebp - 0x34c], 0x4c38b6b0
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x34c]
push eax
call fcn.10038c61
pop ecx
pop ecx
push 0x1ee8
push 0x4bc6
push 1
push 1
push dword [ebp - 0x7c]
push 0x227e
push 0x56ef
push 0x568e
lea eax, [ebp - 0xf4]
push eax
push 0x2554
push 0x5b00
push 1
call fcn.100351a0
add esp, 0x30
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x184], 0x9ca4f067
mov dword [ebp - 0x394], 0x887c5c6a
mov dword [ebp - 0x9c], 0
jmp 0x1003a39d
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jge 0x1003a3b6
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x40], 5
jmp 0x1003a390
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x40], eax
mov dword [ebp - 0x30], 0
jmp 0x1003a3db
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 7
jg 0x1003a5bb
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x30], 0
jne 0x1003a407
cmp dword [ebp - 0x88], 0
jne 0x1003a407
and dword [ebp - 0x3b0], 0
jmp 0x1003a411
mov dword [ebp - 0x3b0], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x88], 0xffff
je 0x1003a435
cmp dword [ebp - 0x30], 0
jne 0x1003a435
and dword [ebp - 0x160], 0
jmp 0x1003a43f
mov dword [ebp - 0x160], 1
mov eax, dword [ebp - 0x160]
add eax, 9
jne 0x1003a45c
cmp dword [ebp - 0x88], 0
jne 0x1003a45c
and dword [ebp - 0x164], 0
jmp 0x1003a466
mov dword [ebp - 0x164], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x164], eax
jle 0x1003a484
mov dword [ebp - 0x358], 1
jmp 0x1003a48b
and dword [ebp - 0x358], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
imul eax, dword [ebp - 0x88]
cmp eax, 0xc352
je 0x1003a4af
mov dword [ebp - 0x16c], 1
jmp 0x1003a4b6
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x16c], eax
jge 0x1003a4d0
mov dword [ebp - 0x174], 1
jmp 0x1003a4d7
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x174], eax
jge 0x1003a4ee
mov dword [ebp - 0x17c], 1
jmp 0x1003a4f5
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x184], eax
jne 0x1003a518
mov dword [ebp - 0x18c], 1
jmp 0x1003a51f
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
imul ecx, dword [ebp - 0x18c], 0xfff6
cmp dword [ebp + eax - 0x40], ecx
jg 0x1003a541
mov dword [ebp - 0x194], 1
jmp 0x1003a548
and dword [ebp - 0x194], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
imul eax, dword [ebp - 0x194]
cmp eax, 0x4fa3fda3
jle 0x1003a56c
mov dword [ebp - 0x19c], 1
jmp 0x1003a573
and dword [ebp - 0x19c], 0
imul eax, dword [ebp - 0x19c], 0x7b35
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x40]
jne 0x1003a595
mov dword [ebp - 0x1a4], 1
jmp 0x1003a59c
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x394], eax
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
call fcn.10038c9b
pop ecx
jmp 0x1003a3d4
cmp dword [ebp - 0xf4], 0
jne 0x1003a5cb
xor eax, eax
jmp 0x1003b454
mov dword [ebp - 0x360], 0x25b9b55b
push 1
lea ecx, [ebp - 0x400]
call fcn.10013d2b
mov dword [ebp - 4], 7
mov dword [ebp - 0xa0], 0
jmp 0x1003a602
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x1003a621
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x400]
call fcn.10013deb
or dword [eax], 0xffffffff
jmp 0x1003a5f5
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.10038cd5
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x400]
call fcn.10013d8d
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x2a23
lea eax, [ebp - 0x7c]
push eax
push 1
push 1
push 0xc16
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
push 0xa9f
call fcn.10037999
add esp, 0x28
mov dword [ebp - 0x74], 0x60657976
mov dword [ebp - 0x1f4], 4
mov dword [ebp - 0x1e4], 0xd1b71362
mov dword [ebp - 0xb0], 2
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x3dc], 1
mov dword [ebp - 0x3d8], 1
mov dword [ebp - 0x3d4], 1
mov dword [ebp - 0x3d0], 1
lea ecx, [ebp - 0x149]
call fcn.10013dfa
push eax
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3dc]
push eax
lea ecx, [ebp - 0x4c8]
call fcn.10013dfd
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3c8]
call fcn.10013d67
mov dword [ebp - 4], 8
mov dword [ebp - 0xa8], 0x795c
push 2
lea ecx, [ebp - 0x314]
call fcn.10013d2b
mov byte [ebp - 4], 9
mov dword [ebp - 0x224], 0x30fb
mov dword [ebp - 0x6c], 0
jmp 0x1003a745
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x1003a75b
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x42c], 8
jmp 0x1003a73e
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10038d37
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push eax
call fcn.10032698
pop ecx
cmp dword [ebp - 0xb0], 0
jne 0x1003a8b9
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x42c], 0
je 0x1003a834
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x42c]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x74], 0x787d30fa
jle 0x1003a7c0
mov dword [ebp - 0x1ac], 1
jmp 0x1003a7c7
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 0xab8a
je 0x1003a7df
mov dword [ebp - 0x1b4], 1
jmp 0x1003a7e6
and dword [ebp - 0x1b4], 0
push 2
lea ecx, [ebp - 0x3c8]
call fcn.10013deb
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [eax]
jg 0x1003a809
mov dword [ebp - 0x1bc], 1
jmp 0x1003a810
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1f4]
imul eax, dword [ebp - 0x1bc]
sub eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0xb0]
jge 0x1003a834
mov dword [ebp - 0x1c4], 1
jmp 0x1003a83b
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x1c4], eax
jne 0x1003a852
mov dword [ebp - 0x134], 1
jmp 0x1003a859
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x42c], ecx
push 0
lea ecx, [ebp - 0x314]
call fcn.10013deb
mov ecx, dword [ebp - 0x134]
cmp ecx, dword [eax]
jne 0x1003a88e
mov dword [ebp - 0x1cc], 1
jmp 0x1003a895
and dword [ebp - 0x1cc], 0
push 0
lea ecx, [ebp - 0x314]
call fcn.10013deb
mov ecx, dword [ebp - 0x1cc]
cmp ecx, dword [eax]
je 0x1003a8b0
xor eax, eax
jne 0x1003a8b9
and dword [ebp - 0x1d4], 0
jmp 0x1003a8c3
mov dword [ebp - 0x1d4], 1
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0xa8]
imul ecx, dword [ebp - 0x1d4]
mov edx, dword [ebp - 0xa8]
dec edx
mov dword [ebp - 0xa8], edx
cmp ecx, eax
jne 0x1003a8fc
cmp dword [ebp - 0x234], 0
je 0x1003a8fc
mov dword [ebp - 0x1dc], 1
jmp 0x1003a903
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 4
jbe 0x1003a918
mov dword [ebp - 0x1ec], 1
jmp 0x1003a91f
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0x1ec], eax
jle 0x1003a939
mov dword [ebp - 0x1fc], 1
jmp 0x1003a940
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1f4]
cmp eax, dword [ebp - 0x1fc]
je 0x1003a95a
mov dword [ebp - 0x204], 1
jmp 0x1003a961
and dword [ebp - 0x204], 0
imul eax, dword [ebp - 0x204], 0xffffffff
cmp eax, dword [ebp - 0xb0]
jle 0x1003a97c
mov dword [ebp - 0x20c], 1
jmp 0x1003a983
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x20c], eax
jl 0x1003a99b
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x42c], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0xb0], 0xffffffff
jge 0x1003a9c2
mov eax, 0x42b0
test eax, eax
jne 0x1003a9c2
and dword [ebp - 0x214], 0
jmp 0x1003a9cc
mov dword [ebp - 0x214], 1
push 0
lea ecx, [ebp - 0x3c8]
call fcn.10013deb
mov ecx, dword [ebp - 0x214]
imul ecx, dword [eax]
cmp ecx, 1
jg 0x1003a9f3
mov dword [ebp - 0x21c], 1
jmp 0x1003a9fa
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x224], eax
mov esi, dword [ebp - 0x224]
push 0
lea ecx, [ebp - 0x314]
call fcn.10013deb
cmp esi, dword [eax]
jg 0x1003aa3b
push 0
lea ecx, [ebp - 0x3c8]
call fcn.10013deb
cmp dword [eax], 0
je 0x1003aa3b
mov dword [ebp - 0x22c], 1
jmp 0x1003aa42
and dword [ebp - 0x22c], 0
push 0
lea ecx, [ebp - 0x314]
call fcn.10013deb
mov ecx, dword [ebp - 0x22c]
imul ecx, dword [eax]
mov dword [ebp - 0x234], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x314]
call fcn.10013d8d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c8]
call fcn.10013d8d
push dword [ebp - 0x7c]
push 0x97
push dword [ebp - 0x20]
push 1
push dword [ebp + 8]
push 0x6479
push 0
call fcn.10022620
add esp, 0x1c
push 3
lea ecx, [ebp - 0x480]
call fcn.10013d2b
mov dword [ebp - 4], 0xa
mov dword [ebp - 0xc0], 0xfffffffa
mov dword [ebp - 0xb8], 0
jmp 0x1003aad2
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 3
jge 0x1003aaf4
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x480]
call fcn.10013deb
mov dword [eax], 0xa75c96dd
jmp 0x1003aac5
mov dword [ebp - 0xc0], 2
jmp 0x1003ab0d
mov eax, dword [ebp - 0xc0]
dec eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jl 0x1003ac57
push 1
lea ecx, [ebp - 0x3a8]
call fcn.10013d2b
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x94], 0
push 0x193b
push 0x1f78
push 1
push 0xe4b
lea eax, [ebp - 0x498]
push eax
push 0x21a5
lea eax, [ebp - 0x3a8]
push eax
push 1
call fcn.10037b99
add esp, 0x20
push 0
lea ecx, [ebp - 0x3a8]
call fcn.10013deb
mov dword [eax], 2
jmp 0x1003ab9c
push 0
lea ecx, [ebp - 0x3a8]
call fcn.10013deb
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x23c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x3a8]
call fcn.10013deb
cmp dword [eax], 0
jl 0x1003abbe
mov byte [ebp - 0x46], 0
lea eax, [ebp - 0x46]
push eax
call fcn.10038d7f
pop ecx
jmp 0x1003ab78
mov dword [ebp - 0x94], 0
jmp 0x1003abd7
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jg 0x1003ac43
mov dword [ebp - 0x98], 0x831d26ec
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x1003ac18
push 0x43fd
push 0x4f71
push 1
push 0x6d80
push 0x7ad1
push 1
push 1
call fcn.10037dfc
add esp, 0x1c
mov dword [ebp - 0x98], 0
jmp 0x1003ac31
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jg 0x1003ac41
call fcn.10038dad
jmp 0x1003ac24
jmp 0x1003abca
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3a8]
call fcn.10013d8d
jmp 0x1003ab00
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x480]
call fcn.10013d8d
push 0x4923
push 1
lea eax, [ebp - 0x7c]
push eax
push 0x46f2
push 1
push 0x5c57
push 0x411f
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.10038202
add esp, 0x24
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x368], 0x6f8f9ed0
mov dword [ebp - 0x4a0], 0xc280563
mov dword [ebp - 0x380], 0xffffffff
mov dword [ebp - 0x48c], 0xc911b6be
mov dword [ebp - 0x10], 0
jmp 0x1003acd7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1003aced
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x144], 0xed890fc5
jmp 0x1003acd0
mov dword [ebp - 0x10], 0
jmp 0x1003acfd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003ad13
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x4ac], 0xd7a8
jmp 0x1003acf6
mov dword [ebp - 0x10], 0
jmp 0x1003ad23
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1003ad39
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x4b8], 0xfffffff8
jmp 0x1003ad1c
mov dword [ebp - 0x1c], 0x12
jmp 0x1003ad49
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 7
je 0x1003b10f
mov dword [ebp - 0xe0], 0xecb45710
mov dword [ebp - 0xd8], 0
jmp 0x1003ad76
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jge 0x1003ad92
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x3e8], 0xfffffffb
jmp 0x1003ad69
mov dword [ebp - 0xe0], 0
jmp 0x1003adab
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0xb
jl 0x1003b064
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xe8], 0
jmp 0x1003addb
mov eax, dword [ebp - 0xe8]
dec eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xfffffff3
jle 0x1003b057
mov dword [ebp - 0x84], 0xfffffffd
mov dword [ebp - 0x84], 0
jmp 0x1003ae0b
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jg 0x1003b052
mov dword [ebp - 0x378], 0x1d50
cmp dword [ebp - 0x378], 0x9ce
jge 0x1003b03b
and dword [ebp - 0x120], 0
xor eax, eax
lea edi, [ebp - 0x11c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0xf0], 0
jmp 0x1003ae5a
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 4
jge 0x1003ae7f
mov eax, dword [ebp - 0xf0]
lea eax, [ebp + eax*4 - 0x120]
push eax
push 0x1000b5fc
call fcn.1005821b
pop ecx
pop ecx
jmp 0x1003ae4d
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x120]
sub eax, dword [ebp + ecx - 0x120]
mov dword [ebp - 0x13c], eax
push 4
pop eax
shl eax, 0
cvtsi2sd xmm0, dword [ebp + eax - 0x120]
mulsd xmm0, qword [0x1000b838]
push 4
pop eax
imul eax, eax, 0
cvtsi2sd xmm1, dword [ebp + eax - 0x120]
divsd xmm0, xmm1
movsd qword [ebp - 0x2f0], xmm0
movsd xmm0, qword [0x1000b818]
movsd qword [ebp - 0x450], xmm0
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x120]
sub eax, dword [ebp + ecx - 0x120]
cmp eax, dword [ebp - 0x13c]
jne 0x1003af48
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
shl ecx, 1
mov eax, dword [ebp + eax - 0x120]
sub eax, dword [ebp + ecx - 0x120]
cmp eax, dword [ebp - 0x13c]
jne 0x1003af48
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x120]
add eax, dword [ebp - 0x13c]
push eax
push 0x1000b5fc
call fcn.100585c5
pop ecx
pop ecx
jmp 0x1003b03b
push 4
pop eax
shl eax, 1
cvtsi2sd xmm0, dword [ebp + eax - 0x120]
mulsd xmm0, qword [0x1000b838]
push 4
pop eax
shl eax, 0
cvtsi2sd xmm1, dword [ebp + eax - 0x120]
divsd xmm0, xmm1
ucomisd xmm0, qword [ebp - 0x2f0]
lahf
test ah, 0x44
jp 0x1003b030
push 4
pop eax
imul eax, eax, 3
cvtsi2sd xmm0, dword [ebp + eax - 0x120]
mulsd xmm0, qword [0x1000b838]
push 4
pop eax
shl eax, 1
cvtsi2sd xmm1, dword [ebp + eax - 0x120]
divsd xmm0, xmm1
ucomisd xmm0, qword [ebp - 0x2f0]
lahf
test ah, 0x44
jp 0x1003b030
lea eax, [ebp - 0x450]
push eax
push 4
pop eax
imul eax, eax, 3
cvtsi2sd xmm0, dword [ebp + eax - 0x120]
mulsd xmm0, qword [ebp - 0x2f0]
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.1005a510
add esp, 0xc
fstp qword [ebp - 0x460]
movsd xmm0, qword [ebp - 0x460]
ucomisd xmm0, qword [0x1000b818]
lahf
test ah, 0x44
jp 0x1003b030
push 4
pop eax
imul eax, eax, 3
cvtsi2sd xmm0, dword [ebp + eax - 0x120]
mulsd xmm0, qword [ebp - 0x2f0]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x1000b730
call fcn.100585c5
add esp, 0xc
jmp 0x1003b03b
push 0x1000b738
call fcn.10058886
pop ecx
mov eax, dword [ebp - 0x84]
cmp dword [ebp + eax*4 - 0x3e8], 0
je 0x1003b04d
jmp 0x1003b052
jmp 0x1003adfe
jmp 0x1003adce
cmp dword [ebp - 0x1c], 0
je 0x1003b05f
jmp 0x1003b064
jmp 0x1003ad9e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3e8]
push 4
pop ecx
shl ecx, 1
sub eax, dword [ebp + ecx - 0x3e8]
cmp eax, 0xfffffff6
jne 0x1003b08e
mov dword [ebp - 0x24c], 1
jmp 0x1003b095
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x244], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x244]
mov dword [ebp + eax - 0x144], ecx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x244]
cmp dword [ebp - 0x24c], eax
jl 0x1003b0ce
mov dword [ebp - 0x254], 1
jmp 0x1003b0d5
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x254]
cmp eax, 0xa6ff609d
jae 0x1003b0f1
mov dword [ebp - 0x25c], 1
jmp 0x1003b0f8
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x368], eax
jmp 0x1003ad42
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x144]
mov dword [ebp - 0x264], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x264]
mov dword [ebp + eax - 0x4ac], ecx
cmp dword [ebp - 0x264], 0x9719
je 0x1003b14d
mov dword [ebp - 0x26c], 1
jmp 0x1003b154
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x380]
cmp dword [ebp - 0x26c], eax
je 0x1003b17b
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x144], 0
jne 0x1003b17b
and dword [ebp - 0x274], 0
jmp 0x1003b185
mov dword [ebp - 0x274], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x274]
mov dword [ebp + eax - 0x4b8], ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.10038dd3
pop ecx
pop ecx
push dword [ebp - 0x20]
call fcn.10032808
pop ecx
test eax, eax
jne 0x1003b1be
xor eax, eax
jmp 0x1003b454
mov dword [ebp - 0x8c], 0x2e91a04
mov dword [ebp - 0x100], 0xfffffffa
mov dword [ebp - 0x108], 0x768c0aa3
mov dword [ebp - 0x110], 1
mov dword [ebp - 0xf8], 0
jmp 0x1003b1ff
mov eax, dword [ebp - 0xf8]
inc eax
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 4
jge 0x1003b21b
mov eax, dword [ebp - 0xf8]
mov dword [ebp + eax*4 - 0x4e4], 0xfffc
jmp 0x1003b1f2
push 1
push 1
push 0x5518
push 0x181
push 0x1132
push 0xed1
lea eax, [ebp - 0x8c]
push eax
push 0x360e
push 1
call fcn.10038315
add esp, 0x24
mov dword [ebp - 0x100], 0
jmp 0x1003b262
mov eax, dword [ebp - 0x100]
inc eax
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 5
jle 0x1003b307
mov dword [ebp - 0x108], 3
jmp 0x1003b288
mov eax, dword [ebp - 0x108]
dec eax
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jl 0x1003b2ee
mov dword [ebp - 0x8c], 0
jmp 0x1003b2aa
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 3
jg 0x1003b2c3
mov byte [ebp - 0x41], 0
lea eax, [ebp - 0x41]
push eax
call fcn.10038e2b
pop ecx
jmp 0x1003b29d
mov dword [ebp - 0x110], 3
jmp 0x1003b2dc
mov eax, dword [ebp - 0x110]
dec eax
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jl 0x1003b2ec
call fcn.10038e59
jmp 0x1003b2cf
jmp 0x1003b27b
mov byte [ebp - 0x54], 0
push 1
push 1
lea eax, [ebp - 0x54]
push eax
call fcn.10038807
add esp, 0xc
jmp 0x1003b255
push 1
push 0
push dword [ebp - 0x20]
push 0x1ff7
call fcn.1001ec8f
add esp, 0x10
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1003b433
mov dword [ebp - 0x388], 0x16a5
cmp dword [ebp - 0x388], 0x7a6
jge 0x1003b3dd
push 0x108de280
push 0x1000b2a8
call fcn.1005821b
pop ecx
pop ecx
mov eax, dword [0x108de280]
and eax, 1
mov ecx, dword [0x108de284]
and ecx, 0
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], ecx
mov eax, dword [ebp - 0x354]
or eax, dword [ebp - 0x350]
je 0x1003b3b9
mov eax, dword [0x108de280]
sub eax, 1
mov ecx, dword [0x108de284]
sbb ecx, 0
push 0
push 2
push ecx
push eax
call fcn.10072a00
sub eax, dword [0x108de280]
sbb edx, dword [0x108de284]
push edx
push eax
push 0x1000b5ec
call fcn.100585c5
add esp, 0xc
jmp 0x1003b3dd
push 0
push 2
push dword [0x108de284]
push dword [0x108de280]
call fcn.10072a00
push edx
push eax
push 0x1000b5ec
call fcn.100585c5
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xf4]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x27c], ecx
jne 0x1003b3f7
xor eax, eax
jmp 0x1003b454
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x27c]
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
jne 0x1003b419
xor eax, eax
jmp 0x1003b454
push 0x6a31
push 1
push 0x27cb
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.10038a42
add esp, 0x14
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x10], 0
je 0x1003b447
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x284], eax
jmp 0x1003b44e
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret