Function at 0x40ccc2
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 0x40ccdd
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 0x40cd0c
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 0x40cee5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7e5], 0
je 0x40ceda
mov edi, dword [eax + 0x7e5]
cmp word [edi + 0xb6f], 1
jne 0x40ce36
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 0x40ce36
mov edi, dword [0x4c2948]
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 [0x4d91ad]
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 0x40ceda
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 0x40ceda
mov edi, dword [0x4c294c]
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 [0x4d91ad]
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 0x40d754
cmp ax, 0x44
jne 0x40cef0
jmp 0x40d754
cmp ax, 0x47
jne 0x40cfad
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 0x40cf68
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 0x40d754
cmp ax, 0x58
jne 0x40d064
mov eax, dword [ebp - 4]
cmp word [eax + 0xb6f], 1
jne 0x40d02c
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
cmp edx, 0x50
jle 0x40d02c
mov edi, dword [0x4c2950]
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 [0x4d91cf]
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 0x40d754
cmp ax, 0x53
je 0x40d074
cmp ax, 0x4f
jne 0x40d162
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7e5], 0
je 0x40d15d
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 0x40d0ef
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 0x40d15d
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 0x40d754
cmp ax, 0x51
je 0x40d172
cmp ax, 0x50
jne 0x40d4d6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7e5], 0
je 0x40d4d1
mov edi, dword [eax + 0x7e5]
mov dword [0x4d91b1], edi
cmp dword [0x4d91b1], 0
je 0x40d1c8
mov eax, dword [0x4d91b1]
movzx ebx, byte [eax]
mov esi, 0x4c2954
movzx eax, bx
push 0x70050
call fcn.0040148e
test al, al
je 0x40d1c8
mov eax, dword [0x4d91b1]
mov edi, dword [eax + 0x7e5]
mov dword [0x4d91b1], edi
jmp 0x40d18e
mov eax, dword [0x4d91b1]
cmp byte [eax], 0x45
je 0x40d46d
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 0x40d27c
mov eax, dword [0x4d91b1]
cmp word [eax + 0xb6f], 1
jne 0x40d27a
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
cmp edx, 0x50
jle 0x40d27a
mov esi, dword [0x4c2955]
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 0x40d27a
jmp 0x40d2ee
cmp word [edi + 0xb6f], 1
jne 0x40d2ee
movsx eax, word [edi + 0xb6f]
movsx ebx, word [edi + 0xb73]
sub ebx, eax
inc ebx
cmp ebx, 0x50
jle 0x40d2ee
mov esi, dword [0x4c2959]
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 [0x4d91b1]
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 0x40d403
mov eax, dword [0x4d91b1]
cmp word [eax + 0xb71], 1
jne 0x40d3c9
movsx ebx, word [eax + 0xb71]
movsx edx, word [eax + 0xb75]
sub edx, ebx
inc edx
cmp edx, 0x18
jle 0x40d3c9
mov esi, dword [0x4c295d]
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 [0x4d91b1]
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 0x40d401
mov eax, dword [0x4d91b1]
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 0x40d46b
movsx eax, word [edi + 0xb71]
movsx ebx, word [edi + 0xb75]
sub ebx, eax
inc ebx
cmp ebx, 0x18
jle 0x40d46b
mov esi, dword [0x4c2961]
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 0x40d4d1
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 [0x4d91b1]
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 0x40d754
cmp ax, 0x45
jne 0x40d589
movsx eax, word [0x4d91cd]
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 0x40d584
mov esi, dword [0x4c2965]
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 0x40d754
cmp ax, 0x54
jne 0x40d674
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 0x40d601
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 0x40d66f
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 0x40d754
mov eax, dword [ebp - 4]
cmp word [eax + 0xb6f], 1
jne 0x40d6e9
movsx ebx, word [eax + 0xb6f]
movsx edx, word [eax + 0xb73]
sub edx, ebx
inc edx
cmp edx, 0x50
jle 0x40d6e9
mov edi, dword [0x4c2969]
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 0x40d754
mov edi, dword [0x4c296d]
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, 0x4c2971
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 0x40d94f
mov eax, dword [ebp - 4]
cmp word [eax + 0xb77], 3
jle 0x40d87a
push 0x4c2991
push 0
push 0x80000000
movsx ebx, word [0x4d91cd]
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 [0x4d91d5]
imul ecx, eax
movsx edx, word [0x4d91dd]
add ecx, edx
sub ecx, 8
push ecx
mov edi, dword [ebp - 4]
movsx ecx, word [edi + 0xb79]
movsx eax, word [0x4d91d7]
imul ecx, eax
sub ecx, 7
movsx eax, word [0x4d91df]
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 [0x4d91d5]
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 [0x4d91d7]
imul ebx, eax
movsx eax, word [0x4d91df]
add ebx, eax
add ebx, 5
push ebx
push dword [ebp + 0xc]
push 0
push dword [0x4d8058]
push 0
call fcn.0040ef50
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40d94a
push 0x4c2998
push 0
push 0x80000000
movsx ebx, word [0x4d91cd]
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 [0x4d91d5]
imul ecx, eax
movsx edx, word [0x4d91dd]
add ecx, edx
sub ecx, 0xd
push ecx
mov edi, dword [ebp - 4]
movsx ecx, word [edi + 0xb79]
movsx eax, word [0x4d91d7]
imul ecx, eax
sub ecx, 7
movsx eax, word [0x4d91df]
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 [0x4d91d5]
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 [0x4d91d7]
imul ebx, eax
movsx eax, word [0x4d91df]
add ebx, eax
add ebx, 5
push ebx
push dword [ebp + 0xc]
push 0
push dword [0x4d8058]
push 0
call fcn.0040ef50
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x46
jne 0x40da51
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 [0x4d8058]
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 [0x4d91d7]
imul ebx, eax
movsx ecx, word [0x4d91df]
add ebx, ecx
push ebx
movsx ebx, word [edi + 0xb77]
movsx edx, word [edi + 0xb7b]
sub edx, ebx
inc edx
movsx ebx, word [0x4d91d5]
imul edx, ebx
movsx eax, word [0x4d91dd]
add edx, eax
sub edx, 8
push edx
movsx edx, word [0x4d91cf]
movsx eax, word [edi + 0xb79]
sub eax, edx
movsx ebx, word [0x4d91d7]
imul eax, ebx
mov esi, dword [0x4c299f]
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 [0x4d91cd]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb77]
sub ebx, eax
movsx ecx, word [0x4d91d5]
imul ebx, ecx
movsx edx, word [0x4d91dd]
add ebx, edx
inc ebx
push ebx
push dword [ebp - 0x10]
push dword [edi + 0x2c1]
push 0x4c29a3
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x47
jne 0x40db10
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91eb]
inc eax
push eax
movsx eax, word [0x4d91cd]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb77]
sub ebx, eax
movsx eax, cx
imul ebx, eax
movsx eax, word [0x4d91dd]
add ebx, eax
sub ebx, 3
push ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0x80000000
push ebx
push 0
push 0x4c29aa
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x48
jne 0x40dbe9
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 4]
movsx eax, word [eax + 0xb79]
dec eax
movsx ebx, word [0x4d91d7]
imul eax, ebx
movsx ebx, word [0x4d91d3]
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 [0x4d91d1]
add eax, ebx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
push dword [ebp - 0x10]
push dword [edi + 0x2c1]
push 0x4c29b1
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x4d
jne 0x40dcbb
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4d91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4d91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
push dword [ebp - 0x10]
push dword [edi + 0x2c1]
push 0x4c29b8
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x52
jne 0x40dd9d
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4d91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4d91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4d91dd]
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 0x4c29bf
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x50
jne 0x40de75
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4d91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4d91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4c29c6
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x53
je 0x40de8b
cmp ax, 0x51
je 0x40de8b
cmp ax, 0x4f
jne 0x40df59
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4d91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4d91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4c29cd
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x4e
je 0x40df69
cmp ax, 0x45
jne 0x40e037
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4d91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4d91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4c29d4
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
cmp ax, 0x58
jne 0x40e10e
push 0
push dword [0x4d8058]
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 [0x4d91d7]
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 [0x4d91d5]
imul edx, ecx
movsx eax, word [0x4d91dd]
add edx, eax
sub edx, 3
push edx
movsx edx, word [0x4d91cf]
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 [0x4d91cd]
movsx ebx, word [edi + 0xb77]
sub ebx, eax
movsx eax, cx
imul ebx, eax
movsx eax, word [0x4d91dd]
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 0x4c29db
push 1
call sub.user32.dll_CreateWindowExA
mov esi, dword [ebp - 4]
mov dword [esi + 0xaf5], eax
jmp 0x40e1d7
push 0
push dword [0x4d8058]
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 [0x4d91d7]
imul ecx, ebx
movsx edx, word [0x4d91df]
add ecx, edx
push ecx
movsx ecx, word [eax + 0xb77]
movsx eax, word [eax + 0xb7b]
sub eax, ecx
inc eax
movsx ecx, word [0x4d91d5]
imul eax, ecx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
movsx eax, word [0x4d91cf]
mov edi, dword [ebp - 4]
movsx ebx, word [edi + 0xb79]
sub ebx, eax
movsx eax, word [0x4d91d7]
imul ebx, eax
movsx eax, dx
add ebx, eax
push ebx
movsx ebx, word [0x4d91cd]
movsx eax, word [edi + 0xb77]
sub eax, ebx
movsx ebx, cx
imul eax, ebx
movsx ebx, word [0x4d91dd]
add eax, ebx
sub eax, 3
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x80000
push eax
push dword [edi + 0x2c1]
push 0x4c29e2
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, 0x4c29e9
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 0x40e30d
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 0x40e32f
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 0x40e351
dec word [ebp - 0x2c]
jne 0x40e1e3
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 0x40e381
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 0x40e40b
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 0x40e49d
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 0x40e507
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 0x40e566
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 0x40e5e8
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 0x40e638
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 0x40e782
dec word [ebp - 0x7c]
jne 0x40e743
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 [0x4d91ed]
mov dword [eax + 0x6bb0], esi
push 0
push 0
push 0
call fcn.00408690
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 0x40e81e
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 0x40e8d9
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 0x40ea0e
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 0x40eaa9
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 0x40eb40
push 0x3fc0
call fcn.004039d0
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 0x40ec02
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 0x40ecb9
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 0x4c29ef
lea edi, [ebp - 0xdc]
call fcn.00401403
lea esi, [ebp - 0xdc]
push 0xff0000
call fcn.0040148e
test al, al
je 0x40edc6
push pe_nt_image_headers32
call fcn.004039d0
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, 0x4c2a0f
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 0x40edc6
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, 0x4c2a10
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 0x40ed79
dec word [ebp - 0xb8]
jne 0x40ec59
mov eax, dword [ebp - 4]
movzx ebx, byte [eax]
mov esi, 0x4c2a12
movzx eax, bx
push 0x1f0040
call fcn.0040148e
test al, al
je 0x40ee29
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 [0x4d91d7]
imul ecx, ebx
push ecx
call fcn.0040eec2
push 0x5fa
call fcn.004039d0
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 0x40ee4b
pop edx
pop ecx
pop ebx
leave
ret 0x20