Function at 0x54c100
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4c
mov eax, dword [0x6ade1c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0xd0c], 0x10000
jmp 0x54c130
mov eax, dword [ebp - 0xd0c]
sub eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0
jl 0x54c14b
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], 0
jmp 0x54c121
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
shl ecx, 8
mov dword [ebp - 0xd28], ecx
mov edx, dword [ebp + 0x18]
sub edx, 1
mov dword [ebp - 0xd0c], edx
jmp 0x54c177
mov eax, dword [ebp - 0xd0c]
sub eax, 4
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 3
jl 0x54c2b7
xor ecx, ecx
mov edx, dword [ebp - 0xd0c]
mov eax, dword [ebp + 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0xd28]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
mov dword [ebp - 0xd28], ecx
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
add eax, 1
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
xor eax, eax
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0x10]
mov word [edx + ecx*2 - 2], ax
mov eax, dword [ebp - 0xd28]
sar eax, 8
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xd0c]
movzx edx, byte [ecx - 1]
shl edx, 8
or eax, edx
mov dword [ebp - 0xd28], eax
mov eax, dword [ebp - 0xd28]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4]
add edx, 1
mov eax, dword [ebp - 0xd28]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax*4], edx
xor edx, edx
mov eax, dword [ebp - 0xd0c]
mov ecx, dword [ebp + 0x10]
mov word [ecx + eax*2 - 4], dx
mov edx, dword [ebp - 0xd28]
sar edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xd0c]
movzx ecx, byte [eax - 2]
shl ecx, 8
or edx, ecx
mov dword [ebp - 0xd28], edx
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
add ecx, 1
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + 0x14]
mov dword [eax + edx*4], ecx
xor ecx, ecx
mov edx, dword [ebp - 0xd0c]
mov eax, dword [ebp + 0x10]
mov word [eax + edx*2 - 6], cx
mov ecx, dword [ebp - 0xd28]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx - 3]
shl eax, 8
or ecx, eax
mov dword [ebp - 0xd28], ecx
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
add eax, 1
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
jmp 0x54c168
jmp 0x54c2c8
mov eax, dword [ebp - 0xd0c]
sub eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0
jl 0x54c31d
xor ecx, ecx
mov edx, dword [ebp - 0xd0c]
mov eax, dword [ebp + 0x10]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0xd28]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
mov dword [ebp - 0xd28], ecx
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
add eax, 1
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
jmp 0x54c2b9
mov dword [ebp - 0xd0c], 0
jmp 0x54c338
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0x22
jge 0x54c36f
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
mov eax, dword [ebp + 0xc]
mov dl, byte [edx]
mov byte [eax + ecx], dl
mov eax, dword [ebp + 0x18]
add eax, dword [ebp - 0xd0c]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov word [edx + eax*2], cx
jmp 0x54c329
mov dword [ebp - 0xd0c], 1
jmp 0x54c38a
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0x10000
jg 0x54c3bd
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0x14]
add eax, dword [edx + ecx*4 - 4]
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
jmp 0x54c37b
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
shl ecx, 8
mov word [ebp - 0xd10], cx
mov edx, dword [ebp + 0x18]
sub edx, 1
mov dword [ebp - 0xd0c], edx
jmp 0x54c3ea
mov eax, dword [ebp - 0xd0c]
sub eax, 4
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 3
jl 0x54c57c
movzx ecx, word [ebp - 0xd10]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
mov word [ebp - 0xd10], cx
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
sub eax, 1
mov dword [ebp - 0xd28], eax
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xd28]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xd0c]
mov dword [edx + ecx*4], eax
movzx ecx, word [ebp - 0xd10]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx - 1]
shl eax, 8
or ecx, eax
mov word [ebp - 0xd10], cx
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
sub eax, 1
mov dword [ebp - 0xd28], eax
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xd28]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xd0c]
sub ecx, 1
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4], ecx
movzx ecx, word [ebp - 0xd10]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx - 2]
shl eax, 8
or ecx, eax
mov word [ebp - 0xd10], cx
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
sub eax, 1
mov dword [ebp - 0xd28], eax
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xd28]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xd0c]
sub ecx, 2
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4], ecx
movzx ecx, word [ebp - 0xd10]
sar ecx, 8
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd0c]
movzx eax, byte [edx - 3]
shl eax, 8
or ecx, eax
mov word [ebp - 0xd10], cx
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
sub eax, 1
mov dword [ebp - 0xd28], eax
movzx ecx, word [ebp - 0xd10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xd28]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0xd0c]
sub ecx, 3
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + 8]
mov dword [eax + edx*4], ecx
jmp 0x54c3db
jmp 0x54c58d
mov ecx, dword [ebp - 0xd0c]
sub ecx, 1
mov dword [ebp - 0xd0c], ecx
cmp dword [ebp - 0xd0c], 0
jl 0x54c5f5
movzx edx, word [ebp - 0xd10]
sar edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xd0c]
movzx ecx, byte [eax]
shl ecx, 8
or edx, ecx
mov word [ebp - 0xd10], dx
movzx edx, word [ebp - 0xd10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
sub ecx, 1
mov dword [ebp - 0xd28], ecx
movzx edx, word [ebp - 0xd10]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xd28]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xd0c]
mov dword [eax + edx*4], ecx
jmp 0x54c57e
mov dword [ebp - 0xd0c], 0
jmp 0x54c610
mov edx, dword [ebp - 0xd0c]
add edx, 1
mov dword [ebp - 0xd0c], edx
cmp dword [ebp - 0xd0c], 0xff
jg 0x54c63f
mov eax, dword [ebp - 0xd0c]
mov byte [ebp + eax - 0x108], 0
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp - 0xd0c]
mov dword [ebp + ecx*4 - 0x508], edx
jmp 0x54c601
mov dword [ebp - 0xd2c], 1
mov eax, dword [ebp - 0xd2c]
imul eax, eax, 3
add eax, 1
mov dword [ebp - 0xd2c], eax
cmp dword [ebp - 0xd2c], 0x100
jle 0x54c649
mov eax, dword [ebp - 0xd2c]
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0xd2c], eax
mov edx, dword [ebp - 0xd2c]
mov dword [ebp - 0xd0c], edx
jmp 0x54c698
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0xff
jg 0x54c78b
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + ecx*4 - 0x508]
mov dword [ebp - 0xd30], edx
mov eax, dword [ebp - 0xd0c]
mov dword [ebp - 0xd28], eax
mov ecx, dword [ebp - 0xd28]
sub ecx, dword [ebp - 0xd2c]
mov edx, dword [ebp + ecx*4 - 0x508]
add edx, 1
shl edx, 8
mov eax, dword [ebp - 0xd28]
sub eax, dword [ebp - 0xd2c]
mov ecx, dword [ebp + eax*4 - 0x508]
shl ecx, 8
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax + edx*4]
sub edx, dword [esi + ecx*4]
mov eax, dword [ebp - 0xd30]
add eax, 1
shl eax, 8
mov ecx, dword [ebp - 0xd30]
shl ecx, 8
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x14]
mov eax, dword [esi + eax*4]
sub eax, dword [edi + ecx*4]
cmp edx, eax
jbe 0x54c773
mov ecx, dword [ebp - 0xd28]
sub ecx, dword [ebp - 0xd2c]
mov edx, dword [ebp - 0xd28]
mov eax, dword [ebp + ecx*4 - 0x508]
mov dword [ebp + edx*4 - 0x508], eax
mov ecx, dword [ebp - 0xd28]
sub ecx, dword [ebp - 0xd2c]
mov dword [ebp - 0xd28], ecx
mov edx, dword [ebp - 0xd2c]
sub edx, 1
cmp dword [ebp - 0xd28], edx
jg 0x54c76e
jmp 0x54c773
jmp 0x54c6c7
mov eax, dword [ebp - 0xd28]
mov ecx, dword [ebp - 0xd30]
mov dword [ebp + eax*4 - 0x508], ecx
jmp 0x54c689
cmp dword [ebp - 0xd2c], 1
jne 0x54c667
mov dword [ebp - 0xd14], 0
mov dword [ebp - 0xd0c], 0
jmp 0x54c7bd
mov edx, dword [ebp - 0xd0c]
add edx, 1
mov dword [ebp - 0xd0c], edx
cmp dword [ebp - 0xd0c], 0xff
jg 0x54cc97
mov eax, dword [ebp - 0xd0c]
mov ecx, dword [ebp + eax*4 - 0x508]
mov dword [ebp - 0xd24], ecx
mov dword [ebp - 0xd28], 0
jmp 0x54c7fb
mov edx, dword [ebp - 0xd28]
add edx, 1
mov dword [ebp - 0xd28], edx
cmp dword [ebp - 0xd28], 0xff
jg 0x54c904
mov eax, dword [ebp - 0xd28]
cmp eax, dword [ebp - 0xd24]
je 0x54c8ff
mov ecx, dword [ebp - 0xd24]
shl ecx, 8
add ecx, dword [ebp - 0xd28]
mov dword [ebp - 0xd18], ecx
mov edx, dword [ebp - 0xd18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
and ecx, 0x200000
jne 0x54c8e1
mov edx, dword [ebp - 0xd18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
and ecx, 0xffdfffff
mov dword [ebp - 0xd34], ecx
mov edx, dword [ebp - 0xd18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4 + 4]
and ecx, 0xffdfffff
sub ecx, 1
mov dword [ebp - 0xd38], ecx
mov edx, dword [ebp - 0xd38]
cmp edx, dword [ebp - 0xd34]
jle 0x54c8e1
mov eax, dword [ebp + 0x20]
push eax
push 2
mov ecx, dword [ebp - 0xd38]
push ecx
mov edx, dword [ebp - 0xd34]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0054ccb0
add esp, 0x20
mov ecx, dword [ebp - 0xd38]
sub ecx, dword [ebp - 0xd34]
mov edx, dword [ebp - 0xd14]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0xd14], eax
mov ecx, dword [ebp + 0x20]
cmp dword [ecx], 0
jge 0x54c8e1
jmp 0x54cc97
mov edx, dword [ebp - 0xd18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
or ecx, 0x200000
mov edx, dword [ebp - 0xd18]
mov eax, dword [ebp + 0x14]
mov dword [eax + edx*4], ecx
jmp 0x54c7ec
mov dword [ebp - 0xd28], 0
jmp 0x54c91f
mov ecx, dword [ebp - 0xd28]
add ecx, 1
mov dword [ebp - 0xd28], ecx
cmp dword [ebp - 0xd28], 0xff
jg 0x54c981
mov edx, dword [ebp - 0xd28]
shl edx, 8
add edx, dword [ebp - 0xd24]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
and ecx, 0xffdfffff
mov edx, dword [ebp - 0xd28]
mov dword [ebp + edx*4 - 0xd08], ecx
mov eax, dword [ebp - 0xd28]
shl eax, 8
add eax, dword [ebp - 0xd24]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 + 4]
and edx, 0xffdfffff
sub edx, 1
mov eax, dword [ebp - 0xd28]
mov dword [ebp + eax*4 - 0x908], edx
jmp 0x54c910
mov ecx, dword [ebp - 0xd24]
shl ecx, 8
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
and eax, 0xffdfffff
mov dword [ebp - 0xd28], eax
jmp 0x54c9ac
mov ecx, dword [ebp - 0xd28]
add ecx, 1
mov dword [ebp - 0xd28], ecx
mov edx, dword [ebp - 0xd24]
mov eax, dword [ebp - 0xd28]
cmp eax, dword [ebp + edx*4 - 0xd08]
jge 0x54ca4d
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
sub eax, 1
mov dword [ebp - 0xd20], eax
jns 0x54c9eb
mov ecx, dword [ebp - 0xd20]
add ecx, dword [ebp + 0x18]
mov dword [ebp - 0xd20], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd20]
mov al, byte [edx]
mov byte [ebp - 0xd19], al
movzx ecx, byte [ebp - 0xd19]
movzx edx, byte [ebp + ecx - 0x108]
test edx, edx
jne 0x54ca48
movzx eax, byte [ebp - 0xd19]
mov ecx, dword [ebp + eax*4 - 0xd08]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xd20]
mov dword [edx + ecx*4], eax
movzx ecx, byte [ebp - 0xd19]
mov edx, dword [ebp + ecx*4 - 0xd08]
add edx, 1
movzx eax, byte [ebp - 0xd19]
mov dword [ebp + eax*4 - 0xd08], edx
jmp 0x54c99d
mov ecx, dword [ebp - 0xd24]
add ecx, 1
shl ecx, 8
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
and eax, 0xffdfffff
sub eax, 1
mov dword [ebp - 0xd28], eax
jmp 0x54ca7e
mov ecx, dword [ebp - 0xd28]
sub ecx, 1
mov dword [ebp - 0xd28], ecx
mov edx, dword [ebp - 0xd24]
mov eax, dword [ebp - 0xd28]
cmp eax, dword [ebp + edx*4 - 0x908]
jle 0x54cb1f
mov ecx, dword [ebp - 0xd28]
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx*4]
sub eax, 1
mov dword [ebp - 0xd20], eax
jns 0x54cabd
mov ecx, dword [ebp - 0xd20]
add ecx, dword [ebp + 0x18]
mov dword [ebp - 0xd20], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xd20]
mov al, byte [edx]
mov byte [ebp - 0xd19], al
movzx ecx, byte [ebp - 0xd19]
movzx edx, byte [ebp + ecx - 0x108]
test edx, edx
jne 0x54cb1a
movzx eax, byte [ebp - 0xd19]
mov ecx, dword [ebp + eax*4 - 0x908]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xd20]
mov dword [edx + ecx*4], eax
movzx ecx, byte [ebp - 0xd19]
mov edx, dword [ebp + ecx*4 - 0x908]
sub edx, 1
movzx eax, byte [ebp - 0xd19]
mov dword [ebp + eax*4 - 0x908], edx
jmp 0x54ca6f
mov dword [ebp - 0xd28], 0
jmp 0x54cb3a
mov ecx, dword [ebp - 0xd28]
add ecx, 1
mov dword [ebp - 0xd28], ecx
cmp dword [ebp - 0xd28], 0xff
jg 0x54cb78
mov edx, dword [ebp - 0xd28]
shl edx, 8
add edx, dword [ebp - 0xd24]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
or ecx, 0x200000
mov edx, dword [ebp - 0xd28]
shl edx, 8
add edx, dword [ebp - 0xd24]
mov eax, dword [ebp + 0x14]
mov dword [eax + edx*4], ecx
jmp 0x54cb2b
mov ecx, dword [ebp - 0xd24]
mov byte [ebp + ecx - 0x108], 1
cmp dword [ebp - 0xd0c], 0xff
jge 0x54cc92
mov edx, dword [ebp - 0xd24]
shl edx, 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
and ecx, 0xffdfffff
mov dword [ebp - 0xd40], ecx
mov edx, dword [ebp - 0xd24]
add edx, 1
shl edx, 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4]
and ecx, 0xffdfffff
sub ecx, dword [ebp - 0xd40]
mov dword [ebp - 0xd44], ecx
mov dword [ebp - 0xd3c], 0
mov edx, dword [ebp - 0xd44]
mov ecx, dword [ebp - 0xd3c]
sar edx, cl
cmp edx, 0xfffe
jle 0x54cc06
mov eax, dword [ebp - 0xd3c]
add eax, 1
mov dword [ebp - 0xd3c], eax
jmp 0x54cbdf
mov ecx, dword [ebp - 0xd44]
sub ecx, 1
mov dword [ebp - 0xd28], ecx
jmp 0x54cc26
mov edx, dword [ebp - 0xd28]
sub edx, 1
mov dword [ebp - 0xd28], edx
cmp dword [ebp - 0xd28], 0
jl 0x54cc92
mov eax, dword [ebp - 0xd40]
add eax, dword [ebp - 0xd28]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xd4c], edx
mov eax, dword [ebp - 0xd28]
mov ecx, dword [ebp - 0xd3c]
sar eax, cl
mov word [ebp - 0xd48], ax
mov ecx, dword [ebp - 0xd4c]
mov edx, dword [ebp + 0x10]
mov ax, word [ebp - 0xd48]
mov word [edx + ecx*2], ax
cmp dword [ebp - 0xd4c], 0x22
jge 0x54cc90
mov ecx, dword [ebp - 0xd4c]
add ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov ax, word [ebp - 0xd48]
mov word [edx + ecx*2], ax
jmp 0x54cc17
jmp 0x54c7ae
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058e447
mov esp, ebp
pop ebp
ret