Function at 0x1004e436
Capabilities:
Extract resource via kernel32 functions
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007f20b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x574
push esi
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x68], 0xfffffffa
push 1
lea ecx, [ebp - 0x40c]
call fcn.10016cb0
and dword [ebp - 4], 0
mov dword [ebp - 0xd4], 0
jmp 0x1004e48e
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 1
jge 0x1004e4b0
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x40c]
call fcn.10016d1d
mov dword [eax], 0x67f8b4df
jmp 0x1004e481
cmp dword [ebp - 0x10], 0
jne 0x1004e4cb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x1004e4cb
and dword [ebp - 0x3a0], 0
jmp 0x1004e4d5
mov dword [ebp - 0x3a0], 1
cmp dword [ebp - 0x10], 0
jne 0x1004e514
mov eax, 0x7540
sub eax, dword [ebp - 0x10]
cmp eax, 0xa8afc1da
jb 0x1004e4f6
mov dword [ebp - 0x3b8], 1
jmp 0x1004e4fd
and dword [ebp - 0x3b8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48c], eax
xor eax, eax
inc eax
jne 0x1004e514
and dword [ebp - 0x270], 0
jmp 0x1004e51e
mov dword [ebp - 0x270], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x270], eax
jle 0x1004e535
mov dword [ebp - 0x3c0], 1
jmp 0x1004e53c
and dword [ebp - 0x3c0], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x10], 0xe6b6
jle 0x1004e55a
mov dword [ebp - 0x354], 1
jmp 0x1004e561
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x354], eax
je 0x1004e578
mov dword [ebp - 0x35c], 1
jmp 0x1004e57f
and dword [ebp - 0x35c], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x35c]
je 0x1004e5bc
mov dword [ebp - 0x10], 0
jmp 0x1004e59a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1004e5b7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40c]
call fcn.10016d1d
cmp dword [eax], 0
je 0x1004e5b5
jmp 0x1004e5b7
jmp 0x1004e593
jmp 0x1004e919
mov dword [ebp - 0xec], 0x2836
mov dword [ebp - 0xac], 0x5464cd02
mov dword [ebp - 0x10], 0x13
jmp 0x1004e5e0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x15
jle 0x1004e919
mov dword [ebp - 0x94], 0xfffffff7
mov dword [ebp - 0x2a4], 0x6b1f8487
mov dword [ebp - 0x68], 0
jmp 0x1004e60e
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffef
jge 0x1004e8ea
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x84], 0xd4885c3b
cmp dword [ebp - 0xec], 0x7a75e3aa
jge 0x1004e644
mov dword [ebp - 0x368], 1
jmp 0x1004e64b
and dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x368], eax
jge 0x1004e665
mov dword [ebp - 0x28c], 1
jmp 0x1004e66c
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0x28c]
sub eax, dword [ebp - 0x98]
cmp dword [ebp - 0xec], eax
je 0x1004e68c
mov dword [ebp - 0x138], 1
jmp 0x1004e693
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
sub eax, 0x54f3c1a1
cmp dword [ebp - 0x94], eax
jne 0x1004e6c4
push 0
lea ecx, [ebp - 0x40c]
call fcn.10016d1d
cmp dword [eax], 0
je 0x1004e6c4
mov dword [ebp - 0x294], 1
jmp 0x1004e6cb
and dword [ebp - 0x294], 0
push 0
lea ecx, [ebp - 0x40c]
call fcn.10016d1d
mov ecx, dword [ebp - 0x294]
mov dword [eax], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x98], 0x981c5860
je 0x1004e719
cmp dword [ebp - 0x94], 0
je 0x1004e719
mov dword [ebp - 0x140], 1
jmp 0x1004e720
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0xd1ed
jle 0x1004e738
mov dword [ebp - 0x29c], 1
jmp 0x1004e73f
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x29c], eax
jl 0x1004e756
mov dword [ebp - 0x148], 1
jmp 0x1004e75d
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x148], eax
jl 0x1004e775
mov eax, 0xa3e2be8c
test eax, eax
je 0x1004e81d
mov dword [ebp - 0x2ac], 0xcdf493ab
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x490], eax
cmp dword [ebp - 0x10], 0
je 0x1004e7be
cmp dword [ebp - 0x98], 0
je 0x1004e7be
mov dword [ebp - 0x150], 1
jmp 0x1004e7c5
and dword [ebp - 0x150], 0
imul eax, dword [ebp - 0x10], 0x8c6a
imul ecx, dword [ebp - 0x150], 0x5a80
cmp eax, ecx
je 0x1004e7e1
cmp dword [ebp - 0x2ac], 0
mov eax, dword [ebp - 0x2ac]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x52b7
jne 0x1004e805
mov dword [ebp - 0x158], 1
jmp 0x1004e80c
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xac], eax
jmp 0x1004e8b0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0xec], 0x6914
jge 0x1004e85f
mov dword [ebp - 0x2b4], 1
jmp 0x1004e866
and dword [ebp - 0x2b4], 0
imul eax, dword [ebp - 0x2b4], 0xfff9
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x84], 0
jmp 0x1004e88f
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x11
je 0x1004e8b0
mov dword [ebp - 0x3c8], 0xfae
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c8], eax
jmp 0x1004e882
mov byte [ebp - 0x5d], 0
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x1004e8e5
push 0xee1
push 0
push 0
push 0x1eeb
push 0x1ed3
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_GetDIBits]
jmp 0x1004e607
mov byte [ebp - 0x60], 0
movzx eax, byte [ebp - 0x60]
test eax, eax
je 0x1004e914
push 0x2444
push 0x17ad
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
jmp 0x1004e5d9
mov byte [ebp - 0x79], 0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x1004e92d
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call fcn.10016d18
mov dword [ebp - 0x14], 0x53606de7
mov dword [ebp - 0xd0], 0xfffffffb
mov dword [ebp - 0xd0], 0xffffffeb
jmp 0x1004e966
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0xa
jne 0x1004e9d9
mov dword [ebp - 0x70], 1
mov dword [ebp - 0xb4], 0
jmp 0x1004e98f
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x1004e9ab
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x540], 0
jmp 0x1004e982
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x70], 0
jmp 0x1004e9c1
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x1004e9d7
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x540], 4
jmp 0x1004e9ba
jmp 0x1004e959
push 1
lea ecx, [ebp - 0x438]
call fcn.10016cb0
mov dword [ebp - 4], 1
mov dword [ebp - 0x90], 0x52eaa29c
mov dword [ebp - 0x2c], 0xbbf9acf2
mov dword [ebp - 0x9c], 0xc865b49d
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x58], 0x520ea0c8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff8
jl 0x1004ea31
mov dword [ebp - 0x160], 1
jmp 0x1004ea38
and dword [ebp - 0x160], 0
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x90], 0x6880
jne 0x1004ea57
mov dword [ebp - 0x2bc], 1
jmp 0x1004ea5e
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x160]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x2bc]
jle 0x1004ea93
mov eax, 0x3cc47d1a
test eax, eax
je 0x1004ea93
mov dword [ebp - 0x168], 1
jmp 0x1004ea9a
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x90]
je 0x1004eabb
mov dword [ebp - 0x2c4], 1
jmp 0x1004eac2
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
dec eax
je 0x1004ec23
cmp dword [ebp - 0x2c], 0
je 0x1004ec23
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x3d0], 0xfffffff7
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x1004ebc8
cmp dword [ebp - 0x50], 0
je 0x1004eb18
cmp dword [ebp - 0x50], 0
je 0x1004eb18
mov dword [ebp - 0x170], 1
jmp 0x1004eb1f
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 1
jg 0x1004eb34
mov dword [ebp - 0x2cc], 1
jmp 0x1004eb3b
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x50], eax
jne 0x1004eb6d
cmp dword [ebp - 0x58], 0
jne 0x1004eb6d
and dword [ebp - 0x178], 0
jmp 0x1004eb77
mov dword [ebp - 0x178], 1
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x9c], eax
jl 0x1004eb9a
mov dword [ebp - 0x2d4], 1
jmp 0x1004eba1
and dword [ebp - 0x2d4], 0
cmp dword [ebp - 0x2d4], 0xffffffff
jl 0x1004ebb6
mov dword [ebp - 0x180], 1
jmp 0x1004ebbd
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x180], eax
jg 0x1004ebda
cmp dword [ebp - 0x50], 0
je 0x1004ebda
mov dword [ebp - 0x2dc], 1
jmp 0x1004ebe1
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x3d0], eax
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x1004ec1e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x9a8
push 0x39e
push 0x2604
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x1004ecf6
mov dword [ebp - 0xf4], 0x2e8b
mov dword [ebp - 0x2c], 0xfffffff2
jmp 0x1004ec3d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffffd
jge 0x1004ecf6
mov dword [ebp - 0x2e4], 0xbad4
mov dword [ebp - 0x3e4], 9
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xf4], eax
jge 0x1004ec7b
mov dword [ebp - 0x188], 1
jmp 0x1004ec82
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x2e4]
sub eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x2c]
je 0x1004ecde
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x2e4], eax
jne 0x1004ecbc
mov eax, 0xd3c5ebb4
test eax, eax
jne 0x1004ecbc
and dword [ebp - 0x190], 0
jmp 0x1004ecc6
mov dword [ebp - 0x190], 1
cmp dword [ebp - 0x190], 0xb46f9f1
jne 0x1004ecde
mov dword [ebp - 0x2ec], 1
jmp 0x1004ece5
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x3e4], eax
jmp 0x1004ec36
mov eax, dword [ebp - 0x2c]
neg eax
cmp dword [ebp - 0x78], eax
jl 0x1004ed0c
mov dword [ebp - 0x198], 1
jmp 0x1004ed13
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4d0], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x4d8], eax
mov eax, dword [ebp - 0x2c]
sub eax, 0xfff9
cmp eax, dword [ebp - 0x2c]
jle 0x1004ed4d
mov dword [ebp - 0x2f4], 1
jmp 0x1004ed54
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2f4]
jne 0x1004ed6b
mov dword [ebp - 0x1a0], 1
jmp 0x1004ed72
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0x911b6bef
jne 0x1004ed8a
mov dword [ebp - 0x2fc], 1
jmp 0x1004ed91
and dword [ebp - 0x2fc], 0
cmp dword [ebp - 0x2fc], 0x6ed9
jne 0x1004edb2
cmp dword [ebp - 0x90], 0
je 0x1004edb2
mov dword [ebp - 0x1a8], 1
jmp 0x1004edb9
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 2
jl 0x1004edce
mov dword [ebp - 0x304], 1
jmp 0x1004edd5
and dword [ebp - 0x304], 0
cmp dword [ebp - 0x304], 0x1dea90cf
jl 0x1004eded
mov dword [ebp - 0x1b0], 1
jmp 0x1004edf4
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x1b0], eax
je 0x1004ee0e
mov dword [ebp - 0x30c], 1
jmp 0x1004ee15
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x26c], 0x6fc33146
mov dword [ebp - 0x4c], 0xfffffff6
mov dword [ebp - 0x30], 0xa6c65b0b
mov dword [ebp - 0x1e8], 0x3fa8726a
mov dword [ebp - 0x4c], 2
jmp 0x1004ee50
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffe6
jne 0x1004ef33
mov dword [ebp - 0x8c], 0xf390197f
mov dword [ebp - 0xd8], 0
jmp 0x1004ee7d
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 4
jge 0x1004ee99
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x580], 0xfffffffc
jmp 0x1004ee70
mov dword [ebp - 0x8c], 3
jmp 0x1004eeb2
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x1004eedb
mov dword [ebp - 0x4e0], 0xffffffff
mov dword [ebp - 0x3ec], 0x753e1e01
mov dword [ebp - 0x3ec], 0
jmp 0x1004eea5
cmp dword [ebp - 0x8c], 0
jne 0x1004eefd
push 4
pop eax
test eax, eax
je 0x1004eef4
cmp dword [ebp - 0x8c], 0
jne 0x1004eefd
and dword [ebp - 0x1b8], 0
jmp 0x1004ef07
mov dword [ebp - 0x1b8], 1
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x1b8]
jg 0x1004ef1e
mov dword [ebp - 0x314], 1
jmp 0x1004ef25
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x30], eax
jmp 0x1004ee49
cmp dword [ebp - 0x30], 0
je 0x1004f0b5
mov dword [ebp - 0xfc], 0x389f
mov dword [ebp - 0x324], 0x317d239f
mov dword [ebp - 0x30], 0
jmp 0x1004ef61
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jge 0x1004f0b0
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x1c8], 0x34ab462a
mov dword [ebp - 0xbc], 0
jmp 0x1004ef95
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 4
jge 0x1004efb1
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x464], 1
jmp 0x1004ef88
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x48], 0
jmp 0x1004efca
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jg 0x1004f0ab
mov dword [ebp - 0xfc], 0xff2fd6b2
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp + eax*4 - 0x464], ecx
jg 0x1004f049
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ebp + ecx*4 - 0x464]
cmp dword [ebp + eax*4 - 0x464], ecx
jg 0x1004f01b
mov dword [ebp - 0x1c0], 1
jmp 0x1004f022
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x1c0], eax
jne 0x1004f049
mov eax, dword [ebp - 0x48]
cmp dword [ebp + eax*4 - 0x464], 0
je 0x1004f049
mov dword [ebp - 0x31c], 1
jmp 0x1004f050
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x324]
cmp dword [ebp - 0x31c], eax
je 0x1004f06a
mov dword [ebp - 0x3f4], 1
jmp 0x1004f071
and dword [ebp - 0x3f4], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x324], eax
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x1004f0a6
push 0
push 0x4e2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
jmp 0x1004efc3
jmp 0x1004ef5a
jmp 0x1004f29f
mov dword [ebp - 0x334], 0x675f713e
mov dword [ebp - 0xe0], 0
jmp 0x1004f0d8
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 2
jge 0x1004f0f4
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x37c], 3
jmp 0x1004f0cb
cmp dword [ebp - 0x30], 0
jne 0x1004f1b7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x37c]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4d4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x47c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x37c], 0x9c78
jl 0x1004f142
mov dword [ebp - 0x1d0], 1
jmp 0x1004f149
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 1
je 0x1004f164
cmp dword [ebp - 0x30], 0
je 0x1004f164
mov dword [ebp - 0x3fc], 1
jmp 0x1004f16b
and dword [ebp - 0x3fc], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x520], eax
mov eax, 0x446b
sub eax, 0xfffa
cmp eax, dword [ebp - 0x1e8]
jle 0x1004f192
mov dword [ebp - 0x32c], 1
jmp 0x1004f199
and dword [ebp - 0x32c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x37c]
cmp dword [ebp - 0x32c], eax
je 0x1004f1b7
and dword [ebp - 0x1d8], 0
jmp 0x1004f1c1
mov dword [ebp - 0x1d8], 1
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x1d8], eax
jl 0x1004f1db
mov dword [ebp - 0x1e0], 1
jmp 0x1004f1e2
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x334]
cmp dword [ebp - 0x1e0], eax
jg 0x1004f1fc
mov dword [ebp - 0x33c], 1
jmp 0x1004f203
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x33c], eax
jge 0x1004f21a
mov dword [ebp - 0x344], 1
jmp 0x1004f221
and dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x1e8]
add eax, dword [ebp - 0x344]
cmp eax, 0xadd7081d
jb 0x1004f240
mov dword [ebp - 0x34c], 1
jmp 0x1004f247
and dword [ebp - 0x34c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x37c]
cmp dword [ebp - 0x34c], eax
jg 0x1004f268
mov dword [ebp - 0x1f4], 1
jmp 0x1004f26f
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1f4], eax
jle 0x1004f28c
mov eax, 0x399d6db7
test eax, eax
jne 0x1004f28c
and dword [ebp - 0x1f8], 0
jmp 0x1004f296
mov dword [ebp - 0x1f8], 1
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x400], 0xaa4807c1
mov dword [ebp - 0x484], 3
mov byte [ebp - 0x62], 0
movzx eax, byte [ebp - 0x62]
test eax, eax
je 0x1004f2c7
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov byte [ebp - 0x5f], 0
movzx eax, byte [ebp - 0x5f]
test eax, eax
je 0x1004f2d9
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov dword [ebp - 0x44], 0
jmp 0x1004f2e9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004f2fc
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x28], 0xe3556834
jmp 0x1004f2e2
push 0
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1004c4b0
add esp, 0xc
mov dword [ebp - 0x40], 0x7bf48c44
mov dword [ebp - 0x2b8], 0xd7cbae8b
mov dword [ebp - 0x108], 0x2c02a306
mov dword [ebp - 0x104], 0x3063
mov dword [ebp - 0x210], 0xfffffff8
push 3
lea ecx, [ebp - 0x41c]
call fcn.10016cb0
mov byte [ebp - 4], 2
mov dword [ebp - 0x3b0], 0xeb81
mov dword [ebp - 0x3e8], 0xd786ff52
mov dword [ebp - 0xc4], 0
jmp 0x1004f37e
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 3
jge 0x1004f3a0
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x41c]
call fcn.10016d1d
mov dword [eax], 1
jmp 0x1004f371
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4dc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x494], eax
imul eax, dword [ebp - 0x40], 0x1c23
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x1004f3ff
cmp dword [ebp - 0x104], 0
jne 0x1004f3ff
and dword [ebp - 0x200], 0
jmp 0x1004f409
mov dword [ebp - 0x200], 1
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0x200], eax
jge 0x1004f423
mov dword [ebp - 0x318], 1
jmp 0x1004f42a
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x318], eax
jg 0x1004f441
mov dword [ebp - 0x208], 1
jmp 0x1004f448
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x208]
je 0x1004f465
mov eax, 0x4c7ba3f3
test eax, eax
jne 0x1004f465
and dword [ebp - 0x2c0], 0
jmp 0x1004f46f
mov dword [ebp - 0x2c0], 1
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x49c], eax
push 2
lea ecx, [ebp - 0x41c]
call fcn.10016d1d
mov esi, dword [ebp - 0x3b0]
push 0
lea ecx, [ebp - 0x41c]
call fcn.10016d1d
sub esi, dword [eax]
dec esi
jne 0x1004f4c7
cmp dword [ebp - 0x108], 0
jne 0x1004f4c7
and dword [ebp - 0x348], 0
jmp 0x1004f4d1
mov dword [ebp - 0x348], 1
cmp dword [ebp - 0x348], 0x473e
jg 0x1004f4e9
mov dword [ebp - 0x3ac], 1
jmp 0x1004f4f0
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x508], eax
push 2
lea ecx, [ebp - 0x41c]
call fcn.10016d1d
mov eax, dword [eax]
dec eax
mov dword [ebp - 0x3e8], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x41c]
call fcn.10016d18
mov dword [ebp - 0x44], 0
jmp 0x1004f531
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1004f547
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x564], 0x2c3978d1
jmp 0x1004f52a
mov dword [ebp - 0x88], 0xfb0b0297
mov dword [ebp - 0x360], 0xf4caa5d7
mov dword [ebp - 0x240], 5
mov dword [ebp - 0x4a4], 0xfffffff6
mov dword [ebp - 0xe8], 0
jmp 0x1004f588
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 3
jge 0x1004f5a4
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x54c], 0xfffffffb
jmp 0x1004f57b
mov dword [ebp - 0x88], 2
jmp 0x1004f5bd
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x1004f7a0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x420], 0x8f492357
mov dword [ebp - 0x34], 2
jmp 0x1004f5eb
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1004f79b
mov dword [ebp - 0x80], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x80], eax
jge 0x1004f619
mov dword [ebp - 0x220], 1
jmp 0x1004f620
and dword [ebp - 0x220], 0
cmp dword [ebp - 0x80], 0
ja 0x1004f632
mov dword [ebp - 0x218], 1
jmp 0x1004f639
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x218], eax
jne 0x1004f650
mov dword [ebp - 0x2c8], 1
jmp 0x1004f657
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x2c8], eax
jl 0x1004f66e
mov dword [ebp - 0x320], 1
jmp 0x1004f675
and dword [ebp - 0x320], 0
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x320]
jl 0x1004f68f
mov dword [ebp - 0x228], 1
jmp 0x1004f696
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x228], eax
je 0x1004f6b3
cmp dword [ebp - 0x80], 0
je 0x1004f6b3
mov dword [ebp - 0x2d0], 1
jmp 0x1004f6ba
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x2d0]
jge 0x1004f6d4
mov dword [ebp - 0x230], 1
jmp 0x1004f6db
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jne 0x1004f6fe
or eax, 0xffffffff
jne 0x1004f6fe
and dword [ebp - 0x3b4], 0
jmp 0x1004f708
mov dword [ebp - 0x3b4], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x504], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x80], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54c]
cmp dword [ebp - 0x34], eax
jne 0x1004f762
mov dword [ebp - 0x238], 1
jmp 0x1004f769
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x238], eax
jge 0x1004f783
mov dword [ebp - 0x2d8], 1
jmp 0x1004f78a
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x420], eax
jmp 0x1004f5e4
jmp 0x1004f5b0
mov eax, dword [ebp - 0x240]
dec eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x14], 0
jmp 0x1004f7bd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004f7d0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x28], 1
jmp 0x1004f7b6
mov dword [ebp - 0x14], 0
jmp 0x1004f7e0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x10050565
mov dword [ebp - 0x214], 0xdd711a53
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xf0], 0xfffffffd
push 2
lea ecx, [ebp - 0x39c]
call fcn.10016cb0
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c4], 0xfffffffd
mov dword [ebp - 0x1c], 0
jmp 0x1004f830
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004f846
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x120], 1
jmp 0x1004f829
mov dword [ebp - 0x1c], 0
jmp 0x1004f856
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004f872
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x39c]
call fcn.10016d1d
mov dword [eax], 0xfffffffd
jmp 0x1004f84f
mov dword [ebp - 0x1c], 0
jmp 0x1004f882
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1004f898
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x3bc], 0xba16
jmp 0x1004f87b
mov dword [ebp - 0x1c], 0
jmp 0x1004f8a8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1004f8be
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x4f0], 0x461d
jmp 0x1004f8a1
mov dword [ebp - 0x20], 1
jmp 0x1004f8ce
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004f9fa
mov dword [ebp - 0x3f0], 8
mov byte [ebp - 0x5c], 0
movzx eax, byte [ebp - 0x5c]
test eax, eax
je 0x1004f8f6
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x120]
neg eax
cmp eax, 0x693009c
jle 0x1004f915
mov dword [ebp - 0x250], 1
jmp 0x1004f91c
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jg 0x1004f93f
mov dword [ebp - 0x328], 1
jmp 0x1004f946
and dword [ebp - 0x328], 0
cmp dword [ebp - 0x328], 0x7563ffaf
jl 0x1004f95e
mov dword [ebp - 0x248], 1
jmp 0x1004f965
and dword [ebp - 0x248], 0
push 0
lea ecx, [ebp - 0x39c]
call fcn.10016d1d
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [eax]
jl 0x1004f988
mov dword [ebp - 0x2e0], 1
jmp 0x1004f98f
and dword [ebp - 0x2e0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3bc]
cmp dword [ebp - 0x2e0], eax
jge 0x1004f9b0
mov dword [ebp - 0x350], 1
jmp 0x1004f9b7
and dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x350]
jne 0x1004f9d1
mov dword [ebp - 0x258], 1
jmp 0x1004f9d8
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x258]
sub ecx, dword [ebp + eax*4 - 0x120]
imul eax, ecx, 0x38ab
inc eax
mov dword [ebp - 0x3f0], eax
jmp 0x1004f8c7
mov dword [ebp - 0x20], 0
jmp 0x1004fa0a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jg 0x1004fbf1
mov dword [ebp - 0x410], 0xfffffffa
mov dword [ebp - 0xcc], 0
jmp 0x1004fa37
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 2
jge 0x1004fa53
mov eax, dword [ebp - 0xcc]
mov dword [ebp + eax*4 - 0x44c], 0x5659
jmp 0x1004fa2a
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x120], 0
jne 0x1004fa6c
mov dword [ebp - 0x330], 1
jmp 0x1004fa73
and dword [ebp - 0x330], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ebp + ecx*4 - 0x120]
cmp dword [ebp + eax*4 - 0x120], ecx
jge 0x1004fa95
mov dword [ebp - 0x2e8], 1
jmp 0x1004fa9c
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x120]
cmp dword [ebp - 0xf0], eax
jg 0x1004fac6
mov dword [ebp - 0x260], 1
jmp 0x1004facd
and dword [ebp - 0x260], 0
imul esi, dword [ebp - 0x260], 0xe71c
push 0
lea ecx, [ebp - 0x39c]
call fcn.10016d1d
add esi, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp esi, dword [ebp + eax - 0x44c]
je 0x1004fb01
mov dword [ebp - 0x268], 1
jmp 0x1004fb08
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x330]
add eax, dword [ebp - 0x268]
imul eax, eax, 0xa6d7
cmp eax, 2
jle 0x1004fb2b
mov dword [ebp - 0x2f0], 1
jmp 0x1004fb32
and dword [ebp - 0x2f0], 0
imul eax, dword [ebp - 0x2f0], 0x3e99
cmp eax, 0x5291260e
jge 0x1004fb4f
mov dword [ebp - 0x12c], 1
jmp 0x1004fb56
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x3c4]
imul eax, dword [ebp - 0x12c]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x44c]
je 0x1004fb89
push 0
lea ecx, [ebp - 0x39c]
call fcn.10016d1d
mov eax, dword [eax]
mov dword [ebp - 0x410], eax
jmp 0x1004fbd1
mov byte [ebp - 0x61], 0
movzx eax, byte [ebp - 0x61]
test eax, eax
je 0x1004fbbd
push 0xaad
push 0x1662
push 0xd8d
push 0x89c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 0
lea ecx, [ebp - 0x39c]
call fcn.10016d1d
cmp dword [eax], 0
je 0x1004fbd1
jmp 0x1004fbf1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x4f0]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x4f0], eax
jmp 0x1004fa03
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x39c]
call fcn.10016d18
mov dword [ebp - 0x10c], 0xfffffff6
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xe4], 0xfffffffd
push 2
lea ecx, [ebp - 0x390]
call fcn.10016cb0
mov byte [ebp - 4], 4
mov dword [ebp - 0x3d4], 0xfffffffd
mov dword [ebp - 0x18], 0
jmp 0x1004fc46
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004fc5c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x128], 1
jmp 0x1004fc3f
mov dword [ebp - 0x18], 0
jmp 0x1004fc6c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004fc88
push dword [ebp - 0x18]
lea ecx, [ebp - 0x390]
call fcn.10016d1d
mov dword [eax], 0xfffffffd
jmp 0x1004fc65
mov dword [ebp - 0x18], 0
jmp 0x1004fc98
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004fcae
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3cc], 0xba16
jmp 0x1004fc91
mov dword [ebp - 0x18], 0
jmp 0x1004fcbe
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004fcd4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x500], 0x461d
jmp 0x1004fcb7
mov dword [ebp - 0x24], 1
jmp 0x1004fce4
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1004fe10
mov dword [ebp - 0x3f8], 8
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1004fd0c
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x128]
neg eax
cmp eax, 0x693009c
jle 0x1004fd2b
mov dword [ebp - 0x280], 1
jmp 0x1004fd32
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jg 0x1004fd55
mov dword [ebp - 0x364], 1
jmp 0x1004fd5c
and dword [ebp - 0x364], 0
cmp dword [ebp - 0x364], 0x7563ffaf
jl 0x1004fd74
mov dword [ebp - 0x278], 1
jmp 0x1004fd7b
and dword [ebp - 0x278], 0
push 0
lea ecx, [ebp - 0x390]
call fcn.10016d1d
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [eax]
jl 0x1004fd9e
mov dword [ebp - 0x2f8], 1
jmp 0x1004fda5
and dword [ebp - 0x2f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3cc]
cmp dword [ebp - 0x2f8], eax
jge 0x1004fdc6
mov dword [ebp - 0x338], 1
jmp 0x1004fdcd
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x280]
cmp eax, dword [ebp - 0x338]
jne 0x1004fde7
mov dword [ebp - 0x288], 1
jmp 0x1004fdee
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x288]
sub ecx, dword [ebp + eax*4 - 0x128]
imul eax, ecx, 0x38ab
inc eax
mov dword [ebp - 0x3f8], eax
jmp 0x1004fcdd
mov dword [ebp - 0x24], 0
jmp 0x1004fe20
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10050007
mov dword [ebp - 0x3d8], 0xfffffffa
mov dword [ebp - 0xa0], 0
jmp 0x1004fe4d
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x1004fe69
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x454], 0x5659
jmp 0x1004fe40
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0x128], 0
jne 0x1004fe82
mov dword [ebp - 0x358], 1
jmp 0x1004fe89
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ebp + ecx*4 - 0x128]
cmp dword [ebp + eax*4 - 0x128], ecx
jge 0x1004feab
mov dword [ebp - 0x300], 1
jmp 0x1004feb2
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x128]
cmp dword [ebp - 0xe4], eax
jg 0x1004fedc
mov dword [ebp - 0x290], 1
jmp 0x1004fee3
and dword [ebp - 0x290], 0
imul esi, dword [ebp - 0x290], 0xe71c
push 0
lea ecx, [ebp - 0x390]
call fcn.10016d1d
add esi, dword [eax]
push 4
pop eax
imul eax, eax, 0
cmp esi, dword [ebp + eax - 0x454]
je 0x1004ff17
mov dword [ebp - 0x298], 1
jmp 0x1004ff1e
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x358]
add eax, dword [ebp - 0x298]
imul eax, eax, 0xa6d7
cmp eax, 2
jle 0x1004ff41
mov dword [ebp - 0x308], 1
jmp 0x1004ff48
and dword [ebp - 0x308], 0
imul eax, dword [ebp - 0x308], 0x3e99
cmp eax, 0x5291260e
jge 0x1004ff65
mov dword [ebp - 0x2a0], 1
jmp 0x1004ff6c
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x3d4]
imul eax, dword [ebp - 0x2a0]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x454]
je 0x1004ff9f
push 0
lea ecx, [ebp - 0x390]
call fcn.10016d1d
mov eax, dword [eax]
mov dword [ebp - 0x3d8], eax
jmp 0x1004ffe7
mov byte [ebp - 0x71], 0
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x1004ffd3
push 0xaad
push 0x1662
push 0xd8d
push 0x89c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 0
lea ecx, [ebp - 0x390]
call fcn.10016d1d
cmp dword [eax], 0
je 0x1004ffe7
jmp 0x10050007
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x500]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x500], eax
jmp 0x1004fe19
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x390]
call fcn.10016d18
mov dword [ebp - 0x144], 0xb3b3333d
push 3
lea ecx, [ebp - 0x42c]
call fcn.10016cb0
mov byte [ebp - 4], 5
mov dword [ebp - 0xa4], 0xf251d69f
mov dword [ebp - 0xdc], 0
jmp 0x10050054
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 3
jge 0x10050076
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x42c]
call fcn.10016d1d
mov dword [eax], 0xc6a53d06
jmp 0x10050047
mov dword [ebp - 0xa4], 0
jmp 0x1005008f
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jg 0x100501d2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x3dc], 0xffffffff
mov dword [ebp - 0x54], 2
jmp 0x100500bd
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jl 0x100501cd
mov dword [ebp - 0x2a8], 0x644bb323
mov dword [ebp - 0x1ec], 0x5477a75e
push dword [ebp - 0x54]
lea ecx, [ebp - 0x42c]
call fcn.10016d1d
cmp dword [eax], 0
je 0x1005018d
push dword [ebp - 0x54]
lea ecx, [ebp - 0x42c]
call fcn.10016d1d
or ecx, 0xffffffff
sub ecx, dword [eax]
cmp ecx, 0xe055a24b
jbe 0x10050119
mov dword [ebp - 0x340], 1
jmp 0x10050120
and dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0xdfee
jle 0x10050144
mov dword [ebp - 0x310], 1
jmp 0x1005014b
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x310], eax
jle 0x10050162
mov dword [ebp - 0x2b0], 1
jmp 0x10050169
and dword [ebp - 0x2b0], 0
push dword [ebp - 0x54]
lea ecx, [ebp - 0x42c]
call fcn.10016d1d
mov ecx, dword [ebp - 0x2b0]
cmp ecx, dword [eax]
jne 0x1005018d
mov dword [ebp - 0x1f0], 1
jmp 0x10050194
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 1
je 0x100501b5
mov dword [ebp - 0x1fc], 1
jmp 0x100501bc
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x3dc], eax
jmp 0x100500b6
jmp 0x10050082
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x42c]
call fcn.10016d18
push 1
push 0x6f02
push 0x1d87
call fcn.1004c4b0
add esp, 0xc
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x28]
cmp dword [ebp + eax - 0x28], ecx
jle 0x10050214
mov dword [ebp - 0x204], 1
jmp 0x1005021b
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x28]
cmp dword [ebp - 0x204], eax
jge 0x10050236
mov dword [ebp - 0x20c], 1
jmp 0x1005023d
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
push 0
lea ecx, [ebp - 0x438]
call fcn.10016d1d
mov ecx, dword [ebp - 0x21c]
mov dword [eax], ecx
cmp dword [ebp - 0x21c], 0x76c
je 0x10050282
mov dword [ebp - 0x224], 1
jmp 0x10050289
and dword [ebp - 0x224], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
add eax, dword [ebp - 0x224]
add eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x28]
jl 0x100502b4
mov dword [ebp - 0x22c], 1
jmp 0x100502bb
and dword [ebp - 0x22c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x22c], eax
jl 0x100502d9
mov dword [ebp - 0x234], 1
jmp 0x100502e0
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x234]
sub ecx, dword [ebp + eax*4 - 0x28]
cmp ecx, 0x260e2efe
jle 0x10050301
mov dword [ebp - 0x23c], 1
jmp 0x10050308
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x28]
cmp dword [ebp - 0x23c], eax
jl 0x10050323
mov dword [ebp - 0x244], 1
jmp 0x1005032a
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 9
je 0x1005033f
mov dword [ebp - 0x24c], 1
jmp 0x10050346
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x24c]
cmp eax, dword [ebp - 0x14]
jge 0x10050361
mov dword [ebp - 0x254], 1
jmp 0x10050368
and dword [ebp - 0x254], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
add eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ebp + ecx*4 - 0x28]
jge 0x1005038d
mov dword [ebp - 0x25c], 1
jmp 0x10050394
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x28]
cmp eax, dword [ebp - 0x25c]
je 0x100503af
mov dword [ebp - 0x264], 1
jmp 0x100503b6
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x28]
cmp dword [ebp - 0x26c], eax
jg 0x100503e4
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x28], 0
jne 0x100503e4
and dword [ebp - 0x274], 0
jmp 0x100503ee
mov dword [ebp - 0x274], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x274], eax
jg 0x10050405
mov dword [ebp - 0x27c], 1
jmp 0x1005040c
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x28]
cmp dword [ebp - 0x10c], eax
jle 0x1005043f
mov dword [ebp - 0x284], 1
jmp 0x10050446
and dword [ebp - 0x284], 0
cmp dword [ebp - 0x284], 0xbe945d44
jne 0x1005045e
mov dword [ebp - 0x130], 1
jmp 0x10050465
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0
ja 0x1005047a
mov dword [ebp - 0x134], 1
jmp 0x10050481
and dword [ebp - 0x134], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x28]
cmp dword [ebp - 0x134], eax
je 0x1005049f
mov dword [ebp - 0x13c], 1
jmp 0x100504a6
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xfb64730e
jae 0x100504ca
mov dword [ebp - 0x14c], 1
jmp 0x100504d1
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0
jae 0x100504e6
mov dword [ebp - 0x3e0], 1
jmp 0x100504ed
and dword [ebp - 0x3e0], 0
push 0
lea ecx, [ebp - 0x438]
call fcn.10016d1d
push 0
lea ecx, [ebp - 0x438]
call fcn.10016d1d
cmp dword [eax], 0
jne 0x1005051e
mov eax, 0xc85691f3
test eax, eax
jne 0x1005051e
and dword [ebp - 0x154], 0
jmp 0x10050528
mov dword [ebp - 0x154], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x564]
imul eax, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x14]
jne 0x1005054d
mov dword [ebp - 0x15c], 1
jmp 0x10050554
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x400], eax
jmp 0x1004f7d9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.10016d18
mov dword [ebp - 0xa8], 0x68ec0ae9
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x3a4], 1
mov dword [ebp - 0xa8], 3
jmp 0x100505ab
mov eax, dword [ebp - 0xa8]
dec eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffee
jne 0x100505e2
mov dword [ebp - 0x164], 6
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x16c], 0xf47a6de
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x3a4], eax
jmp 0x1005059e
mov byte [ebp - 0x5e], 0
movzx eax, byte [ebp - 0x5e]
test eax, eax
je 0x100505fb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push 1
lea eax, [ebp - 0x570]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.1004bd15
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x558]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x558]
lea edi, [ebp - 0x444]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], 0xfffffffa
mov dword [ebp - 0xb8], 0xf8ee
mov dword [ebp - 0xc0], 0xfffffffb
mov dword [ebp - 0xb0], 0
jmp 0x1005065e
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x1005067a
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x374], 7
jmp 0x10050651
mov byte [ebp - 0x69], 0
movzx eax, byte [ebp - 0x69]
test eax, eax
je 0x1005068c
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x3c], 2
jmp 0x1005069c
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10050840
mov dword [ebp - 0xf8], 0x86ff18ee
mov dword [ebp - 0x3a8], 1
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x52c], eax
push 4
pop eax
shl eax, 1
xor ecx, ecx
inc ecx
sub ecx, dword [ebp + eax - 0x374]
mov dword [ebp - 0xc0], ecx
cmp dword [ebp - 0xc0], 0xa10dd664
jbe 0x100506fd
mov eax, dword [ebp - 0x3c]
cmp dword [ebp + eax*4 - 0x374], 0
jne 0x100506fd
and dword [ebp - 0x174], 0
jmp 0x10050707
mov dword [ebp - 0x174], 1
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x174]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x374]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0xffff
jae 0x1005073e
mov dword [ebp - 0x17c], 1
jmp 0x10050745
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x17c], eax
jl 0x1005075c
mov dword [ebp - 0x184], 1
jmp 0x10050763
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0x7bf19931
jl 0x1005077b
mov dword [ebp - 0x18c], 1
jmp 0x10050782
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp + eax*4 - 0x374]
cmp dword [ebp - 0x18c], eax
jg 0x100507a0
mov dword [ebp - 0x194], 1
jmp 0x100507a7
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp + eax*4 - 0x374]
mov ecx, dword [ebp - 0xb8]
add ecx, dword [ebp - 0x194]
imul eax, ecx
sub eax, 0x63f76313
je 0x100507ce
cmp dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ebp + ecx*4 - 0x374]
cmp dword [ebp + eax*4 - 0x374], ecx
jge 0x100507f6
cmp dword [ebp - 0xc0], 0
jne 0x100507f6
and dword [ebp - 0x19c], 0
jmp 0x10050800
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x19c], eax
jne 0x1005081a
mov dword [ebp - 0x1a4], 1
jmp 0x10050821
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0xc0], 0
je 0x1005083b
jmp 0x10050695
jmp 0x10050695
push 1
lea ecx, [ebp - 0x118]
call fcn.10016cb0
mov dword [ebp - 4], 6
mov dword [ebp - 0xc8], 0x1fbb9cf7
mov dword [ebp - 0x38], 0
jmp 0x1005086e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x10050884
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x518], 1
jmp 0x10050867
mov dword [ebp - 0x38], 0
jmp 0x10050894
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100508b0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x118]
call fcn.10016d1d
mov dword [eax], 0xa32b1cec
jmp 0x1005088d
mov dword [ebp - 0x38], 0
jmp 0x100508c0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x100508d6
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x384], 0
jmp 0x100508b9
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
and dword [eax], 0
jmp 0x1005090c
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
cmp dword [eax], 3
jg 0x10050ad6
mov dword [ebp - 0x100], 0x3a34c865
mov dword [ebp - 0x1c4], 0xea0c8d4
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x384], 0xfffffff8
push 0xfffffffffffffff8
pop eax
cmp eax, 1
jne 0x1005095b
mov dword [ebp - 0x1b4], 1
jmp 0x10050962
and dword [ebp - 0x1b4], 0
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
mov eax, dword [eax]
mov esi, dword [ebp + eax*4 - 0x518]
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
imul esi, dword [eax]
cmp dword [ebp - 0x1b4], esi
jle 0x1005099c
mov dword [ebp - 0x1bc], 1
jmp 0x100509a3
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x100], eax
or eax, 0xffffffff
je 0x10050a65
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x384]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
je 0x10050a2e
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x518]
mov dword [ebp - 0x4cc], eax
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x518]
mov dword [ebp - 0x46c], eax
push 0
lea ecx, [ebp - 0x118]
call fcn.10016d1d
cmp dword [ebp - 0xc8], 0
je 0x10050a2e
mov dword [ebp - 0x1cc], 1
jmp 0x10050a35
and dword [ebp - 0x1cc], 0
mov dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x100], eax
jne 0x10050a65
mov dword [ebp - 0x1d4], 1
jmp 0x10050a6c
and dword [ebp - 0x1d4], 0
imul eax, dword [ebp - 0x1d4], 0x5d08
test eax, eax
jne 0x10050a8c
cmp dword [ebp - 0xc8], 0
jne 0x10050a8c
and dword [ebp - 0x1dc], 0
jmp 0x10050a96
mov dword [ebp - 0x1dc], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x384]
cmp dword [ebp - 0x1dc], eax
jge 0x10050ab7
mov dword [ebp - 0x1e4], 1
jmp 0x10050abe
and dword [ebp - 0x1e4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp + eax - 0x384], ecx
jmp 0x100508e8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.10016d18
cmp dword [ebp - 0x444], 0
je 0x10050b02
push 5
push dword [ebp - 0x43c]
push dword [ebp - 0x440]
call dword [ebp - 0x444]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret