Function at 0x43f580
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov dword [esp], 0x76777879
mov eax, 0xf95868d6
mov ecx, 0x29
movzx edx, byte [esp + eax + 0x6a7972a]
mov ebx, edx
xor ebx, eax
or ebx, ecx
add bl, bl
add bl, dl
movzx edx, bl
add edx, eax
add dl, 0x52
mov byte [esp + eax + 0x6a7972a], dl
inc eax
dec ecx
cmp eax, 0xf95868da
jne 0x43f5a0
mov ebx, dword [esp]
mov eax, dword [0x44a4e0]
test eax, eax
je 0x43f61e
xor ecx, ecx
mov edx, dword [0x44a4e4]
nop
nop
cmp dword [edx + ecx*8], 0xcf2d66db
je 0x43f5f0
inc ecx
cmp eax, ecx
jne 0x43f5e0
jmp 0x43f61e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43f61e
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 1
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x18
push eax
push dword [0x44a4e8]
call fcn.0043c7c0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x4a0908f4
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x6f
xor cl, byte [esp + eax]
add cl, 0x88
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x43f630
cmp ebx, dword [esp]
jne 0x43f857
push dword [esp + 8]
call fcn.0043af40
add esp, 4
mov ebp, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp], 0x76777879
mov edx, 0xf95868d6
mov ebx, 0x29
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx + 0x6a7972a]
mov ecx, eax
xor ecx, edx
or ecx, ebx
add cl, cl
add cl, al
movzx eax, cl
add eax, edx
add al, 0x52
mov byte [esp + edx + 0x6a7972a], al
inc edx
dec ebx
cmp edx, 0xf95868da
jne 0x43f680
mov ebx, dword [esp]
mov edx, dword [0x44a4e0]
test edx, edx
je 0x43f716
mov eax, esi
xor esi, esi
mov ecx, dword [0x44a4e4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0xcf2d66db
je 0x43f6e2
inc esi
cmp edx, esi
jne 0x43f6d0
mov esi, eax
jmp 0x43f716
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebx
mov esi, eax
je 0x43f716
lea eax, [esp + 8]
push eax
push dword [esp + 0x10]
push dword [esp + 0xc]
push 1
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x18
push edx
push dword [0x44a4e8]
call fcn.0043c7c0
add esp, 0x24
mov ebx, eax
test ebx, ebx
js 0x43f84b
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x43f7cc
test edi, edi
je 0x43f7c1
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov edx, dword [ecx]
cmp edx, eax
jb 0x43f743
mov edx, eax
test edx, edx
je 0x43f7b8
add ebp, 0x14
test dl, 1
jne 0x43f753
mov ecx, edx
jmp 0x43f774
mov eax, edx
not eax
lea ecx, [eax + edx*2]
movzx esi, word [ebp]
xor eax, eax
test si, si
setne al
lea ebp, [ebp + eax*2]
mov word [edi], si
mov esi, dword [esp + 0x34]
add edi, 2
cmp edx, 1
je 0x43f7b8
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebp]
xor edx, edx
test ax, ax
setne dl
lea esi, [edx*2]
add esi, ebp
mov word [edi], ax
movzx eax, word [ebp + edx*2]
xor edx, edx
test ax, ax
setne dl
lea ebp, [esi + edx*2]
mov word [edi + 2], ax
add edi, 4
add ecx, 0xfffffffe
jne 0x43f780
mov esi, dword [esp + 0x34]
mov word [edi], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [ecx], eax
test esi, esi
je 0x43f7d9
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esi], eax
cmp dword [esp + 0x3c], 0
je 0x43f84b
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x3c]
je 0x43f842
mov eax, dword [esi]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x43f7fa
mov eax, ecx
mov ecx, dword [esp + 4]
mov esi, dword [ecx + 8]
add esi, ecx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebp, dword [esp + 0x38]
mov edi, ebp
add ebp, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test al, 1
mov esi, dword [esp + 0x3c]
je 0x43f842
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebp + eax], cl
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [esi], eax
push dword [esp + 4]
call fcn.0043af70
add esp, 4
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret