Function at 0x4bca80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ecx]
mov dword [esp + 4], edx
test byte [eax + 0x21], 0x40
mov dword [esp + 0x14], eax
jne 0x4bca9f
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ecx + 0x92]
mov edx, dword [esp + 4]
mov dword [esp + 0x18], ecx
mov byte [esp + 0xb], al
mov eax, dword [esp + 0x14]
mov esi, dword [edx + 0x48]
mov eax, dword [eax + 0x10]
test esi, esi
je 0x4bcada
lea ecx, [eax + 0xc]
mov edi, 0xffffffff
nop word [eax + eax]
inc edi
cmp dword [ecx], esi
lea ecx, [ecx + 0x10]
jne 0x4bcad0
jmp 0x4bcadf
mov edi, 0xfff0bdc0
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x4bcf66
mov ecx, edi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], edi
shl ecx, 4
mov eax, dword [eax + ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x28], eax
jmp 0x4bcb53
lea ecx, [eax + 1]
lea eax, [eax + eax*4]
mov dword [ebp + 0x6c], ecx
mov ecx, dword [ebp + 0x68]
mov dword [ecx + eax*4], 0x95
mov dword [ecx + eax*4 + 4], esi
mov dword [ecx + eax*4 + 8], 0xffffffff
mov dword [ecx + eax*4 + 0xc], 0
mov dword [ecx + eax*4 + 0x10], 0
nop dword [eax + eax]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x18]
test ebx, ebx
je 0x4bcf63
cmp dword [esp + 0x50], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0xffffffff
mov dword [esp], ebx
je 0x4bcbd0
mov ecx, dword [edx]
mov edi, dword [ebx + 8]
test ecx, ecx
je 0x4bcbf0
test edi, edi
je 0x4bcbf4
xor edx, edx
jmp 0x4bcba0
movzx ebx, byte [ebx + 0x50ce7b]
cmp bl, byte [eax + 0x50ce7b]
jne 0x4bcbf4
inc edx
movzx ebx, byte [ecx + edx]
movzx eax, byte [edi + edx]
cmp bl, al
jne 0x4bcb90
test bl, bl
jne 0x4bcb9f
mov ebx, dword [esp]
cmp byte [esi + 0x92], 0
jne 0x4bcc46
jmp 0x4bcc70
mov edi, dword [ebx + 8]
cmp byte [esi + 0x92], 0
jne 0x4bcc46
jmp 0x4bcc70
test edi, edi
je 0x4bcc5a
mov ebx, dword [esp]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jle 0x4bcb40
lea edx, [ebx + 0x24]
jmp 0x4bcc1a
add edx, 8
dec ecx
je 0x4bcb40
mov esi, dword [edx]
mov eax, dword [esp + 0x50]
cmp dword [eax + esi*4], 0
jns 0x4bcc39
cmp dword [esp + 0x54], 0
je 0x4bcc10
mov eax, dword [esp + 4]
movsx eax, word [eax + 0x28]
cmp esi, eax
jne 0x4bcc10
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x92], 0
je 0x4bcc70
mov ecx, dword [esp + 0x14]
mov edx, edi
push dword [esp + 0x2c]
call fcn.00433400
add esp, 4
jmp 0x4bcc81
mov ebx, dword [esp]
xor edi, edi
cmp byte [esi + 0x92], 0
jne 0x4bcc46
nop dword [eax + eax]
mov ecx, esi
xor edx, edx
push dword [esp + 0x2c]
push edi
call fcn.0042a6e0
add esp, 8
mov ebp, eax
test eax, eax
je 0x4bcca6
lea eax, [esp + 0x1c]
mov ecx, esi
mov edx, ebp
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.004be3d0
add esp, 0xc
test eax, eax
je 0x4bcdd1
cmp byte [esp + 0xb], 0
je 0x4bca97
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x51], 0
jne 0x4bca97
test ebp, ebp
jne 0x4bcb40
mov ecx, dword [esp + 0x18]
call fcn.00485cb0
mov ecx, dword [ebx + 0x14]
mov ebp, eax
mov eax, dword [eax + 0x6c]
test ecx, ecx
jle 0x4bce78
mov edi, dword [esp + 0x28]
lea eax, [eax + ecx + 1]
xor esi, esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
jmp 0x4bcd39
lea edx, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebp + 0x6c], edx
mov edx, dword [ebp + 0x68]
mov dword [edx + ecx*4], 0x32
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edx + ecx*4 + 8], eax
mov dword [edx + ecx*4 + 0xc], 0
mov dword [edx + ecx*4 + 0x10], 0
inc esi
cmp esi, dword [ebx + 0x14]
jge 0x4bce75
mov eax, dword [ebx]
mov ecx, dword [ebx + esi*8 + 0x24]
test byte [eax + 0x24], 0x20
je 0x4bcda5
test cx, cx
js 0x4bcda5
mov edi, dword [eax + 4]
movzx ebp, word [edi + 0x10]
and ebp, 0x20
test cx, cx
je 0x4bcd89
movsx ebx, cx
mov ecx, 1
test ebx, ebx
cmovle ebx, ecx
add edi, 0x24
xor ecx, ecx
mov edx, ebx
nop dword [eax]
movzx ebp, bp
shr ebp, 5
xor ebp, 1
add ecx, ebp
movzx ebp, word [edi]
add edi, 0x14
and ebp, 0x20
dec edx
jne 0x4bcd70
jmp 0x4bcd8d
xor ebx, ebx
xor ecx, ecx
mov edi, dword [esp + 0x28]
test bp, bp
je 0x4bcd9e
sub ebx, ecx
add bx, word [eax + 0x2c]
mov ecx, ebx
mov ebx, dword [esp]
mov ebp, dword [esp + 0xc]
movsx eax, cx
mov ecx, dword [ebp + 0x6c]
add eax, edi
cmp dword [ebp + 0x70], ecx
jg 0x4bcd00
mov ecx, ebp
mov edx, 0x32
push 0
push dword [esp + 0x14]
push eax
call fcn.0046c600
add esp, 0xc
jmp 0x4bcd2f
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 4]
test edi, edi
jne 0x4bcde8
mov eax, dword [ebx + 0x24]
lea edi, [esp + 0x30]
mov dword [esp + 0x30], eax
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x10], edi
jle 0x4bce9e
mov esi, dword [esp + 0x20]
lea eax, [ebp + 0x28]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0xc], eax
jmp 0x4bce45
movsx ecx, word [ecx]
mov edx, dword [ebp]
lea edi, [ecx + ecx*4]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x24]
push dword [eax + edi*4]
call fcn.00495cc0
add esp, 8
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x10]
xor edx, edx
cmp eax, 2
sete dl
mov eax, dword [esp]
inc ebx
cmp ebx, dword [eax + 0x14]
jge 0x4bcea0
movsx eax, word [ecx + 0x28]
cmp dword [edi + ebx*4], eax
jne 0x4bce55
mov dword [edi + ebx*4], 0xffffffff
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x150], 0
je 0x4bce3c
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0xc]
test esi, esi
je 0x4bce10
lea ecx, [ebx + ebx]
add ecx, dword [esi + 4]
jmp 0x4bce10
mov eax, dword [ebp + 0x6c]
movzx esi, byte [ebx + 0x18]
cmp dword [ebp + 0x70], eax
jg 0x4bcb09
mov ecx, ebp
mov edx, 0x95
push 0
push 0xffffffffffffffff
push esi
call fcn.0046c600
add esp, 0xc
jmp 0x4bcb40
xor edx, edx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov ecx, esi
mov edx, ebx
push dword [ebp]
push 0
push dword [ebp + 0x1c]
call fcn.004863b0
add esp, 0xc
mov eax, dword [esp + 0x48]
inc dword [esi + 0x28]
test eax, eax
je 0x4bcee8
mov ecx, esi
mov edx, ebx
push dword [esp + 0xc]
push 0xffffffffffffffff
push eax
push edi
push dword [esp + 0x10]
push dword [esp + 0x34]
push ebp
call fcn.004be670
add esp, 0x1c
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x4bcf46
mov eax, dword [esi + 0x74]
test eax, eax
cmove eax, esi
mov eax, dword [eax + 0x104]
test eax, eax
je 0x4bcf26
mov eax, dword [eax]
mov ecx, dword [esp]
cmp eax, dword [ecx + 0x1c]
jne 0x4bcf15
mov ecx, dword [esp]
cmp byte [ecx + 0x19], 8
je 0x4bcf46
mov ecx, dword [esp]
cmp eax, dword [ecx + 0x20]
jne 0x4bcf26
mov eax, dword [esp]
cmp byte [eax + 0x1a], 8
je 0x4bcf46
mov ecx, esi
mov edx, ebx
push dword [esp + 0xc]
push 1
push edi
push dword [esp + 0x1c]
push dword [esp + 0x10]
push dword [esp + 0x34]
push ebp
call fcn.004be670
add esp, 0x1c
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp]
test edx, edx
je 0x4bcb40
mov ecx, dword [esp + 0x14]
call fcn.004352c0
jmp 0x4bcb40
mov esi, dword [edx + 0x48]
mov edi, dword [esi + 0x44]
mov ecx, dword [edx]
test edi, edi
je 0x4bcf9c
mov bl, byte [ecx]
test bl, bl
je 0x4bcfa4
lea edx, [ecx + 1]
xor eax, eax
nop word [eax + eax]
movzx ebx, bl
movzx ebx, byte [ebx + 0x50ce7b]
add ebx, eax
imul eax, ebx, 0x9e3779b1
movzx ebx, byte [edx]
inc edx
test bl, bl
jne 0x4bcf80
jmp 0x4bcfa6
lea ebp, [esi + 0x40]
add esi, 0x3c
jmp 0x4bcfb2
xor eax, eax
xor edx, edx
div dword [esi + 0x38]
lea ebp, [edi + edx*8 + 4]
lea esi, [edi + edx*8]
mov esi, dword [esi]
mov eax, 0x51ea84
test esi, esi
je 0x4bd00d
mov ebp, dword [ebp]
dec esi
xor ebx, ebx
mov edi, dword [ebp + 0xc]
jmp 0x4bcfe0
movzx edx, byte [edx + 0x50ce7b]
cmp dl, byte [eax + 0x50ce7b]
jne 0x4bd000
inc ebx
movzx edx, byte [edi + ebx]
movzx eax, byte [ecx + ebx]
cmp dl, al
jne 0x4bcfd0
test dl, dl
jne 0x4bcfdf
jmp 0x4bd00b
test esi, esi
jne 0x4bcfbd
mov eax, 0x51ea84
jmp 0x4bd00d
mov eax, ebp
mov edi, dword [eax + 8]
test edi, edi
je 0x4bca97
xor eax, eax
cmp dword [esp + 0x50], 0
setne al
mov dword [esp + 0xc], eax
jmp 0x4bd03b
mov edi, dword [edi + 0xc]
test edi, edi
je 0x4bca97
cmp dword [esp + 0x50], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
je 0x4bd130
mov eax, dword [edi + 0x14]
test eax, eax
mov dword [esp + 0x24], eax
jle 0x4bd030
mov eax, dword [esp + 4]
mov dword [esp + 0x10], 0
movsx eax, word [eax + 0x2a]
mov dword [esp], eax
test ax, ax
jle 0x4bd110
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov esi, dword [edi + ecx*8 + 0x28]
jmp 0x4bd0a3
test byte [eax + ecx*4 + 0x10], 1
jne 0x4bd130
mov eax, dword [esp]
inc ebx
cmp ebx, eax
je 0x4bd110
mov eax, dword [esp + 0x50]
cmp dword [eax + ebx*4], 0
jns 0x4bd0c0
cmp dword [esp + 0x54], 0
je 0x4bd09b
mov eax, dword [esp + 4]
movsx eax, word [eax + 0x28]
cmp ebx, eax
jne 0x4bd09b
mov eax, dword [esp + 4]
test esi, esi
lea ecx, [ebx + ebx*4]
mov eax, dword [eax + 4]
je 0x4bd090
mov ebp, dword [eax + ecx*4]
xor eax, eax
jmp 0x4bd0f0
movzx ecx, byte [ecx + 0x50ce7b]
cmp cl, byte [edx + 0x50ce7b]
jne 0x4bd09b
inc eax
movzx ecx, byte [ebp + eax]
movzx edx, byte [esi + eax]
cmp cl, dl
jne 0x4bd0e0
test cl, cl
jne 0x4bd0ef
jmp 0x4bd130
mov edx, dword [esp + 0x10]
inc edx
cmp edx, dword [esp + 0x24]
mov ecx, edx
mov dword [esp + 0x10], edx
jne 0x4bd074
jmp 0x4bd030
cmp byte [edi + 0x18], 0
mov esi, dword [esp + 0x18]
jne 0x4bd160
mov eax, dword [esp + 0x14]
test byte [eax + 0x22], 8
jne 0x4bd160
cmp dword [esi + 0x74], 0
jne 0x4bd160
cmp byte [esi + 0x14], 0
je 0x4bd030
nop word cs:[eax + eax]
nop
mov edx, dword [esp + 4]
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.004be3d0
add esp, 0xc
test eax, eax
je 0x4bd1a0
cmp byte [esp + 0xb], 0
je 0x4bca97
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x51], 0
je 0x4bd030
jmp 0x4bca97
mov ecx, dword [esi]
mov edx, 0x50
push 0
call fcn.00435490
add esp, 4
test eax, eax
je 0x4bd2e3
mov dword [eax + 4], 1
mov dword [eax], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x30], 0xffffffff
mov dword [eax + 0x10], 0
mov ebx, eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [ebx + 0x18], eax
mov ecx, dword [edi]
mov ecx, dword [ecx]
mov dword [ebx + 0x10], ecx
inc dword [eax + 0x20]
test ebp, ebp
mov eax, dword [esi + 0x28]
lea ecx, [eax + 1]
mov dword [esi + 0x28], ecx
mov dword [ebx + 0x30], eax
je 0x4bd285
mov ecx, esi
mov edx, ebx
push 0xffffffffffffffff
push ebp
push dword [esp + 0x24]
push edi
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004bf2b0
add esp, 0x18
cmp dword [esp + 0x48], 0
je 0x4bd2d1
mov eax, dword [esp + 0xc]
mov ecx, esi
mov edx, ebx
mov al, byte [edi + eax + 0x19]
mov byte [esp], al
push 1
push dword [esp + 0x4c]
push dword [esp + 0x24]
push edi
push dword [esp + 0x30]
push dword [esp + 0x18]
call fcn.004bf2b0
add esp, 0x18
mov al, byte [esp]
and al, 0xfd
cmp al, 8
je 0x4bd2d1
cmp byte [edi + 0x18], 0
jne 0x4bd2d1
mov eax, dword [esi + 0x74]
test eax, eax
cmove eax, esi
mov byte [eax + 0x15], 1
mov ecx, dword [esp + 0x14]
mov edx, ebx
mov dword [ebx + 0x10], 0
call fcn.00469df0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4bd030
mov ecx, dword [esp + 0x14]
call fcn.004352c0
jmp 0x4bd030