Function at 0x439fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 4], ecx
cmp dword [ecx + 8], 0
je 0x43a077
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x43a077
mov dword [esp + 8], 0xcbcccdce
mov esi, 0x2ef40a89
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, esi
not edx
movzx edi, byte [esp + esi - 0x2ef40a81]
mov ebx, esi
xor ebx, 0x84
mov eax, esi
or eax, 0xb
and eax, ebx
mov ebx, edi
and ebx, 0xffffff84
and edx, 4
or eax, edx
mov edx, edi
not edx
or edx, 0xa1358e7b
add edx, edi
inc edx
xor ebx, edx
not edx
or edx, edi
xor ebx, 0x84
not edx
and edx, 0x84
or edx, ebx
xor edx, eax
add dl, 0xb8
mov byte [esp + esi - 0x2ef40a81], dl
inc esi
cmp esi, 0x2ef40a8d
jne 0x439fe0
mov eax, dword [esp + 8]
mov edx, dword [0x4486a8]
test edx, edx
je 0x43a118
xor esi, esi
mov edi, dword [0x4486ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xddb7c3f3
je 0x43a0fb
inc esi
cmp edx, esi
jne 0x43a060
jmp 0x43a118
mov dword [esp + 8], 0xadecebe2
lea eax, [esp + 8]
xor edx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 4], esi
mov ecx, edx
and ecx, 0x7c
mov ebx, edx
and ebx, 0xfffffffc
add ebx, esi
movzx edi, byte [eax]
mov esi, ebx
lea ecx, [edx + ecx*2]
xor ecx, 0x75
xor ebx, 0xc5
add ebx, ecx
mov ecx, edi
not ecx
or ecx, ebx
xor esi, 0xadf90c3a
or esi, edi
add ecx, edi
mov edi, 0xfffffffe
sub edi, ecx
and edi, esi
mov esi, dword [esp + 4]
mov ecx, edi
and ecx, 0x2f
xor edi, 0x90379e2f
lea ebx, [edi + ecx*2]
and edi, 1
or ebx, 1
add ebx, edi
mov byte [eax], bl
inc esi
inc eax
add edx, 2
cmp edx, 8
jne 0x43a090
mov eax, dword [esp + 8]
jmp 0x43a23e
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43a118
push dword [ebp + 8]
push ecx
push 8
push edx
push dword [0x4486b0]
call fcn.0043b5b0
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x43a22d
cmp eax, 0xc000010a
jne 0x43a22d
mov edi, dword [ebp + 0xc]
mov ebx, edi
and ebx, 0xffffd8f0
mov eax, ebx
xor eax, 0xffffd8f0
mov ecx, edi
and ecx, 0x270f
mul ecx
mov dword [esp + 0x18], eax
mov esi, edx
or edi, 0xffffd8f0
mov eax, edi
mul ebx
sub esi, ecx
sub edx, ebx
add eax, dword [esp + 0x18]
adc edx, esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov dword [esp + 0x14], 0xcbcccdce
mov eax, 0x2ef40a89
nop
nop
mov ecx, eax
not ecx
movzx esi, byte [esp + eax - 0x2ef40a75]
mov ebx, eax
xor ebx, 0x84
mov edi, eax
or edi, 0xb
and edi, ebx
mov ebx, esi
and ebx, 0xffffff84
and ecx, 4
or edi, ecx
mov ecx, esi
not ecx
or ecx, 0xa1358e7b
add ecx, esi
inc ecx
xor ebx, ecx
not ecx
or ecx, esi
xor ebx, 0x84
not ecx
and ecx, 0x84
or ecx, ebx
xor ecx, edi
add cl, 0xb8
mov byte [esp + eax - 0x2ef40a75], cl
inc eax
cmp eax, 0x2ef40a8d
jne 0x43a180
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43a1e8
lea esi, [esp + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4486a8]
test ecx, ecx
je 0x43a22d
xor edi, edi
mov ebx, dword [0x4486ac]
nop
nop
cmp dword [ebx + edi*8], 0xa67d73aa
je 0x43a210
inc edi
cmp ecx, edi
jne 0x43a200
jmp 0x43a22d
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, eax
je 0x43a22d
push esi
push 0
push edx
push 0xc
push ecx
push dword [0x4486b0]
call fcn.0043b5b0
add esp, 0x18
test eax, eax
js 0x43a23e
mov ecx, dword [esp + 4]
mov esi, eax
call fcn.00439eb0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8