Function at 0x41616a
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x416314
lea eax, [ebp + 0x18]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x1e0]
movzx eax, byte [eax]
test eax, eax
je 0x4162e7
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
movzx eax, byte [eax]
test eax, eax
je 0x4161fd
push 0
push 0x205d
push 0x946
push 0x9e
push 0x2584
push 0xd10
push 0x23a1
push 0x2403
push 0x1fc3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
jmp 0x4162e5
mov dword [ebp - 0x294], 0xffffffff
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x416287
push 0x7436
push 0
push 0x1588
push 0x6fb1
push 0x7996
push 0x481d
push 1
push 0xb0a
push 0x22ca
push 0x14a3
push 0x30eb
push 0x1ad5
push 0x231a
push 0x775b
push 0x4b31
push 0x43ad
push 0x782f
push 0x4851
push 0x6cfc
push 1
push 0x4777
push 0x2b7e
push 0x2daa
push 0
call fcn.00413c75
add esp, 0x60
push 0x4904
push 0x6edf
push 0x59d5
push 0x7dbd
push 0
push 0x3a3f
push 0x72ef
push 0x4389
push 0x6a2e
push 0x3a4e
push 0
push 0x3e63
push 0x4920
push 1
push 0x2a47
push 0x545e
push 0x793c
push 0x24de
push 0x33d8
call fcn.0041df55
add esp, 0x4c
jmp 0x41630f
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x1d8], eax
push dword [ebp - 0x1d8]
push 0
push 1
push 0x2b30
push 0x52ee
call fcn.0040a24c
add esp, 0x14
jmp 0x41759a
lea eax, [ebp + 8]
mov dword [ebp - 0x178], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x178]
movzx eax, byte [eax]
test eax, eax
je 0x417571
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x17c]
movzx eax, byte [eax]
test eax, eax
je 0x416382
push 1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectPalette]
jmp 0x41756f
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 0x7f6af112
mov dword [ebp - 0x184], 0xfffffff8
mov dword [ebp - 0x58], 0x11
jmp 0x4163ac
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xa
jl 0x4163c9
push 0
push 0
call fcn.00421efc
pop ecx
pop ecx
mov dword [ebp - 0x184], 0xffffffff
jmp 0x4163a5
push 0xd69
push 0
push 0x1ecd
call fcn.0041399c
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1bc], 0xe0a8eac8
push 0
call fcn.004265f8
pop ecx
lea eax, [ebp - 0x1bc]
push eax
push 0
push 0x6dee
call fcn.0040db67
add esp, 0xc
and dword [ebp - 0x68], 0
jmp 0x416430
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
add eax, 0x28
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x68], eax
jge 0x41756f
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x64], 0
jmp 0x416459
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x41646c
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x48], 0x167f
jmp 0x416452
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x48]
cmp dword [ebp + eax - 0x48], ecx
jge 0x41648e
mov dword [ebp - 0x14c], 1
jmp 0x416495
and dword [ebp - 0x14c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
imul eax, dword [ebp - 0x14c]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x48]
jl 0x4164be
mov dword [ebp - 0x154], 1
jmp 0x4164c5
and dword [ebp - 0x154], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x154], eax
jge 0x4164e3
mov dword [ebp - 0x108], 1
jmp 0x4164ea
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x48], 0x8974
imul eax, dword [ebp - 0x108]
cmp eax, 0xffffffff
je 0x416510
mov dword [ebp - 0xf4], 1
jmp 0x416517
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
add eax, dword [ebp - 0xf4]
je 0x4166a3
mov dword [ebp - 0x1c], 0x78f4f823
mov dword [ebp - 0x1c], 1
jmp 0x416544
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x4166a1
push 1
lea ecx, [ebp - 0x160]
call fcn.0042ec30
mov dword [ebp - 0x18c], 0xf3b06d9e
lea eax, [ebp - 0x160]
push eax
push 0
lea eax, [ebp - 0x284]
push eax
push 0x370b
call fcn.00427236
add esp, 0x10
push 0
lea ecx, [ebp - 0x160]
call fcn.0042ed1e
cmp dword [eax], 0
je 0x4165a4
lea ecx, [ebp - 0x160]
call fcn.0042ed02
jmp 0x4166a1
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x4165ca
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x4165ca
mov dword [ebp - 0x94], 1
jmp 0x4165d1
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x94]
test eax, eax
je 0x4165e6
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x4165f6
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x4165f6
and dword [ebp - 0x128], 0
jmp 0x416600
mov dword [ebp - 0x128], 1
push 0
lea ecx, [ebp - 0x160]
call fcn.0042ed1e
mov eax, dword [eax]
sub eax, dword [ebp - 0x128]
mov dword [ebp - 0x34], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0x1c], eax
je 0x416633
mov dword [ebp - 0x9c], 1
jmp 0x41663a
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0x160]
call fcn.0042ed1e
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [eax]
je 0x41665d
mov dword [ebp - 0xfc], 1
jmp 0x416664
and dword [ebp - 0xfc], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x1c], eax
je 0x41667e
mov dword [ebp - 0xa4], 1
jmp 0x416685
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0x160]
call fcn.0042ed02
jmp 0x41653d
jmp 0x4166c3
mov dword [ebp - 0x34], 1
jmp 0x4166b3
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x4166c3
push 0
call fcn.0042aed0
pop ecx
jmp 0x4166ac
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x2a0], 1
mov dword [ebp - 0x2a8], 2
mov dword [ebp - 0x194], 0x37b04800
mov dword [ebp - 0x16c], 3
mov dword [ebp - 0x1dc], 0xd7839892
mov dword [ebp - 0x2b0], 0xfbb6bc3e
mov dword [ebp - 0x170], 0x38330377
mov dword [ebp - 0x1cc], 0xffffffff
mov dword [ebp - 0x1c4], 8
mov dword [ebp - 0x1a4], 0xd8ef068c
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0x2b8], 0x33ee6768
push 4
lea ecx, [ebp - 0x2c8]
call fcn.0042ec30
mov dword [ebp - 0x19c], 0xffffffff
mov dword [ebp - 0x4c], 0
jmp 0x416769
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x416785
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c8]
call fcn.0042ed1e
mov dword [eax], 0xef339200
jmp 0x416762
mov dword [ebp - 0x30], 0
jmp 0x416795
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x10
jl 0x416876
mov dword [ebp - 0x2e0], 0x72159124
mov dword [ebp - 0x2e8], 1
mov dword [ebp - 0x2b4], 0xfffffff8
mov dword [ebp - 0x23c], 0xfffffffd
mov dword [ebp - 0x248], 0x5969a22d
mov dword [ebp - 0x2e4], 0x78c38ec3
mov dword [ebp - 0x250], 0xfffffff8
mov dword [ebp - 0x29c], 0x86aeba4d
mov dword [ebp - 0x258], 0xfffffff7
mov dword [ebp - 0x2bc], 0x876a47cd
mov dword [ebp - 0x1e4], 0x3281
mov dword [ebp - 0xc], 0
jmp 0x41681d
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x416833
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x304], 2
jmp 0x416816
mov dword [ebp - 0xc], 0
jmp 0x416843
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x416859
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x260], 0xffffffff
jmp 0x41683c
push 0
push 0
lea eax, [ebp - 0x1e4]
push eax
push 0x4292
call fcn.00411241
add esp, 0x10
jmp 0x41678e
push 0x1821
lea eax, [ebp - 0x194]
push eax
push 0x2fd8
lea eax, [ebp - 0x1c4]
push eax
push 0x7806
push 0x2bd3
push 1
push 0x741c
lea eax, [ebp - 0x19c]
push eax
push 0x4ff0
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 0x6d7b
lea eax, [ebp - 0x1cc]
push eax
push 0x1691
push 1
lea eax, [ebp - 0x1ac]
push eax
push 0
lea eax, [ebp - 0x16c]
push eax
push 1
push 0x7de
lea eax, [ebp - 0x170]
push eax
push 0x734
call fcn.0040d0f1
add esp, 0x64
lea ecx, [ebp - 0x2c8]
call fcn.0042ed02
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x416921
mov dword [ebp - 0x140], 1
jmp 0x416928
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x2a4], 1
mov dword [ebp - 0x268], 1
mov dword [ebp - 0x2dc], 0x50bf34fd
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x2ac], 8
mov dword [ebp - 0x60], 0
jmp 0x41699e
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x4169b4
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x2f0], 0x68876942
jmp 0x416997
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1fc]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1fc], eax
mov byte [ebp - 0x15], 0
push 0x14b
push 1
push 0
push 1
lea eax, [ebp - 0x15]
push eax
call fcn.0042263a
add esp, 0x14
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x416a03
mov dword [ebp - 0xac], 1
jmp 0x416a0a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x54], 1
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x204], 1
lea ecx, [ebp - 0x71]
call fcn.0042ed2d
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.0042ed30
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2d8]
call fcn.0042ecdc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x24], 0
jne 0x416aae
cmp dword [ebp - 4], 0
je 0x416ac0
cmp dword [ebp - 4], 0
je 0x416ac0
mov dword [ebp - 0x88], 1
jmp 0x416ac7
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x88]
imul eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
jg 0x416ae5
mov dword [ebp - 0xb4], 1
jmp 0x416aec
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xb4]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jbe 0x416b11
mov dword [ebp - 0xbc], 1
jmp 0x416b18
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x54], 0
jne 0x416b51
cmp dword [ebp - 0x54], 0
jne 0x416b51
and dword [ebp - 0x130], 0
jmp 0x416b5b
mov dword [ebp - 0x130], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x130], eax
jg 0x416b72
mov dword [ebp - 0xc4], 1
jmp 0x416b79
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc4], eax
jl 0x416b90
mov dword [ebp - 0x110], 1
jmp 0x416b97
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 4
jae 0x416bac
mov dword [ebp - 0xcc], 1
jmp 0x416bb3
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xcc], eax
jg 0x416bca
mov dword [ebp - 0x150], 1
jmp 0x416bd1
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x150], eax
jge 0x416be8
mov dword [ebp - 0xd4], 1
jmp 0x416bef
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xd4], eax
jg 0x416c06
mov dword [ebp - 0x118], 1
jmp 0x416c0d
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 3
jbe 0x416c22
mov dword [ebp - 0xdc], 1
jmp 0x416c29
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xdc], eax
jle 0x416c40
mov dword [ebp - 0x138], 1
jmp 0x416c47
and dword [ebp - 0x138], 0
imul eax, dword [ebp - 0x138], 7
cmp eax, dword [ebp - 4]
jg 0x416c5f
mov dword [ebp - 0xe4], 1
jmp 0x416c66
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xe4], eax
jge 0x416c7d
mov dword [ebp - 0x120], 1
jmp 0x416c84
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x24], eax
jge 0x416cb9
mov dword [ebp - 0x148], 1
jmp 0x416cc0
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
ja 0x416cda
mov dword [ebp - 0x8c], 1
jmp 0x416ce1
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x2d8]
call fcn.0042ed1e
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov byte [ebp - 0x1d], 0
push 0x30e9
push 0x3860
push 0x3404
push 0x6b98
push 0x4308
push 0x670b
push 0xb7c
push 0x28f7
push 0x1055
lea eax, [ebp - 0x1d]
push eax
push 0x5fea
push 0x6663
push 0
push 0x883
call fcn.004178ab
add esp, 0x38
lea ecx, [ebp - 0x2d8]
call fcn.0042ed02
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x416d68
mov dword [ebp - 0x90], 1
jmp 0x416d6f
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1a8], eax
push 0x6b44
push 0
push 0x483c
push 0x3213
push 0x7209
push 0x486a
push 0x2219
push 0x1a7f
call fcn.0040ef39
add esp, 0x20
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x416e76
push 0x4000
mov eax, dword [ebp - 8]
push dword [eax + 0x10]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0xbafe
push 0xc1ea
call fcn.00407018
pop ecx
pop ecx
call eax
push 2
lea ecx, [ebp - 0x21c]
call fcn.0042ec30
mov dword [ebp - 0x190], 0x57a7c203
mov dword [ebp - 0x188], 0xeb64d07d
mov dword [ebp - 0x180], 0x813c27f3
mov dword [ebp - 0x168], 0xfffffff9
push 0x40c
push 0
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0041d778
add esp, 0x10
push 0
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x6c4e
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x188]
push eax
push 0x3ae1
lea eax, [ebp - 0x190]
push eax
call fcn.0041b723
add esp, 0x20
lea ecx, [ebp - 0x21c]
call fcn.0042ed02
jmp 0x416420
mov dword [ebp - 0x2c], 0xf14c90d2
mov dword [ebp - 0x28], 0xfffffffa
push 3
lea ecx, [ebp - 0x228]
call fcn.0042ec30
mov dword [ebp - 0xb0], 0x132d683a
mov dword [ebp - 0x14], 0xb8842b4c
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xc8], 0xfffffffe
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x3c], 0
jmp 0x416ecd
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x416ee3
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x84], 0
jmp 0x416ec6
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x70c4
push 0
call fcn.004157b9
add esp, 0x10
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x240], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x84]
add eax, dword [ebp - 0x28]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x84]
sub eax, dword [ebp - 0x2c]
cmp eax, 0x1f0d
jne 0x416f56
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
jne 0x416f56
and dword [ebp - 0x98], 0
jmp 0x416f60
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffb
jae 0x416f7b
mov dword [ebp - 0x70], 1
jmp 0x416f7f
and dword [ebp - 0x70], 0
push 0
lea ecx, [ebp - 0x228]
call fcn.0042ed1e
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
cmp dword [ebp - 0x70], 0
je 0x416fa9
cmp dword [ebp - 0x2c], 0
je 0x416fa9
mov dword [ebp - 0xa0], 1
jmp 0x416fb0
and dword [ebp - 0xa0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
cmp dword [ebp - 0xa0], eax
jg 0x416fd1
mov dword [ebp - 0xa8], 1
jmp 0x416fd8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x84]
sub ecx, dword [ebp - 0xb0]
cmp ecx, dword [ebp + eax - 0x84]
jl 0x417018
mov eax, 0x9a488d51
test eax, eax
je 0x417018
mov dword [ebp - 0x78], 1
jmp 0x41701c
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0x84], ecx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x78]
jne 0x417040
mov dword [ebp - 0xb8], 1
jmp 0x417047
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
add eax, 0x451dba1d
imul eax, eax, 0xffff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x417086
xor eax, eax
jne 0x417086
and dword [ebp - 0xd0], 0
jmp 0x417090
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x244], eax
push 6
pop eax
cmp eax, 0x3c17a3f0
je 0x4170c9
mov byte [ebp - 0x18], 0
push 1
push 0x2358
push 0
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.00428b18
add esp, 0x14
jmp 0x4170f7
mov dword [ebp - 0x198], 0xe1f230b5
push 0x8eb
lea eax, [ebp - 0x198]
push eax
push 0
push 0x6365
push 0x4d7c
push 0
push 1
call fcn.0040dc5c
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x417107
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x41719e
mov dword [ebp - 0x1a0], 0x60b96bc9
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x84]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x84]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x2c]
je 0x417161
mov eax, 0x2b0969e0
test eax, eax
je 0x417161
mov dword [ebp - 0xd8], 1
jmp 0x417168
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x84]
cmp dword [ebp - 0xd8], eax
je 0x417186
mov dword [ebp - 0xe0], 1
jmp 0x41718d
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1a0], eax
jmp 0x417100
lea ecx, [ebp - 0x228]
call fcn.0042ed02
push 0
lea eax, [ebp - 0x1d0]
push eax
push 1
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 8]
push eax
push 0
call fcn.00426ddc
add esp, 0x20
mov dword [ebp - 0x10], 0xc93b4e1a
mov dword [ebp - 0x38], 0x8fb0b4
mov dword [ebp - 0x5c], 0
jmp 0x4171f5
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x41720b
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x238], 0x5d0d658e
jmp 0x4171ee
push 0x523f
push 1
push 0x5aa5
push 0xcc5
push 1
lea eax, [ebp - 0x10]
push eax
push 0x4b8b
push 1
push 0x5d87
push 0
push 0
call fcn.00409a1a
add esp, 0x2c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x264], eax
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x238], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x26c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x238]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x10], 3
cmp dword [ebp - 0x10], 0x13a6c9cd
jl 0x41728c
mov dword [ebp - 0xe8], 1
jmp 0x417293
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xe8], eax
jl 0x4172aa
mov dword [ebp - 0xf0], 1
jmp 0x4172b1
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0xfffffffe
jle 0x4172c6
mov dword [ebp - 0xf8], 1
jmp 0x4172cd
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xf8], eax
jg 0x4172e4
mov dword [ebp - 0x100], 1
jmp 0x4172eb
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x100], eax
je 0x417442
mov dword [ebp - 0x40], 0xda862840
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x10], eax
jg 0x41731f
mov dword [ebp - 0x12c], 1
jmp 0x417326
and dword [ebp - 0x12c], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x238], 0
jne 0x417345
cmp dword [ebp - 0x10], 0
jne 0x417345
and dword [ebp - 0x10c], 0
jmp 0x41734f
mov dword [ebp - 0x10c], 1
cmp dword [ebp - 0x10c], 0x8e10
jge 0x417361
cmp dword [ebp - 0x40], 0
jne 0x417370
cmp dword [ebp - 0x40], 0
jne 0x417370
and dword [ebp - 0x114], 0
jmp 0x41737a
mov dword [ebp - 0x114], 1
cmp dword [ebp - 0x114], 0x8862
jg 0x417392
mov dword [ebp - 0x11c], 1
jmp 0x417399
and dword [ebp - 0x11c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x238]
cmp dword [ebp - 0x11c], eax
je 0x4173b9
mov dword [ebp - 0x124], 1
jmp 0x4173c0
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x124]
add eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x40]
jg 0x4173e1
mov dword [ebp - 0x134], 1
jmp 0x4173e8
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x10], eax
jg 0x417408
mov dword [ebp - 0x13c], 1
jmp 0x41740f
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x13c]
jg 0x417438
mov byte [ebp - 0x16], 0
push 0
push 0x1451
push 0x41c6
lea eax, [ebp - 0x16]
push eax
call fcn.004120cd
add esp, 0x10
jmp 0x417440
push 0
call fcn.00410e47
pop ecx
jmp 0x417475
mov dword [ebp - 0x1c8], 0xa3c9
push 0x188c
push 0
push 0x1a3
call fcn.00423c75
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x1c8]
push eax
call fcn.00411351
add esp, 0xc
push 0x13e4
lea eax, [ebp - 8]
push eax
push 0
push 0x2462
lea eax, [ebp - 0x50]
push eax
push 0x2da9
push 0x69d6
lea eax, [ebp - 0x144]
push eax
push 1
push 0x1385
push 0x65b9
push 0x1d35
push 0x65eb
push 0
push 0x3623
push 0x40e7
call fcn.0041a018
add esp, 0x40
push 0
push 0x3b59
push 0x1c68
call fcn.00412b96
add esp, 0xc
cmp dword [ebp - 0x144], 0
jbe 0x41756a
push 0x1968
push 0x888
push 0x4fea
push 0x30f0
push 0x3fc3
push 0x1138
push 1
push 0x2e4d
push 0xfff
push 1
push 0x7c43
push 0x324f
push 0x4733
push 0
push 0x5097
push 0x3d07
push 0x522a
push 0x6bc6
call fcn.004178e4
add esp, 0x48
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x1d0]
push dword [ebp - 0x144]
mov eax, dword [ebp - 8]
push dword [eax + 8]
push 0xbafe
push 0xb412
call fcn.00407018
pop ecx
pop ecx
call eax
jmp 0x416420
jmp 0x41759a
push 0x527a
push 0x6785
push 1
push 1
push 0x4fe
push 0
push 0x52dd
push 1
push 0x2966
call fcn.00414d52
add esp, 0x24
mov esp, ebp
pop ebp
ret