Function at 0x42fb70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fa6b
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x4a1824]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x74]
call fcn.0042fb00
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x50
call fcn.00429860
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x78], 4
mov dword [ebp - 0x7c], str.fSG
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x80], edx
jmp 0x42fbe9
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x80]
cmp dword [edx], ecx
jne 0x42fbf9
sub dword [ebp - 0x78], 4
add dword [ebp - 0x7c], 4
add dword [ebp - 0x80], 4
cmp dword [ebp - 0x78], 4
jae 0x42fbd1
cmp dword [ebp - 0x78], 0
je 0x42fc8b
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0x84], eax
jne 0x42fc97
sub dword [ebp - 0x78], 1
add dword [ebp - 0x7c], 1
add dword [ebp - 0x80], 1
cmp dword [ebp - 0x78], 0
je 0x42fc8b
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x80]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0x84], ecx
jne 0x42fc97
sub dword [ebp - 0x78], 1
add dword [ebp - 0x7c], 1
add dword [ebp - 0x80], 1
cmp dword [ebp - 0x78], 0
je 0x42fc8b
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x80]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0x84], edx
jne 0x42fc97
sub dword [ebp - 0x78], 1
add dword [ebp - 0x7c], 1
add dword [ebp - 0x80], 1
cmp dword [ebp - 0x78], 0
je 0x42fc8b
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x80]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0x84], eax
jne 0x42fc97
mov dword [ebp - 0x88], 0
jmp 0x42fcb4
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x84], 0
jg 0x42fcb4
mov dword [ebp - 0x88], 0xffffffff
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x8c], 0
jne 0x430b2d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
sub eax, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x430026
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x90], 4
mov dword [ebp - 0x94], str.cRGB
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x98], edx
jmp 0x42fd56
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x98]
cmp dword [edx], ecx
jne 0x42fd6c
sub dword [ebp - 0x90], 4
add dword [ebp - 0x94], 4
add dword [ebp - 0x98], 4
cmp dword [ebp - 0x90], 4
jae 0x42fd2f
cmp dword [ebp - 0x90], 0
je 0x42fe42
mov eax, dword [ebp - 0x94]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0x9c], eax
jne 0x42fe4e
sub dword [ebp - 0x90], 1
add dword [ebp - 0x94], 1
add dword [ebp - 0x98], 1
cmp dword [ebp - 0x90], 0
je 0x42fe42
mov ecx, dword [ebp - 0x94]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0x98]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0x9c], ecx
jne 0x42fe4e
sub dword [ebp - 0x90], 1
add dword [ebp - 0x94], 1
add dword [ebp - 0x98], 1
cmp dword [ebp - 0x90], 0
je 0x42fe42
mov edx, dword [ebp - 0x94]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x98]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0x9c], edx
jne 0x42fe4e
sub dword [ebp - 0x90], 1
add dword [ebp - 0x94], 1
add dword [ebp - 0x98], 1
cmp dword [ebp - 0x90], 0
je 0x42fe42
mov eax, dword [ebp - 0x94]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0x9c], eax
jne 0x42fe4e
mov dword [ebp - 0xa0], 0
jmp 0x42fe6b
mov dword [ebp - 0xa0], 1
cmp dword [ebp - 0x9c], 0
jg 0x42fe6b
mov dword [ebp - 0xa0], 0xffffffff
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 0
jne 0x42fe9e
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x22]
cmp eax, 0x18
jl 0x42fe9e
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x74]
mov dword [eax], edx
jmp 0x43001b
mov dword [ebp - 0xa8], 4
mov dword [ebp - 0xac], 0x4860e0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xb0], ecx
jmp 0x42fee4
mov edx, dword [ebp - 0xac]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xb0]
cmp dword [ecx], eax
jne 0x42fefa
sub dword [ebp - 0xa8], 4
add dword [ebp - 0xac], 4
add dword [ebp - 0xb0], 4
cmp dword [ebp - 0xa8], 4
jae 0x42febd
cmp dword [ebp - 0xa8], 0
je 0x42ffd0
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xb0]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0xb4], edx
jne 0x42ffdc
sub dword [ebp - 0xa8], 1
add dword [ebp - 0xac], 1
add dword [ebp - 0xb0], 1
cmp dword [ebp - 0xa8], 0
je 0x42ffd0
mov eax, dword [ebp - 0xac]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0xb4], eax
jne 0x42ffdc
sub dword [ebp - 0xa8], 1
add dword [ebp - 0xac], 1
add dword [ebp - 0xb0], 1
cmp dword [ebp - 0xa8], 0
je 0x42ffd0
mov ecx, dword [ebp - 0xac]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0xb4], ecx
jne 0x42ffdc
sub dword [ebp - 0xa8], 1
add dword [ebp - 0xac], 1
add dword [ebp - 0xb0], 1
cmp dword [ebp - 0xa8], 0
je 0x42ffd0
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xb0]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0xb4], edx
jne 0x42ffdc
mov dword [ebp - 0xb8], 0
jmp 0x42fff9
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb4], 0
jg 0x42fff9
mov dword [ebp - 0xb8], 0xffffffff
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x43001b
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x74]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
jmp 0x42fcee
mov edx, dword [ebp - 0x74]
cmp dword [edx], 0
jne 0x43003b
mov ecx, dword [ebp - 0x74]
call fcn.0042fb00
jmp 0x430b2d
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x68]
mov edx, 0x48
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00452d7b
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
je 0x4300ad
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
mov dword [ecx], edx
push fcn.0042fa90
push fcn.00429a40
mov eax, dword [ebp - 0x68]
push eax
push 0x48
mov ecx, dword [ebp - 0x70]
add ecx, 4
push ecx
call fcn.00452bf2
mov edx, dword [ebp - 0x70]
add edx, 4
mov dword [ebp - 0xc0], edx
jmp 0x4300b7
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x6c]
mov dword [ecx + 4], edx
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jle 0x430b2d
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xc8], str.cRGB
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xcc], eax
jmp 0x43014b
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xcc]
cmp dword [eax], edx
jne 0x430161
sub dword [ebp - 0xc4], 4
add dword [ebp - 0xc8], 4
add dword [ebp - 0xcc], 4
cmp dword [ebp - 0xc4], 4
jae 0x430124
cmp dword [ebp - 0xc4], 0
je 0x430237
mov ecx, dword [ebp - 0xc8]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0xcc]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0xd0], ecx
jne 0x430243
sub dword [ebp - 0xc4], 1
add dword [ebp - 0xc8], 1
add dword [ebp - 0xcc], 1
cmp dword [ebp - 0xc4], 0
je 0x430237
mov edx, dword [ebp - 0xc8]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xcc]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0xd0], edx
jne 0x430243
sub dword [ebp - 0xc4], 1
add dword [ebp - 0xc8], 1
add dword [ebp - 0xcc], 1
cmp dword [ebp - 0xc4], 0
je 0x430237
mov eax, dword [ebp - 0xc8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xcc]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0xd0], eax
jne 0x430243
sub dword [ebp - 0xc4], 1
add dword [ebp - 0xc8], 1
add dword [ebp - 0xcc], 1
cmp dword [ebp - 0xc4], 0
je 0x430237
mov ecx, dword [ebp - 0xc8]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0xcc]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0xd0], ecx
jne 0x430243
mov dword [ebp - 0xd4], 0
jmp 0x430260
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xd0], 0
jg 0x430260
mov dword [ebp - 0xd4], 0xffffffff
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
cmp dword [ebp - 0xd8], 0
jne 0x43088b
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x22]
cmp ecx, 0x18
jl 0x43088b
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x74]
add edx, dword [eax + 4]
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 0x22]
xor ecx, ecx
cmp eax, 0x18
setg cl
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x18]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1a]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1e]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x16]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x2c], 0x10
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x28], 0x10
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0xc], 0
jle 0x430886
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x10], 0
jle 0x430886
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x10]
mov dword [ebp - 0xdc], edx
cmp dword [ebp - 0xdc], 4
ja case.default.0x430352
mov eax, dword [ebp - 0xdc]
jmp dword [eax*4 + 0x430b44]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + 0xc]
imul ecx, dword [eax + 0x10]
shl ecx, 2
push ecx
push 0x40
call dword [0x481094]
mov edx, dword [ebp - 0x2c]
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push ecx
call dword [0x481090]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
shl eax, 2
push eax
call fcn.0045397e
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + 0x10]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x4303ff
sub dword [ebp - 0xe4], 1
je 0x43046a
jmp 0x430553
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x1c], 0
je 0x430449
pushf
cld
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov al, byte [esi + 3]
mul byte [esi]
mov dl, 0xff
div dl
stosb byte es:[edi], al
mov al, byte [esi + 3]
mul byte [esi + 1]
mov dl, 0xff
div dl
stosb byte es:[edi], al
mov al, byte [esi + 3]
mul byte [esi + 2]
mov dl, 0xff
div dl
stosb byte es:[edi], al
mov al, 0xff
sub al, byte [esi + 3]
stosb byte es:[edi], al
add esi, 4
loop 0x430417
dec ebx
jne 0x430414
popf
jmp 0x430465
pushf
cld
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
xor eax, eax
mov ecx, dword [ebp - 0x3c]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
stosb byte es:[edi], al
loop 0x43045a
dec edx
jne 0x430457
popf
jmp 0x430553
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x1c], 0
je 0x4304f0
pushf
cld
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
push edi
mov edi, dword [ebp - 0x38]
mov edx, 4
mov ebx, dword [ebp - 0x3c]
xor ecx, ecx
lodsb al, byte [esi]
mov ah, al
mov cl, al
and cl, 0x3f
test ah, 0x40
je 0x43049c
mov ch, cl
lodsb al, byte [esi]
mov cl, al
sub ebx, ecx
test ah, 0x80
je 0x4304a8
lodsb al, byte [esi]
rep stosb byte es:[edi], al
jmp 0x4304aa
rep movsb byte es:[edi], byte [esi]
cmp ebx, 0
jg 0x430488
dec edx
jne 0x430485
pop edi
push esi
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
add esi, ebx
add ebx, ebx
add ebx, esi
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
push ecx
push esi
mov ecx, 3
mov al, byte [esi]
mul byte [ebx]
mov dl, 0xff
div dl
stosb byte es:[edi], al
add esi, dword [ebp - 0x3c]
loop 0x4304cd
mov al, 0xff
sub al, byte [ebx]
stosb byte es:[edi], al
pop esi
pop ecx
inc esi
inc ebx
loop 0x4304c6
pop esi
dec dword [ebp - 0x30]
jne 0x43047c
popf
jmp 0x430553
pushf
cld
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
push edi
mov edi, dword [ebp - 0x38]
mov edx, 3
mov ebx, dword [ebp - 0x3c]
xor ecx, ecx
lodsb al, byte [esi]
mov ah, al
mov cl, al
and cl, 0x3f
test ah, 0x40
je 0x430519
mov ch, cl
lodsb al, byte [esi]
mov cl, al
sub ebx, ecx
test ah, 0x80
je 0x430525
lodsb al, byte [esi]
rep stosb byte es:[edi], al
jmp 0x430527
rep movsb byte es:[edi], byte [esi]
cmp ebx, 0
jg 0x430505
dec edx
jne 0x430502
pop edi
push esi
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
push esi
mov ecx, 3
mov al, byte [esi]
stosb byte es:[edi], al
add esi, dword [ebp - 0x3c]
loop 0x43053d
inc edi
pop esi
inc esi
dec ebx
jne 0x430537
pop esi
dec dword [ebp - 0x30]
jne 0x4304f9
popf
mov eax, dword [ebp - 0x38]
push eax
call fcn.004536c0
add esp, 4
jmp case.default.0x430352
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x20], 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
add eax, 3
push eax
push 0x40
call dword [0x481094]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
call dword [0x481090]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x50
push edx
call fcn.00431d20
add esp, 0x10
jmp case.default.0x430352
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x20], 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
add edx, 3
push edx
push 0x40
call dword [0x481094]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
call dword [0x481090]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x50
push edx
call fcn.00431d20
add esp, 0x10
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.0042f940
jmp case.default.0x430352
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x20], 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
add eax, 3
push eax
push 0x40
call dword [0x481094]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
call dword [0x481090]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x50
push edx
call fcn.00431d20
add esp, 0x10
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x1c], 0
je case.default.0x430352
mov dword [ebp - 0x4c], 0
jmp 0x4306cc
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x10]
jge case.default.0x430352
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x54]
cmp edx, dword [ecx + 0xc]
jge 0x43086d
mov eax, dword [ebp - 0x50]
movzx cx, byte [eax]
mov word [ebp - 0x5c], cx
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
movzx eax, word [ebp - 0x5c]
and eax, 0x3f
mov word [ebp - 0x58], ax
movzx ecx, word [ebp - 0x5c]
and ecx, 0x40
je 0x430744
movzx edx, word [ebp - 0x58]
shl edx, 8
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax]
or edx, ecx
mov word [ebp - 0x58], dx
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
movzx eax, word [ebp - 0x58]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
movzx ecx, word [ebp - 0x5c]
and ecx, 0x80
je 0x4307d7
mov edx, dword [ebp - 0x50]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x50]
mov byte [edx], al
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 1]
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x50]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 2]
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x50]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 3]
mov edx, 0xff
sub edx, ecx
mov eax, dword [ebp - 0x50]
mov byte [eax + 3], dl
mov ecx, dword [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x50], ecx
jmp 0x430868
movzx edx, word [ebp - 0x58]
mov ax, word [ebp - 0x58]
sub ax, 1
mov word [ebp - 0x58], ax
test edx, edx
je 0x430868
mov ecx, dword [ebp - 0x50]
movzx eax, byte [ecx]
mov edx, dword [ebp - 0x50]
movzx ecx, byte [edx + 3]
imul eax, ecx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x50]
mov byte [edx], al
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 1]
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x50]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax + 2]
mov ecx, dword [ebp - 0x50]
movzx edx, byte [ecx + 3]
imul eax, edx
cdq
mov ecx, 0xff
idiv ecx
mov edx, dword [ebp - 0x50]
mov byte [edx + 2], al
mov eax, dword [ebp - 0x50]
movzx ecx, byte [eax + 3]
mov edx, 0xff
sub edx, ecx
mov eax, dword [ebp - 0x50]
mov byte [eax + 3], dl
mov ecx, dword [ebp - 0x50]
add ecx, 4
mov dword [ebp - 0x50], ecx
jmp 0x4307d7
jmp 0x4306f1
jmp 0x4306c3
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x10]
push ecx
call fcn.00429d70
add esp, 8
jmp 0x430b22
mov dword [ebp - 0xe8], 4
mov dword [ebp - 0xec], 0x4860e0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xf0], edx
jmp 0x4308d1
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xf0]
cmp dword [edx], ecx
jne 0x4308e7
sub dword [ebp - 0xe8], 4
add dword [ebp - 0xec], 4
add dword [ebp - 0xf0], 4
cmp dword [ebp - 0xe8], 4
jae 0x4308aa
cmp dword [ebp - 0xe8], 0
je 0x4309bd
mov eax, dword [ebp - 0xec]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xf0]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0xf4], eax
jne 0x4309c9
sub dword [ebp - 0xe8], 1
add dword [ebp - 0xec], 1
add dword [ebp - 0xf0], 1
cmp dword [ebp - 0xe8], 0
je 0x4309bd
mov ecx, dword [ebp - 0xec]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0xf0]
movzx ecx, byte [eax]
sub ecx, edx
mov dword [ebp - 0xf4], ecx
jne 0x4309c9
sub dword [ebp - 0xe8], 1
add dword [ebp - 0xec], 1
add dword [ebp - 0xf0], 1
cmp dword [ebp - 0xe8], 0
je 0x4309bd
mov edx, dword [ebp - 0xec]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xf0]
movzx edx, byte [ecx]
sub edx, eax
mov dword [ebp - 0xf4], edx
jne 0x4309c9
sub dword [ebp - 0xe8], 1
add dword [ebp - 0xec], 1
add dword [ebp - 0xf0], 1
cmp dword [ebp - 0xe8], 0
je 0x4309bd
mov eax, dword [ebp - 0xec]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xf0]
movzx eax, byte [edx]
sub eax, ecx
mov dword [ebp - 0xf4], eax
jne 0x4309c9
mov dword [ebp - 0xf8], 0
jmp 0x4309e6
mov dword [ebp - 0xf8], 1
cmp dword [ebp - 0xf4], 0
jg 0x4309e6
mov dword [ebp - 0xf8], 0xffffffff
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0
jne 0x430b22
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x74]
add edx, dword [eax + 4]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 0x64]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x16]
mov edx, dword [ebp - 0x64]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x18]
mov edx, dword [ebp - 0x64]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1a]
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x10]
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x12]
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov edx, dword [eax + 0xc]
imul edx, dword [ecx + 0x10]
shl edx, 2
push edx
push 0x40
call dword [0x481094]
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
push eax
call dword [0x481090]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
call fcn.0045397e
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x74]
add eax, 0x50
push eax
call fcn.00431d20
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x20]
call fcn.00429880
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00432070
add esp, 0x14
mov edx, dword [ebp - 0x60]
push edx
call fcn.004536c0
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
jmp 0x4300e3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8