Function at 0x10047038
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push esi
push edi
mov dword [ebp - 0x278], 5
mov dword [ebp - 0x22c], 5
mov dword [ebp - 0x234], 0xffffffff
mov dword [ebp - 0x254], 0xfffffffa
mov dword [ebp - 0x280], 3
mov dword [ebp - 0x294], 0xd94543be
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x70], 0
jmp 0x10047099
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 4
jge 0x100470af
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x2d8], 8
jmp 0x10047092
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x15c], 0xf55e00fe
mov dword [ebp - 0x10], 0
jmp 0x100470d6
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x100470ec
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x198], 0x8206
jmp 0x100470cf
mov dword [ebp - 0x10], 0
jmp 0x100470fc
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004710f
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x4c], 0x642c70bb
jmp 0x100470f5
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4c], 0
jmp 0x10047134
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c], 1
jge 0x10047158
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
mov dword [ebp + eax*4 - 0x198], 1
jmp 0x1004711f
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x29c], 0xfffa
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004718c
push 0x1244
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x100471a0
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
mov dword [ebp - 8], 4
mov dword [ebp - 0x1cc], 0x544bd1a6
mov dword [ebp - 0x2b0], 2
mov dword [ebp - 0x2ac], 2
mov dword [ebp - 0x2a8], 2
mov dword [ebp - 0x2a4], 2
mov dword [ebp - 0xb8], 0xffffffff
cmp dword [ebp - 8], 0x22124f84
jne 0x100471fe
cmp dword [ebp - 8], 0
je 0x100471fe
mov dword [ebp - 0x8c], 1
jmp 0x10047205
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x8c], eax
je 0x10047256
mov dword [ebp - 8], 0
jmp 0x10047220
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jle 0x10047251
mov dword [ebp - 0x164], 0x5cc25bfc
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10047242
call dword [sym.imp.KERNEL32.dll_GetACP]
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x164], eax
jmp 0x10047219
jmp 0x1004745e
mov dword [ebp - 0x44], 0x52509e71
mov dword [ebp - 8], 0
jmp 0x1004726d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3c
jne 0x10047455
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x1a4], 0xfffffffb
mov dword [ebp - 0x60], 0
jmp 0x10047298
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x100472ab
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x58], 0xfa9b
jmp 0x10047291
mov dword [ebp - 0x24], 0
jmp 0x100472bb
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10047445
mov dword [ebp - 0x174], 0x61943ec3
mov dword [ebp - 0x1d0], 0x58e7
mov dword [ebp - 0x1c8], 0x594484f7
cmp dword [ebp - 0x44], 0
je 0x100473db
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x58], 0xec0
jge 0x10047329
mov dword [ebp - 0x94], 1
jmp 0x10047330
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x10047358
push 2
pop eax
test eax, eax
je 0x10047358
mov dword [ebp - 0x9c], 1
jmp 0x1004735f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x9c], eax
je 0x10047379
mov dword [ebp - 0x17c], 1
jmp 0x10047380
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x17c], eax
jl 0x10047397
mov dword [ebp - 0x184], 1
jmp 0x1004739e
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x184], eax
jge 0x100473b5
mov dword [ebp - 0x1e4], 1
jmp 0x100473bc
and dword [ebp - 0x1e4], 0
cmp dword [ebp - 8], 0
jne 0x100473d1
cmp dword [ebp - 0x44], 0
jne 0x100473d1
and dword [ebp - 0xa8], 0
jmp 0x100473db
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 8], 2
je 0x100473ed
mov dword [ebp - 0x118], 1
jmp 0x100473f4
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x58]
cmp eax, dword [ebp - 0x118]
jle 0x1004740f
mov dword [ebp - 0xb0], 1
jmp 0x10047416
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xb0], eax
jg 0x1004742d
mov dword [ebp - 0x150], 1
jmp 0x10047434
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1c8], eax
jmp 0x100472b4
cmp dword [ebp - 0x1a4], 0
je 0x10047450
jmp 0x10047455
jmp 0x10047266
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 8], 0
jmp 0x1004746e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jg 0x100474c9
mov dword [ebp - 0x218], 0x3ac16b40
mov dword [ebp - 0x230], 2
mov dword [ebp - 0x274], 0xfffffffd
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
jmp 0x10047467
mov dword [ebp - 0x68], 0
jmp 0x100474d9
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x100474ef
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x238], 0xfffffff8
jmp 0x100474d2
mov dword [ebp - 0x2c], 0xf4f46db5
mov dword [ebp - 0x78], 0
jmp 0x10047506
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jge 0x1004751c
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x120], 0xffffffff
jmp 0x100474ff
mov dword [ebp - 0x2c], 0
jmp 0x1004752c
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1004793a
mov dword [ebp - 0x138], 3
mov dword [ebp - 0x5c], 0
jmp 0x10047550
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x10047563
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x14], 0xffffffff
jmp 0x10047549
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x14], 0
jmp 0x10047588
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x14], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jl 0x10047935
mov dword [ebp - 4], 1
mov dword [ebp - 0xf8], 0xfad54077
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0
jmp 0x100475c4
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10047677
mov dword [ebp - 0x1ac], 0xfffffffe
mov dword [ebp - 0x1e0], 0xd3672969
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x1ac]
cmp eax, ecx
jl 0x10047611
mov dword [ebp - 0xc0], 1
jmp 0x10047618
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + eax*4 - 0x120]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x168]
mov dword [ebp + eax*4 - 0x120], ecx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x168]
lea eax, [ecx + eax - 0x246a63bb]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
je 0x1004765f
mov dword [ebp - 0xc8], 1
jmp 0x10047666
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x1e0], eax
jmp 0x100475bd
mov dword [ebp - 4], 0
jmp 0x10047687
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1c
jl 0x10047930
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x20c], 0xffffffff
mov dword [ebp - 0x208], 0xffffffff
mov dword [ebp - 0x64], 0
jmp 0x100476c9
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x100476df
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x170], 0x16e2
jmp 0x100476c2
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10047701
push 0
push 0
push 0x4bf
push 0x2282
push 0
call dword [sym.imp.USER32.dll_InsertMenuA]
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0
jne 0x1004784b
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0
jne 0x10047731
mov dword [ebp - 0x1b4], 1
jmp 0x10047738
and dword [ebp - 0x1b4], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0xfffffffb
jg 0x10047754
mov dword [ebp - 0x128], 1
jmp 0x1004775b
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 4]
jle 0x10047776
mov dword [ebp - 0xd0], 1
jmp 0x1004777d
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xd0], eax
jg 0x10047794
mov dword [ebp - 0x158], 1
jmp 0x1004779b
and dword [ebp - 0x158], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0x158], eax
jne 0x100477b9
mov dword [ebp - 0xd8], 1
jmp 0x100477c0
and dword [ebp - 0xd8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x170]
cmp dword [ebp - 0xd8], eax
je 0x100477e1
mov dword [ebp - 0x130], 1
jmp 0x100477e8
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x130], eax
jg 0x100477ff
mov dword [ebp - 0xe0], 1
jmp 0x10047806
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp - 0xe0], eax
jge 0x10047824
mov dword [ebp - 0x1d4], 1
jmp 0x1004782b
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 4]
add eax, 0x8e21
cmp eax, dword [ebp - 4]
jge 0x10047844
mov dword [ebp - 0x180], 1
jmp 0x1004784b
and dword [ebp - 0x180], 0
push 7
pop eax
cmp eax, 0x62e26a8a
jg 0x10047861
mov dword [ebp - 0xe8], 1
jmp 0x10047868
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x10047899
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0
je 0x10047899
mov dword [ebp - 0xf0], 1
jmp 0x100478a0
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xf0], eax
jge 0x100478b7
mov dword [ebp - 0x160], 1
jmp 0x100478be
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x244], eax
push 0xfffffffffffffffa
pop eax
test eax, eax
jne 0x100478f5
cmp dword [ebp - 0x2c], 0
jne 0x100478f5
and dword [ebp - 0x1bc], 0
jmp 0x100478ff
mov dword [ebp - 0x1bc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x140], 0xfffffffc
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax - 0x214], ecx
jmp 0x10047680
jmp 0x10047573
jmp 0x10047525
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x10047953
push 0x15b9
push 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0x7a97
push 0
call fcn.10044582
pop ecx
pop ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0xb4], 0x345fe46c
mov dword [ebp - 0x1c4], 2
mov dword [ebp - 0x250], 0xc13fe66
mov dword [ebp - 0xa0], 0x6b8d9637
mov dword [ebp - 0x19c], 0xfffffff7
mov dword [ebp - 0x50], 0xf665
mov dword [ebp - 0x1a0], 9
mov dword [ebp - 0x1c], 0
jmp 0x100479bb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100479d1
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x264], 0x45ccb972
jmp 0x100479b4
mov dword [ebp - 0x1c], 0
jmp 0x100479e1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100479f7
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1dc], 7
jmp 0x100479da
cmp dword [ebp - 0x20], 0
jne 0x10047b00
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa0]
jl 0x10047a1b
mov dword [ebp - 0x100], 1
jmp 0x10047a22
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x50]
cmp eax, 0x307b364f
je 0x10047a44
mov dword [ebp - 0x1e8], 1
jmp 0x10047a4b
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x298], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
cmp dword [ebp - 0x20], eax
jle 0x10047a72
mov dword [ebp - 0x178], 1
jmp 0x10047a79
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [ebp - 0x178]
jle 0x10047a93
mov dword [ebp - 0x108], 1
jmp 0x10047a9a
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xdbc7
jge 0x10047ab2
mov dword [ebp - 0x148], 1
jmp 0x10047ab9
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x148]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1dc]
push 4
pop edx
imul edx, edx, 0
mov edx, dword [ebp + edx - 0x1dc]
inc edx
push 4
pop esi
imul esi, esi, 0
mov dword [ebp + esi - 0x1dc], edx
cmp ecx, eax
je 0x10047b00
cmp dword [ebp - 0x50], 0
jne 0x10047b00
and dword [ebp - 0x110], 0
jmp 0x10047b0a
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x110]
sub eax, 0x20c8
sub eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x20]
jle 0x10047b2c
mov dword [ebp - 0xa4], 1
jmp 0x10047b33
and dword [ebp - 0xa4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
cmp dword [ebp - 0xa4], eax
jge 0x10047b54
mov dword [ebp - 0xac], 1
jmp 0x10047b5b
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0xac], eax
jge 0x10047b72
mov dword [ebp - 0xbc], 1
jmp 0x10047b79
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xbc], eax
jle 0x10047b90
mov dword [ebp - 0x80], 1
jmp 0x10047b94
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xffffffff
jae 0x10047ba6
mov dword [ebp - 0xcc], 1
jmp 0x10047bad
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x20], 0
jmp 0x10047bc9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x10047bec
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10047bea
push 0
push 0x12a1
push 0
call dword [sym.imp.GDI32.dll_GetBitmapBits]
jmp 0x10047bc2
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10047c06
push 0
push 0x5b3f
call fcn.10046b60
pop ecx
pop ecx
mov dword [ebp - 0x38], 0x825e7a66
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10047c28
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
mov dword [ebp - 0x38], 0
jmp 0x10047c38
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x14
jl 0x10047dc6
mov dword [ebp - 0x40], 0xa727
mov dword [ebp - 0x6c], 0
jmp 0x10047c59
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x10047c6f
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x240], 0xc86992f1
jmp 0x10047c52
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x38], 0xb568
je 0x10047c8d
mov dword [ebp - 0xe4], 1
jmp 0x10047c94
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x40]
inc eax
inc eax
je 0x10047cad
cmp dword [ebp - 0x40], 0
je 0x10047cad
mov dword [ebp - 0xd4], 1
jmp 0x10047cb4
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0x38]
je 0x10047cce
mov dword [ebp - 0xdc], 1
jmp 0x10047cd5
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x38]
jle 0x10047cf0
mov dword [ebp - 0xec], 1
jmp 0x10047cf7
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xec]
jg 0x10047d11
mov dword [ebp - 0xf4], 1
jmp 0x10047d18
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0xf4], 2
jne 0x10047d2d
mov dword [ebp - 0xfc], 1
jmp 0x10047d34
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0xe5a945cb
jbe 0x10047d4c
mov dword [ebp - 0x104], 1
jmp 0x10047d53
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x104], eax
jl 0x10047d6a
mov dword [ebp - 0x10c], 1
jmp 0x10047d71
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xf12a83a0
jne 0x10047d89
mov dword [ebp - 0x114], 1
jmp 0x10047d90
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x114], eax
jle 0x10047da7
mov dword [ebp - 0x11c], 1
jmp 0x10047dae
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x240], ecx
jmp 0x10047c31
push 1
lea eax, [ebp - 0x2c8]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10043e14
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x2bc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2bc]
lea edi, [ebp - 0x204]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x48], 0xfffffff7
mov dword [ebp - 0x1f8], 0xffffffff
mov dword [ebp - 0x1f4], 0xffffffff
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x1ec], 0xffffffff
mov dword [ebp - 0x26c], 0x9ced66e5
mov dword [ebp - 0x54], 0x3cfcb8f1
cmp dword [ebp - 0x48], 0
je 0x10048113
mov dword [ebp - 0x12c], 0x3f1571c0
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x18], 0
jmp 0x10047e63
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10047e79
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x194], 8
jmp 0x10047e5c
mov dword [ebp - 0x18], 0
jmp 0x10047e89
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10047e9f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x24c], 4
jmp 0x10047e82
mov dword [ebp - 0x48], 0xffffffeb
jmp 0x10047eaf
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 8
je 0x100480bb
mov dword [ebp - 0xc], 0x32937a3a
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x10047eda
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x100480b6
mov dword [ebp - 0x268], 9
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 1
call fcn.10044582
pop ecx
pop ecx
mov eax, 0x4e26c12a
test eax, eax
je 0x10047f24
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x194], 0
je 0x10047f24
mov dword [ebp - 0x124], 1
jmp 0x10047f2b
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x10047f4f
cmp dword [ebp - 0x48], 0
jne 0x10047f4f
and dword [ebp - 0x134], 0
jmp 0x10047f59
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x134], eax
jne 0x10047f70
mov dword [ebp - 0x13c], 1
jmp 0x10047f77
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x194]
cmp eax, dword [ebp - 0x13c]
jle 0x10047f95
mov dword [ebp - 0x144], 1
jmp 0x10047f9c
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0xc257a10d
jae 0x10047fb4
mov dword [ebp - 0x14c], 1
jmp 0x10047fbb
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x1f8], ecx
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x194]
imul eax, dword [ebp - 0xc]
cmp eax, 0xfffffffa
jne 0x10047fee
mov dword [ebp - 0x154], 1
jmp 0x10047ff5
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xffffffff
jg 0x1004800a
mov dword [ebp - 0x84], 1
jmp 0x10048011
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x194]
imul eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
je 0x1004805e
mov dword [ebp - 0x1a8], 0x925f
push 1
lea eax, [ebp - 0x1a8]
push eax
call fcn.10046b60
pop ecx
pop ecx
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1f8], 0
je 0x1004805c
jmp 0x100480b6
jmp 0x100480b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x194]
mov dword [ebp + ecx*4 - 0x194], eax
mov dword [ebp - 0x54], 0xffffffe3
jmp 0x10048082
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xfffffff1
jge 0x100480b1
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x194]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0xc]
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax*4 - 0x194]
mov dword [ebp + ecx - 0x24c], eax
jmp 0x1004807b
jmp 0x10047ed3
jmp 0x10047ea8
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x1f8]
cmp dword [ebp + eax - 0x194], ecx
jle 0x100480e2
mov dword [ebp - 0x90], 1
jmp 0x100480e9
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xed83
je 0x10048101
mov dword [ebp - 0x98], 1
jmp 0x10048108
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x54], eax
jmp 0x10048127
mov dword [ebp - 0x1b8], 0x42f34c93
mov dword [ebp - 0x1b8], 0xffffffff
mov dword [ebp - 0x28], 0xd29be1d9
mov dword [ebp - 0x74], 0
jmp 0x1004813e
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x10048154
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x1c0], 0x48261f9c
jmp 0x10048137
mov dword [ebp - 0x28], 0
jmp 0x10048164
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1004819a
mov dword [ebp - 0x7c], 0xfffffffc
mov dword [ebp - 0x7c], 0
jmp 0x10048181
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x10048198
mov eax, dword [ebp - 0x28]
cmp dword [ebp + eax*4 - 0x1c0], 0
je 0x10048196
jmp 0x10048198
jmp 0x1004817a
jmp 0x1004815d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x28], 4
cmp dword [ebp - 0x204], 0
je 0x100481d0
push 2
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
call dword [ebp - 0x204]
pop edi
pop esi
mov esp, ebp
pop ebp
ret