Function at 0x481cd0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4b01be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [0x4cb400]
mov edx, dword [esp + 0x144]
push ebx
push ebp
push esi
mov dword [esp + 0x13c], eax
push edi
xor ebx, ebx
mov edi, 0xf
mov eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x481d27
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x104]
call fcn.00404fa0
cmp dword [esp + 0x114], 0x10
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14c], ebx
jae 0x481d5d
lea eax, [esp + 0x100]
push eax
call fcn.004ac4b6
mov ecx, eax
add esp, 4
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x481d80
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xc0]
call fcn.00404fa0
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x158], 1
mov byte [esp + 0x1c], 0x5c
call fcn.0043ad50
mov esi, eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x14], esi
call fcn.00481c50
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x124]
mov byte [esp + 0x158], 2
call fcn.00404d80
mov eax, dword [esp + 0xd0]
cmp eax, 0x10
mov ebp, dword [esp + 0xbc]
mov ecx, ebp
jae 0x481e06
lea ecx, [esp + 0xbc]
add esi, ecx
cmp eax, 0x10
jae 0x481e14
lea ebp, [esp + 0xbc]
mov edx, dword [esp + 0x130]
cmp edx, 0x10
mov ecx, dword [esp + 0x11c]
mov eax, ecx
jae 0x481e30
lea eax, [esp + 0x11c]
mov edi, dword [esp + 0x12c]
add eax, edi
mov edi, 0x10
cmp edx, edi
jae 0x481e49
lea ecx, [esp + 0x11c]
mov edx, dword [esp + 0x14]
push edx
push esi
push ebp
push eax
push ecx
lea ecx, [esp + 0x12c]
call fcn.0043cd20
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00481580
mov eax, dword [esi + 4]
mov ebp, dword [esp + 0x1c]
cmp ebp, eax
jne 0x481eec
lea ecx, [esp + 0x118]
mov byte [esp + 0x14c], 1
call fcn.00481bc0
cmp dword [esp + 0xd0], edi
jb 0x481eae
mov edx, dword [esp + 0xbc]
push edx
call fcn.00496b1d
add esp, 4
cmp dword [esp + 0x114], edi
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x4820ff
mov eax, dword [esp + 0x100]
push eax
call fcn.00496b1d
add esp, 4
or eax, 0xffffffff
jmp 0x48229a
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x158], 3
call fcn.00404d80
mov eax, dword [esp + 0xd0]
cmp eax, edi
mov edx, dword [esp + 0xbc]
mov ecx, edx
jae 0x481f4d
lea ecx, [esp + 0xbc]
mov esi, dword [esp + 0xcc]
cmp eax, 0x10
lea edi, [ecx + esi]
mov eax, edx
jae 0x481f65
lea eax, [esp + 0xbc]
mov edx, dword [esp + 0x14]
lea esi, [eax + edx + 1]
mov edx, dword [esp + 0xec]
cmp edx, 0x10
mov eax, dword [esp + 0xd8]
jae 0x481f87
lea eax, [esp + 0xd8]
mov ecx, dword [esp + 0xe8]
add eax, ecx
cmp edx, 0x10
mov ecx, dword [esp + 0xd8]
jae 0x481fa3
lea ecx, [esp + 0xd8]
mov edx, dword [esp + 0x14]
push edx
push edi
push esi
push eax
push ecx
lea ecx, [esp + 0xe8]
call fcn.0043cd20
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebp + 0x28]
call fcn.00481580
mov eax, dword [ebp + 0x2c]
mov ebp, dword [esp + 0x14]
cmp ebp, eax
je 0x48206a
mov esi, dword [esp + 0x158]
mov eax, dword [esi]
cmp eax, ebx
je 0x481ff2
push eax
call fcn.00496b22
add esp, 4
movzx eax, word [ebp + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x10]
shl eax, 5
add eax, ecx
mov edi, eax
cmp dword [edi + 0x18], 0x10
jb 0x48200f
mov eax, dword [edi + 4]
jmp 0x482012
lea eax, [edi + 4]
push 1
push 0x1b6
push 0x20
push eax
lea ecx, [esp + 0x30]
call fcn.00481910
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x28], 6
mov byte [esp + 0x14c], 4
je 0x482107
lea ecx, [esp + 0x84]
mov byte [esp + 0x14c], 3
call fcn.00481a50
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x4b22d8
call fcn.004abe2e
mov eax, dword [esp + 0xec]
mov esi, 0x10
cmp eax, esi
jb 0x48208a
mov edx, dword [esp + 0xd8]
push edx
call fcn.00496b1d
add esp, 4
mov edi, 0xf
lea ecx, [esp + 0x118]
mov byte [esp + 0x14c], 1
mov byte [esp + 0xd8], bl
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], edi
call fcn.00481bc0
cmp dword [esp + 0xd0], esi
jb 0x4820d1
mov eax, dword [esp + 0xbc]
push eax
call fcn.00496b1d
add esp, 4
cmp dword [esp + 0x114], esi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x4820ff
mov ecx, dword [esp + 0x100]
push ecx
call fcn.00496b1d
add esp, 4
or eax, 0xffffffff
jmp 0x48229a
mov eax, dword [ebp + 0x2c]
cmp eax, 1
jae 0x482179
lea ecx, [esp + 0x84]
mov byte [esp + 0x14c], 3
call fcn.00481a50
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x4b22d8
call fcn.004abe2e
lea ecx, [esp + 0xd4]
call fcn.004218b0
lea ecx, [esp + 0x118]
mov byte [esp + 0x14c], 1
call fcn.00481bc0
lea ecx, [esp + 0xb8]
call fcn.004218b0
lea ecx, [esp + 0xfc]
call fcn.004218b0
xor eax, eax
jmp 0x48229a
push eax
call fcn.004972f4
add esp, 4
mov dword [esi], eax
mov edx, dword [ebp + 0x28]
push ebx
push edx
lea ecx, [esp + 0x28]
call fcn.00480f40
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00481480
mov eax, dword [ebp + 0x2c]
xor edx, edx
cmp edx, eax
mov dl, byte [edi + 0x1c]
sbb ecx, ecx
not ecx
and ecx, eax
xor eax, eax
cmp ecx, ebx
jle 0x4821d5
mov edi, dword [esi]
mov bl, byte [edi + eax]
add edi, eax
not bl
mov byte [edi], bl
mov edi, dword [esi]
mov bl, byte [edi + eax]
add edi, eax
xor bl, dl
inc eax
cmp eax, ecx
mov byte [edi], bl
jl 0x4821b8
xor ebx, ebx
mov ebp, dword [ebp + 0x2c]
lea ecx, [esp + 0x84]
mov byte [esp + 0x14c], 3
call fcn.00481a50
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], 0x4b22d8
call fcn.004abe2e
mov eax, dword [esp + 0xec]
mov esi, 0x10
cmp eax, esi
jb 0x482223
mov eax, dword [esp + 0xd8]
push eax
call fcn.00496b1d
add esp, 4
mov edi, 0xf
lea ecx, [esp + 0x118]
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0x14c], 1
call fcn.00481bc0
cmp dword [esp + 0xd0], esi
jb 0x48226a
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00496b1d
add esp, 4
cmp dword [esp + 0x114], esi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x482298
mov edx, dword [esp + 0x100]
push edx
call fcn.00496b1d
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x134]
pop ebx
call fcn.00496e0f
add esp, 0x140
ret 8