Function at 0x544630
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x5c
call fcn.005dc4c0
mov eax, dword [0x6b8dd8]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x68]
push edi
mov edi, dword [esp + 0x80]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
call fcn.004f9150
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
js 0x5446cb
call fcn.00544ee0
mov dword [esp + 0xc], eax
test eax, eax
je 0x5446cb
test esi, esi
jne 0x544695
mov esi, 0x62cc00
xor ecx, ecx
jmp 0x5446ac
mov ecx, dword [esp + 0x70]
cmp ecx, 0xffffffff
jne 0x5446ac
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5446a3
sub ecx, edx
push 0
push edi
push ecx
push esi
mov esi, dword [esp + 0x1c]
push esi
call fcn.00545090
add esp, 0x14
test eax, eax
jne 0x5446df
push esi
call fcn.00544e80
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005db6f9
add esp, 0x5c
ret
push ebp
call fcn.00544ee0
mov ebp, eax
test ebp, ebp
jne 0x544709
push esi
call fcn.00544e80
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005db6f9
add esp, 0x5c
ret
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x5448cc
mov edx, 1
lea ecx, [ecx]
cmp ecx, dword [esp + 0x1c]
mov edi, ecx
mov eax, edx
mov byte [esp + 0x17], dl
cmovg edi, dword [esp + 0x1c]
shr eax, 0x18
mov byte [esp + 0x14], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x15], al
mov eax, edx
shr eax, 8
push esi
push ebp
mov byte [esp + 0x1e], al
call fcn.00544dd0
add esp, 8
test eax, eax
je 0x54491a
push dword [esp + 0x7c]
push dword [esp + 0x28]
push ebp
call fcn.005452f0
add esp, 0xc
test eax, eax
je 0x54491a
push 4
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.005452f0
add esp, 0xc
test eax, eax
je 0x54491a
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00544fe0
add esp, 0xc
test eax, eax
je 0x54491a
push edi
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.005f31f0
mov esi, 1
add esp, 0xc
mov dword [esp + 0x18], esi
cmp dword [esp + 0x80], esi
jle 0x5448a5
lea ebx, [ebx]
push dword [esp + 0x10]
push ebp
call fcn.00544dd0
add esp, 8
test eax, eax
je 0x5448f3
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.005452f0
add esp, 0xc
test eax, eax
je 0x5448f3
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
call fcn.00544fe0
add esp, 0xc
test eax, eax
je 0x5448f3
xor ecx, ecx
test edi, edi
jle 0x544893
cmp edi, 0x10
jb 0x544872
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x27]
add edx, edi
cmp ebx, eax
ja 0x544837
lea eax, [esp + 0x28]
cmp edx, eax
jae 0x544872
mov eax, edi
and eax, reloc.WS2_32.dll_ntohs
jns 0x544845
dec eax
or eax, 0xfffffff0
inc eax
mov edx, edi
lea esi, [esp + 0x28]
sub edx, eax
mov eax, ebx
sub esi, ebx
movdqu xmm1, xmmword [esi + eax]
add ecx, 0x10
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x544851
mov esi, dword [esp + 0x18]
cmp ecx, edi
jge 0x544893
lea esi, [esp + 0x28]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x544883
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x80]
jl 0x5447d0
mov ecx, dword [esp + 0x88]
add ebx, edi
mov edx, dword [esp + 0x20]
sub ecx, edi
mov esi, dword [esp + 0x10]
inc edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x20], edx
test ecx, ecx
jne 0x544720
push ebp
call fcn.00544e80
push esi
call fcn.00544e80
add esp, 8
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005db6f9
add esp, 0x5c
ret
push ebp
call fcn.00544e80
push dword [esp + 0x14]
call fcn.00544e80
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.005db6f9
add esp, 0x5c
ret
push ebp
call fcn.00544e80
push esi
call fcn.00544e80
mov ecx, dword [esp + 0x70]
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005db6f9
add esp, 0x5c
ret