Function at 0x443670
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov dword [esp + 0xc], 0x484b4a4d
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x13
xor cl, byte [esp + eax + 0xc]
add cl, 0xa1
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 4
jne 0x443690
mov eax, dword [esp + 0xc]
mov ebx, dword [0x44f2b4]
test ebx, ebx
je 0x4436fc
xor ecx, ecx
mov edx, dword [0x44f2b8]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x4f699cd4
je 0x4436d0
inc ecx
cmp ebx, ecx
jne 0x4436c0
jmp 0x4436fc
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x4436fc
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44f2bc]
call fcn.00440360
add esp, 0x24
cmp eax, 0xc0000023
jne 0x443943
push dword [esp + 8]
call fcn.0043d520
add esp, 4
mov ecx, eax
mov edx, dword [esp + 8]
mov dword [esp + 4], edx
mov dword [esp + 0x10], 0x484b4a4d
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0x13
xor bl, byte [esp + edx + 0x10]
add bl, 0xa1
mov byte [esp + edx + 0x10], bl
inc edx
cmp edx, 4
jne 0x443730
mov ebp, dword [esp + 0x10]
mov edx, dword [0x44f2b4]
test edx, edx
mov dword [esp], ecx
je 0x44378a
mov ecx, ebp
xor esi, esi
mov ebp, dword [0x44f2b8]
mov ebx, dword [esp + 0x44]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0x4f699cd4
je 0x443790
inc esi
cmp edx, esi
jne 0x443770
mov esi, dword [esp + 0x3c]
mov ebp, ecx
mov ecx, dword [esp]
jmp 0x4437d4
mov ebx, dword [esp + 0x44]
jmp 0x4437d4
mov edx, dword [ebp + esi*8 + 4]
mov ebp, ecx
cmp edx, ecx
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp]
je 0x4437d4
lea esi, [esp + 8]
push esi
push dword [esp + 8]
push ecx
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44f2bc]
mov esi, eax
call fcn.00440360
mov ecx, dword [esp + 0x24]
add esp, 0x24
mov ebp, eax
mov eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 4], ebp
test ebp, ebp
mov ebp, dword [esp + 0x40]
js 0x443936
cmp dword [esp + 0x38], 0
je 0x4438d0
test edi, edi
je 0x4438c2
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
cmp edx, ecx
jb 0x443808
mov edx, ecx
test edx, edx
je 0x4438ba
add eax, 0x14
mov ecx, edx
and ecx, 3
je 0x443850
mov dword [esp + 0x14], edx
xor esi, esi
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x443820
mov edx, dword [esp + 0x14]
mov ecx, edx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
cmp edx, 4
jae 0x443860
jmp 0x4438ba
mov ecx, edx
cmp edx, 4
jb 0x4438ba
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x443860
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov word [edi], 0
mov ecx, dword [esp]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov ecx, dword [esp]
test esi, esi
je 0x4438d9
mov eax, dword [ecx + 4]
mov dword [esi], eax
test ebx, ebx
je 0x443936
test ebp, ebp
je 0x443931
mov ebx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4438ec
mov ebx, eax
mov eax, dword [ecx + 8]
add eax, ecx
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov edi, ebp
add ebp, edx
add edx, eax
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [esp]
test bl, 1
mov ebx, dword [esp + 0x44]
je 0x443931
movzx ecx, byte [edx + eax - 1]
mov byte [ebp + eax - 1], cl
mov ecx, dword [esp]
mov eax, dword [ecx + 0xc]
mov dword [ebx], eax
push ecx
call fcn.0043d640
add esp, 4
mov eax, dword [esp + 4]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret