Function at 0x4d1750
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x4d1759
mov eax, dword [ebp - 4]
add esp, 0xfffff010
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
call fcn.00651940
mov dword [ebp - 0x4c], eax
mov eax, dword [0x6720e4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
call fcn.0062df70
push eax
lea edx, [ebp - 0x4fec]
mov eax, dword [ebp - 0x4c]
call fcn.0064f198
lea eax, [ebp - 0x4fec]
push eax
mov eax, dword [ebp - 0x4c]
call fcn.0064f1bc
push eax
call sub.user32.dll_FillRect
mov eax, dword [0x672428]
test byte [eax + 0x144], 8
setne al
mov byte [ebp - 0x46], al
mov eax, dword [0x672428]
and dword [eax + 0x144], 0xfffffff7
xor ecx, ecx
mov dl, 1
mov eax, dword [0x543df8]
call fcn.00562c34
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x16c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
call fcn.00566468
lea edx, [ebp - 0x10c]
mov eax, dword [ebp - 0x50]
call fcn.005649f0
mov edx, 0x19
mov eax, dword [ebp - 0x50]
call fcn.00566018
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, eax
mov eax, dword [ebp - 0x50]
call fcn.00566018
mov dword [ebp - 0x10c], eax
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x50]
call fcn.005c8d98
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x10c]
xor edx, edx
mov eax, dword [ebp - 0x50]
call fcn.005cfcec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004d0730
mov dword [ebp - 0xc], eax
mov bl, byte [0x4d22f8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x4d18c8
inc eax
mov dword [ebp - 0x58], eax
xor esi, esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov al, byte [eax + 4]
or al, bl
mov ebx, eax
inc esi
dec dword [ebp - 0x58]
jne 0x4d18b2
test bl, 2
jne 0x4d18d6
test bl, 8
jne 0x4d18d6
xor eax, eax
jmp 0x4d18d8
mov al, 1
and eax, 0x7f
inc eax
mov dword [ebp - 0x1c], eax
test bl, 1
jne 0x4d18ed
test bl, 4
jne 0x4d18ed
xor eax, eax
jmp 0x4d18ef
mov al, 1
and eax, 0x7f
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, 1
mov dl, 1
call fcn.004d02c8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.004d0730
mov dword [ebp - 0x10], eax
mov esi, 5
mov eax, esi
and eax, 0x7f
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + eax*4 + 0x25c], 0xffffffff
dec esi
cmp esi, 0xffffffff
jne 0x4d191e
mov eax, dword [ebp - 8]
call fcn.00548140
mov esi, eax
dec esi
cmp esi, 0
jl 0x4d1aab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x248]
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00548170
mov edi, eax
mov edx, dword [edi]
mov eax, ebx
call fcn.005f4be0
mov eax, dword [eax + 0x275c]
mov dword [ebp - 0x24], eax
mov edx, dword [edi]
mov eax, ebx
call fcn.005f48fc
imul eax, eax, 0x27
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x24c]
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [edx + ecx*4]
lea eax, [edx + eax*4 + 0xdc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov bl, byte [eax + 4]
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00548170
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00548208
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x1c]
mov edi, dword [edx + eax*4]
mov al, byte [edi + 4]
mov byte [ebp - 0x15], al
test bl, 1
je 0x4d19e2
mov al, 5
jmp 0x4d19e4
xor eax, eax
push ebp
push edi
and eax, 0x7f
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*4 + 0x258]
mov edx, dword [ebp - 0x5c]
add edx, 0x18
xor ecx, ecx
call fcn.004d15f4
pop ecx
test bl, 2
je 0x4d1a14
mov al, 4
jmp 0x4d1a16
mov al, 1
push ebp
push edi
and eax, 0x7f
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*4 + 0x258]
mov edx, dword [ebp - 0x5c]
add edx, 0x34
mov cl, 1
call fcn.004d15f4
pop ecx
test bl, 4
je 0x4d1a46
mov al, 5
jmp 0x4d1a48
mov al, 2
push ebp
push edi
and eax, 0x7f
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*4 + 0x258]
mov edx, dword [ebp - 0x5c]
add edx, 0x50
mov cl, 2
call fcn.004d15f4
pop ecx
test bl, 8
je 0x4d1a78
mov al, 4
jmp 0x4d1a7a
mov al, 3
push ebp
push edi
and eax, 0x7f
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*4 + 0x258]
mov edx, dword [ebp - 0x5c]
add edx, 0x6c
mov cl, 3
call fcn.004d15f4
pop ecx
dec esi
cmp esi, 0xffffffff
jne 0x4d1955
mov eax, dword [ebp - 4]
call fcn.005485c8
mov eax, dword [ebp - 0x10]
call fcn.00656eec
mov eax, dword [ebp - 0x10]
call fcn.00656ff0
mov eax, dword [ebp - 0xc]
call fcn.00656eec
mov eax, dword [ebp - 0xc]
call fcn.00656ff0
cmp dword [ebp - 0x1c], 1
jne 0x4d1aee
cmp dword [ebp - 0x20], 1
jne 0x4d1aee
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x254], 0
jmp 0x4d1b31
cmp dword [ebp - 0x1c], 2
jne 0x4d1b09
cmp dword [ebp - 0x20], 1
jne 0x4d1b09
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x254], 1
jmp 0x4d1b31
cmp dword [ebp - 0x1c], 1
jne 0x4d1b24
cmp dword [ebp - 0x20], 2
jne 0x4d1b24
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x254], 2
jmp 0x4d1b31
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov byte [eax + 0x254], 3
call fcn.00656a20
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x4d1d20
inc eax
mov dword [ebp - 0x58], eax
xor esi, esi
lea eax, [ebp - 0x4fdc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov edx, 0x2758
call fcn.00660d08
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x10], 0x1388
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xcc], 0xff000000
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
mov edx, dword [eax]
call dword [edx + 0x1c]
sub eax, 0x32
cdq
idiv dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp - 0x50]
call fcn.00566018
neg eax
mov edx, dword [ebp - 0x60]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xd8], eax
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4d1cfc
imul eax, ebx, 0x27
mov edx, dword [ebp - 0x60]
lea eax, [edx + eax*4 + 0xdc]
mov dword [eax], 0x80000000
mov dword [eax + 0x88], 0xff000000
test esi, esi
jne 0x4d1c3c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x274]
lea edi, [eax + 0x34]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
cmp dword [ebp - 0x1c], 1
jne 0x4d1c22
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x2ac]
lea edi, [eax + 0x6c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4d1c6c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x2c8]
lea edi, [eax + 0x6c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4d1c6c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x2c8]
lea edi, [eax + 0x34]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x2ac]
lea edi, [eax + 0x6c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
test ebx, ebx
jne 0x4d1cc2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x258]
lea edi, [eax + 0x18]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
cmp dword [ebp - 0x20], 1
jne 0x4d1ca8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x290]
lea edi, [eax + 0x50]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4d1cf2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x2e4]
lea edi, [eax + 0x50]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4d1cf2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x2e4]
lea edi, [eax + 0x18]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
push esi
lea esi, [edx + 0x290]
lea edi, [eax + 0x50]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
pop esi
dec ebx
cmp ebx, 0xffffffff
jne 0x4d1bc9
mov eax, dword [ebp - 0x9c]
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00656c78
inc esi
add dword [ebp - 0x9c], 0x2758
dec dword [ebp - 0x58]
jne 0x4d1b57
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
mov dl, 0x3d
mov eax, dword [ebp - 0x50]
call fcn.005cfd04
mov eax, dword [ebp - 0x14]
call fcn.00656ff0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
mov edx, dword [eax]
call dword [edx + 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
mov edx, dword [eax]
call dword [edx + 0x28]
mov edx, eax
mov eax, dword [ebp - 0x54]
pop ecx
call fcn.0044e9a0
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x3fa], 1
mov eax, dword [ebp - 0x50]
call fcn.005bcb1c
mov edx, dword [0x6720a4]
mov eax, dword [ebp - 0x50]
call fcn.0056272c
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.0055916c
lea ecx, [ebp - 0x68]
mov edx, dword [0x6720a4]
call fcn.005590a4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x300
mov edx, dword [ebp - 0x68]
sub edx, 4
dec edx
mov dword [eax], edx
mov edx, dword [eax]
add edx, 9
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x310
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov dword [eax], edx
mov eax, dword [ebp - 0x64]
sub eax, 4
dec eax
mov edx, dword [ebp - 0x6c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
add eax, 9
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x64]
mov dword [eax + 0x324], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x330], edx
mov eax, dword [ebp - 0x20]
inc eax
imul dword [ebp - 0x1c]
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0xa8]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4 - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.0055916c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
add eax, 0x48
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x74]
sub edx, dword [eax + 4]
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x74]
sub eax, dword [ecx]
lea ecx, [ebp - 0x4ff4]
call fcn.006561ec
lea edx, [ebp - 0x4ff4]
lea ecx, [ebp - 0x7c]
mov eax, dword [ebp - 0x70]
call fcn.005590a4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0x30c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0x318], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x320
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
sub eax, 4
dec eax
mov edx, dword [ebp - 0x80]
mov dword [edx], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
add eax, 9
mov edx, dword [ebp - 0x80]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x330
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x7c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x78]
sub eax, 4
dec eax
mov edx, dword [ebp - 0x84]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 4]
add eax, 9
mov edx, dword [ebp - 0x84]
mov dword [edx + 0xc], eax
cmp dword [ebp - 0x1c], 1
jne 0x4d1f40
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x340
mov edx, 0x10
call fcn.00660d08
jmp 0x4d1fc0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x340
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x300]
add eax, 4
mov edx, dword [ebp - 0x88]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x328]
sub eax, 4
mov edx, dword [ebp - 0x88]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x304]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
add eax, dword [edx + 0x30c]
sub eax, 9
sar eax, 1
jns 0x4d1fa2
adc eax, 0
mov edx, dword [ebp - 0x88]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + 4]
add eax, 9
mov edx, dword [ebp - 0x88]
mov dword [edx + 0xc], eax
cmp dword [ebp - 0x20], 1
jne 0x4d1fdd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x350
mov edx, 0x10
call fcn.00660d08
jmp 0x4d2053
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x350
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
add eax, dword [edx + 0x320]
sar eax, 1
jns 0x4d200d
adc eax, 0
mov edx, dword [ebp - 0x8c]
mov dword [edx], eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
add eax, 9
mov edx, dword [ebp - 0x8c]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x304]
mov edx, dword [ebp - 0x8c]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x404], 1
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x400], 1
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x3ef], 1
mov eax, dword [0x67250c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
call fcn.00651940
call fcn.0064f1bc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.006528d4
push 1
mov eax, dword [ebp - 0x28]
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [ebp - 0x50]
mov byte [eax + 0x47e], 1
push 0
push 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x134]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x28]
call fcn.0055c85c
mov eax, dword [0x67250c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x268]
call fcn.004028c0
cmp byte [ebp - 0x46], 0
je 0x4d20f5
mov eax, dword [0x672428]
or dword [eax + 0x144], 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004d0b1c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov byte [edx + 0x360], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x250]
call fcn.00651940
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x360], 0xff
je 0x4d22a4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx eax, byte [eax + 0x360]
add eax, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*8 + 0x300]
mov dword [ebp - 0x94], eax
mov eax, dword [0x6720e4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 8]
shr eax, 8
and eax, 0xff
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 8]
shr eax, 0x10
and eax, 0xff
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x94]
mov esi, dword [eax]
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 8]
sub eax, esi
jl 0x4d22a4
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x94]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x94]
mov edi, dword [eax + 0xc]
sub edi, ebx
jl 0x4d229a
inc edi
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x90]
call fcn.0064f124
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
shr eax, 8
and eax, 0xff
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
shr eax, 0x10
and eax, 0xff
mov edx, 0xff
sub edx, eax
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
add eax, eax
mov ecx, 3
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0x34]
pop edx
sub eax, edx
call fcn.0065b29c
push eax
mov eax, dword [ebp - 0x3c]
add eax, eax
mov ecx, 3
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0x30]
pop edx
sub eax, edx
call fcn.0065b29c
push eax
mov eax, dword [ebp - 0x38]
add eax, eax
mov ecx, 3
cdq
idiv ecx
push eax
mov eax, dword [ebp - 0x2c]
pop edx
sub eax, edx
call fcn.0065b29c
pop edx
pop ecx
call fcn.00660d20
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x90]
call fcn.0064f150
inc ebx
dec edi
jne 0x4d21d8
inc esi
dec dword [ebp - 0x58]
jne 0x4d21bd
push 0x11
call sub.user32.dll_GetSysColor
mov edx, eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x14]
call fcn.0064e7f4
lea edx, [ebp - 0x4fec]
mov eax, dword [ebp - 0x90]
call fcn.0064f198
lea edx, [ebp - 0x4fec]
mov eax, dword [ebp - 0x90]
call fcn.0064ed4c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x234]
mov edx, dword [eax]
call dword [edx + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret