Function at 0x42bb40
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using speck

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push esi
xor esi, esi
cmp ecx, 0x8000
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
jl 0x42bb77
lea eax, [ecx + ecx*4 - 0x28000]
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*8 - 0x8000]
lea ebx, [ecx*4 + 0x5c8500]
jmp 0x42bb79
xor ebx, ebx
mov edx, dword [esp + 0x2c]
cmp edx, esi
jle 0x42bb96
mov eax, dword [0x5adec0]
mov ebp, edx
shl ebp, 7
add ebp, eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x18], eax
jmp 0x42bbc0
cmp edx, 0xffffc000
jge 0x42bba7
mov eax, 0xffffc000
sub eax, edx
jmp 0x42bbab
mov eax, edx
neg eax
mov ebp, dword [0x5adec0]
mov dword [esp + 0x18], eax
mov ecx, 0x20
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [0x5adec0]
shl edi, 7
mov dword [esp + 0x10], edi
mov al, byte [edi + ecx + 0x41]
lea esi, [edi + ecx]
cmp al, 3
je 0x42dd3e
mov al, byte [esi + 0x3d]
and al, 4
cmp al, 4
jne 0x42bd9c
mov eax, dword [ebp + 0x68]
test al, 6
jne 0x42bd83
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x1c], 1
test eax, eax
je 0x42bc11
cmp dword [ebp + 0x78], 7
jbe 0x42bd9c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp + 0x45]
sub ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
neg eax
neg ecx
neg dl
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x1c], ecx
mov byte [ebp + 0x45], dl
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
xor edi, eax
and eax, 0x7fff
sub eax, 0x3fff
mov dword [ecx + 0x62c040], edi
mov edx, dword [ebp + 0x18]
shl eax, 4
sub eax, edx
cmp eax, 0xfff80000
mov dword [ebp + 0x18], eax
jge 0x42bc87
mov dword [ebp + 0x18], 0xfff80000
jmp 0x42bc96
mov ecx, dword [ebp + 0x18]
mov eax, 0x80000
cmp ecx, eax
jle 0x42bc96
mov dword [ebp + 0x18], eax
mov ecx, dword [0x62bdd0]
xor edi, edi
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov edx, dword [eax + 0x62c040]
xor edx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], edx
test ecx, ecx
jle 0x42bd26
movsx edx, byte [ebp + 0x45]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
neg edx
push edx
push eax
push ecx
call fcn.0046eb70
mov ecx, dword [0x62bdd0]
add esp, 0xc
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
inc edi
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov edx, dword [eax + 0x62c040]
xor edx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], edx
cmp edi, ecx
jl 0x42bcd3
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
push 0
mov eax, dword [eax + 0x62c040]
mov ecx, edx
mov dword [0x62bdd0], ecx
push 0
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 3
mov dword [ecx + 0x62c040], edx
mov ecx, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x4c65e8]
mov edx, dword [esi + 0xc]
push eax
push ecx
push edx
call fcn.00477d10
mov eax, dword [ebp + 0x74]
add esp, 0x14
inc eax
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x74], eax
jmp 0x42bd98
test al, 4
jne 0x42bd9c
test edx, edx
jle 0x42bd9c
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042fed0
add esp, 4
mov edi, dword [esp + 0x10]
mov cl, byte [esi + 0x3d]
and cl, 3
cmp cl, 1
je 0x42dd3e
cmp cl, 2
jne 0x42bdbc
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov al, byte [esi + 0x3e]
test al, al
jle 0x42bfa7
cmp cl, 3
je 0x42bfa7
mov cl, byte [esi + 0x3a]
test cl, cl
jbe 0x42bed5
mov ecx, dword [esp + 0x18]
cmp ecx, 3
jle 0x42bde8
sub al, cl
jmp 0x42bdea
sub al, 3
test al, al
mov byte [esi + 0x3e], al
mov byte [esi + 0x3a], 0
mov byte [esi + 0x46], 5
jg 0x42bfa7
mov edi, dword [esp + 0x24]
push 0
push edi
mov byte [esi + 0x3e], 0
call fcn.00401010
mov ecx, dword [esp + 0x30]
add esp, 8
cmp ecx, 0x8000
mov byte [esi + 0x41], 3
jl 0x42bfa7
cmp ecx, 0x8020
jg 0x42bfa7
cmp edi, dword [0x62031c]
jge 0x42bfa7
mov edi, dword [esp + 0x10]
mov edx, dword [0x5adec0]
mov ax, word [edi + edx + 0x42]
test ax, ax
jbe 0x42bfa7
mov edx, dword [0x5c8188]
cmp edx, 2
je 0x42bfa7
cmp edx, 3
je 0x42bfa7
cmp edx, 5
je 0x42bfa7
cmp edx, 4
je 0x42bfa7
lea edx, [ecx + ecx*4 - 0x28000]
and eax, 0xffff
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*8 - 0x8000]
mov edx, dword [ecx*4 + 0x5c88c8]
add edx, eax
mov eax, dword [0x5adec0]
mov dword [ecx*4 + 0x5c88c8], edx
xor ecx, ecx
mov cx, word [edi + eax + 0x42]
mov edx, dword [edi + eax + 0x10]
mov eax, dword [edi + eax + 0xc]
push ecx
push edx
push eax
call fcn.0046ed40
mov ecx, dword [0x5adec0]
add esp, 0xc
mov word [edi + ecx + 0x42], 0
jmp 0x42bfa7
mov dl, byte [esp + 0x18]
mov byte [esi + 0x46], 5
sub al, dl
test al, al
mov byte [esi + 0x3e], al
jg 0x42bfa7
mov eax, dword [esp + 0x28]
mov byte [esi + 0x3e], 0
cmp eax, 0x8000
mov byte [esi + 0x41], 3
mov dword [esp + 0x14], 1
jl 0x42bfa7
cmp eax, 0x8020
jg 0x42bfa7
mov edx, dword [esp + 0x24]
mov eax, dword [0x62031c]
cmp edx, eax
jge 0x42bfa7
mov eax, dword [0x5adec0]
lea edi, [edi + eax + 0x42]
mov ax, word [edi]
test ax, ax
jbe 0x42bfa7
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42bfa7
cmp ecx, 3
je 0x42bfa7
cmp ecx, 5
je 0x42bfa7
cmp ecx, 4
je 0x42bfa7
mov edx, dword [esp + 0x28]
and eax, 0xffff
lea ecx, [edx + edx*4 - 0x28000]
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8 - 0x8000]
mov edx, dword [ecx*4 + 0x5c88c8]
add edx, eax
mov eax, dword [0x5adec0]
mov dword [ecx*4 + 0x5c88c8], edx
xor edx, edx
mov dx, word [edi]
mov edi, dword [esp + 0x10]
push edx
mov ecx, dword [edi + eax + 0x10]
mov edx, dword [edi + eax + 0xc]
push ecx
push edx
call fcn.0046ed40
mov eax, dword [0x5adec0]
add esp, 0xc
mov word [edi + eax + 0x42], 0
cmp dword [ebp + 0x5c], 8
jne 0x42bfb5
mov dword [esp + 0x1c], 1
mov cl, byte [esi + 0x40]
and cl, 0xf
cmp cl, 8
jne case.0x42bfe8.68
mov al, byte [esi + 0x44]
xor edi, edi
mov edx, eax
and edx, 0xff
lea ecx, [edx - 0x1b]
cmp ecx, 0xe1
ja case.0x42bfe8.68
xor edx, edx
mov dl, byte [ecx + 0x42ddf0]
jmp dword [edx*4 + 0x42dd48]
mov eax, dword [esi + 0x54]
test eax, eax
jne case.0x42bfe8.68
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x5c]
imul eax, dword [esp + 0x18]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add ecx, eax
mov dword [esi + 0x5c], ecx
jmp case.0x42bfe8.68
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov edi, dword [esi + 0x5c]
cdq
and edx, 0xff
add eax, edx
mov dl, byte [esi + 0x3e]
sar eax, 8
sub dl, cl
add edi, eax
mov al, dl
mov dword [esi + 0x5c], edi
test al, al
mov byte [esi + 0x3e], dl
jg case.0x42bfe8.68
mov byte [esi + 0x41], 3
jmp case.0x42bfe8.68
mov al, byte [ebp + 0x44]
cmp al, 0x1a
je 0x42c069
cmp al, 0x2b
je 0x42c069
cmp dword [esp + 0x2c], 0xffffc000
jge 0x42c077
cmp byte [esi + 0x41], 1
jne 0x42c077
mov byte [esi + 0x3e], 0
mov byte [esi + 0x41], 3
mov dword [esp + 0x1c], 1
jmp case.0x42bfe8.68
cmp byte [esi + 0x41], 0x11
je 0x42dd3e
mov eax, dword [esi + 8]
push 4
cdq
and edx, 0x1fffff
push 0xf
add eax, edx
sar eax, 0x15
push eax
mov eax, dword [esi + 4]
cdq
and edx, 0x1fffff
add eax, edx
sar eax, 0x15
push eax
call fcn.00429c50
xor ebx, ebx
add esp, 0x10
cmp eax, ebx
jne 0x42c0d5
mov edx, dword [0x55f2e4]
xor ecx, ecx
mov cx, word [esi + 0x34]
inc edx
cmp ecx, edx
jne 0x42c197
cmp byte [ebp + 0x44], 0x1a
je 0x42c197
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffc000
jl 0x42c197
cmp ecx, ebx
jle 0x42c25f
cmp eax, dword [ebp + 0x5c]
jne 0x42c25f
mov al, byte [esp + 0x18]
mov cl, byte [esi + 0x3e]
sub cl, al
mov al, cl
mov byte [esi + 0x3e], cl
test al, al
jle 0x42c122
mov byte [esi + 0x41], 0xe
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov byte [esi + 0x41], 3
cmp edx, 0x8000
jl 0x42c25f
cmp edx, 0x8020
jg 0x42c25f
mov ecx, dword [esp + 0x24]
mov eax, dword [0x62031c]
cmp ecx, eax
jge 0x42c25f
mov edi, dword [0x5adec0]
mov esi, dword [esp + 0x10]
mov ax, word [esi + edi + 0x42]
cmp ax, bx
jbe 0x42c25f
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42c25f
cmp ecx, 3
je 0x42c25f
cmp ecx, 5
je 0x42c25f
cmp ecx, 4
je 0x42c25f
jmp 0x42c214
mov al, byte [esp + 0x18]
mov cl, byte [esi + 0x3e]
sub cl, al
mov al, cl
mov byte [esi + 0x3e], cl
test al, al
jle 0x42c1b9
mov byte [esi + 0x41], 0xe
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov byte [esi + 0x41], 3
cmp edx, 0x8000
jl 0x42c25f
cmp edx, 0x8020
jg 0x42c25f
mov ecx, dword [esp + 0x24]
mov eax, dword [0x62031c]
cmp ecx, eax
jge 0x42c25f
mov edi, dword [0x5adec0]
mov esi, dword [esp + 0x10]
mov ax, word [esi + edi + 0x42]
cmp ax, bx
jbe 0x42c25f
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42c25f
cmp ecx, 3
je 0x42c25f
cmp ecx, 5
je 0x42c25f
cmp ecx, 4
je 0x42c25f
lea ecx, [edx + edx*4 - 0x28000]
and eax, 0xffff
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8 - 0x8000]
mov edx, dword [ecx*4 + 0x5c88c8]
add edx, eax
mov dword [ecx*4 + 0x5c88c8], edx
mov eax, dword [esi + edi + 0x10]
mov ecx, dword [esi + edi + 0xc]
xor edx, edx
mov dx, word [esi + edi + 0x42]
push edx
push eax
push ecx
call fcn.0046ed40
mov edx, dword [0x5adec0]
add esp, 0xc
mov word [esi + edx + 0x42], bx
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp byte [esi + 0x41], 0x11
je 0x42dd3e
mov al, byte [ebp + 0x44]
cmp al, 0x2b
je 0x42c28e
cmp al, 0x1a
je 0x42c28e
cmp dword [esp + 0x2c], 0xffffc000
jge 0x42c35f
mov cl, byte [esi + 0x3e]
dec cl
mov al, cl
mov byte [esi + 0x3e], cl
test al, al
jle 0x42c2ac
mov byte [esi + 0x41], 0xe
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x28]
mov byte [esi + 0x41], 3
cmp edx, 0x8000
jl 0x42c35f
cmp edx, 0x8020
jg 0x42c35f
mov eax, dword [esp + 0x24]
mov ecx, dword [0x62031c]
cmp eax, ecx
jge 0x42c35f
mov edi, dword [0x5adec0]
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + edi + 0x42]
lea esi, [ecx + edi + 0x42]
test ax, ax
jbe 0x42c35f
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42c35f
cmp ecx, 3
je 0x42c35f
cmp ecx, 5
je 0x42c35f
cmp ecx, 4
je 0x42c35f
lea ecx, [edx + edx*4 - 0x28000]
and eax, 0xffff
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8 - 0x8000]
mov edx, dword [ecx*4 + 0x5c88c8]
add edx, eax
mov dword [ecx*4 + 0x5c88c8], edx
xor edx, edx
mov dx, word [esi]
mov esi, dword [esp + 0x10]
push edx
mov eax, dword [esi + edi + 0x10]
mov ecx, dword [esi + edi + 0xc]
push eax
push ecx
call fcn.0046ed40
mov edx, dword [0x5adec0]
add esp, 0xc
mov word [esi + edx + 0x42], 0
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov al, byte [ebp + 0x44]
cmp al, 0x2b
je 0x42c384
cmp al, 0x1a
je 0x42c384
cmp dword [esp + 0x2c], 0xffffc000
jge 0x42dd3e
cmp byte [esi + 0x41], 1
jne 0x42c398
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x42c398
mov dword [esi + 0x24], 1
pop edi
mov byte [ebp + 0x41], 0xa
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov byte [esi + 0x41], 0x10
mov byte [esi + 0x3d], 1
mov edi, 0x6a
jmp 0x42d1c9
mov eax, dword [ebp + 0x68]
and eax, 2
cmp al, 2
jne case.0x42bfe8.68
mov byte [esi + 0x3a], 0
mov byte [esi + 0x3d], 1
jmp case.0x42bfe8.68
cmp byte [esi + 0x41], 0xa
je case.0x42bfe8.68
mov dword [esi + 0x24], 0
mov byte [esi + 0x41], 0xa
jmp 0x42dbf1
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov eax, dword [esi + 0x5c]
mov cl, byte [eax + ebx + 0x428]
test cl, cl
jne 0x42c431
mov byte [eax + ebx + 0x428], 1
mov dword [ebx + 0x148], eax
mov ecx, dword [ebx + eax*4 + 0x400]
test ecx, ecx
jne 0x42c4a9
mov dword [ebx + eax*4 + 0x400], 0x14
jmp 0x42c4a9
mov edi, dword [ebx + eax*4 + 0x400]
add edi, 0x14
mov dword [ebx + eax*4 + 0x400], edi
mov edx, dword [0x5c8188]
cmp edx, 1
mov ecx, edi
jle 0x42c516
cmp ecx, 0x32
jle 0x42c516
mov dword [ebx + eax*4 + 0x400], 0x32
jmp 0x42c516
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov al, byte [ebx + 0x42d]
test al, al
jne 0x42c4e6
mov byte [ebx + 0x42d], 1
mov dword [ebx + 0x148], 5
mov eax, dword [ebx + 0x414]
test eax, eax
jne 0x42c4a9
mov dword [ebx + 0x414], 0x280
mov ecx, dword [esp + 0x28]
push 1
push ecx
call fcn.0043cc00
shl eax, 7
add ebx, eax
mov dword [ebx + 0x1c8], 1
mov edx, dword [0x5f4c8c]
lea eax, [ebx + 0x1dc]
push edx
push eax
call fcn.004b57c2
add esp, 0x10
mov dword [ebx + 0x1cc], 0
jmp 0x42c516
mov edx, dword [ebx + 0x414]
add edx, 0x280
mov dword [ebx + 0x414], edx
mov ecx, dword [0x5c8188]
cmp ecx, 1
mov eax, edx
jle 0x42c516
cmp eax, 0x640
jle 0x42c516
mov dword [ebx + 0x414], 0x640
mov dword [esp + 0x14], 2
mov edi, 0x6a
mov byte [esi + 0x3d], 1
jmp 0x42d1c9
cmp byte [esi + 0x41], 1
jne 0x42c536
mov byte [esi + 0x41], 0x1d
mov dword [esp + 0x1c], 1
jmp case.0x42bfe8.68
mov eax, dword [esp + 0x2c]
test eax, eax
jle case.0x42bfe8.68
test byte [ebp + 0x68], 6
je case.0x42bfe8.68
mov al, byte [esi + 0x3a]
test al, al
jbe case.0x42bfe8.68
mov byte [esi + 0x3a], 0
jmp case.0x42bfe8.68
mov ecx, dword [0x62bdd0]
mov dl, cl
sub cl, 0x2c
add dl, 4
and ecx, 0xff
and edx, 0xff
mov ecx, dword [ecx + 0x62c040]
mov eax, edx
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 1
inc ecx
mov dword [eax + 0x62c040], ebx
mov dword [esp + 0x18], ecx
mov bl, 0x10
jmp 0x42c5ae
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
push 0
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
push 0x16
xor edi, eax
and eax, 0x7fff
mov dword [ecx + 0x62c040], edi
mov edx, dword [esi + 0x10]
shl eax, 5
sub edx, eax
mov eax, dword [esi + 0xc]
push edx
push eax
call fcn.0042fdc0
add esp, 0x10
test eax, eax
jle 0x42c7ad
mov ecx, dword [0x5adec0]
shl eax, 7
add eax, ecx
mov ecx, eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [ecx], 0x4030b0
mov dx, word [0x55f3cc]
mov word [ecx + 0x34], dx
mov eax, dword [0x62bdd0]
mov dl, al
jle 0x42c671
add dl, 4
sub al, 0x2c
and edx, 0xff
and eax, 0xff
mov dword [0x62bdd0], edx
mov eax, dword [eax + 0x62c040]
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 0x7fff
mov dword [edx + 0x62c040], edi
movsx edx, byte [ebp + 0x45]
imul eax, edx
shl eax, 4
mov dword [ecx + 0x14], eax
mov al, byte [ebp + 0x45]
mov byte [ecx + 0x45], al
jmp 0x42c6ab
add dl, 4
sub al, 0x2c
and edx, 0xff
and eax, 0xff
mov dword [0x62bdd0], edx
mov eax, dword [eax + 0x62c040]
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 0x7fff
sub eax, 0x3fff
mov dword [edx + 0x62c040], edi
shl eax, 4
mov dword [ecx + 0x14], eax
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 0x7fff
sub eax, 0x4000
mov dword [edx + 0x62c040], edi
shl eax, 4
mov dword [ecx + 0x18], eax
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 0x1f
mov dword [edx + 0x62c040], edi
xor edx, edx
mov dx, word [ecx + 0x34]
xor edi, edi
mov di, word [edx*8 + 0x55f460]
mov byte [ecx + 0x41], bl
cdq
idiv edi
mov byte [ecx + 0x3c], dl
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], edx
mov edi, dword [edx + 0x62c040]
xor edi, eax
and eax, 3
cmp eax, 6
mov dword [edx + 0x62c040], edi
ja case.0x42c772.5
jmp dword [eax*4 + 0x42ded4]
mov dword [ecx + 0x64], 0x19a
jmp 0x42c7ad
mov dword [ecx + 0x64], 0x19b
jmp 0x42c7ad
mov dword [ecx + 0x64], 0x19c
jmp 0x42c7ad
mov dword [ecx + 0x64], 0x19d
jmp 0x42c7ad
mov dword [ecx + 0x64], 0x19e
jmp 0x42c7ad
mov dword [ecx + 0x64], 0x19f
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jns 0x42c5a9
jmp case.0x42bfe8.68
cmp byte [esi + 0x41], 0x11
je case.0x42bfe8.68
mov dword [esp + 0x14], 2
mov byte [esi + 0x41], 0x10
mov byte [esi + 0x3d], 1
jmp 0x42d1ea
mov byte [esi + 0x41], 0x10
mov byte [esi + 0x3d], 1
jmp 0x42d8d8
mov edi, dword [esp + 0x28]
cmp edi, 0x8000
jl case.0x42bfe8.68
mov eax, dword [ebx + 0x134]
test eax, eax
je 0x42c81d
cmp dword [esi + 0x50], 0xffffffff
jne case.0x42bfe8.68
mov byte [esi + 0x41], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp byte [esi + 0x41], 1
jne case.0x42bfe8.68
cmp edi, 0x8020
jg 0x42c8d4
mov ecx, dword [0x62031c]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jge 0x42c8d4
mov eax, dword [esp + 0x10]
mov edx, dword [0x5adec0]
lea eax, [eax + edx + 0x42]
mov dword [esp + 0x24], eax
mov ax, word [eax]
test ax, ax
jbe 0x42c8d4
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42c8d4
cmp ecx, 3
je 0x42c8d4
cmp ecx, 5
je 0x42c8d4
cmp ecx, 4
je 0x42c8d4
mov edi, dword [esp + 0x28]
and eax, 0xffff
lea ecx, [edi + edi*4 - 0x28000]
lea ecx, [ecx + ecx*8]
lea ecx, [edi + ecx*8 - 0x8000]
mov edi, dword [ecx*4 + 0x5c88c8]
add edi, eax
xor eax, eax
mov dword [ecx*4 + 0x5c88c8], edi
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov ax, word [ecx]
mov ecx, dword [edi + edx + 0xc]
push eax
mov eax, dword [edi + edx + 0x10]
push eax
push ecx
call fcn.0046ed40
mov edx, dword [0x5adec0]
add esp, 0xc
mov word [edi + edx + 0x42], 0
mov edi, dword [esp + 0x28]
mov byte [esi + 0x3d], 1
mov byte [esi + 0x41], 0x10
mov dword [esi + 0x50], edi
mov dword [ebx + 0x134], 1
jmp 0x42dbf1
cmp dword [esp + 0x28], 0x8000
jl 0x42dbf1
cmp dword [0x5c8188], 4
jne 0x42c943
mov eax, dword [ebx + 0x3d8]
mov ecx, dword [0x5f37f0]
cmp eax, ecx
jl case.0x42bfe8.68
mov eax, dword [ebx + 0x534]
test eax, eax
jne 0x42c92f
mov ecx, dword [0x5adbc0]
mov dword [ebx + 0x534], ecx
mov eax, dword [ebx + 0x54c]
test eax, eax
jne 0x42c943
mov dword [ebx + 0x54c], 1
mov byte [esi + 0x41], 0x10
mov eax, dword [0x5f37e4]
test eax, eax
jne 0x42dbf1
mov al, byte [ebx + 0x3e]
test al, al
jle 0x42c9b3
mov eax, dword [ebx + 0x1a0]
test eax, eax
jle 0x42c9b3
mov eax, dword [esi + 0x50]
test eax, eax
je 0x42c98e
mov edi, 0x54d593
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x5f3824
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x42c9ae
mov edi, 0x54d573
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x5f3824
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 1
mov dword [0x5f37e4], eax
mov dword [0x5f37e8], eax
jmp 0x42dbf1
cmp dword [esp + 0x28], 0x8000
jl 0x42dbf1
mov byte [esi + 0x41], 0x10
mov eax, dword [0x5f37e4]
test eax, eax
jne 0x42dbf1
mov al, byte [ebx + 0x3e]
test al, al
jle 0x42ca1c
mov eax, dword [ebx + 0x1a0]
test eax, eax
jle 0x42ca1c
mov edi, 0x54d593
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x5f3824
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 1
mov dword [0x5f37e4], eax
mov dword [0x5f37e8], eax
jmp 0x42dbf1
mov al, byte [esi + 0x41]
mov ecx, dword [0x5c8188]
cmp al, 1
je 0x42ca4e
cmp ecx, 1
jne 0x42dbf1
cmp al, 0x11
jne 0x42dbf1
mov edi, dword [esp + 0x28]
cmp edi, 0x8000
jl 0x42cae4
cmp edi, 0x8020
jg 0x42cae4
mov eax, dword [0x62031c]
mov edx, dword [esp + 0x24]
cmp edx, eax
jge 0x42cae4
mov eax, dword [esp + 0x10]
mov edx, dword [0x5adec0]
lea ebx, [eax + edx + 0x42]
mov ax, word [eax + edx + 0x42]
test ax, ax
jbe 0x42cae4
cmp ecx, 2
je 0x42cae4
cmp ecx, 3
je 0x42cae4
cmp ecx, 5
je 0x42cae4
cmp ecx, 4
je 0x42cae4
lea ecx, [edi + edi*4 - 0x28000]
and eax, 0xffff
lea ecx, [ecx + ecx*8]
lea ecx, [edi + ecx*8 - 0x8000]
add dword [ecx*4 + 0x5c88c8], eax
xor eax, eax
mov ax, word [ebx]
mov ebx, dword [esp + 0x10]
push eax
mov ecx, dword [ebx + edx + 0x10]
mov edx, dword [ebx + edx + 0xc]
push ecx
push edx
call fcn.0046ed40
mov eax, dword [0x5adec0]
add esp, 0xc
mov word [ebx + eax + 0x42], 0
mov byte [esi + 0x41], 0x10
mov dword [esi + 0x4c], edi
mov byte [esi + 0x3d], 3
jmp 0x42dbf1
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push 0
push 0
push 0x6a
push ecx
push edx
mov dword [ebx + 0x470], 0xaf0
mov dword [ebx + 0x46c], 1
mov dword [ebx + 0x148], 0
mov dword [esp + 0x28], 2
call fcn.00477d10
add esp, 0x14
mov edi, 0x98
jmp 0x42d1c9
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov ecx, dword [ebx + 0xc]
mov eax, 2
mov dword [ebx + 0x46c], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10]
push 0
push 0
push 0x6a
push eax
push ecx
mov dword [ebx + 0x470], 0xaf0
mov dword [ebx + 0x148], 0
call fcn.00477d10
add esp, 0x14
mov edi, 0x98
jmp 0x42d1c9
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push 0
push 0
push 0x6a
push edx
push eax
mov dword [ebx + 0x470], 0xaf0
mov dword [ebx + 0x46c], 3
mov dword [ebx + 0x148], 0
mov dword [esp + 0x28], 2
call fcn.00477d10
add esp, 0x14
mov edi, 0x98
jmp 0x42d1c9
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov dword [ebx + 0x470], 0xaf0
mov dword [ebx + 0x46c], 4
mov dword [ebx + 0x148], 0
mov dword [esp + 0x14], 2
mov edi, 0x6a
jmp 0x42d1c9
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
cmp ecx, ebx
jle case.0x42bfe8.68
test byte [ebp + 0x68], 6
jne case.0x42bfe8.68
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, edi
sub edx, ecx
cmp edx, ebx
jle 0x42cc55
mov ecx, edx
jmp 0x42cc57
sub ecx, edi
cmp ecx, 0x10000
jle 0x42cc62
mov dword [esi + 0x24], ebx
sub al, 0xf8
mov byte [esi + 0x3e], 3
mov ecx, dword [ebp + 0x14]
mov byte [esi + 0x41], 0x10
neg al
sbb eax, eax
mov dword [esi + 0x14], ecx
and al, 0xda
mov dword [esp + 0x14], ebx
add eax, 0x1f3
mov edi, eax
jmp 0x42d1c9
mov eax, dword [ebp + 0x48]
test eax, eax
je case.0x42bfe8.68
cmp byte [esi + 0x41], 0x11
jne 0x42cc9d
mov byte [esi + 0x41], 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x14]
imul eax, dword [ebp + 0x48]
cdq
and edx, 7
add eax, edx
sar eax, 3
add ecx, eax
mov dword [esi + 0x14], ecx
jns 0x42ccc3
mov dword [esi + 0x1c], 0xfffff000
jmp case.0x42bfe8.68
mov dword [esi + 0x1c], 0x1000
jmp case.0x42bfe8.68
mov eax, dword [esi + 0x5c]
test eax, eax
jne case.0x42bfe8.43
cmp byte [esi + 0x41], 3
jne case.0x42bfe8.68
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
mov dword [esi + 0x30], edx
jmp 0x42d1ea
mov eax, dword [esp + 0x2c]
test eax, eax
jle case.0x42bfe8.68
test byte [ebp + 0x68], 6
jne case.0x42bfe8.68
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x1c], 1
test eax, eax
je 0x42cd28
cmp dword [ebp + 0x78], 7
ja 0x42cd28
mov byte [ebp + 0x41], 0xa
jmp case.0x42bfe8.68
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov cl, byte [ebp + 0x45]
sub edi, eax
neg eax
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x1c]
neg eax
neg cl
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x1c], eax
mov byte [ebp + 0x45], cl
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov ecx, edx
mov dword [0x62bdd0], ecx
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 0x7fff
sub eax, 0x3fff
mov dword [ecx + 0x62c040], edx
mov edx, dword [ebp + 0x18]
shl eax, 4
sub eax, edx
cmp eax, 0xfff80000
mov dword [ebp + 0x18], eax
jge 0x42cda0
mov dword [ebp + 0x18], 0xfff80000
jmp 0x42cdaf
mov ecx, dword [ebp + 0x18]
mov eax, 0x80000
cmp ecx, eax
jle 0x42cdaf
mov dword [ebp + 0x18], eax
mov ecx, dword [0x62bdd0]
xor edi, edi
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], ebx
test ecx, ecx
jle 0x42d63c
movsx eax, byte [ebp + 0x45]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
neg eax
push eax
push ecx
push edx
call fcn.0046eb70
mov ecx, dword [0x62bdd0]
add esp, 0xc
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
inc edi
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], ebx
cmp edi, ecx
jl 0x42cdf0
jmp 0x42d63c
mov eax, dword [ebp + 0x68]
mov edx, eax
and edx, 4
cmp dl, 4
je 0x42cfba
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffc000
jl 0x42cfba
test ecx, ecx
jle case.0x42bfe8.68
and eax, 2
cmp al, 2
je case.0x42bfe8.68
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x1c], 1
test eax, eax
je 0x42ce9a
cmp dword [ebp + 0x78], 7
ja 0x42ce9a
mov byte [ebp + 0x41], 0xa
jmp case.0x42bfe8.68
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov cl, byte [ebp + 0x45]
sub edi, eax
neg eax
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x1c]
neg eax
neg cl
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x1c], eax
mov byte [ebp + 0x45], cl
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov ecx, edx
mov dword [0x62bdd0], ecx
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 0x7fff
sub eax, 0x3fff
mov dword [ecx + 0x62c040], edx
mov edx, dword [ebp + 0x18]
shl eax, 4
sub eax, edx
cmp eax, 0xfff80000
mov dword [ebp + 0x18], eax
jge 0x42cf12
mov dword [ebp + 0x18], 0xfff80000
jmp 0x42cf21
mov ecx, dword [ebp + 0x18]
mov eax, 0x80000
cmp ecx, eax
jle 0x42cf21
mov dword [ebp + 0x18], eax
mov ecx, dword [0x62bdd0]
xor edi, edi
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], ebx
test ecx, ecx
jle 0x42d63c
movsx eax, byte [ebp + 0x45]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
neg eax
push eax
push ecx
push edx
call fcn.0046eb70
mov ecx, dword [0x62bdd0]
add esp, 0xc
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
inc edi
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], ebx
cmp edi, ecx
jl 0x42cf62
jmp 0x42d63c
mov al, byte [esi + 0x3a]
test al, al
jbe 0x42cfd8
mov edi, dword [esp + 0x24]
push 1
push edi
call fcn.00401010
push edi
call fcn.0042fed0
add esp, 0xc
jmp 0x42cfe0
mov edi, dword [esp + 0x24]
mov byte [esi + 0x41], 0x10
mov edx, dword [esp + 0x28]
cmp edx, 0x8000
jl 0x42d07f
cmp edx, 0x8020
jg 0x42d07f
cmp edi, dword [0x62031c]
jge 0x42d07f
mov ebx, dword [0x5adec0]
mov edi, dword [esp + 0x10]
mov ax, word [edi + ebx + 0x42]
test ax, ax
jbe 0x42d07f
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42d07f
cmp ecx, 3
je 0x42d07f
cmp ecx, 5
je 0x42d07f
cmp ecx, 4
je 0x42d07f
lea ecx, [edx + edx*4 - 0x28000]
and eax, 0xffff
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8 - 0x8000]
mov edx, dword [ecx*4 + 0x5c88c8]
add edx, eax
mov dword [ecx*4 + 0x5c88c8], edx
mov eax, dword [edi + ebx + 0x10]
mov ecx, dword [edi + ebx + 0xc]
xor edx, edx
mov dx, word [edi + ebx + 0x42]
push edx
push eax
push ecx
call fcn.0046ed40
mov edx, dword [0x5adec0]
add esp, 0xc
mov word [edi + edx + 0x42], 0
mov edi, 0x6a
jmp 0x42d1c9
cmp byte [esi + 0x41], 0xd
jne case.0x42bfe8.68
mov byte [esi + 0x41], 0xe
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
mov dword [esi + 0x18], 0x8000
sar eax, 1
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], 0
mov byte [esi + 0x3c], 0
mov byte [esi + 0x3d], 1
jmp case.0x42bfe8.68
cmp dword [esi + 0x64], 1
jne 0x42d134
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
push 0
sub eax, 0x40000
push 0xe2
push eax
push ecx
mov dword [esi + 0x64], 0
call fcn.0042fdc0
add esp, 0x10
test eax, eax
jle 0x42d134
mov edi, dword [0x5adec0]
mov dl, byte [esi + 0x45]
shl eax, 7
add eax, edi
mov byte [eax + 0x45], dl
mov byte [eax + 0x41], 8
mov ecx, dword [esi + 0x60]
mov dword [eax + 0x18], 0xffffc000
mov dword [eax + 0x60], ecx
mov dword [eax + 0x5c], ecx
movsx ecx, byte [esi + 0x45]
shl ecx, 0xe
mov dword [eax + 0x14], ecx
mov cl, byte [esi + 0x44]
cmp cl, 0xfa
jne 0x42d134
mov word [eax + 0x36], 0x72
mov edx, dword [0x55f448]
add edx, 3
mov word [eax + 0x34], dx
mov al, byte [esi + 0x41]
cmp al, 3
je case.0x42bfe8.68
cmp al, 0x13
je case.0x42bfe8.68
movsx eax, byte [esi + 0x45]
shl eax, 0x10
mov byte [esi + 0x41], 0x13
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x8000
mov dword [esi + 0x24], 0
mov byte [esi + 0x3c], 0
jmp case.0x42bfe8.68
mov byte [esi + 0x41], 0xe
jmp case.0x42bfe8.68
mov cl, byte [esi + 0x41]
cmp cl, 3
je case.0x42bfe8.68
mov bl, 0x10
cmp cl, bl
je 0x42d192
sub al, 0x74
mov byte [esi + 0x41], bl
neg al
sbb eax, eax
and eax, 0x13a
add eax, 0xc2
mov edi, eax
mov byte [esi + 0x3a], 0
mov ecx, dword [0x5adbc0]
and ecx, 7
or eax, 0xffffffff
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov dword [esi + 0x54], 0xff
mov dword [esi + 0x50], eax
jle 0x42d1c5
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jle 0x42d2e9
mov byte [esi + 0x45], al
test edi, edi
je case.0x42bfe8.68
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push 0
push 0
push edi
push edx
push eax
call fcn.00477d10
add esp, 0x14
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42dbf1
mov eax, dword [esp + 0x28]
cmp eax, 0x8000
jl 0x42d29e
cmp eax, 0x8020
jg 0x42d29e
mov ecx, dword [0x62031c]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jge 0x42d29e
mov edx, dword [esp + 0x10]
mov eax, dword [0x5adec0]
lea edi, [edx + eax + 0x42]
mov ax, word [edx + eax + 0x42]
test ax, ax
jbe 0x42d29e
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42d29e
cmp ecx, 3
je 0x42d29e
cmp ecx, 5
je 0x42d29e
cmp ecx, 4
je 0x42d29e
mov edx, dword [esp + 0x28]
and eax, 0xffff
lea ecx, [edx + edx*4 - 0x28000]
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8 - 0x8000]
xor edx, edx
mov ebx, dword [ecx*4 + 0x5c88c8]
add ebx, eax
mov eax, dword [0x5adec0]
mov dword [ecx*4 + 0x5c88c8], ebx
mov dx, word [edi]
mov edi, dword [esp + 0x10]
push edx
mov ecx, dword [edi + eax + 0x10]
mov edx, dword [edi + eax + 0xc]
push ecx
push edx
call fcn.0046ed40
mov eax, dword [0x5adec0]
add esp, 0xc
mov word [edi + eax + 0x42], 0
cmp dword [esp + 0x14], 1
jg 0x42dbb9
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x42dbb2
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x42db9e
mov edx, dword [0x55f280]
xor ecx, ecx
mov cx, word [ebp + 0x34]
add edx, 0x11
cmp ecx, edx
jne 0x42db90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push 5
push eax
push ecx
jmp 0x42dbaa
mov byte [esi + 0x45], 1
jmp 0x42d1c5
cmp byte [esi + 0x41], 1
jne case.0x42bfe8.68
mov ecx, dword [esp + 0x28]
cmp ecx, 0x8000
jl case.0x42bfe8.68
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x41], 0xe
test eax, eax
jle 0x42d328
mov al, byte [ebp + 0x45]
test al, al
jg 0x42d328
mov dword [esi + 0x54], 8
jmp 0x42d32f
mov dword [esi + 0x54], 0xfffffff8
mov edx, dword [esi + 0x10]
mov eax, dword [0x5f37c4]
cmp edx, eax
jle 0x42d34a
mov eax, dword [esi + 0x54]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esi + 0x54], eax
cmp ecx, 0x8020
mov dword [esi + 0x30], ecx
jg 0x42d3ef
mov eax, dword [esp + 0x24]
mov ecx, dword [0x62031c]
cmp eax, ecx
jge 0x42d3ef
mov edx, dword [0x5adec0]
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + edx + 0x42]
mov cx, word [ecx + edx + 0x42]
test cx, cx
jbe 0x42d3ef
mov eax, dword [0x5c8188]
cmp eax, 2
je 0x42d3ef
cmp eax, 3
je 0x42d3ef
cmp eax, 5
je 0x42d3ef
cmp eax, 4
je 0x42d3ef
mov eax, dword [esp + 0x28]
and ecx, 0xffff
lea edi, [eax + eax*4 - 0x28000]
lea edi, [edi + edi*8]
lea eax, [eax + edi*8 - 0x8000]
mov edi, dword [eax*4 + 0x5c88c8]
add edi, ecx
mov dword [eax*4 + 0x5c88c8], edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov ax, word [ebx]
mov ecx, dword [edi + edx + 0x10]
mov edx, dword [edi + edx + 0xc]
push eax
push ecx
push edx
call fcn.0046ed40
mov eax, dword [0x5adec0]
add esp, 0xc
mov word [edi + eax + 0x42], 0
cmp byte [esi + 0x44], 0xc1
jne case.0x42bfe8.68
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x1a0
push ecx
push edx
jmp 0x42d1d6
cmp dword [esp + 0x28], 0x8000
jl case.0x42bfe8.68
mov byte [esi + 0x41], 3
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push 0
push 0
push 0x6a
push eax
push ecx
mov dword [esp + 0x28], 2
call fcn.00477d10
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push 0
push 0
push 0x70
push edx
push eax
call fcn.00477d10
mov dword [ebx + 0x484], 0x834
mov al, byte [esi + 0x44]
add esp, 0x28
cmp al, 0x5e
mov edi, 0x4a
jne 0x42d482
mov ecx, dword [esp + 0x28]
push 8
add ecx, 0xffff8000
push ecx
call fcn.0042f4e0
add esp, 8
jmp 0x42d1c9
mov edx, dword [esp + 0x28]
lea eax, [edx - 0x8000]
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*8]
mov ecx, dword [edx*4 + 0x5c897c]
cmp ecx, 0x37
jne 0x42d4b1
push 0x59
push eax
call fcn.0042f4e0
add esp, 8
jmp 0x42d1c9
cmp ecx, 0x59
jne 0x42d4c6
push 0x3d
push eax
call fcn.0042f4e0
add esp, 8
jmp 0x42d1c9
push 0x37
push eax
call fcn.0042f4e0
add esp, 8
jmp 0x42d1c9
mov al, byte [esi + 0x41]
cmp al, 0x1c
je 0x42d4f1
cmp al, 0xe
je 0x42d4f1
mov eax, dword [esi + 0x64]
mov byte [esi + 0x46], 5
inc eax
mov dword [esi + 0x64], eax
jmp case.0x42bfe8.68
mov eax, dword [esp + 0x2c]
test eax, eax
jle case.0x42bfe8.68
test byte [ebp + 0x68], 6
jne case.0x42bfe8.68
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x1c], 1
test eax, eax
je 0x42d525
cmp dword [ebp + 0x78], 7
ja 0x42d525
mov byte [ebp + 0x41], 0xa
jmp case.0x42bfe8.68
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov cl, byte [ebp + 0x45]
sub edi, eax
neg eax
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x1c]
neg eax
neg cl
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x1c], eax
mov byte [ebp + 0x45], cl
mov eax, dword [0x62bdd0]
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov ecx, edx
mov dword [0x62bdd0], ecx
mov edx, dword [ecx + 0x62c040]
xor edx, eax
and eax, 0x7fff
sub eax, 0x3fff
mov dword [ecx + 0x62c040], edx
mov edx, dword [ebp + 0x18]
shl eax, 4
sub eax, edx
cmp eax, 0xfff80000
mov dword [ebp + 0x18], eax
jge 0x42d59d
mov dword [ebp + 0x18], 0xfff80000
jmp 0x42d5ac
mov ecx, dword [ebp + 0x18]
mov eax, 0x80000
cmp ecx, eax
jle 0x42d5ac
mov dword [ebp + 0x18], eax
mov ecx, dword [0x62bdd0]
xor edi, edi
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], ebx
test ecx, ecx
jle 0x42d63c
movsx eax, byte [ebp + 0x45]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
neg eax
push eax
push ecx
push edx
call fcn.0046eb70
mov ecx, dword [0x62bdd0]
add esp, 0xc
mov al, cl
sub cl, 0x2c
add al, 4
and ecx, 0xff
and eax, 0xff
inc edi
mov ecx, dword [ecx + 0x62c040]
mov dword [0x62bdd0], eax
mov ebx, dword [eax + 0x62c040]
xor ebx, ecx
and ecx, 7
add ecx, 8
mov dword [eax + 0x62c040], ebx
cmp edi, ecx
jl 0x42d5e9
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
push 0
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov ebx, dword [ecx + 0x62c040]
push 0
xor ebx, eax
and eax, 3
mov dword [ecx + 0x62c040], ebx
mov ecx, dword [esi + 0xc]
mov edx, dword [eax*4 + 0x4c65e8]
mov eax, dword [esi + 0x10]
push edx
push eax
push ecx
call fcn.00477d10
mov eax, dword [ebp + 0x74]
add esp, 0x14
inc eax
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x74], eax
jmp case.0x42bfe8.68
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x42d6b2
mov al, byte [ebp + 0x45]
neg al
movsx edx, al
mov byte [esi + 0x45], al
mov dword [esi + 0x64], edx
jmp 0x42d6b9
mov dword [esi + 0x64], 0
mov al, byte [esi + 0x3e]
cmp al, 0xa
jge 0x42d6ff
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
xor edi, eax
and eax, 7
add eax, 4
mov dword [ecx + 0x62c040], edi
mov dword [esi + 0x60], eax
jmp case.0x42bfe8.68
cmp al, 0x14
mov eax, dword [0x62bdd0]
jge 0x42d744
mov dl, al
sub al, 0x2c
add dl, 4
and eax, 0xff
and edx, 0xff
mov eax, dword [eax + 0x62c040]
mov ecx, edx
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
xor edi, eax
and eax, 3
add eax, 4
mov dword [ecx + 0x62c040], edi
mov dword [esi + 0x60], eax
jmp case.0x42bfe8.68
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov edi, dword [ecx + 0x62c040]
xor edi, eax
and eax, 3
add eax, 2
mov dword [ecx + 0x62c040], edi
mov dword [esi + 0x60], eax
jmp case.0x42bfe8.68
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x42dbf1
mov al, byte [esi + 0x3e]
test al, al
jg 0x42d854
mov edx, dword [esp + 0x28]
mov byte [esi + 0x41], 3
cmp edx, 0x8000
jl 0x42d858
cmp edx, 0x8020
jg 0x42d858
mov eax, dword [esp + 0x24]
mov ecx, dword [0x62031c]
cmp eax, ecx
jge 0x42d858
mov ebx, dword [0x5adec0]
mov ecx, dword [esp + 0x10]
mov ax, word [ecx + ebx + 0x42]
lea edi, [ecx + ebx + 0x42]
test ax, ax
jbe 0x42d858
mov ecx, dword [0x5c8188]
cmp ecx, 2
je 0x42d858
cmp ecx, 3
je 0x42d858
cmp ecx, 5
je 0x42d858
cmp ecx, 4
je 0x42d858
lea ecx, [edx + edx*4 - 0x28000]
and eax, 0xffff
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*8 - 0x8000]
mov edx, dword [ecx*4 + 0x5c88c8]
add edx, eax
mov dword [ecx*4 + 0x5c88c8], edx
xor edx, edx
mov dx, word [edi]
mov edi, dword [esp + 0x10]
push edx
mov eax, dword [edi + ebx + 0x10]
mov ecx, dword [edi + ebx + 0xc]
push eax
push ecx
call fcn.0046ed40
mov edx, dword [0x5adec0]
add esp, 0xc
mov word [edi + edx + 0x42], 0
mov dword [esi + 0x24], 0x8c
jmp 0x42dbf1
mov byte [esi + 0x41], 0xe
mov dword [esi + 0x24], 0x8c
jmp 0x42dbf1
mov al, byte [esi + 0x41]
cmp al, 0x1d
je 0x42d885
mov cl, byte [0x5fcfbe]
cmp al, 8
mov byte [esi + 0x3e], cl
jne 0x42dbf1
mov byte [esi + 0x41], 0x16
jmp 0x42dbf1
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x42dbf1
mov al, byte [esi + 0x3d]
test al, al
jne 0x42dbf1
mov dl, byte [esp + 0x18]
mov bl, byte [esi + 0x3e]
mov cl, byte [esi + 0x3a]
sub bl, dl
test cl, cl
mov byte [esi + 0x3e], bl
mov al, bl
je 0x42d8ba
dec al
mov byte [esi + 0x3a], 0
mov byte [esi + 0x3e], al
mov al, byte [esi + 0x3e]
mov byte [esi + 0x46], 5
test al, al
jg 0x42dbf1
mov byte [esi + 0x3e], 0
mov dword [esi + 0x24], 0
mov byte [esi + 0x41], 0x11
mov ecx, dword [esp + 0x28]
cmp ecx, 0x8000
jl 0x42dbf1
cmp ecx, 0x8020
jg 0x42dbf1
mov eax, dword [esp + 0x24]
mov edx, dword [0x62031c]
cmp eax, edx
jge 0x42dbf1
mov edi, dword [0x5adec0]
mov edx, dword [esp + 0x10]
mov ax, word [edx + edi + 0x42]
lea esi, [edx + edi + 0x42]
test ax, ax
jbe 0x42dbf1
mov edx, dword [0x5c8188]
cmp edx, 2
je 0x42dbf1
cmp edx, 3
je 0x42dbf1
cmp edx, 5
je 0x42dbf1
cmp edx, 4
je 0x42dbf1
lea edx, [ecx + ecx*4 - 0x28000]
and eax, 0xffff
lea edx, [edx + edx*8]
lea ecx, [ecx + edx*8 - 0x8000]
mov ebx, dword [ecx*4 + 0x5c88c8]
add ebx, eax
xor eax, eax
mov dword [ecx*4 + 0x5c88c8], ebx
mov ax, word [esi]
mov esi, dword [esp + 0x10]
push eax
mov ecx, dword [esi + edi + 0x10]
mov edx, dword [esi + edi + 0xc]
push ecx
push edx
call fcn.0046ed40
mov eax, dword [0x5adec0]
add esp, 0xc
mov word [esi + eax + 0x42], 0
jmp 0x42dbf1
mov byte [ebp + 0x41], 0xa
mov eax, dword [esi + 0x50]
xor edi, edi
cmp eax, edi
jle case.0x42bfe8.68
cmp dword [esp + 0x2c], edi
jle 0x42d9d1
mov cl, byte [ebp + 0x3a]
test cl, cl
je 0x42d9d1
mov al, byte [esi + 0x41]
mov byte [esi + 0x3a], 0x23
cmp al, 0x17
je 0x42d9cb
mov byte [esi + 0x47], al
mov byte [esi + 0x41], 0x17
jmp 0x42d9fd
mov cl, byte [esi + 0x3a]
test cl, cl
mov ecx, dword [esp + 0x18]
jbe 0x42d9f8
cmp ecx, 3
jle 0x42d9ec
sub eax, ecx
mov byte [esi + 0x3a], 0
mov dword [esi + 0x50], eax
jmp 0x42d9fd
add eax, 0xfffffffd
mov byte [esi + 0x3a], 0
mov dword [esi + 0x50], eax
jmp 0x42d9fd
sub eax, ecx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x50]
mov byte [esi + 0x46], 5
cdq
sub eax, edx
sar eax, 1
test al, al
mov byte [esi + 0x3e], al
jg case.0x42bfe8.68
cmp dword [esi + 0x6c], edi
jne 0x42da3b
mov byte [esi + 0x41], 2
mov byte [esi + 0x3c], 0
mov dword [esi + 0x24], edi
mov dword [esi + 0x6c], 1
mov dword [esi + 0x50], 0xc8
mov byte [esi + 0x3e], 0x32
jmp 0x42dbf1
mov edx, dword [esp + 0x28]
mov byte [esi + 0x3e], 0
mov dword [esi + 0x24], edi
mov byte [esi + 0x41], 0x11
mov ecx, dword [0x55f2ec]
lea eax, [edx + 0x8000]
add ecx, 5
cmp eax, 0x8000
mov word [esi + 0x34], cx
mov byte [esi + 0x3d], 3
jl case.0x42bfe8.68
cmp eax, 0x8020
jg case.0x42bfe8.68
mov ecx, dword [esp + 0x24]
mov edx, dword [0x62031c]
cmp ecx, edx
jge case.0x42bfe8.68
mov ebx, dword [0x5adec0]
mov edx, dword [esp + 0x10]
mov cx, word [edx + ebx + 0x42]
lea edi, [edx + ebx + 0x42]
test cx, cx
jbe case.0x42bfe8.68
mov edx, dword [0x5c8188]
cmp edx, 2
je case.0x42bfe8.68
cmp edx, 3
je case.0x42bfe8.68
cmp edx, 5
je case.0x42bfe8.68
cmp edx, 4
je case.0x42bfe8.68
lea edx, [eax + eax*4 - 0x28000]
and ecx, 0xffff
lea edx, [edx + edx*8]
lea eax, [eax + edx*8 - 0x8000]
mov edx, dword [eax*4 + 0x5c88c8]
add edx, ecx
mov dword [eax*4 + 0x5c88c8], edx
xor eax, eax
mov ax, word [edi]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [edi + ebx + 0x10]
mov edx, dword [edi + ebx + 0xc]
push ecx
push edx
call fcn.0046ed40
mov eax, dword [0x5adec0]
add esp, 0xc
mov word [edi + eax + 0x42], 0
jmp case.0x42bfe8.68
mov al, byte [esi + 0x3e]
test al, al
jl case.0x42bfe8.68
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x42db60
sub al, byte [ebp + 0x48]
mov byte [esi + 0x3e], al
mov al, byte [esi + 0x3a]
test al, al
jbe 0x42db65
mov ecx, dword [esp + 0x24]
push 0
push ecx
call fcn.00401010
mov al, byte [esi + 0x3e]
add esp, 8
dec al
mov byte [esi + 0x3a], 0
mov byte [esi + 0x3e], al
jmp 0x42db65
dec al
mov byte [esi + 0x3e], al
mov al, byte [esi + 0x3e]
mov byte [esi + 0x46], 5
test al, al
jge case.0x42bfe8.68
mov byte [esi + 0x3e], 0xff
mov dword [esi + 0x24], 0
mov byte [esi + 0x41], 0x11
mov dword [esp + 0x14], 2
jmp 0x42d1ea
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push 0xa
push edx
push eax
jmp 0x42dbaa
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 0xa
push ecx
push edx
call fcn.0042ace0
add esp, 0xc
cmp dword [esp + 0x14], 1
jl 0x42dbf1
mov al, byte [ebp + 0x68]
push 0
test al, 2
jne 0x42dbd1
mov eax, dword [esp + 0x28]
push eax
call fcn.0046efd0
add esp, 8
jmp 0x42dbf1
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push 0
push 0x4b
push ecx
push edx
call fcn.00477d10
mov eax, dword [esp + 0x38]
push 1
push eax
call fcn.0046efd0
add esp, 0x1c
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x42dd3e
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x42dd3e
mov al, byte [ebp + 0x44]
mov byte [ebp + 0x41], 0xa
cmp al, 0x13
jne 0x42dcb9
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push 0
push 0x5f
push ecx
push edx
call fcn.00477d10
mov eax, dword [0x62bdd0]
add esp, 0x14
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov esi, dword [ecx + 0x62c040]
xor esi, eax
and eax, 7
inc eax
mov dword [ecx + 0x62c040], esi
mov esi, eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0x16
push edx
push eax
call fcn.0042fdc0
add esp, 0x10
test eax, eax
jle 0x42dd3e
mov ecx, dword [0x55f280]
mov edx, dword [0x5adec0]
shl eax, 7
add ecx, 0x4b
dec esi
mov word [eax + edx + 0x34], cx
mov ecx, dword [0x5adec0]
mov byte [eax + ecx + 0x3f], 1
mov edx, dword [0x5adec0]
mov byte [eax + edx + 0x3b], 2
jne 0x42dc65
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp byte [ebp + 0x44], 0x11
jne 0x42dd3e
mov eax, dword [0x62bdd0]
mov cl, al
sub al, 0x2c
add cl, 4
and eax, 0xff
and ecx, 0xff
mov eax, dword [eax + 0x62c040]
mov dword [0x62bdd0], ecx
mov esi, dword [ecx + 0x62c040]
xor esi, eax
and eax, 7
inc eax
mov dword [ecx + 0x62c040], esi
mov esi, eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 0x18
push edx
push eax
call fcn.0042fdc0
add esp, 0x10
test eax, eax
jle 0x42dd3e
mov ecx, dword [0x55f39c]
mov edx, dword [0x5adec0]
shl eax, 7
add ecx, 0x56
dec esi
mov word [eax + edx + 0x34], cx
mov ecx, dword [0x5adec0]
mov byte [eax + ecx + 0x3f], 1
mov edx, dword [0x5adec0]
mov byte [eax + edx + 0x3b], 2
jne 0x42dcf6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret