Function at 0x4b74a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc50
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 0xc4c], eax
mov al, byte [esp + 0xc5c]
xorps xmm0, xmm0
push ebp
push esi
mov esi, dword [esp + 0xc60]
mov ebp, ecx
mov ecx, dword [0x7c81bc]
mov byte [esp + 0xb], al
lea eax, [esp + 0x454]
push edi
push eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x440], 0
movups xmmword [esp + 0x441], xmm0
mov byte [esp + 0x459], 0
movq qword [esp + 0x451], xmm0
mov byte [esp + 0x438], 0
mov dword [esp + 0x439], 0
mov dword [esp + 0x1c], 0
call fcn.004a7020
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x458]
push eax
call fcn.004a7670
test al, al
jne 0x4b70d5
mov edi, 0xe002
push 0x3ff
lea eax, [esp + 0x85d]
push 0
push eax
call fcn.0050c5b0
push 0x400
lea eax, [esp + 0x468]
push 0
push eax
call fcn.0050c5b0
add esp, 0x18
mov dword [esp + 0x10], 0
cmp dword [ebp + 0x212bc], 2
mov byte [esp + 0x858], 2
jne 0x4b7026
push 2
call fcn.00433040
add esp, 4
mov byte [esp + 0x858], al
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x10]
push 0x384
push eax
push 1
lea eax, [esp + 0x464]
push eax
push 1
lea eax, [esp + 0x86c]
push eax
call fcn.004a6b10
cmp dword [ebp + 0x212bc], 2
jne 0x4b708f
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4b708f
xor esi, esi
test eax, eax
jle 0x4b708f
nop word [eax + eax]
movzx eax, byte [esp + esi + 0x458]
push eax
call fcn.00432f40
mov byte [esp + esi + 0x45c], al
add esp, 4
inc esi
cmp esi, dword [esp + 0x10]
jl 0x4b7070
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x34]
push eax
call fcn.004a6f90
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x34]
push eax
call fcn.004a7670
mov ecx, dword [esp + 0xc58]
mov eax, edi
pop edi
pop esi
mov dword [ebp + 0x212bc], 0
pop ebp
xor ecx, esp
call fcn.0050b38b
add esp, 0xc50
ret 0xc
push 0x3e8
call dword [0x530340]
add esp, 4
mov ecx, ebp
call fcn.004b3ed0
mov edi, eax
cmp edi, 0x9000
jne 0x4b6fd1
mov eax, dword [esp + 0xc60]
cmp eax, 4
ja case.default.0x4b7104
jmp dword [eax*4 + 0x4b748c]
mov dword [esi + 0x78], 0x47
mov dword [esi + 0x7c], 0x32
mov dword [esi + 0x80], 0x70
mov dword [esi + 0x84], 0x1d
jmp case.default.0x4b7104
mov dword [esi + 0x78], 0x60
mov dword [esi + 0x7c], 0x48
mov dword [esi + pe_nt_image_headers32], 0x80
mov dword [esi + 0x84], 0x30
jmp case.default.0x4b7104
mov eax, dword [0x7c90f4]
mov dword [esi + 0x78], eax
mov eax, dword [0x7c90f0]
mov dword [esi + 0x7c], eax
mov eax, dword [0x7c90f8]
mov dword [esi + 0x80], eax
mov eax, dword [0x7c90ec]
mov dword [esi + 0x84], eax
mov edi, 0x8287
mov dword [esp + 0x1c], 0xa
sub edi, esi
lea edx, [esi + 0x29]
push ebx
mov dword [esp + 0x24], edi
lea ecx, [esi + 2]
mov eax, 0x82ae
mov dword [esp + 0x18], edx
mov ebx, 0xfffffffe
mov dword [esp + 0x14], ecx
sub eax, esi
sub ebx, esi
mov edi, 0xffffffd7
mov dword [esp + 0x30], eax
sub edi, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], edi
nop dword [eax]
lea edi, [eax + ecx]
add edx, dword [esp + 0x24]
mov eax, dword [esi + 0x78]
add ebx, ecx
add eax, edi
mov al, byte [eax + ebp]
mov byte [ecx - 2], al
mov eax, dword [esi + 0x78]
add eax, ebx
mov al, byte [eax + ebp + 0x82b1]
mov byte [ecx - 1], al
mov eax, dword [esi + 0x78]
add eax, ebx
mov al, byte [eax + ebp + 0x82b2]
mov byte [ecx], al
mov eax, dword [esi + 0x78]
add eax, ebx
mov al, byte [eax + ebp + 0x82b3]
mov byte [ecx + 1], al
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x18]
add eax, edx
mov al, byte [eax + ebp]
mov byte [ecx - 1], al
mov eax, dword [esi + 0x7c]
add ecx, dword [esp + 0x28]
add eax, ecx
mov al, byte [eax + ebp + 0x82b1]
mov ebp, dword [esp + 0x18]
mov byte [ebp], al
mov eax, dword [esi + 0x80]
mov ebp, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x14]
mov al, byte [eax + ebp]
mov byte [edi + 0x3a], al
mov eax, dword [esi + 0x80]
add eax, ebx
mov al, byte [eax + ebp + 0x82b1]
mov byte [edi + 0x3b], al
mov eax, dword [esi + 0x80]
add eax, ebx
mov al, byte [eax + ebp + 0x82b2]
mov byte [edi + 0x3c], al
mov eax, dword [esi + 0x80]
add eax, ebx
mov ebx, dword [esp + 0x34]
mov al, byte [eax + ebp + 0x82b3]
mov byte [edi + 0x3d], al
mov eax, dword [esi + 0x84]
add eax, edx
mov edx, dword [esp + 0x18]
mov al, byte [eax + ebp]
mov byte [edx + 0x3b], al
mov eax, dword [esi + 0x84]
add eax, ecx
mov ecx, edi
add ecx, 4
mov dword [esp + 0x14], ecx
mov al, byte [eax + ebp + 0x82b1]
mov byte [edx + 0x3c], al
add edx, 2
sub dword [esp + 0x20], 1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], edx
jne 0x4b71c0
xor eax, eax
pop ebx
nop dword [eax]
cmp eax, 0x1a
jae 0x4b7484
mov byte [esp + eax + 0x43c], 0
inc eax
cmp eax, 0x19
jl 0x4b72c0
movzx edx, byte [esp + 0xf]
mov byte [esp + 0x43c], 0x13
lea ecx, [edx*4]
mov al, byte [ecx + esi]
mov byte [esp + 0x43d], al
mov al, byte [ecx + esi + 1]
mov byte [esp + 0x43e], al
mov al, byte [ecx + esi + 2]
mov byte [esp + 0x43f], al
mov al, byte [ecx + esi + 3]
mov byte [esp + 0x440], al
mov al, byte [esi + edx*2 + 0x28]
mov byte [esp + 0x443], al
mov al, byte [esi + edx*2 + 0x29]
mov byte [esp + 0x444], al
mov eax, dword [esi + 0x80]
lea eax, [eax + edx*4]
mov al, byte [eax + ebp + 0x82b0]
mov byte [esi + edx*4 + 0x3c], al
mov eax, dword [esi + 0x80]
add eax, ecx
mov al, byte [eax + ebp + 0x82b1]
mov byte [ecx + esi + 0x3d], al
mov eax, dword [esi + 0x80]
add eax, ecx
mov al, byte [eax + ebp + 0x82b2]
mov byte [ecx + esi + 0x3e], al
mov eax, dword [esi + 0x80]
add eax, ecx
mov al, byte [eax + ebp + 0x82b3]
mov byte [ecx + esi + 0x3f], al
mov al, byte [esi + edx*4 + 0x3c]
mov byte [esp + 0x445], al
mov al, byte [ecx + esi + 0x3d]
mov byte [esp + 0x446], al
mov al, byte [ecx + esi + 0x3e]
mov byte [esp + 0x447], al
mov al, byte [ecx + esi + 0x3f]
xor cl, cl
mov byte [esp + 0x448], al
mov al, byte [esi + edx*2 + 0x64]
mov byte [esp + 0x449], al
mov al, byte [esi + edx*2 + 0x65]
mov byte [esp + 0x44a], al
xor eax, eax
nop
xor cl, byte [esp + eax + 0x43d]
inc eax
cmp eax, 0xe
jl 0x4b73c0
cmp dword [ebp + 0x212bc], 2
mov byte [esp + 0x454], cl
jne 0x4b73fe
xor esi, esi
nop
movzx eax, byte [esp + esi + 0x43c]
push eax
call fcn.00433040
mov byte [esp + esi + 0x440], al
add esp, 4
inc esi
cmp esi, 0x19
jl 0x4b73e0
mov ecx, dword [0x7c81bc]
lea eax, [esp + 0x18]
push 0x578
push eax
push 1
lea eax, [esp + 0x440]
push eax
push 0x19
lea eax, [esp + 0x450]
push eax
call fcn.004a6b10
cmp dword [ebp + 0x212bc], 2
mov eax, dword [esp + 0x18]
jne 0x4b7461
test eax, eax
jle 0x4b7461
xor esi, esi
test eax, eax
jle 0x4b7461
nop
movzx eax, byte [esp + esi + 0x434]
push eax
call fcn.00432f40
mov byte [esp + esi + 0x438], al
add esp, 4
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x4b7440
cmp eax, 1
jne 0x4b747a
cmp byte [esp + 0x434], 0x13
jne 0x4b747a
mov edi, 0xe036
jmp 0x4b6fd1
mov edi, 0xe026
jmp 0x4b6fd1
call fcn.0050bb23
nop dword [eax]
or esi, dword [ecx + 0x4b]
add byte [edi], ch
jno 0x4b74de
add byte [edi], ch
jno 0x4b74e2
add byte [edi], ch
jno 0x4b74e6
add byte [ebx + 0x71], dl
dec ebx
add byte [ebx - 0x1b5ed314], al
sub esp, 0x2c
mov eax, dword [0x7c6ee4]
xor eax, esp
mov dword [esp + 0x28], eax
xorps xmm0, xmm0
mov byte [esp + 4], 0
push edi
mov edi, ecx
mov dword [esp + 9], 0
mov dword [esp + 4], 0
xor eax, eax
mov byte [esp + 0x10], 0
movups xmmword [esp + 0x11], xmm0
mov byte [esp + 0x29], 0
movq qword [esp + 0x21], xmm0
and al, 0x21
cmp eax, 0x1a
jae 0x4b75e7
sbb cl, byte [edi]
cmp esi, 0
add byte [eax], al
add byte [eax], al
add dh, al
inc esp
add al, 0x10
add byte [eax - 0x7d], al
clc
sbb dword [esp + ebp*8 - 0x75], edi
dec esp
and al, 0x34
mov byte [esp + eax + 0x10], 0
inc eax
cmp eax, 0x19
jl 0x4b74e0
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x10], 0x13
mov al, byte [ecx + 4]
mov byte [esp + 0x11], al
mov al, byte [ecx + 5]
mov byte [esp + 0x12], al
mov al, byte [ecx + 6]
mov byte [esp + 0x13], al
mov al, byte [ecx + 7]
mov byte [esp + 0x14], al
movzx eax, word [ecx + 2]
mov word [esp + 0x17], ax
mov eax, dword [ecx + 8]
mov dword [esp + 0x19], eax
movzx eax, word [ecx]
xor cl, cl
mov word [esp + 0x1d], ax
xor eax, eax
xor cl, byte [esp + eax + 0x11]
inc eax
cmp eax, 0xe
jl 0x4b7535
cmp dword [edi + 0x212bc], 2
push esi
mov byte [esp + 0x2c], cl
jne 0x4b7568
xor esi, esi
nop
movzx eax, byte [esp + esi + 0x14]
push eax
call fcn.00433040
mov byte [esp + esi + 0x18], al
add esp, 4
inc esi
cmp esi, 0x19
jl 0x4b7550
mov ecx, dword [0x7c81bc]
lea eax, [esp + 8]
push 0x578
push eax
push 1
lea eax, [esp + 0x18]
push eax
push 0x19
lea eax, [esp + 0x28]
push eax
call fcn.004a6b10
cmp dword [edi + 0x212bc], 2
mov eax, dword [esp + 8]
jne 0x4b75bd
test eax, eax
jle 0x4b75bd
xor esi, esi
test eax, eax
jle 0x4b75bd
movzx eax, byte [esp + esi + 0xc]
push eax
call fcn.00432f40
mov byte [esp + esi + 0x10], al
add esp, 4
mov eax, dword [esp + 8]
inc esi
cmp esi, eax
jl 0x4b75a2
cmp eax, 1
mov eax, 0xe026
pop esi
jne 0x4b75d5
cmp byte [esp + 8], 0x13
mov ecx, 0x9000
cmove eax, ecx
mov ecx, dword [esp + 0x2c]
pop edi
xor ecx, esp
call fcn.0050b38b
add esp, 0x2c
ret 4
call fcn.0050bb23
int3