Function at 0x40cc02
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
enter 0x1dc, 2
push ebx
push ecx
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
cmp word [ebp + 0x14], 0xff
jle 0x40cc1d
mov word [ebp + 0x14], 0xff
mov eax, dword [ebp - 4]
mov bx, word [ebp + 0x1c]
mov word [eax + 0xb6f], bx
mov bx, word [ebp + 0x14]
mov word [eax + 0xb73], bx
mov word [eax + 0xb67], 0
cmp word [ebp + 0x10], 0x40
jle 0x40cc4c
mov word [ebp + 0x10], 0x40
mov eax, dword [ebp - 4]
mov bx, word [ebp + 0x18]
mov word [eax + 0xb71], bx
mov bx, word [ebp + 0x10]
mov word [eax + 0xb75], bx
mov word [eax + 0xb69], 0
mov edi, eax
mov bx, word [eax + 0xb6f]
mov word [edi + 0xb77], bx
mov esi, eax
mov bx, word [eax + 0xb71]
mov word [esi + 0xb79], bx
mov ebx, eax
mov ax, word [eax + 0xb73]
mov word [ebx + 0xb7b], ax
mov eax, ebx
mov bx, word [ebx + 0xb75]
mov word [eax + 0xb7d], bx
mov bl, byte [ebp + 0x24]
mov byte [eax], bl
movzx ebx, byte [ebp + 0x24]
mov ax, bx
cmp ax, 0x43
jne 0x40ce25
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7e5], 0
je 0x40ce1a
mov edi, dword [eax + 0x7e5]
cmp word [edi + 0xb6f], 1
jne 0x40cd76
mov esi, dword [eax + 0x7e5]
movsx ebx, word [esi + 0xb6f]
mov edi, dword [eax + 0x7e5]
movsx eax, word [edi + 0xb73]
sub eax, ebx
inc eax
cmp eax, 0x50
jle 0x40cd76
mov edi, dword [0x498948]
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x7e5]
movsx ebx, word [esi + 0xb6f]
mov esi, dword [eax + 0x7e5]
movsx eax, word [esi + 0xb73]
sub eax, ebx
inc eax
sub eax, 0x50
cdq
idiv edi
mov ebx, 1
sub ebx, eax
movsx eax, word [ebp + 0x1c]
add ebx, eax
dec ebx
mov esi, dword [ebp - 4]
mov word [esi + 0xb77], bx
mov eax, dword [0x4a91ad]
movsx ebx, word [eax + 0xb73]
movsx edx, word [esi + 0xb77]
add edx, ebx
movsx ebx, word [eax + 0xb6f]
sub edx, ebx
mov word [esi + 0xb7b], dx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
cmp word [edi + 0xb71], 1
jne 0x40ce1a
mov esi, dword [eax + 0x7e5]
movsx ebx, word [esi + 0xb71]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb75]
sub edx, ebx
inc edx
cmp edx, 0x18
jle 0x40ce1a
mov edi, dword [0x49894c]
mov esi, dword [eax + 0x7e5]
movsx ebx, word [esi + 0xb71]
mov esi, dword [eax + 0x7e5]
movsx edx, word [esi + 0xb75]
sub edx, ebx
inc edx
sub edx, 0x18
mov eax, edx
cdq
idiv edi
mov ebx, 1
sub ebx, eax
movsx eax, word [ebp + 0x18]
add ebx, eax
dec ebx
mov edi, dword [ebp - 4]
mov word [edi + 0xb79], bx
mov eax, dword [0x4a91ad]
movsx ebx, word [eax + 0xb75]
movsx edx, word [edi + 0xb79]
add edx, ebx
movsx ebx, word [eax + 0xb71]
sub edx, ebx
mov word [edi + 0xb7d], dx
mov eax, dword [ebp - 4]
mov byte [eax], 0x20
jmp 0x40d694
cmp ax, 0x44
jne 0x40ce30
jmp 0x40d694
cmp ax, 0x47
jne 0x40ceed
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
movsx ebx, word [edi + 0xb6f]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb73]
sub edx, ebx
inc edx
movsx ebx, word [eax + 0xb6f]
movsx eax, word [eax + 0xb73]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40cea8
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
mov bx, word [edi + 0xb77]
mov word [eax + 0xb77], bx
movsx ebx, word [eax + 0xb73]
movsx edx, word [eax + 0xb77]
add edx, ebx
movsx ebx, word [eax + 0xb6f]
sub edx, ebx
mov word [eax + 0xb7b], dx
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb79]
add edx, ebx
mov word [eax + 0xb79], dx
movsx ebx, word [eax + 0xb75]
movsx edx, word [eax + 0xb79]
add edx, ebx
movsx ebx, word [eax + 0xb71]
sub edx, ebx
mov word [eax + 0xb7d], dx
jmp 0x40d694
cmp ax, 0x58
jne 0x40cfa4
mov eax, dword [ebp - 4]
cmp word [eax + 0xb6f], 1
jne 0x40cf6c
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
cmp edx, 0x50
jle 0x40cf6c
mov edi, dword [0x498950]
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
sub edx, 0x50
mov eax, edx
cdq
idiv edi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb77], bx
movsx edx, word [eax + 0xb73]
movsx ebx, word [eax + 0xb77]
add ebx, edx
movsx edx, word [eax + 0xb6f]
sub ebx, edx
mov word [eax + 0xb7b], bx
mov eax, dword [ebp - 4]
mov bx, word [0x4a91cf]
mov word [eax + 0xb79], bx
movsx ebx, word [eax + 0xb75]
movsx edx, word [eax + 0xb79]
add edx, ebx
movsx ebx, word [eax + 0xb71]
sub edx, ebx
inc edx
mov word [eax + 0xb7d], dx
jmp 0x40d694
cmp ax, 0x53
je 0x40cfb4
cmp ax, 0x4f
jne 0x40d0a2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7e5], 0
je 0x40d09d
mov edi, dword [eax + 0x7e5]
movsx ebx, word [edi + 0xb6f]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb73]
sub edx, ebx
inc edx
movsx ebx, word [eax + 0xb6f]
movsx eax, word [eax + 0xb73]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40d02f
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
mov bx, word [edi + 0xb7b]
mov word [eax + 0xb7b], bx
movsx ebx, word [eax + 0xb73]
movsx edx, word [eax + 0xb7b]
sub edx, ebx
movsx ebx, word [eax + 0xb6f]
add edx, ebx
mov word [eax + 0xb77], dx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
movsx ebx, word [edi + 0xb71]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb75]
sub edx, ebx
inc edx
movsx ebx, word [eax + 0xb71]
movsx eax, word [eax + 0xb75]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40d09d
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
mov bx, word [edi + 0xb79]
mov word [eax + 0xb79], bx
movsx ebx, word [eax + 0xb75]
movsx edx, word [eax + 0xb79]
add edx, ebx
movsx ebx, word [eax + 0xb71]
sub edx, ebx
mov word [eax + 0xb7d], dx
jmp 0x40d694
cmp ax, 0x51
je 0x40d0b2
cmp ax, 0x50
jne 0x40d416
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7e5], 0
je 0x40d411
mov edi, dword [eax + 0x7e5]
mov dword [0x4a91b1], edi
cmp dword [0x4a91b1], 0
je 0x40d108
mov eax, dword [0x4a91b1]
movzx ebx, byte [eax]
mov esi, 0x498954
movzx eax, bx
push 0x70050
call fcn.0040148e
test al, al
je 0x40d108
mov eax, dword [0x4a91b1]
mov edi, dword [eax + 0x7e5]
mov dword [0x4a91b1], edi
jmp 0x40d0ce
mov eax, dword [0x4a91b1]
cmp byte [eax], 0x45
je 0x40d3ad
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb6f]
movsx eax, word [edi + 0xb73]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40d1bc
mov eax, dword [0x4a91b1]
cmp word [eax + 0xb6f], 1
jne 0x40d1ba
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
cmp edx, 0x50
jle 0x40d1ba
mov esi, dword [0x498955]
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
sub edx, 0x50
mov eax, edx
cdq
idiv esi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb77], bx
movsx edx, word [eax + 0xb73]
movsx ebx, word [eax + 0xb77]
add ebx, edx
movsx edx, word [eax + 0xb6f]
sub ebx, edx
mov word [eax + 0xb7b], bx
jmp 0x40d1ba
jmp 0x40d22e
cmp word [edi + 0xb6f], 1
jne 0x40d22e
movsx eax, word [edi + 0xb6f]
movsx ebx, word [edi + 0xb73]
sub ebx, eax
inc ebx
cmp ebx, 0x50
jle 0x40d22e
mov esi, dword [0x498959]
movsx eax, word [edi + 0xb6f]
movsx ebx, word [edi + 0xb73]
sub ebx, eax
inc ebx
sub ebx, 0x50
mov eax, ebx
cdq
idiv esi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb77], bx
movsx edx, word [eax + 0xb73]
movsx ebx, word [eax + 0xb77]
add ebx, edx
movsx edx, word [eax + 0xb6f]
sub ebx, edx
mov word [eax + 0xb7b], bx
mov eax, dword [0x4a91b1]
movsx ebx, word [eax + 0xb71]
movsx edx, word [eax + 0xb75]
sub edx, ebx
inc edx
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb71]
movsx eax, word [edi + 0xb75]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40d343
mov eax, dword [0x4a91b1]
cmp word [eax + 0xb71], 1
jne 0x40d309
movsx ebx, word [eax + 0xb71]
movsx edx, word [eax + 0xb75]
sub edx, ebx
inc edx
cmp edx, 0x18
jle 0x40d309
mov esi, dword [0x49895d]
movsx ebx, word [eax + 0xb71]
movsx edx, word [eax + 0xb75]
sub edx, ebx
inc edx
sub edx, 0x18
mov eax, edx
cdq
idiv esi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb79], bx
mov edi, dword [0x4a91b1]
movsx ebx, word [edi + 0xb75]
movsx edx, word [eax + 0xb79]
add edx, ebx
movsx ebx, word [edi + 0xb71]
sub edx, ebx
dec edx
mov word [eax + 0xb7d], dx
movsx ebx, word [eax + 0xb75]
movsx edx, word [eax + 0xb7d]
sub edx, ebx
movsx ebx, word [eax + 0xb71]
add edx, ebx
dec edx
mov word [eax + 0xb79], dx
jmp 0x40d341
mov eax, dword [0x4a91b1]
movsx ebx, word [eax + 0xb75]
dec ebx
mov edi, dword [ebp - 4]
mov word [edi + 0xb7d], bx
movsx eax, word [edi + 0xb75]
movsx ebx, word [edi + 0xb7d]
sub ebx, eax
movsx eax, word [edi + 0xb71]
add ebx, eax
mov word [edi + 0xb79], bx
jmp 0x40d3ab
movsx eax, word [edi + 0xb71]
movsx ebx, word [edi + 0xb75]
sub ebx, eax
inc ebx
cmp ebx, 0x18
jle 0x40d3ab
mov esi, dword [0x498961]
movsx eax, word [edi + 0xb71]
movsx ebx, word [edi + 0xb75]
sub ebx, eax
inc ebx
sub ebx, 0x18
mov eax, ebx
cdq
idiv esi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb79], bx
movsx edx, word [eax + 0xb75]
movsx ebx, word [eax + 0xb79]
add ebx, edx
movsx edx, word [eax + 0xb71]
sub ebx, edx
mov word [eax + 0xb7d], bx
jmp 0x40d411
mov edi, dword [ebp - 4]
mov bx, word [eax + 0xb77]
mov word [edi + 0xb77], bx
movsx eax, word [edi + 0xb73]
movsx ebx, word [edi + 0xb77]
add ebx, eax
movsx eax, word [edi + 0xb6f]
sub ebx, eax
mov word [edi + 0xb7b], bx
mov eax, dword [0x4a91b1]
mov bx, word [eax + 0xb7d]
mov word [edi + 0xb7d], bx
movsx eax, word [edi + 0xb75]
movsx ebx, word [edi + 0xb7d]
sub ebx, eax
movsx eax, word [edi + 0xb71]
add ebx, eax
mov word [edi + 0xb79], bx
jmp 0x40d694
cmp ax, 0x45
jne 0x40d4c9
movsx eax, word [0x4a91cd]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb6f]
add ebx, eax
dec ebx
mov word [edi + 0xb77], bx
movsx eax, word [edi + 0xb73]
movsx ebx, word [edi + 0xb77]
add ebx, eax
movsx eax, word [edi + 0xb6f]
sub ebx, eax
mov word [edi + 0xb7b], bx
movsx eax, word [edi + 0xb71]
movsx ebx, word [edi + 0xb75]
sub ebx, eax
inc ebx
cmp ebx, 0x18
jle 0x40d4c4
mov esi, dword [0x498965]
movsx eax, word [edi + 0xb71]
movsx ebx, word [edi + 0xb75]
sub ebx, eax
inc ebx
sub ebx, 0x18
mov eax, ebx
cdq
idiv esi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb79], bx
movsx edx, word [eax + 0xb75]
movsx ebx, word [eax + 0xb79]
add ebx, edx
movsx edx, word [eax + 0xb71]
sub ebx, edx
mov word [eax + 0xb7d], bx
jmp 0x40d694
cmp ax, 0x54
jne 0x40d5b4
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
movsx ebx, word [edi + 0xb6f]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb73]
sub edx, ebx
inc edx
movsx ebx, word [eax + 0xb6f]
movsx eax, word [eax + 0xb73]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40d541
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
mov bx, word [edi + 0xb77]
mov word [eax + 0xb77], bx
movsx ebx, word [eax + 0xb73]
movsx edx, word [eax + 0xb77]
add edx, ebx
movsx ebx, word [eax + 0xb6f]
sub edx, ebx
mov word [eax + 0xb7b], dx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
movsx ebx, word [edi + 0xb71]
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb75]
sub edx, ebx
inc edx
movsx ebx, word [eax + 0xb71]
movsx eax, word [eax + 0xb75]
sub eax, ebx
inc eax
cmp eax, edx
jg 0x40d5af
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7e5]
mov bx, word [edi + 0xb79]
mov word [eax + 0xb79], bx
movsx ebx, word [eax + 0xb75]
movsx edx, word [eax + 0xb79]
add edx, ebx
movsx ebx, word [eax + 0xb71]
sub edx, ebx
mov word [eax + 0xb7d], dx
jmp 0x40d694
mov eax, dword [ebp - 4]
cmp word [eax + 0xb6f], 1
jne 0x40d629
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
cmp edx, 0x50
jle 0x40d629
mov edi, dword [0x498969]
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
sub edx, 0x50
mov eax, edx
cdq
idiv edi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb77], bx
movsx edx, word [eax + 0xb73]
movsx ebx, word [eax + 0xb77]
add ebx, edx
movsx edx, word [eax + 0xb6f]
sub ebx, edx
mov word [eax + 0xb7b], bx
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb71]
movsx edx, word [eax + 0xb75]
sub edx, ebx
inc edx
cmp edx, 0x18
jle 0x40d694
mov edi, dword [0x49896d]
movsx ebx, word [eax + 0xb71]
movsx edx, word [eax + 0xb75]
sub edx, ebx
inc edx
sub edx, 0x18
mov eax, edx
cdq
idiv edi
mov ebx, 1
sub ebx, eax
mov eax, dword [ebp - 4]
mov word [eax + 0xb79], bx
movsx edx, word [eax + 0xb75]
movsx ebx, word [eax + 0xb79]
add ebx, edx
movsx edx, word [eax + 0xb71]
sub ebx, edx
mov word [eax + 0xb7d], bx
mov eax, dword [ebp - 4]
mov esi, 0x498971
lea edi, [eax + 0xb07]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov edi, 0
mov dword [eax + 0x285], edi
mov esi, dword [ebp + 0x20]
mov dword [eax + 0x2c1], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edi
movzx ebx, byte [eax]
mov ax, bx
cmp ax, 0x44
jne 0x40d88f
mov eax, dword [ebp - 4]
cmp word [eax + 0xb77], 3
jle 0x40d7ba
push 0x498991
push 0
push 0x80000000
movsx ebx, word [0x4a91cd]
movsx ecx, word [eax + 0xb77]
sub ecx, ebx
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb77]
add ecx, edx
dec ecx
movsx eax, word [0x4a91d5]
imul ecx, eax
movsx edx, word [0x4a91dd]
add ecx, edx
sub ecx, 8
push ecx
mov edi, dword [ebp - 4]
movsx ecx, word [edi + 0xb79]
movsx eax, word [0x4a91d7]
imul ecx, eax
sub ecx, 7
movsx eax, word [0x4a91df]
add ecx, eax
add ecx, 5
push ecx
movsx ecx, word [edi + 0xb77]
movsx eax, word [edi + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, dx
add eax, ebx
sub eax, 4
push eax
movsx eax, word [edi + 0xb79]
movsx ebx, word [edi + 0xb7d]
sub ebx, eax
inc ebx
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, word [0x4a91df]
add ebx, eax
add ebx, 5
push ebx
push dword [ebp + 0xc]
push 0
push dword [0x4a8058]
push 0
call fcn.0040ee90
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40d88a
push 0x498998
push 0
push 0x80000000
movsx ebx, word [0x4a91cd]
movsx ecx, word [eax + 0xb77]
sub ecx, ebx
mov edi, dword [eax + 0x7e5]
movsx edx, word [edi + 0xb77]
add ecx, edx
dec ecx
movsx eax, word [0x4a91d5]
imul ecx, eax
movsx edx, word [0x4a91dd]
add ecx, edx
sub ecx, 0xd
push ecx
mov edi, dword [ebp - 4]
movsx ecx, word [edi + 0xb79]
movsx eax, word [0x4a91d7]
imul ecx, eax
sub ecx, 7
movsx eax, word [0x4a91df]
add ecx, eax
add ecx, 5
push ecx
movsx ecx, word [edi + 0xb77]
movsx eax, word [edi + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, dx
add eax, ebx
dec eax
push eax
movsx eax, word [edi + 0xb79]
movsx ebx, word [edi + 0xb7d]
sub ebx, eax
inc ebx
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, word [0x4a91df]
add ebx, eax
add ebx, 5
push ebx
push dword [ebp + 0xc]
push 0
push dword [0x4a8058]
push 0
call fcn.0040ee90
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x46
jne 0x40d991
mov eax, dword [ebp - 0x10]
add eax, 0x80000
add eax, 0xc00000
add eax, 0x10000
add eax, 0x20000
mov dword [ebp - 0x10], eax
push 0
push dword [0x4a8058]
push 0
push 0
mov edi, dword [ebp - 4]
movsx eax, word [edi + 0xb79]
movsx ebx, word [edi + 0xb7d]
sub ebx, eax
inc ebx
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx ecx, word [0x4a91df]
add ebx, ecx
push ebx
movsx ebx, word [edi + 0xb77]
movsx edx, word [edi + 0xb7b]
sub edx, ebx
inc edx
movsx ebx, word [0x4a91d5]
imul edx, ebx
movsx eax, word [0x4a91dd]
add edx, eax
sub edx, 8
push edx
movsx edx, word [0x4a91cf]
movsx eax, word [edi + 0xb79]
sub eax, edx
movsx ebx, word [0x4a91d7]
imul eax, ebx
mov esi, dword [0x49899f]
movsx ebx, cx
mov dword [ebp - 0x2c], eax
mov eax, ebx
cdq
idiv esi
mov ebx, dword [ebp - 0x2c]
add ebx, eax
add ebx, 6
push ebx
movsx eax, word [0x4a91cd]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb77]
sub ebx, eax
movsx ecx, word [0x4a91d5]
imul ebx, ecx
movsx edx, word [0x4a91dd]
add ebx, edx
inc ebx
push ebx
push dword [ebp - 0x10]
push dword [edi + 0x2c1]
push 0x4989a3
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x47
jne 0x40da50
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91eb]
inc eax
push eax
movsx eax, word [0x4a91cd]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb77]
sub ebx, eax
movsx eax, cx
imul ebx, eax
movsx eax, word [0x4a91dd]
add ebx, eax
sub ebx, 3
push ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0x80000000
push ebx
push 0
push 0x4989aa
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x48
jne 0x40db29
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0xb79]
dec eax
movsx ebx, word [0x4a91d7]
imul eax, ebx
movsx ebx, word [0x4a91d3]
add ebx, eax
movsx eax, dx
add ebx, eax
push ebx
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb77]
dec ebx
movsx eax, cx
imul ebx, eax
movsx eax, word [0x4a91d1]
add eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
push dword [ebp - 0x10]
push dword [edi + 0x2c1]
push 0x4989b1
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x4d
jne 0x40dbfb
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4a91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
push dword [ebp - 0x10]
push dword [edi + 0x2c1]
push 0x4989b8
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x52
jne 0x40dcdd
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4a91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
add eax, 0x20000
add eax, 0x10000
push eax
push dword [edi + 0x2c1]
push 0x4989bf
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x50
jne 0x40ddb5
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4a91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4989c6
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x53
je 0x40ddcb
cmp ax, 0x51
je 0x40ddcb
cmp ax, 0x4f
jne 0x40de99
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4a91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4989cd
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x4e
je 0x40dea9
cmp ax, 0x45
jne 0x40df77
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4a91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4989d4
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
cmp ax, 0x58
jne 0x40e04e
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
inc ecx
push ecx
movsx ecx, word [eax + 0xb77]
movsx edx, word [eax + 0xb7b]
sub edx, ecx
inc edx
movsx ecx, word [0x4a91d5]
imul edx, ecx
movsx eax, word [0x4a91dd]
add edx, eax
sub edx, 3
push edx
movsx edx, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx eax, word [edi + 0xb79]
sub eax, edx
movsx ebx, bx
imul eax, ebx
inc eax
push eax
movsx eax, word [0x4a91cd]
movsx ebx, word [edi + 0xb77]
sub ebx, eax
movsx eax, cx
imul ebx, eax
movsx eax, word [0x4a91dd]
add ebx, eax
sub ebx, 3
push ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0x80000
add ebx, 0x20000
add ebx, 0x10000
push ebx
push dword [edi + 0x2c1]
push 0x4989db
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e117
push 0
push dword [0x4a8058]
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0xb79]
movsx ecx, word [eax + 0xb7d]
sub ecx, ebx
inc ecx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
movsx edx, word [0x4a91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4a91d5]
imul eax, ecx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4a91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4a91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4a91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4a91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4989e2
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
mov word [ebp - 0x2c], 5
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0xb1
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x21c]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
mov word [eax + 0x9b], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0x9d], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0x9f], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0xa1], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0xa3], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0xad], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0xaf], 0
mov eax, dword [ebp - 0x30]
mov esi, 0x4989e9
lea edi, [eax + 7]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x30]
mov word [eax + 0xa5], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0xa7], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 1], 0
mov eax, dword [ebp - 0x30]
mov edi, 0
mov dword [eax + 0x8d], edi
mov eax, dword [ebp - 0x30]
mov edi, 0
mov dword [eax + 0x85], edi
mov eax, dword [ebp - 0x30]
mov edi, 0
mov dword [eax + 0x89], edi
mov eax, dword [ebp - 0x30]
mov edi, 0
mov dword [eax + 0x81], edi
mov eax, dword [ebp - 0x30]
mov word [eax + 0x97], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0x95], 0
mov eax, dword [ebp - 0x30]
mov word [eax + 0x99], 0
mov eax, dword [ebp - 0x30]
mov byte [eax], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x91], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x92], 0
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x93], 0
mov word [ebp - 0x34], 0x28
mov word [ebp - 0x18], 0
inc word [ebp - 0x18]
movsx eax, word [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov byte [edi + eax + 0x18], 0
dec word [ebp - 0x34]
jne 0x40e24d
mov word [ebp - 0x38], 0x40
mov word [ebp - 0x18], 0
inc word [ebp - 0x18]
movsx eax, word [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov byte [edi + eax + 0x40], 3
dec word [ebp - 0x38]
jne 0x40e26f
mov word [ebp - 0x3c], 3
mov word [ebp - 0x18], 0
inc word [ebp - 0x18]
movsx eax, word [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov esi, 0
mov dword [edi + eax*4 + 9], esi
dec word [ebp - 0x3c]
jne 0x40e291
dec word [ebp - 0x2c]
jne 0x40e123
mov word [ebp - 0x40], 0xa
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x29
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x619]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x44]
mov esi, 0
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x44]
mov esi, 0
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x44]
mov esi, 0
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x44]
mov esi, 0
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 0x44]
mov esi, eax
mov dword [ebp - 0x48], esi
lea esi, [eax + 4]
mov eax, dword [ebp - 0x48]
lea edi, [eax + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov edi, 0
mov dword [eax], edi
mov eax, dword [ebp - 0x44]
mov edi, 0
mov dword [eax + 0x25], edi
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x24], 0x20
dec word [ebp - 0x40]
jne 0x40e2c1
mov word [ebp - 0x48], 0x30
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x1e
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x1b01]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x18], 0
mov eax, dword [ebp - 0x4c]
mov esi, 0
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0x4c]
mov word [eax + 0x1a], 0
mov eax, dword [ebp - 0x4c]
mov word [eax + 0x1c], 0
mov eax, dword [ebp - 0x4c]
mov esi, 0
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 0x4c]
mov esi, 0
mov dword [eax], esi
mov eax, dword [ebp - 0x4c]
mov esi, 0
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x4c]
mov esi, 0
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x4c]
mov esi, 0
mov dword [eax + 0xc], esi
dec word [ebp - 0x48]
jne 0x40e34b
mov word [ebp - 0x50], 0x80
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x16
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x1009]
mov dword [ebp - 0x54], esi
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
mov eax, dword [ebp - 0x54]
mov esi, 0
mov dword [eax + 0x12], esi
mov eax, dword [ebp - 0x54]
mov esi, 0
mov dword [eax + 2], esi
mov eax, dword [ebp - 0x54]
mov esi, 0
mov dword [eax + 0xa], esi
mov eax, dword [ebp - 0x54]
mov esi, 0
mov dword [eax + 6], esi
mov eax, dword [ebp - 0x54]
mov esi, 0
mov dword [eax + 0xe], esi
dec word [ebp - 0x50]
jne 0x40e3dd
mov word [ebp - 0x58], 3
mov word [ebp - 0x14], 0xffff
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x11
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xcd9]
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x5c]
mov byte [eax], 0
mov eax, dword [ebp - 0x5c]
mov esi, 0
mov dword [eax + 1], esi
mov eax, dword [ebp - 0x5c]
mov esi, 0
mov dword [eax + 9], esi
mov eax, dword [ebp - 0x5c]
mov esi, 0
mov dword [eax + 5], esi
mov eax, dword [ebp - 0x5c]
mov esi, 0
mov dword [eax + 0xd], esi
dec word [ebp - 0x58]
jne 0x40e447
mov word [ebp - 0x60], 3
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x1e
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xd8d]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax], esi
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax + 0x16], esi
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax + 0x1a], esi
mov eax, dword [ebp - 0x64]
mov word [eax + 0x10], 0
mov eax, dword [ebp - 0x64]
mov esi, 0
mov dword [eax + 0x12], esi
dec word [ebp - 0x60]
jne 0x40e4a6
mov word [ebp - 0x68], 5
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 9
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xdfc]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x6c]
mov esi, 0
mov dword [eax], esi
mov eax, dword [ebp - 0x6c]
mov word [eax + 7], 0
mov eax, dword [ebp - 0x6c]
mov word [eax + 5], 0
mov eax, dword [ebp - 0x6c]
mov byte [eax + 4], 1
dec word [ebp - 0x68]
jne 0x40e528
mov word [ebp - 0x70], 5
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 9
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xe29]
mov dword [ebp - 0x74], esi
mov eax, dword [ebp - 0x74]
mov esi, 0
mov dword [eax], esi
mov eax, dword [ebp - 0x74]
mov word [eax + 7], 0
mov eax, dword [ebp - 0x74]
mov word [eax + 5], 0
mov eax, dword [ebp - 0x74]
mov byte [eax + 4], 1
dec word [ebp - 0x70]
jne 0x40e578
mov eax, dword [ebp - 4]
lea edi, [eax + 0xcc9]
mov dword [ebp - 0x78], edi
mov edi, dword [ebp - 0x78]
mov esi, 0
mov dword [edi], esi
mov edi, dword [ebp - 0x78]
mov esi, 0
mov dword [edi + 4], esi
mov edi, dword [ebp - 0x78]
mov esi, 0
mov dword [edi + 8], esi
mov edi, dword [ebp - 0x78]
mov esi, 0
mov dword [edi + 0xc], esi
mov edi, 0
mov dword [eax + 0x2bd], edi
mov byte [eax + 0x289], 1
mov byte [eax + 0x7dc], 1
mov edi, dword [ebp + 0xc]
mov dword [eax + 0xaf9], edi
mov edi, 0
mov dword [eax + 0xb01], edi
mov esi, 0
mov dword [eax + 0xafd], esi
mov word [eax + 0x6bb8], 0
mov word [eax + 0xb7f], 0
mov edi, 0
mov dword [eax + 0x7dd], edi
mov esi, 0
mov dword [eax + 0x7e1], esi
mov word [eax + 0xcc7], 0
mov word [eax + 0xb6b], 0
mov word [eax + 0xb6d], 0
mov word [eax + 0x6bbc], 0
mov word [ebp - 0x7c], 3
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x35
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xcd7]
mov dword [ebp - 0x80], esi
mov eax, dword [ebp - 0x80]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 0x80]
mov byte [eax + 0x32], 0
mov eax, dword [ebp - 0x80]
mov byte [eax + 0x33], 0
mov word [ebp - 0x84], 0xa
mov word [ebp - 0x18], 0
inc word [ebp - 0x18]
movsx eax, word [ebp - 0x18]
imul ebx, eax, 5
mov edi, dword [ebp - 0x80]
lea esi, [edi + ebx - 5]
mov dword [ebp - 0x88], esi
mov eax, dword [ebp - 0x88]
mov byte [eax], 0
mov eax, dword [ebp - 0x88]
mov edi, 0
mov dword [eax + 1], edi
dec word [ebp - 0x84]
jne 0x40e6c2
dec word [ebp - 0x7c]
jne 0x40e683
mov eax, dword [ebp - 4]
mov edi, eax
mov bx, word [eax + 0xb71]
mov word [edi + 0x6bba], bx
mov word [eax + 0xb81], 0
mov word [eax + 0xb83], 0
mov byte [eax + 0x6baf], 0
mov esi, dword [0x4a91ed]
mov dword [eax + 0x6bb0], esi
push 0
push 0
push 0
call fcn.004085d0
mov esi, dword [ebp - 4]
mov dword [esi + 0x6bb4], eax
mov word [ebp - 0x8c], 0xa
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x20
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xb67]
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 0x18], esi
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 0x1c], esi
mov eax, dword [ebp - 0x90]
mov byte [eax], 0
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 3], esi
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 0xb], esi
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 7], esi
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 0xf], esi
mov eax, dword [ebp - 0x90]
mov esi, 0
mov dword [eax + 0x13], esi
mov eax, dword [ebp - 0x90]
mov word [eax + 1], 0
mov eax, dword [ebp - 0x90]
mov byte [eax + 0x17], 0
dec word [ebp - 0x8c]
jne 0x40e75e
mov word [ebp - 0x94], 0xff
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x38
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x2087]
mov dword [ebp - 0x98], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x21], esi
mov eax, dword [ebp - 0x98]
mov byte [eax], 0x1d
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x35], 0
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x36], 0
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x37], 0
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x29], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x15], esi
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x31], 0
mov eax, dword [ebp - 0x98]
mov esi, eax
mov bl, byte [eax + 0x31]
mov byte [esi + 0x32], bl
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x33], 0
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x25], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x11], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 1], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 9], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 5], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0xd], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x2d], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x1d], esi
mov eax, dword [ebp - 0x98]
mov esi, 0
mov dword [eax + 0x19], esi
dec word [ebp - 0x94]
jne 0x40e819
mov word [ebp - 0x9c], 0x10
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x1c
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0xe43]
mov dword [ebp - 0xa0], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax + 0x10], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax + 0x14], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax + 0x18], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax + 8], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax + 4], esi
mov eax, dword [ebp - 0xa0]
mov esi, 0
mov dword [eax + 0xc], esi
dec word [ebp - 0x9c]
jne 0x40e94e
mov word [ebp - 0xa4], 0x28
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x19
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x586e]
mov dword [ebp - 0xa8], esi
mov eax, dword [ebp - 0xa8]
mov esi, 0
mov dword [eax + 0x11], esi
mov eax, dword [ebp - 0xa8]
mov byte [eax], 0
mov eax, dword [ebp - 0xa8]
mov esi, 0
mov dword [eax + 0x15], esi
mov eax, dword [ebp - 0xa8]
mov esi, 0
mov dword [eax + 1], esi
mov eax, dword [ebp - 0xa8]
mov esi, 0
mov dword [eax + 9], esi
mov eax, dword [ebp - 0xa8]
mov esi, 0
mov dword [eax + 5], esi
mov eax, dword [ebp - 0xa8]
mov esi, 0
mov dword [eax + 0xd], esi
dec word [ebp - 0xa4]
jne 0x40e9e9
mov word [ebp - 0xac], 0x80
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 0x1e
mov edi, dword [ebp - 4]
lea esi, [edi + ebx + 0x5c51]
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 0x12], esi
mov eax, dword [ebp - 0xb0]
mov byte [eax], 0
mov eax, dword [ebp - 0xb0]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 0x1a], esi
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 0x16], esi
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 1], esi
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 9], esi
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 5], esi
mov eax, dword [ebp - 0xb0]
mov esi, 0
mov dword [eax + 0xd], esi
dec word [ebp - 0xac]
jne 0x40ea80
push 0x3fc0
call fcn.00403910
mov edi, dword [ebp - 4]
mov dword [edi + 0x281], eax
mov word [ebp - 0xb4], 0x41
mov word [ebp - 0x14], 0xffff
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
mov edi, dword [ebp - 4]
mov word [edi + eax*2 + 0x8ed], 0
movsx eax, word [ebp - 0x14]
mov word [edi + eax*2 + 0x96f], 0
movsx eax, word [ebp - 0x14]
mov word [edi + eax*2 + 0x9f1], 0
movsx eax, word [ebp - 0x14]
mov word [edi + eax*2 + 0xa73], 0
dec word [ebp - 0xb4]
jne 0x40eb42
mov word [ebp - 0xb8], 0x40
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
mov edi, dword [ebp - 4]
mov esi, 0
mov dword [edi + eax*4 + 0x7d], esi
movsx eax, word [ebp - 0x14]
mov byte [edi + eax], 0x20
movsx eax, word [ebp - 0x14]
mov esi, 0
mov dword [edi + eax*4 + 0x17d], esi
movsx eax, word [ebp - 0x14]
mov word [edi + eax*2 + 0x7eb], 0
movsx eax, word [ebp - 0x14]
mov word [edi + eax*2 + 0x86b], 0
movsx eax, word [ebp - 0x14]
mov byte [edi + eax + 0x40], 0
mov word [ebp - 0xbc], 0xff
mov word [ebp - 0x18], 0
inc word [ebp - 0x18]
movsx eax, word [ebp - 0x18]
movsx ebx, word [ebp - 0x14]
imul ecx, ebx, 0xff
mov edi, dword [ebp - 4]
mov esi, dword [edi + 0x281]
lea edx, [esi + ecx - 0x100]
mov byte [edx + eax], 0
dec word [ebp - 0xbc]
jne 0x40ebf9
movsx eax, word [ebp - 0x14]
push 0
mov edi, dword [ebp - 4]
mov bl, byte [edi + 0xb75]
push ebx
mov cl, byte [edi + 0xb71]
push ecx
push 1
push 0x4989ef
lea edi, [ebp - 0xdc]
call fcn.00401403
lea esi, [ebp - 0xdc]
push 0xff0000
call fcn.0040148e
test al, al
je 0x40ed06
push 0x100
call fcn.00403910
movsx ebx, word [ebp - 0x14]
mov edi, dword [ebp - 4]
mov dword [edi + ebx*4 + 0x7d], eax
movsx ebx, word [ebp - 0x14]
mov edi, dword [edi + ebx*4 + 0x7d]
mov esi, 0x498a0f
call fcn.00401940
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ecx
inc edx
movsx ecx, dx
test ecx, ecx
jle 0x40ed06
mov word [ebp - 0xe0], cx
mov word [ebp - 0x18], 0
inc word [ebp - 0x18]
movsx eax, word [ebp - 0x14]
mov edi, dword [ebp - 4]
movsx ebx, ax
mov esi, edi
mov esi, dword [esi + ebx*4 + 0x7d]
mov dword [ebp - 0x1e4], edi
lea edi, [ebp - 0x1e0]
call fcn.00401b30
mov esi, 0x498a10
call fcn.00401af0
mov edi, dword [ebp - 0x1e4]
mov edi, dword [edi + eax*4 + 0x7d]
lea esi, [ebp - 0x1e0]
call fcn.00401940
dec word [ebp - 0xe0]
jne 0x40ecb9
dec word [ebp - 0xb8]
jne 0x40eb99
mov eax, dword [ebp - 4]
movzx ebx, byte [eax]
mov esi, 0x498a12
movzx eax, bx
push 0x1f0040
call fcn.0040148e
test al, al
je 0x40ed69
mov eax, dword [ebp - 4]
movsx ebx, word [eax + 0x6bba]
mov word [eax + ebx*2 + 0x8ed], 0xfffd
push 0
push 3
push 0
movsx ebx, word [eax + 0xb71]
movsx ecx, word [eax + 0x6bba]
sub ecx, ebx
movsx ebx, word [0x4a91d7]
imul ecx, ebx
push ecx
call fcn.0040ee02
push 0x5fa
call fcn.00403910
mov edi, dword [ebp - 4]
mov dword [edi + 0x2c9], eax
mov word [ebp - 0xe4], 0xff
mov word [ebp - 0x14], 0
inc word [ebp - 0x14]
movsx eax, word [ebp - 0x14]
imul ebx, eax, 6
mov edi, dword [ebp - 4]
mov esi, dword [edi + 0x2c9]
lea ebx, [esi + ebx - 6]
mov dword [ebp - 0xe8], ebx
mov eax, dword [ebp - 0xe8]
mov byte [eax + 2], 0
mov eax, dword [ebp - 0xe8]
mov byte [eax + 3], 0
mov eax, dword [ebp - 0xe8]
mov byte [eax + 4], 0
mov eax, dword [ebp - 0xe8]
mov byte [eax + 5], 0
mov eax, dword [ebp - 0xe8]
mov byte [eax + 1], 0
mov eax, dword [ebp - 0xe8]
mov byte [eax], 1
dec word [ebp - 0xe4]
jne 0x40ed8b
pop edx
pop ecx
pop ebx
leave
ret 0x20