Function at 0x574a98
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx - 4]
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x8411
jg 0x574c36
je 0x574f18
cmp eax, 0x442c
jg 0x574b84
je 0x5751e2
cmp eax, 0x245b
jg 0x574b33
je 0x574f6c
cmp eax, 0x2416
jg 0x574b11
je 0x574fd3
sub eax, 0x2403
je 0x574dfe
add eax, 0xfffffffe
sub eax, 3
jb 0x574e1f
sub eax, 4
je 0x574e1f
jmp 0x57580e
sub eax, 0x2417
je 0x57500f
sub eax, 0x13
je 0x574e1f
sub eax, 7
je 0x57523c
jmp 0x57580e
cmp eax, 0x260a
jg 0x574b62
je 0x574ea2
sub eax, 0x245c
je 0x574f98
sub eax, 5
je 0x574dfe
sub eax, 0xc
je 0x574e1f
jmp 0x57580e
sub eax, 0x2640
je 0x57524c
sub eax, 0xdc3
je 0x575314
dec eax
je 0x575325
jmp 0x57580e
cmp eax, 0x6426
jg 0x574be2
je 0x57507c
cmp eax, 0x5622
jg 0x574bc2
je 0x575529
sub eax, 0x4600
je 0x574d9d
sub eax, 0xb
je 0x574ed9
sub eax, 0xdf5
je 0x5752e5
jmp 0x57580e
sub eax, 0x6412
je 0x574f29
sub eax, 0x12
je 0x575020
dec eax
je 0x57504e
jmp 0x57580e
cmp eax, 0x7621
jg 0x574c14
je 0x575517
sub eax, 0x6427
je 0x5750aa
dec eax
je 0x5750d8
add eax, 0xfffffde3
sub eax, 2
jb 0x57525c
jmp 0x57580e
sub eax, 0x7623
je 0x57553b
sub eax, 0xdeb
je 0x574ef4
dec eax
je 0x574f06
jmp 0x57580e
cmp eax, 0xc651
jg 0x574cf2
je 0x57518a
cmp eax, 0xa413
jg 0x574ca3
je 0x574f48
cmp eax, 0x8460
jg 0x574c81
je 0x574f18
sub eax, 0x842f
je 0x575228
sub eax, 0x2e
je 0x574ef4
dec eax
je 0x574f06
jmp 0x57580e
sub eax, 0x9407
je 0x57538c
sub eax, 0x1fa
je 0x5752f6
dec eax
je 0x575305
jmp 0x57580e
cmp eax, 0xc64d
jg 0x574cd4
je 0x5751f6
sub eax, 0xa414
je 0x574f5a
sub eax, 0x21f9
je 0x574ee5
sub eax, 8
je 0x574fc4
jmp 0x57580e
sub eax, 0xc64e
je 0x575106
dec eax
je 0x575132
dec eax
je 0x57515e
jmp 0x57580e
cmp eax, 0xd62b
jg 0x574d53
je 0x57554d
cmp eax, 0xd609
jg 0x574d30
je 0x575484
sub eax, 0xc652
je 0x5751b6
sub eax, 0xfb3
je 0x575336
sub eax, 3
je 0x57539d
jmp 0x57580e
sub eax, 0xd612
je 0x575496
dec eax
je 0x575362
add eax, 0xfffffff9
sub eax, 4
jb 0x575770
jmp 0x57580e
cmp eax, 0xd660
jg 0x574d82
je 0x5754eb
sub eax, 0xd62c
je 0x5755a9
sub eax, 6
je 0x5755f7
sub eax, 2
je 0x575663
jmp 0x57580e
sub eax, 0xd662
je 0x5756b1
sub eax, 0x1fb2
je 0x5757ea
jmp 0x57580e
mov eax, dword [ebp + 8]
cmp byte [eax - 9], 0
jne 0x574dec
mov eax, dword [ebp - 4]
add eax, 2
movsx edx, word [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x1d4]
call fcn.005660d4
mov word [ebx + 0x16], ax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp byte [eax - 0x241], 0
jne 0x57580e
mov eax, dword [ebp + 8]
push eax
call fcn.005733d8
pop ecx
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx + 0x16], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov al, byte [eax]
test al, al
jb 0x574e0e
cmp al, 3
jbe 0x574e17
mov byte [ebx + 0xa], 0
jmp 0x57580e
mov byte [ebx + 0xa], al
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, byte [eax]
call fcn.005660c4
mov esi, eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x2407
jg 0x574e4a
je 0x574e6c
sub eax, 0x2405
je 0x574e58
dec eax
je 0x574e62
jmp 0x574e98
sub eax, 0x240c
je 0x574e76
sub eax, 0x1e
je 0x574e8e
jmp 0x574e98
mov eax, esi
mov byte [ebx + 0xc], al
jmp 0x57580e
mov eax, esi
mov byte [ebx + 0xb], al
jmp 0x57580e
mov eax, esi
mov byte [ebx + 0xd], al
jmp 0x57580e
mov eax, dword [0x66f294]
cmp byte [eax], 0
jne 0x57580e
mov eax, esi
mov byte [ebx + 0x15], al
jmp 0x57580e
mov eax, esi
mov byte [ebx + 0xf], al
jmp 0x57580e
mov eax, esi
mov byte [ebx + 0x14], al
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov al, byte [eax]
sub al, 9
jae 0x574ed0
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, byte [eax]
call fcn.00653548
mov edx, eax
mov eax, 8
call fcn.00653538
mov byte [ebx + 0x1f], al
jmp 0x57580e
mov byte [ebx + 0x1f], 0
jmp 0x57580e
push ebp
call fcn.00574878
pop ecx
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
call fcn.005734a8
pop ecx
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx + 8], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx + 2], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx + 4], ax
mov eax, dword [ebp - 4]
add eax, 4
mov ax, word [eax]
mov word [ebx + 6], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx + 0x10], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov ax, word [eax]
mov word [ebx + 0x12], ax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
cmp byte [eax], 1
jne 0x574f82
mov word [ebx + 0x10], 0xffec
jmp 0x57580e
cmp word [ebx + 0x10], 0xffec
jne 0x57580e
mov word [ebx + 0x10], 0
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
cmp byte [eax], 1
jne 0x574fae
mov word [ebx + 0x12], 0xffec
jmp 0x57580e
cmp word [ebx + 0x12], 0xffec
jne 0x57580e
mov word [ebx + 0x12], 0
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
call fcn.00573754
pop ecx
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
cmp byte [eax + 0x430], 0
jne 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov al, byte [eax]
mov byte [ebx + 0x20], al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x10]
mov byte [eax + 0x436], 1
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, byte [eax]
mov dword [ebx + 0x28], eax
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x748]
mov eax, dword [ebp - 4]
add eax, 2
mov eax, dword [eax]
call fcn.0057475c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x764]
mov eax, dword [ebp - 4]
add eax, 2
mov eax, dword [eax]
call fcn.0057475c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x710]
mov eax, dword [ebp - 4]
add eax, 2
mov eax, dword [eax]
call fcn.0057475c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x72c]
mov eax, dword [ebp - 4]
add eax, 2
mov eax, dword [eax]
call fcn.0057475c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x6f4]
mov eax, dword [ebp - 4]
add eax, 2
mov eax, dword [eax]
call fcn.0057475c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x748]
mov eax, dword [ebp - 4]
add eax, 3
call fcn.00574800
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x764]
mov eax, dword [ebp - 4]
add eax, 3
call fcn.00574800
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x710]
mov eax, dword [ebp - 4]
add eax, 3
call fcn.00574800
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x72c]
mov eax, dword [ebp - 4]
add eax, 3
call fcn.00574800
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
lea edx, [eax - 0x6f4]
mov eax, dword [ebp - 4]
add eax, 3
call fcn.00574800
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov byte [eax - 0x243], 1
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, word [eax]
mov dword [ebx + 0x2700], eax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 3
cmp dword [eax], 0xff000000
jne 0x57580e
mov eax, dword [ebp - 4]
add eax, 0xb
cmp word [eax], 0
jne 0x57580e
mov eax, dword [ebp - 4]
add eax, 7
mov eax, dword [eax]
mov dword [ebx + 0x24], eax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movsx eax, word [eax]
mov dword [ebx + 0x2704], eax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov al, byte [eax]
mov byte [ebx + 0xe], al
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov al, byte [eax]
mov byte [ebx + 0x18], al
jmp 0x57580e
push 2
lea ecx, [ebp - 0xe]
mov eax, dword [ebp - 4]
add eax, 2
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x248]
call fcn.00571bf4
movzx eax, word [ebp - 0xe]
call fcn.00401e58
mov edi, eax
movzx eax, word [ebp - 0xe]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 0x248]
mov ecx, edi
or edx, 0xffffffff
call fcn.00571bf4
xor esi, esi
jmp 0x5752d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp + 8]
mov cl, byte [eax - 9]
mov edx, ebx
mov eax, edi
add eax, esi
call fcn.00575818
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
mov eax, edi
add eax, esi
call fcn.005733b8
pop ecx
add esi, eax
movzx eax, word [ebp - 0xe]
dec eax
cmp esi, eax
jl 0x5752a4
mov eax, edi
call fcn.00401fac
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, byte [eax]
mov dword [ebx + 0x2c], eax
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
call fcn.005739b8
pop ecx
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
call fcn.00573a14
pop ecx
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, byte [eax]
mov dword [ebx + 0x38], eax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx eax, byte [eax]
mov dword [ebx + 0x3c], eax
jmp 0x57580e
xor esi, esi
lea edi, [ebx + 0x2244]
mov eax, dword [ebp - 4]
add eax, 3
mov edx, esi
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov edx, edi
call fcn.0057475c
inc esi
add edi, 0x1c
cmp esi, 6
jne 0x57533e
jmp 0x57580e
xor esi, esi
lea edi, [ebx + 0x2244]
mov eax, dword [ebp - 4]
add eax, 3
mov edx, esi
shl edx, 3
add eax, edx
mov edx, edi
call fcn.00574800
inc esi
add edi, 0x1c
cmp esi, 6
jne 0x57536a
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movsx eax, word [eax]
mov dword [ebx + 0x34], eax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 4
mov edx, eax
mov ecx, dword [ebp - 4]
add ecx, 2
movzx ecx, word [ecx]
add edx, ecx
mov dword [ebp - 8], edx
movzx eax, byte [eax]
mov dword [ebx + 0x44], eax
add dword [ebp - 4], 5
mov edi, dword [ebx + 0x44]
test edi, edi
jl 0x5753da
inc edi
lea eax, [ebx + 0x48]
mov edx, dword [ebp - 4]
movsx edx, word [edx]
mov dword [eax], edx
add dword [ebp - 4], 2
add eax, 4
dec edi
jne 0x5753c8
mov edi, dword [ebx + 0x44]
dec edi
test edi, edi
jl 0x57580e
inc edi
lea eax, [ebx + 0x148]
mov ebx, eax
mov eax, dword [ebp - 4]
add eax, 0x14
cmp eax, dword [ebp - 8]
ja 0x57580e
mov esi, dword [ebp - 4]
mov ax, word [esi]
and ax, 0x20
movzx eax, ax
shr eax, 5
mov dword [ebx], eax
mov ax, word [esi]
and ax, 0x40
movzx eax, ax
shr eax, 6
mov dword [ebx + 4], eax
mov ax, word [esi]
and ax, 0x180
movzx eax, ax
shr eax, 7
mov dword [ebx + 8], eax
movzx eax, word [esi]
and eax, 0xc000
shr eax, 0xe
dec eax
sete al
mov byte [ebx + 0x7c], al
lea edx, [ebx + 0xc]
mov eax, dword [esi + 4]
call fcn.0057475c
lea edx, [ebx + 0x28]
mov eax, dword [esi + 8]
call fcn.0057475c
lea edx, [ebx + 0x44]
mov eax, dword [esi + 0xc]
call fcn.0057475c
lea edx, [ebx + 0x60]
mov eax, dword [esi + 0x10]
call fcn.0057475c
add dword [ebp - 4], 0x14
add ebx, 0x80
dec edi
jne 0x5753ef
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00573a6c
pop ecx
jmp 0x57580e
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov ecx, 0xa
cdq
idiv ecx
dec eax
inc dword [ebp - 4]
mov edi, eax
test edi, edi
jl 0x57580e
inc edi
lea eax, [ebx + 0x2148]
mov edx, dword [ebp - 4]
add edx, 8
cmp word [edx], 1
jne 0x5754d2
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x5754dc
mov edx, dword [ebp - 4]
add edx, 4
mov edx, dword [edx]
mov dword [eax], edx
add dword [ebp - 4], 0xa
add eax, 4
dec edi
jne 0x5754bd
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 0xb
cmp word [eax], 1
jne 0x575507
mov eax, dword [ebp - 4]
add eax, 3
mov eax, dword [eax]
mov dword [ebx + 0x40], eax
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 7
mov eax, dword [eax]
mov dword [ebx + 0x40], eax
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00573aec
pop ecx
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00573c58
pop ecx
jmp 0x57580e
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00573d74
pop ecx
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 3
movzx eax, byte [eax]
shl eax, 4
lea eax, [ebx + eax*8 + 0x148]
mov edx, dword [ebp - 4]
add edx, 4
mov dl, byte [edx]
sub dl, 1
jb 0x575579
je 0x575587
sub dl, 2
je 0x575597
jmp 0x57580e
xor edx, edx
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
jmp 0x57580e
mov dword [eax], 1
xor edx, edx
mov dword [eax + 4], edx
jmp 0x57580e
mov dword [eax], 1
mov dword [eax + 4], 1
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
mov esi, dword [eax]
mov eax, esi
shr eax, 8
and eax, 0xff
mov edi, esi
and edi, 0xff
dec edi
sub edi, eax
jl 0x57580e
inc edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 4
lea eax, [ebx + eax*8 + 0x150]
mov edx, esi
shr edx, 0x18
and edx, 0xff
mov dword [eax], edx
add eax, 0x80
dec edi
jne 0x5755dd
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 3
movzx esi, byte [eax]
mov eax, dword [ebp - 4]
add eax, 4
movzx edi, byte [eax]
dec edi
sub edi, esi
jl 0x57580e
inc edi
mov eax, esi
add eax, eax
lea eax, [ebx + eax*8 + 0x22ec]
mov ecx, eax
mov edx, dword [ebp - 4]
add edx, 5
movzx edx, byte [edx]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
add edx, 7
movzx edx, word [edx]
test byte [ebp - 0xc], 1
je 0x57563e
mov dword [ecx + 4], edx
test byte [ebp - 0xc], 2
je 0x575646
mov dword [ecx], edx
test byte [ebp - 0xc], 4
je 0x57564f
mov dword [ecx + 0xc], edx
test byte [ebp - 0xc], 8
je 0x575658
mov dword [ecx + 8], edx
add eax, 0x10
dec edi
jne 0x57561e
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 5
movzx eax, byte [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 7
movzx edx, word [eax]
test byte [ebp - 0xc], 1
je 0x575684
mov dword [ebx + 0x26f0], edx
test byte [ebp - 0xc], 2
je 0x575690
mov dword [ebx + 0x26ec], edx
test byte [ebp - 0xc], 4
je 0x57569c
mov dword [ebx + 0x26f8], edx
test byte [ebp - 0xc], 8
je 0x57580e
mov dword [ebx + 0x26f4], edx
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx esi, byte [eax]
shr esi, 2
dec esi
cmp esi, 0
jl 0x57580e
mov eax, esi
shl eax, 4
lea eax, [ebx + eax*8 + 0x148]
mov edx, eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov edi, esi
shl edi, 2
add ecx, edi
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx]
mov dword [edx + 0x10], ecx
mov edi, dword [edx + 0x10]
test edi, edi
jl 0x5756fa
cmp edi, 0x1b
jle 0x575701
mov dword [edx + 0x10], 1
mov ecx, dword [ebp - 0xc]
inc ecx
movzx ecx, byte [ecx]
mov dword [edx + 0x2c], ecx
mov edi, dword [edx + 0x2c]
test edi, edi
jl 0x575717
cmp edi, 0x1b
jle 0x57571e
mov dword [edx + 0x2c], 1
mov ecx, dword [ebp - 0xc]
add ecx, 2
movzx ecx, byte [ecx]
mov dword [edx + 0x48], ecx
mov edi, dword [edx + 0x48]
test edi, edi
jl 0x575736
cmp edi, 0x1b
jle 0x57573d
mov dword [edx + 0x48], 1
mov ecx, dword [ebp - 0xc]
add ecx, 3
movzx ecx, byte [ecx]
mov dword [edx + 0x64], ecx
mov edi, dword [edx + 0x64]
test edi, edi
jl 0x575755
cmp edi, 0x1b
jle 0x57575c
mov dword [edx + 0x64], 1
dec esi
sub eax, 0x80
cmp esi, 0xffffffff
jne 0x5756d3
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
movzx esi, byte [eax]
shr esi, 2
dec esi
cmp esi, 0
jl 0x57580e
mov eax, esi
shl eax, 4
lea eax, [ebx + eax*8 + 0x148]
mov edx, eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov edi, esi
shl edi, 2
add ecx, edi
mov ecx, dword [ecx]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
mov cx, word [ecx]
sub cx, 0xd61a
je 0x5757bf
dec cx
je 0x5757c7
dec cx
je 0x5757cf
jmp 0x5757d7
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x14], ecx
jmp 0x5757dd
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x30], ecx
jmp 0x5757dd
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x4c], ecx
jmp 0x5757dd
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x68], ecx
dec esi
sub eax, 0x80
cmp esi, 0xffffffff
jne 0x575792
jmp 0x57580e
mov eax, dword [ebp - 4]
add eax, 2
cmp byte [eax], 2
jne 0x575806
mov eax, dword [ebp - 4]
add eax, 3
movzx eax, word [eax]
mov dword [ebx + 0x26fc], eax
jmp 0x57580e
xor eax, eax
mov dword [ebx + 0x26fc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret