Function at 0x49d830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [ebp - 0x7c], edx
lea edx, [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov dword [esp], edx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x54], 0x567468
mov dword [ebp - 0x50], 0x5c1d30
mov dword [ebp - 0x48], 0x49db9e
call fcn.00567748
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
mov dword [esp + 4], eax
add ecx, 4
mov dword [esp], ebx
call fcn.00584290
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp + 0xc]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.00577af0
mov ecx, dword [ebp - 0x70]
sub esp, 8
mov eax, dword [ecx + 4]
test eax, eax
je 0x49db04
mov dword [ebp - 0x78], 0
lea esi, [esi]
sub eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax]
mov dword [ebp - 0x68], 2
call eax
cmp dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
cmovbe eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov eax, dword [edx]
mov edx, dword [ebp - 0x34]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [esp], edx
call dword [eax + 0xc]
mov edx, dword [ebp - 0x7c]
sub esp, 8
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov dword [esp], 1
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x68], 4
call fcn.0049b590
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x28]
mov dword [esp], eax
call fcn.005769c0
mov edx, dword [ebp - 0x7c]
sub esp, 4
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x68], 3
call eax
mov eax, dword [ebp - 0x24]
sub esp, 4
mov dword [ebp - 0x68], 1
lea ecx, [ebp - 0x38]
mov dword [esp], eax
call fcn.005769c0
mov edx, dword [ebp - 0x34]
sub esp, 4
mov eax, dword [ebp - 0x24]
cmp edx, eax
cmovbe eax, edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0056d278
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
test ecx, ecx
je 0x49d9b7
test eax, eax
jne 0x49db30
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov edx, dword [ebp - 0x34]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [esp], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x68], 2
call eax
mov edx, dword [ebp - 0x7c]
sub esp, 8
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp + 4], ecx
mov ecx, edx
mov dword [esp], ebx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x68], 2
call eax
mov edx, dword [ebp - 0x7c]
sub esp, 8
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov dword [esp], 1
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x68], 6
call fcn.0049b590
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x28]
mov dword [esp], eax
call fcn.005769c0
mov edx, dword [ebp - 0x7c]
sub esp, 4
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov edx, dword [ebp - 0x28]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x68], 5
call eax
mov ecx, dword [ebp - 0x78]
sub esp, 4
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x28]
add ecx, dword [eax]
cmp dword [ebp - 0x74], 7
jbe 0x49db73
mov eax, dword [ebp - 0x74]
mov edx, ecx
mov dword [ebp - 0x80], ecx
sub eax, 8
shr eax, 3
lea edi, [eax*8 + 8]
mov eax, esi
lea ebx, [esi + edi]
lea esi, [esi]
mov ecx, dword [eax]
xor dword [edx], ecx
mov ecx, dword [eax + 4]
add eax, 8
xor dword [edx + 4], ecx
add edx, 8
cmp eax, ebx
jne 0x49daa0
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x74]
add ecx, edi
and ebx, 7
test ebx, ebx
je 0x49dae1
xor edx, edx
mov esi, ebx
mov esi, esi
lea edi, [edi]
movzx ebx, byte [eax + edx]
xor byte [ecx + edx], bl
add edx, 1
cmp edx, esi
jne 0x49dad0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x78], eax
test ecx, ecx
mov eax, dword [ebp - 0x20]
je 0x49daf5
test esi, esi
jne 0x49db55
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
cmp eax, dword [ebp - 0x78]
jne 0x49d8c0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
test ecx, ecx
je 0x49db15
test edx, edx
jne 0x49db7d
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call fcn.00567750
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x49d9b7
mov ebx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp], edx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x68], 2
call eax
sub esp, 8
jmp 0x49d9b7
test eax, eax
je 0x49daf5
mov edx, dword [ecx]
mov dword [esp + 4], eax
mov dword [esp], esi
mov eax, dword [edx + 4]
mov dword [ebp - 0x68], 2
call eax
sub esp, 8
jmp 0x49daf5
mov ebx, dword [ebp - 0x74]
mov eax, esi
jmp 0x49dabf
test eax, eax
je 0x49db15
mov ebx, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x68], 0xffffffff
call eax
sub esp, 8
jmp 0x49db15