Function at 0x54e490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x739c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
sub esp, 8
cmp dword [eax + 0x14], 0x10
mov edx, esp
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x48], ebx
jb 0x54e4c9
mov eax, dword [eax]
mov dword [edx], eax
lea eax, [ebp - 0xcc]
push eax
mov dword [edx + 4], ecx
call fcn.004c5490
add esp, 0xc
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0054e3e0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x54e53c
cmp dword [ebp - 0xa0], 0x10
mov ecx, esi
push dword [ebp - 0xa4]
cmovae eax, dword [ebp - 0xb4]
push eax
call fcn.0047e790
cmp dword [ebp - 0x88], 0x10
lea eax, [ebp - 0x9c]
push dword [ebp - 0x8c]
cmovae eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x44]
push eax
call fcn.0047e790
push esi
lea eax, [ebp + 8]
lea ecx, [ebx + 0x78]
push eax
call fcn.0054aae0
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 0x7c]
jne 0x54e57b
xor esi, esi
jmp 0x54e743
mov edi, dword [eax + 0x24]
mov esi, dword [edi]
cmp esi, edi
je 0x54e5d4
mov edx, dword [esi + 0x18]
lea ebx, [esi + 8]
lea eax, [ebx + 0x18]
sub esp, 8
cmp dword [ebx + 0x14], 0x10
mov ecx, esp
mov dword [ebp + 0xc], eax
mov eax, ebx
jb 0x54e59f
mov eax, dword [ebx]
mov dword [ecx], eax
sub esp, 8
mov dword [ecx + 4], edx
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov edx, esp
mov ecx, dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
mov dword [edx], eax
mov dword [edx + 4], ecx
call fcn.0054e7b0
add esp, 0x10
test al, al
jne 0x54e636
mov esi, dword [esi]
cmp esi, edi
jne 0x54e584
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x48]
lea esi, [ebx + 0x40]
add eax, 0x20
cmp dword [esi + 0x14], 0x10
mov edi, esi
mov ebx, dword [esi + 0x10]
mov dword [ebp + 0xc], eax
jb 0x54e5ea
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x54e609
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x54e5f5
mov eax, dword [ebp + 0xc]
push edx
push esi
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.004a9a60
mov edi, dword [eax + 4]
test edi, edi
jne 0x54e623
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + 4]
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 0x24]
jne 0x54e6bf
xor esi, esi
jmp 0x54e743
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
test eax, eax
je 0x54e65e
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
call fcn.0047e790
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.0047cba0
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x54e69e
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54e694
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e7a5
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
je 0x54e6b7
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x54e6b0
mov ebx, dword [ebx]
push eax
push ebx
call fcn.0047e790
mov esi, dword [ebp + 0xc]
jmp 0x54e743
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
test eax, eax
je 0x54e6e7
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
call fcn.0047e790
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.0047cba0
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x54e727
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54e71d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e7a5
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x54e740
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x54e739
mov esi, dword [esi]
push eax
push esi
call fcn.0047e790
lea esi, [edi + 0x20]
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x54e773
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54e769
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54e7a5
push edx
push ecx
call fcn.00503df0
add esp, 8
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00494b60
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.006fee64
int3