Function at 0x42b4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2dd0
call fcn.004778a0
mov eax, dword [0x4dd094]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov dword [ebp - 0x2db8], eax
mov ebx, edx
xor eax, eax
movlpd qword [ebp - 0x2dc4], xmm0
push esi
mov dword [ebp - 0x2da4], eax
xor esi, esi
mov dword [ebp - 0x2dac], eax
lea eax, [ebp - 0x27c]
push edi
mov edi, ecx
movlpd qword [ebp - 0x2d84], xmm0
push eax
mov dword [ebp - 0x2da8], edi
call fcn.0042b320
add esp, 4
test eax, eax
je 0x42bc77
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x258]
or eax, ecx
mov dword [ebp - 0x2d78], ecx
je 0x42bc61
test edi, edi
je 0x42b57e
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x42b57e
cmp ebx, dword [edi + 0x10]
jae 0x42b57e
cmp dword [edi + 0x14], 1
jne 0x42b57e
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebx*4]
add eax, dword [ecx]
je 0x42b57e
movzx ecx, word [eax + 0x1c]
test ecx, ecx
je 0x42b574
cmp byte [ecx + eax + 0x2d], 0x2f
je 0x42bc61
test byte [eax + 0x26], 0x10
jne 0x42bc61
test byte [ebp - 0x270], 0x21
jne 0x42bc77
mov ax, word [ebp - 0x26e]
test ax, ax
je 0x42b5a1
cmp ax, 8
jne 0x42bc77
mov ebx, dword [ebp - 0x240]
lea eax, [ebp - 0x28]
push 0x1e
push eax
mov eax, dword [edi + 0x38]
push ebx
push dword [ebp - 0x244]
push dword [edi + 0x44]
call eax
add esp, 0x14
cmp eax, 0x1e
jne 0x42bc77
cmp dword [ebp - 0x28], 0x4034b50
jne 0x42bc77
movzx eax, word [ebp - 0xe]
cdq
mov ecx, eax
mov edi, edx
movzx eax, word [ebp - 0xc]
cdq
add ecx, eax
adc edi, edx
add ecx, dword [ebp - 0x244]
adc edi, ebx
mov ebx, dword [ebp - 0x25c]
add ecx, 0x1e
mov edx, ecx
mov dword [ebp - 0x2d88], ecx
mov ecx, dword [ebp - 0x2da8]
adc edi, esi
add edx, ebx
mov dword [ebp - 0x2d9c], edi
mov eax, edi
mov edi, dword [ebp - 0x258]
adc eax, edi
cmp eax, dword [ecx + 4]
ja 0x42bc77
jb 0x42b62d
cmp edx, dword [ecx]
ja 0x42bc77
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x42b699
add eax, dword [ebp - 0x2d88]
xorps xmm0, xmm0
mov dword [ebp - 0x2d74], eax
mov eax, edi
movlpd qword [ebp - 0x2d94], xmm0
mov edi, ebx
mov edx, dword [ebp - 0x2d90]
mov dword [ebp - 0x2db0], eax
mov dword [ebp - 0x2d70], eax
mov dword [ebp - 0x2da0], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2d7c], eax
mov eax, dword [ebp - 0x2d94]
mov dword [ebp - 0x2d98], ebx
mov dword [ebp - 0x2db0], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2d8c], edx
mov dword [ebp - 0x2d90], eax
jmp 0x42b733
test edi, edi
ja 0x42b6b7
jb 0x42b6a7
cmp ebx, 0x10000
jae 0x42b6b7
mov eax, ebx
mov dword [ebp - 0x2d98], ebx
mov dword [ebp - 0x2da0], edi
jmp 0x42b6c8
mov eax, 0x10000
mov dword [ebp - 0x2da0], esi
mov dword [ebp - 0x2d98], eax
push eax
mov eax, dword [ecx + 0x28]
push 1
push dword [ecx + 0x34]
call eax
add esp, 0xc
mov dword [ebp - 0x2d74], eax
test eax, eax
je 0x42bc77
mov ecx, dword [ebp - 0x2da8]
mov eax, ebx
mov edx, edi
mov dword [ebp - 0x2d90], eax
mov dword [ebp - 0x2d8c], edi
xorps xmm0, xmm0
mov edi, eax
movlpd qword [ebp - 0x2dcc], xmm0
mov ebx, dword [ebp - 0x2dcc]
mov eax, edx
mov dword [ebp - 0x2db0], eax
mov eax, dword [ebp - 0x2dc8]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x2db0], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2d7c], edx
mov dword [ebp - 0x2d70], eax
cmp word [ebp - 0x26e], si
je 0x42ba39
mov eax, dword [ecx + 0x28]
push 0x8000
push 1
push dword [ecx + 0x34]
mov dword [ebp - 0x2d6c], esi
call eax
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x2dac], edi
test edi, edi
jne 0x42b76c
or ebx, 0xffffffff
jmp 0x42b9eb
mov eax, dword [ebp - 0x2dc4]
mov ecx, dword [ebp - 0x2dc0]
mov edx, dword [ebp - 0x2d70]
mov dword [ebp - 0x2d7c], eax
mov eax, dword [ebp - 0x2d80]
mov dword [ebp - 0x2d78], eax
mov eax, dword [ebp - 0x2d84]
mov dword [ebp - 0x2db0], ecx
mov dword [ebp - 0x2d80], eax
jmp 0x42b7b6
mov edi, dword [ebp - 0x2dac]
mov ecx, eax
mov eax, 0x8000
and ecx, 0x7fff
sub eax, ecx
add edi, ecx
mov dword [ebp - 0x30], eax
mov eax, ebx
or eax, edx
jne 0x42b89c
mov ecx, dword [ebp - 0x2da8]
mov eax, dword [ecx + 0x48]
cmp dword [eax + 0x48], 0
jne 0x42b89c
mov eax, dword [ebp - 0x2d8c]
mov edx, dword [ebp - 0x2da0]
cmp edx, eax
ja 0x42b815
jb 0x42b807
mov ebx, dword [ebp - 0x2d90]
cmp dword [ebp - 0x2d98], ebx
jae 0x42b81b
mov ebx, dword [ebp - 0x2d98]
mov dword [ebp - 0x2d70], edx
jmp 0x42b821
mov ebx, dword [ebp - 0x2d90]
mov dword [ebp - 0x2d70], eax
mov eax, dword [ecx + 0x38]
push ebx
push dword [ebp - 0x2d74]
push dword [ebp - 0x2d9c]
push dword [ebp - 0x2d88]
push dword [ecx + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, ebx
jne 0x42b764
mov edx, dword [ebp - 0x2d70]
cmp ecx, edx
jne 0x42b764
add dword [ebp - 0x2d88], ebx
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2d90]
adc dword [ebp - 0x2d9c], edx
sub eax, ebx
movlpd qword [ebp - 0x2dc4], xmm0
mov ecx, dword [ebp - 0x2dc0]
sbb dword [ebp - 0x2d8c], edx
mov dword [ebp - 0x2db0], ecx
mov ecx, dword [ebp - 0x2dc4]
mov dword [ebp - 0x2d90], eax
mov dword [ebp - 0x2d7c], ecx
jmp 0x42b8a8
mov ecx, dword [ebp - 0x2d7c]
mov eax, dword [ebp - 0x2d90]
or eax, dword [ebp - 0x2d8c]
mov dword [ebp - 0x2c], ebx
je 0x42b8ba
mov eax, 2
jmp 0x42b8bc
xor eax, eax
mov edx, dword [ebp - 0x2d74]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2dac]
lea edx, [ecx + edx]
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2d6c]
call fcn.00428db0
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
mov edx, dword [ebp - 0x2d70]
sub ebx, ecx
mov dword [ebp - 0x2da4], eax
mov eax, dword [ebp - 0x30]
sbb edx, 0
add dword [ebp - 0x2d7c], ecx
mov dword [ebp - 0x2d70], edx
adc dword [ebp - 0x2db0], 0
test eax, eax
je 0x42b9b9
push dword [ebp - 0x2db8]
push eax
push 1
push edi
call fcn.00480997
mov ecx, dword [ebp - 0x30]
add esp, 0x10
cmp eax, ecx
jne 0x42b764
mov edx, ecx
test edi, edi
jne 0x42b93d
xor esi, esi
jmp 0x42b97a
not esi
test edx, edx
je 0x42b978
mov al, byte [edi]
lea edi, [edi + 1]
movzx ecx, al
mov eax, ecx
shr ecx, 4
xor eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x4d17f0]
mov eax, esi
shr esi, 4
and eax, 0xf
xor ecx, eax
xor esi, dword [ecx*4 + 0x4d17f0]
sub edx, 1
jne 0x42b943
mov ecx, dword [ebp - 0x30]
not esi
mov eax, dword [ebp - 0x2d80]
add eax, ecx
mov ecx, dword [ebp - 0x2d78]
mov dword [ebp - 0x2d80], eax
adc ecx, 0
mov dword [ebp - 0x2d78], ecx
cmp ecx, dword [ebp - 0x250]
ja 0x42b764
jb 0x42b9b1
cmp eax, dword [ebp - 0x254]
ja 0x42b764
mov edx, dword [ebp - 0x2d70]
jmp 0x42b9bf
mov eax, dword [ebp - 0x2d80]
mov ecx, dword [ebp - 0x2da4]
cmp ecx, 1
je 0x42b7b0
cmp ecx, 2
je 0x42b7b0
mov ebx, dword [ebp - 0x2d80]
test ecx, ecx
je 0x42bc2f
mov ebx, dword [ebp - 0x2da4]
mov edi, dword [ebp - 0x2da8]
mov eax, dword [edi + 0x48]
cmp dword [eax + 0x48], 0
jne 0x42ba0b
push dword [ebp - 0x2d74]
mov eax, dword [edi + 0x2c]
push dword [edi + 0x34]
call eax
add esp, 8
mov eax, dword [ebp - 0x2dac]
test eax, eax
je 0x42ba21
push eax
push dword [edi + 0x34]
mov eax, dword [edi + 0x2c]
call eax
add esp, 8
xor eax, eax
test ebx, ebx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00476d2c
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x48]
cmp dword [eax + 0x48], esi
je 0x42baec
cmp dword [ebp - 0x2c], esi
ja 0x42bc77
jb 0x42ba5d
cmp dword [ebp - 0x2db0], 0xffffffff
ja 0x42bc77
push dword [ebp - 0x2db8]
mov ebx, dword [ebp - 0x25c]
push ebx
push 1
push dword [ebp - 0x2d74]
call fcn.00480997
add esp, 0x10
xor ecx, ecx
cmp eax, dword [ebp - 0x30]
jne 0x42bade
cmp ecx, dword [ebp - 0x2d7c]
jne 0x42bade
mov eax, dword [ebp - 0x2d74]
mov edx, eax
test eax, eax
jne 0x42ba9c
xor esi, esi
jmp 0x42b9dd
or esi, 0xffffffff
test edi, edi
je 0x42bad5
mov al, byte [edx]
lea edx, [edx + 1]
movzx ecx, al
mov eax, ecx
shr ecx, 4
xor eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x4d17f0]
mov eax, esi
shr esi, 4
and eax, 0xf
xor ecx, eax
xor esi, dword [ecx*4 + 0x4d17f0]
sub edi, 1
jne 0x42baa3
not esi
xor ecx, ecx
jmp 0x42b9dd
or ecx, 0xffffffff
mov dword [ebp - 0x2da4], ecx
jmp 0x42b9dd
mov edi, dword [ebp - 0x2d90]
mov eax, edi
mov ebx, dword [ebp - 0x2d84]
or eax, edx
mov eax, dword [ebp - 0x2d80]
je 0x42bc35
mov dword [ebp - 0x2d78], eax
mov dword [ebp - 0x2d80], ebx
cmp dword [ebp - 0x2da0], edx
ja 0x42bb35
mov eax, dword [ebp - 0x2d98]
jb 0x42bb28
cmp eax, edi
jae 0x42bb35
mov edi, dword [ebp - 0x2da0]
mov ebx, eax
mov dword [ebp - 0x2c], edi
jmp 0x42bb3c
mov ebx, edi
mov dword [ebp - 0x2c], edx
mov edi, edx
mov eax, dword [ecx + 0x38]
push ebx
push dword [ebp - 0x2d74]
push dword [ebp - 0x2d9c]
push dword [ebp - 0x2d88]
push dword [ecx + 0x44]
call eax
add esp, 0x14
xor ecx, ecx
cmp eax, ebx
jne 0x42b764
cmp ecx, edi
jne 0x42b764
mov eax, dword [ebp - 0x2d74]
mov edx, ebx
mov edi, eax
test eax, eax
jne 0x42bb7e
xor esi, esi
jmp 0x42bbbe
not esi
test edx, edx
je 0x42bbbc
mov al, byte [edi]
lea edi, [edi + 1]
movzx ecx, al
mov eax, ecx
shr ecx, 4
xor eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x4d17f0]
mov eax, esi
shr esi, 4
and eax, 0xf
xor ecx, eax
xor esi, dword [ecx*4 + 0x4d17f0]
sub edx, 1
jne 0x42bb84
mov eax, dword [ebp - 0x2d74]
not esi
push dword [ebp - 0x2db8]
push ebx
push 1
push eax
call fcn.00480997
add esp, 0x10
xor ecx, ecx
cmp eax, ebx
jne 0x42b764
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
jne 0x42b764
add dword [ebp - 0x2d88], ebx
mov edi, dword [ebp - 0x2d90]
adc dword [ebp - 0x2d9c], eax
add dword [ebp - 0x2d80], ebx
mov edx, dword [ebp - 0x2d8c]
adc dword [ebp - 0x2d78], eax
sub edi, ebx
mov ecx, dword [ebp - 0x2da8]
sbb edx, eax
mov dword [ebp - 0x2d90], edi
mov eax, edi
mov dword [ebp - 0x2d8c], edx
or eax, edx
jne 0x42bb14
mov ebx, dword [ebp - 0x2d80]
mov eax, dword [ebp - 0x2d78]
cmp ebx, dword [ebp - 0x254]
jne 0x42b764
cmp eax, dword [ebp - 0x250]
jne 0x42b764
cmp esi, dword [ebp - 0x264]
je 0x42b9e5
or ebx, 0xffffffff
jmp 0x42b9eb
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00476d2c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00476d2c
mov esp, ebp
pop ebp
ret