Function at 0x4195f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax + 4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax], 0
lea eax, [eax + 2]
jne 0x419610
lea ecx, [ebx + eax]
add ecx, 0xfffffffe
add eax, ebx
mov edx, 1
sub edx, eax
and edx, ebx
mov edi, ebx
not edi
and edi, ecx
sub edi, edx
mov esi, dword [esi + 4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax], 0
lea eax, [eax + 2]
jne 0x419640
sar edi, 1
lea ecx, [esi + eax]
add ecx, 0xfffffffe
add eax, esi
mov edx, 1
sub edx, eax
and edx, esi
mov ebp, esi
not ebp
and ebp, ecx
sub ebp, edx
sar ebp, 1
lea eax, [edi + ebp]
add eax, 0x1b
test eax, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
jns 0x419680
mov eax, 0xffffffff
jmp 0x41968a
lea eax, [edi + ebp]
lea eax, [eax*2 + 0x36]
push eax
call fcn.004086b0
add esp, 4
mov dword [esp], eax
mov dword [esp + 8], 0x33863194
mov dword [esp + 0xc], 0x2f8d2dbb
mov dword [esp + 0x10], 0x2bbe2989
mov dword [esp + 0x14], 0x279b25c4
mov dword [esp + 0x18], 0x23ae21a8
mov dword [esp + 0x1c], 0x1f881d81
mov dword [esp + 0x20], 0x1b83198b
mov dword [esp + 0x24], 0x17801583
mov dword [esp + 0x28], 0x13a111f0
mov dword [esp + 0x2c], 0xf820d91
mov dword [esp + 0x30], 0xb930984
mov dword [esp + 0x34], 0x7990592
mov dword [esp + 0x38], 0x3a60193
mov word [esp + 0x3c], 0xfdfc
mov dword [esp + 0x3e], 0
mov word [esp + 0x42], 0
lea eax, [esp + 8]
mov ecx, 0x2b9d55b3
nop
nop
nop
movzx edx, byte [eax]
mov edi, ecx
or edi, edx
lea ebp, [ecx - 0x2b9d5500]
and ebp, edx
not edi
or edi, ebp
lea edx, [edi - 0x25ed537d]
mov ebp, 0x25ed537c
sub ebp, edi
or ebp, 1
add edi, ebp
add edi, 0xda12ac84
or edx, 1
mov ebp, edi
and ebp, edx
xor edx, edi
lea edx, [edx + ebp*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x2b9d5577
jne 0x419720
movzx ecx, word [ebx]
mov edx, dword [esp]
mov eax, edx
test cx, cx
je 0x419791
add ebx, 2
mov eax, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x419780
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x4197c1
lea edx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4197b0
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x4197f1
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4197e0
mov word [eax], 0
mov eax, dword [esp + 0x6c]
mov edi, dword [eax]
xor eax, eax
nop
nop
cmp word [edi + eax], 0
lea eax, [eax + 2]
jne 0x419800
lea ecx, [edi + eax]
add ecx, 0xfffffffe
add eax, edi
mov edx, 1
sub edx, eax
and edx, edi
mov eax, edi
not eax
and eax, ecx
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 8]
xor ecx, ecx
nop
nop
cmp word [ebx + ecx], 0
lea ecx, [ecx + 2]
jne 0x419830
inc eax
lea edx, [ebx + ecx]
add edx, 0xfffffffe
add ecx, ebx
mov esi, 1
sub esi, ecx
and esi, ebx
mov dword [esp + 0x4c], ebx
mov ecx, ebx
not ecx
and ecx, edx
sub ecx, esi
sar ecx, 1
mov edx, ecx
and edx, eax
xor ecx, eax
lea eax, [ecx + edx*2]
lea ebx, [eax + eax]
and ebx, 0x18
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx]
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + edx], 0
lea edx, [edx + 2]
jne 0x419880
xor eax, 0xc
lea ebp, [esi + edx]
add ebp, 0xfffffffe
add edx, esi
mov ecx, 1
sub ecx, edx
and ecx, esi
mov dword [esp + 0x50], esi
mov edx, esi
not edx
and edx, ebp
sub edx, ecx
sar edx, 1
add eax, ebx
lea ecx, [edx + eax]
add ecx, 6
test ecx, ecx
jns 0x4198bf
mov eax, 0xffffffff
jmp 0x4198c8
add eax, edx
lea eax, [eax*2 + 0xc]
push eax
call fcn.004086b0
add esp, 4
mov ebx, eax
movzx eax, word [edi]
mov dword [esp + 4], ebx
test ax, ax
je 0x419901
add edi, 2
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x4198f0
mov word [ebx], 0x2f
mov dword [esp + 8], 0xf1c90fdd
mov dword [esp + 0xc], 0xf566f368
mov dword [esp + 0x10], 0xf958f753
mov dword [esp + 0x14], 0xfd51fb6d
mov dword [esp + 0x18], 0xe150ff6d
mov dword [esp + 0x1c], 0xe533e375
mov dword [esp + 0x20], 0xe7e4
xor esi, esi
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ecx + 8]
mov eax, esi
and eax, 0x3a
mov edx, ecx
xor edx, 0x19c954fd
add edx, eax
xor edx, edi
mov edi, edx
and edi, 0xc
mov ebp, edx
and ebp, 2
mov eax, ebp
xor eax, 2
imul eax, edi
or edi, 2
imul edi, ebp
xor edx, 0xe
add edx, eax
add edx, edi
inc dl
mov byte [esp + ecx + 8], dl
inc ecx
add esi, 2
cmp ecx, 0x1c
jne 0x419950
add ebx, 2
mov ecx, dword [esp + 0x4c]
movzx eax, word [ecx]
test ax, ax
je 0x4199d3
add ecx, 2
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edi, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4199c0
jmp 0x4199de
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x70]
mov edi, dword [esp]
mov word [ebx], 0
movzx eax, word [esp + 8]
test ax, ax
je 0x419a11
lea ecx, [esp + 0xa]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419a00
mov word [ebx], 0
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx]
test ax, ax
je 0x419a41
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419a30
mov word [ebx], 0
mov dword [esp + 8], 0x9796994e
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
xor eax, eax
nop
nop
nop
nop
mov ecx, eax
add cl, 0x66
xor cl, byte [esp + eax + 8]
add cl, 2
mov byte [esp + eax + 8], cl
inc eax
cmp eax, 7
jne 0x419a60
lea eax, [esp + 8]
push 0
push 0
push 0xc00000
push eax
push edi
push dword [esp + 0x18]
push ebp
call fcn.0041d900
add esp, 0x1c
mov byte [esp], al
jmp dword [0x443f80]