Function at 0x4843e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x5b706c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [ebp - 0x188], eax
xor eax, eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x114], eax
mov eax, dword [esi + 0x50]
shl eax, 5
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x11c], 1
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x484a0f
mov eax, dword [esi + 0x54]
test byte [eax], 1
je 0x484a0f
cmp dword [esi + 0x5c], 0x180
lea edx, [esi + 0x34]
lea ecx, [edi + 0xc]
sbb bl, bl
add bl, 5
call fcn.00478790
test eax, eax
jne 0x4844a9
lea edx, [esi + 0x28]
mov ecx, edi
call fcn.00478790
test eax, eax
jne 0x4844a9
mov dl, 1
jmp 0x4844ab
xor dl, dl
lea eax, [ebx + 1]
mov byte [ebp - 0x142], dl
movzx ecx, al
test dl, dl
mov edx, dword [esi + 0x5c]
movzx eax, bl
mov ebx, 2
cmove ecx, eax
movzx eax, cl
cmp eax, edx
movzx ecx, cl
mov al, 1
cmovae ecx, ebx
movzx ebx, cl
mov byte [ebp - 0x178], cl
mov dword [ebp - 0x174], ebx
lea ecx, [ebx - 1]
shl al, cl
mov byte [ebp - 0x160], al
lea eax, [edx - 1]
add eax, ebx
xor edx, edx
div ebx
cmp byte [ebp - 0x142], 0
mov ebx, eax
mov dword [ebp - 0x15c], ebx
je 0x484515
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x150], eax
test eax, eax
jne 0x484579
movzx eax, byte [ebp - 0x160]
push 0x24
push eax
mov dword [ebp - 0x17c], eax
call fcn.0052fab7
add esp, 8
mov dword [ebp - 0x150], eax
test eax, eax
jne 0x484541
mov edi, 0xffffb280
jmp 0x484987
push ebx
push dword [ebp - 0x178]
mov edx, eax
mov ecx, esi
push edi
call fcn.00484150
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4848f3
cmp byte [ebp - 0x142], al
je 0x484579
mov eax, dword [ebp - 0x150]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0x17c]
mov dword [esi + 0x78], eax
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx + 4]
shl eax, 5
test eax, eax
jne 0x484591
mov byte [ebp - 0x141], al
jmp 0x48459e
mov eax, dword [ecx + 8]
mov al, byte [eax]
and al, 1
mov byte [ebp - 0x141], al
mov edx, ecx
lea ecx, [ebp - 0x170]
call fcn.00477fd0
mov edi, eax
test edi, edi
jne 0x4848db
mov eax, dword [ebp - 0x148]
lea edx, [esi + 0x4c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00478b90
mov edi, eax
add esp, 4
test edi, edi
jne 0x4848b5
mov al, byte [ebp - 0x141]
lea edx, [ebp - 0x11c]
xor al, 1
lea ecx, [ebp - 0x170]
push eax
mov dword [ebp - 0x178], eax
call fcn.00478050
mov edi, eax
add esp, 4
test edi, edi
jne 0x4848b5
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.00525340
mov eax, dword [ebp - 0x168]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x158], eax
test ebx, ebx
je 0x4846dc
mov edx, dword [ebp - 0x174]
xor esi, esi
test edx, edx
je 0x4846cd
mov edi, eax
mov edx, ecx
lea eax, [ebp - 0x110]
shl edi, 5
add eax, ecx
mov dword [ebp - 0x17c], eax
mov al, byte [eax]
mov byte [ebp - 0x141], al
nop dword [eax]
cmp edi, edx
ja 0x484678
xor eax, eax
jmp 0x484696
mov ebx, dword [ebp - 0x154]
mov eax, edx
shr eax, 5
mov ecx, edx
and ecx, 0x1f
mov eax, dword [ebx + eax*4]
mov ebx, dword [ebp - 0x15c]
shr eax, cl
and eax, 1
mov ecx, esi
add edx, ebx
shl al, cl
inc esi
mov cl, byte [ebp - 0x141]
or cl, al
mov byte [ebp - 0x141], cl
cmp esi, dword [ebp - 0x174]
jb 0x484670
mov eax, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x174]
mov byte [eax], cl
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x148]
inc ecx
mov dword [ebp - 0x148], ecx
cmp ecx, ebx
jb 0x484646
xor al, al
mov byte [ebp - 0x141], al
cmp ebx, 1
jb 0x48474a
mov dword [ebp - 0x148], ebx
lea edi, [ebp - 0x110]
mov bh, byte [ebp - 0x110]
nop dword [eax + eax]
mov dl, byte [edi + 1]
lea edi, [edi + 1]
mov dh, bh
mov bl, 1
mov bh, dl
movzx ecx, dh
and dl, byte [ebp - 0x141]
xor bh, al
mov al, bh
and al, 1
sub bl, al
movzx eax, bl
imul ecx, eax
mov al, bh
shl bl, 7
or bl, dh
mov byte [edi - 1], bl
and al, cl
xor bh, cl
or al, dl
mov byte [edi], bh
sub dword [ebp - 0x148], 1
mov byte [ebp - 0x141], al
jne 0x484700
mov ebx, dword [ebp - 0x15c]
movzx eax, byte [ebp + ebx - 0x110]
movaps xmm0, xmmword [0x599ed0]
mov esi, dword [ebp - 0x180]
mov ecx, esi
mov edx, dword [ebp - 0x14c]
push eax
push dword [ebp - 0x160]
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x120], 0
movaps xmm0, xmmword [0x599ec0]
push dword [ebp - 0x150]
movups xmmword [ebp - 0x130], xmm0
call fcn.00484360
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x484859
mov ecx, dword [ebp - 0x14c]
lea edx, [eax + 1]
lea ecx, [ecx + 0x18]
call fcn.004781d0
mov edi, eax
test edi, edi
jne 0x484859
mov eax, dword [ebp - 0x184]
test eax, eax
je 0x4847e7
push dword [ebp - 0x188]
mov edx, dword [ebp - 0x14c]
mov ecx, esi
push eax
call fcn.00483de0
mov edi, eax
add esp, 8
test edi, edi
jne 0x484859
test ebx, ebx
je 0x484859
nop dword [eax + eax]
mov eax, dword [ebp - 0x14c]
mov ecx, esi
push eax
mov edx, eax
dec ebx
call fcn.00482ba0
mov edi, eax
add esp, 4
test edi, edi
jne 0x484859
movzx eax, byte [ebp + ebx - 0x110]
lea edx, [ebp - 0x140]
push eax
push dword [ebp - 0x160]
mov ecx, esi
push dword [ebp - 0x150]
call fcn.00484360
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x484859
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x14c]
mov edx, eax
push eax
call fcn.00483520
mov edi, eax
add esp, 8
test edi, edi
jne 0x484859
test ebx, ebx
jne 0x4847f0
lea ecx, [ebp - 0x140]
call fcn.00477e60
lea ecx, [ebp - 0x134]
call fcn.00477e60
lea ecx, [ebp - 0x128]
call fcn.00477e60
test edi, edi
jne 0x4848a7
push dword [ebp - 0x178]
mov ebx, dword [ebp - 0x14c]
mov ecx, esi
mov edx, ebx
call fcn.00482a80
mov edi, eax
add esp, 4
test edi, edi
jne 0x4848a7
mov edx, ebx
mov ecx, esi
call fcn.00482460
mov edi, eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x164], eax
jmp 0x4848f3
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x164], eax
jmp 0x4848f3
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x484952
cmp byte [ebp - 0x142], 0
jne 0x484952
mov ebx, eax
movzx eax, byte [ebp - 0x160]
mov dword [ebp - 0x15c], eax
test ebx, ebx
je 0x484936
mov ecx, ebx
call fcn.00477e60
lea ecx, [ebx + 0xc]
call fcn.00477e60
lea ecx, [ebx + 0x18]
call fcn.00477e60
mov eax, dword [ebp - 0x15c]
add ebx, 0x24
sub eax, 1
mov dword [ebp - 0x15c], eax
jne 0x484915
push dword [ebp - 0x150]
call fcn.00529d29
add esp, 4
mov edx, dword [ebp - 0x154]
test edx, edx
je 0x484987
mov ecx, dword [ebp - 0x158]
mov eax, edx
test ecx, ecx
je 0x48497e
nop dword [eax + eax]
mov dword [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x484970
push edx
call fcn.00529d29
add esp, 4
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
test edx, edx
je 0x4849d7
mov eax, dword [ebp - 0x118]
mov ecx, edx
test eax, eax
je 0x4849ce
nop dword [eax + eax]
mov dword [ecx], 0
lea ecx, [ecx + 4]
sub eax, 1
jne 0x4849c0
push edx
call fcn.00529d29
add esp, 4
test edi, edi
je 0x4849fc
mov ebx, dword [ebp - 0x14c]
test ebx, ebx
je 0x4849fc
mov ecx, ebx
call fcn.00477e60
lea ecx, [ebx + 0xc]
call fcn.00477e60
lea ecx, [ebx + 0x18]
call fcn.00477e60
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffb080
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e9d8
mov esp, ebp
pop ebp
ret