Function at 0x54d440
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4c
mov eax, dword [0x690dfc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0xd0c], 0x10000
jmp 0x54d470
mov eax, dword [ebp - 0xd0c]
sub eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0
jl 0x54d48b
mov ecx, dword [ebp - 0xd0c]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], 0
jmp 0x54d461
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 0x54d4b7
mov eax, dword [ebp - 0xd0c]
sub eax, 4
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 3
jl 0x54d5f7
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 0x54d4a8
jmp 0x54d608
mov eax, dword [ebp - 0xd0c]
sub eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0
jl 0x54d65d
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 0x54d5f9
mov dword [ebp - 0xd0c], 0
jmp 0x54d678
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0x22
jge 0x54d6af
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 0x54d669
mov dword [ebp - 0xd0c], 1
jmp 0x54d6ca
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0x10000
jg 0x54d6fd
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 0x54d6bb
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 0x54d72a
mov eax, dword [ebp - 0xd0c]
sub eax, 4
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 3
jl 0x54d8bc
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 0x54d71b
jmp 0x54d8cd
mov ecx, dword [ebp - 0xd0c]
sub ecx, 1
mov dword [ebp - 0xd0c], ecx
cmp dword [ebp - 0xd0c], 0
jl 0x54d935
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 0x54d8be
mov dword [ebp - 0xd0c], 0
jmp 0x54d950
mov edx, dword [ebp - 0xd0c]
add edx, 1
mov dword [ebp - 0xd0c], edx
cmp dword [ebp - 0xd0c], 0xff
jg 0x54d97f
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 0x54d941
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 0x54d989
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 0x54d9d8
mov eax, dword [ebp - 0xd0c]
add eax, 1
mov dword [ebp - 0xd0c], eax
cmp dword [ebp - 0xd0c], 0xff
jg 0x54dacb
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 0x54dab3
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 0x54daae
jmp 0x54dab3
jmp 0x54da07
mov eax, dword [ebp - 0xd28]
mov ecx, dword [ebp - 0xd30]
mov dword [ebp + eax*4 - 0x508], ecx
jmp 0x54d9c9
cmp dword [ebp - 0xd2c], 1
jne 0x54d9a7
mov dword [ebp - 0xd14], 0
mov dword [ebp - 0xd0c], 0
jmp 0x54dafd
mov edx, dword [ebp - 0xd0c]
add edx, 1
mov dword [ebp - 0xd0c], edx
cmp dword [ebp - 0xd0c], 0xff
jg 0x54dfd7
mov eax, dword [ebp - 0xd0c]
mov ecx, dword [ebp + eax*4 - 0x508]
mov dword [ebp - 0xd24], ecx
mov dword [ebp - 0xd28], 0
jmp 0x54db3b
mov edx, dword [ebp - 0xd28]
add edx, 1
mov dword [ebp - 0xd28], edx
cmp dword [ebp - 0xd28], 0xff
jg 0x54dc44
mov eax, dword [ebp - 0xd28]
cmp eax, dword [ebp - 0xd24]
je 0x54dc3f
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 0x54dc21
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 0x54dc21
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.0054dff0
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 0x54dc21
jmp 0x54dfd7
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 0x54db2c
mov dword [ebp - 0xd28], 0
jmp 0x54dc5f
mov ecx, dword [ebp - 0xd28]
add ecx, 1
mov dword [ebp - 0xd28], ecx
cmp dword [ebp - 0xd28], 0xff
jg 0x54dcc1
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 0x54dc50
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 0x54dcec
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 0x54dd8d
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 0x54dd2b
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 0x54dd88
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 0x54dcdd
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 0x54ddbe
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 0x54de5f
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 0x54ddfd
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 0x54de5a
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 0x54ddaf
mov dword [ebp - 0xd28], 0
jmp 0x54de7a
mov ecx, dword [ebp - 0xd28]
add ecx, 1
mov dword [ebp - 0xd28], ecx
cmp dword [ebp - 0xd28], 0xff
jg 0x54deb8
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 0x54de6b
mov ecx, dword [ebp - 0xd24]
mov byte [ebp + ecx - 0x108], 1
cmp dword [ebp - 0xd0c], 0xff
jge 0x54dfd2
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 0x54df46
mov eax, dword [ebp - 0xd3c]
add eax, 1
mov dword [ebp - 0xd3c], eax
jmp 0x54df1f
mov ecx, dword [ebp - 0xd44]
sub ecx, 1
mov dword [ebp - 0xd28], ecx
jmp 0x54df66
mov edx, dword [ebp - 0xd28]
sub edx, 1
mov dword [ebp - 0xd28], edx
cmp dword [ebp - 0xd28], 0
jl 0x54dfd2
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 0x54dfd0
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 0x54df57
jmp 0x54daee
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058fc47
mov esp, ebp
pop ebp
ret