Function at 0x4cd000
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e66dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x4fb614]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebx + 8]
mov dword [ebp - 0xbc], edx
test edx, edx
je 0x4cdbba
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4cdbba
cmp dword [edx], 0
lea esi, [edx + eax]
mov ecx, edx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xb4], ecx
je 0x4cd9e5
cmp dword [edx + 4], 0
je 0x4cd9e5
cmp edx, esi
jae 0x4cd835
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x4cd552
mov edx, dword [ecx + 4]
lea eax, [ecx + 4]
mov dword [ebp - 0xac], eax
test edx, edx
je 0x4cd552
lea eax, [edx + ecx]
cmp eax, esi
ja 0x4cd407
lea eax, [edx - 8]
shr eax, 1
lea esi, [ecx + 8]
mov dword [ebp - 0xc4], eax
mov eax, 0
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb0], eax
je 0x4cd149
mov edx, dword [ebp - 0xc4]
nop
movzx eax, word [esi + eax*2]
mov esi, eax
shr esi, 0xc
mov dword [ebp - 0xb8], esi
test esi, esi
je 0x4cd135
cmp esi, 3
je 0x4cd0fd
cmp esi, 0xa
jne 0x4cd16a
and eax, 0xfff
add eax, dword [ecx]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xb8], eax
cmp ecx, dword [edi + 8]
je 0x4cd11a
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x4cd12f
lea eax, [ebp - 0xb8]
push eax
push ecx
mov ecx, edi
call fcn.004cdbf0
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xb0]
lea esi, [ecx + 8]
inc eax
mov dword [ebp - 0xb0], eax
cmp eax, edx
jb 0x4cd0e0
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0xc0]
add ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
cmp ecx, esi
jb 0x4cd090
jmp 0x4cd835
mov eax, dword [0x4fdaa8]
push ecx
push 0x2a
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb0], eax
call fcn.004aa330
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
jb 0x4cd191
mov edx, dword [ebp - 0x5c]
movsx ecx, byte [edx]
jmp 0x4cd197
movsx ecx, byte [eax]
lea edx, [ebp - 0x5c]
mov eax, 0x4f68a0
add ecx, 0x80fa17
sub eax, edx
mov edi, 0x2a
mov dword [ebp - 0xac], eax
mov esi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xe2f5
shr eax, 6
xor al, byte [esi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x68d06c4
sub edi, 1
jne 0x4cd1b1
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0xd4]
push 0x4f45fc
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0xac], eax
call fcn.004b7220
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa8]
sub eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x104]
push 4
mov dword [ebp - 0xa8], eax
call fcn.004b8370
push 6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call fcn.004aa330
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
jb 0x4cd23d
mov edx, dword [ebp - 0x44]
movsx ecx, byte [edx]
jmp 0x4cd243
movsx ecx, byte [eax]
lea edx, [ebp - 0x44]
add ecx, 0x80fa17
mov eax, ecx
imul ecx, ecx, 0xbef5
shr eax, 6
xor al, 0xc1
mov byte [edx], al
add ecx, 0x68d06c4
mov eax, ecx
imul ecx, ecx, 0xbef5
shr eax, 6
xor al, 0xe3
mov byte [edx + 1], al
add ecx, 0x68d06c4
mov eax, ecx
imul ecx, ecx, 0xbef5
shr eax, 6
xor al, 0xfd
mov byte [edx + 2], al
add ecx, 0x68d06c4
mov eax, ecx
imul ecx, ecx, 0xbef5
shr eax, 6
xor al, 0xf5
mov byte [edx + 3], al
add ecx, 0x68d06c4
mov eax, ecx
shr eax, 6
xor al, 0xcd
mov byte [edx + 4], al
imul eax, ecx, 0xbef5
add eax, 0x68d06c4
shr eax, 6
xor al, 0xa7
mov byte [edx + 5], al
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call fcn.004b7340
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 0xb8]
lea ecx, [ebp - 0xe4]
push esi
call fcn.004b6d30
push ecx
push 0x22
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x16
call fcn.004aa330
cmp dword [ebp - 0x90], 0x10
lea eax, [ebp - 0xa4]
jb 0x4cd30d
mov edx, dword [ebp - 0xa4]
movsx ecx, byte [edx]
jmp 0x4cd316
movsx ecx, byte [eax]
lea edx, [ebp - 0xa4]
mov edi, 0x4f67a0
add ecx, 0x80fa17
sub edi, edx
mov esi, 0x22
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdaf5
shr eax, 6
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x68d06c4
sub esi, 1
jne 0x4cd330
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x114]
call fcn.004b7340
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xe4]
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.004b68a0
push ecx
mov ecx, dword [ebp - 0xb0]
push esi
push 0x54
mov byte [ebp - 4], 0x19
push dword [ebp - 0xac]
push dword [eax + 4]
call fcn.004c3d30
lea ecx, [ebp - 0xf4]
call fcn.004b73b0
lea ecx, [ebp - 0x114]
call fcn.004b73b0
lea ecx, [ebp - 0xa4]
call fcn.004aa2e0
lea ecx, [ebp - 0xe4]
call fcn.004b73b0
lea ecx, [ebp - 0x24]
call fcn.004b73b0
lea ecx, [ebp - 0x44]
call fcn.004aa2e0
lea ecx, [ebp - 0x104]
call fcn.004b73b0
lea ecx, [ebp - 0xd4]
call fcn.004b73b0
lea ecx, [ebp - 0x5c]
call fcn.004aa2e0
lea eax, [esi - 9]
jmp 0x4cdbbf
sub ecx, dword [ebp - 0xbc]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0xd4]
push 4
call fcn.004b8370
push 0x2d
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xd
call fcn.004aa330
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
jb 0x4cd448
mov edx, dword [ebp - 0x44]
movsx ecx, byte [edx]
jmp 0x4cd44e
movsx ecx, byte [eax]
lea edx, [ebp - 0x44]
mov edi, 0x4f6740
add ecx, 0x627583
sub edi, edx
mov esi, 0x2d
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xe5f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x5004b40
sub esi, 1
jne 0x4cd460
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call fcn.004b7340
mov dword [ebp - 0xa8], eax
push ecx
push 0x2a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.004aa330
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
jb 0x4cd4b2
mov edx, dword [ebp - 0x5c]
movsx ecx, byte [edx]
jmp 0x4cd4b8
movsx ecx, byte [eax]
lea edx, [ebp - 0x5c]
mov edi, 0x4f6800
add ecx, 0x627583
sub edi, edx
mov esi, 0x2a
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xe2f5
shr eax, 0xb
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x5004b40
sub esi, 1
jne 0x4cd4d0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x5c]
push eax
push dword [ebp - 0xa8]
cmovae edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0xac]
push 0x40
mov dword [ebp - 0xac], 0xfffffff8
call fcn.004bd220
add esp, 0xc
lea ecx, [ebp - 0x5c]
mov esi, dword [eax]
call fcn.004aa2e0
lea ecx, [ebp - 0x24]
call fcn.004b73b0
lea ecx, [ebp - 0x44]
call fcn.004aa2e0
lea ecx, [ebp - 0xd4]
call fcn.004b73b0
mov eax, esi
jmp 0x4cdbbf
mov eax, dword [0x4fdaa8]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x2c], 0
push 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
push 0x2a
mov esi, eax
mov dword [ebp - 0x1c], 0x2a
push 0
push esi
mov dword [ebp - 0x18], 0x2f
call fcn.004d0920
mov byte [esi + 0x2a], 0
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x18], 0x10
jb 0x4cd5b6
movsx ecx, byte [esi]
jmp 0x4cd5bc
movsx ecx, byte [eax]
lea esi, [ebp - 0x2c]
mov edi, 0x4f67d0
add ecx, 0x5c5aff
sub edi, esi
mov edx, 0x2a
nop
mov eax, ecx
lea esi, [esi + 1]
imul ecx, ecx, 0xe2f5
shr eax, 0xc
xor al, byte [edi + esi - 1]
mov byte [esi - 1], al
add ecx, 0x4b0f28c
sub edx, 1
jne 0x4cd5d0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xe4], 0x4efc60
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xac], eax
mov eax, 0x4f45fc
inc eax
cmp byte [eax], 0
jne 0x4cd617
sub eax, 0x4f45fc
mov dword [ebp - 0xd8], eax
lea ecx, [eax + 1]
mov dword [ebp - 0xdc], ecx
test ecx, ecx
jne 0x4cd63f
xor edi, edi
mov dword [ebp - 0xb0], edi
jmp 0x4cd650
push ecx
call fcn.004d4296
add esp, 4
mov dword [ebp - 0xb0], eax
mov edi, eax
mov dword [ebp - 0xe0], edi
mov ecx, 0x4f45fc
nop dword [eax + eax]
inc ecx
cmp byte [ecx], 0
jne 0x4cd660
sub ecx, 0x4f45fc
inc ecx
push ecx
push 0x4f45fc
push edi
call fcn.004d1d90
add esp, 0xc
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xa8]
sub eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x114]
push 4
mov dword [ebp - 0xa8], eax
call fcn.004b8370
add esp, 4
push 0x30
mov byte [ebp - 4], 8
call fcn.004aa4a0
push 0x2f
mov esi, eax
mov dword [ebp - 0x34], 0x2f
push 0
push esi
mov dword [ebp - 0x30], 0x2f
call fcn.004d0920
mov byte [esi + 0x2f], 0
mov eax, 0x4f6770
mov dword [ebp - 0x44], esi
add esp, 0xc
movsx ecx, byte [esi]
mov edx, 0x2f
add ecx, 0x5c5aff
sub eax, esi
mov dword [ebp - 0xa8], eax
mov edi, eax
mov eax, ecx
lea esi, [esi + 1]
imul ecx, ecx, 0xe7f5
shr eax, 0xc
xor al, byte [edi + esi - 1]
mov byte [esi - 1], al
add ecx, 0x4b0f28c
sub edx, 1
jne 0x4cd6f0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x104]
call fcn.004b7340
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.004b6680
push ecx
push 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xb8]
push 0x3c
push dword [ebp - 0xac]
push dword [eax + 4]
call fcn.004c3d30
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], 0x4efc60
test eax, eax
je 0x4cd779
push eax
call fcn.004d427b
add esp, 4
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], 0x4efc60
test eax, eax
je 0x4cd796
push eax
call fcn.004d427b
add esp, 4
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x4cd7ce
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd7c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cdbdf
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x4cd7e1
push eax
call fcn.004d427b
add esp, 4
test edi, edi
je 0x4cd7ee
push edi
call fcn.004d427b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4cd829
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cd81f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cdbdf
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov esi, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb4]
cmp ecx, esi
je 0x4cd9de
mov eax, dword [0x4fdaa8]
push ecx
push 0x2a
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xac], eax
call fcn.004aa330
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
jb 0x4cd86d
mov edx, dword [ebp - 0x8c]
movsx ecx, byte [edx]
jmp 0x4cd876
movsx ecx, byte [eax]
lea edx, [ebp - 0x8c]
mov edi, 0x4f6710
add ecx, 0x8d2f1f
sub edi, edx
mov esi, 0x2a
nop dword [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xe2f5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x72bb82c
sub esi, 1
jne 0x4cd890
mov dword [ebp - 4], 0x1a
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0xf4]
push 0x4f45fc
cmovae eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa8], eax
call fcn.004b7220
push ecx
push 0x62
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1b
call fcn.004aa330
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
jb 0x4cd8fe
mov edx, dword [ebp - 0x74]
movsx ecx, byte [edx]
jmp 0x4cd904
movsx ecx, byte [eax]
lea edx, [ebp - 0x74]
mov edi, 0x4f6830
add ecx, 0x8d2f1f
sub edi, edx
mov esi, 0x62
nop word [eax + eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0x11af5
shr eax, 4
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x72bb82c
sub esi, 1
jne 0x4cd920
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x134]
call fcn.004b7340
lea ecx, [ebp - 0xf4]
push ecx
push eax
lea ecx, [ebp - 0x124]
call fcn.004b65c0
push ecx
push esi
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0xac]
push 0x5c
push dword [ebp - 0xa8]
push dword [eax + 4]
call fcn.004c3d30
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], 0x4efc60
test eax, eax
je 0x4cd99b
push eax
call fcn.004d427b
add esp, 4
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], 0x4efc60
test eax, eax
je 0x4cd9b8
push eax
call fcn.004d427b
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.004aa2e0
mov eax, dword [ebp - 0xf0]
test eax, eax
je 0x4cd9d3
push eax
call fcn.004d427b
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.004aa2e0
xor eax, eax
jmp 0x4cdbbf
push 0x30
mov dword [ebp - 4], 0xffffffff
call fcn.004aa4a0
mov edx, eax
mov dword [ebp - 0x64], 0x20
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0x2f
mov dword [ebp - 0x74], edx
mov edi, 0x4f68d0
mov esi, 0x20
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov byte [edx + 0x20], 0
movsx ecx, byte [edx]
add ecx, 0x51ac98
sub edi, edx
nop dword [eax]
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xd8f5
shr eax, 7
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x4261751
sub esi, 1
jne 0x4cda30
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xf4]
call fcn.004b7340
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x2c], esi
push 0x30
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
call fcn.004aa4a0
push 0x2a
mov esi, eax
mov dword [ebp - 0x1c], 0x2a
push 0
push esi
mov dword [ebp - 0x18], 0x2f
call fcn.004d0920
mov byte [esi + 0x2a], 0
lea eax, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x18], 0x10
jb 0x4cdaba
movsx ecx, byte [esi]
jmp 0x4cdac0
movsx ecx, byte [eax]
lea esi, [ebp - 0x2c]
mov edi, 0x4f66e0
add ecx, 0x51ac98
sub edi, esi
mov edx, 0x2a
mov eax, ecx
lea esi, [esi + 1]
imul ecx, ecx, 0xe2f5
shr eax, 7
xor al, byte [edi + esi - 1]
mov byte [esi - 1], al
add ecx, 0x4261751
sub edx, 1
jne 0x4cdad2
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0xac]
push dword [ebp - 0xa8]
cmovae edx, dword [ebp - 0x2c]
push 0x35
mov dword [ebp - 0xac], 0xffffffe6
call fcn.004bd480
mov edx, dword [ebp - 0x18]
add esp, 8
mov esi, dword [eax]
cmp edx, 0x10
jb 0x4cdb57
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cdb4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cdbe4
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0xf4], 0x4efc60
test eax, eax
je 0x4cdb86
push eax
call fcn.004d427b
add esp, 4
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x4cdbb6
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4cdbac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4cdbe4
push edx
push ecx
call fcn.004cf4f2
add esp, 8
mov eax, esi
jmp 0x4cdbbf
mov eax, 0xffffffe9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cf4aa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004d4192
call fcn.004d4192
int3