Function at 0x4398d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
mov dword [esp], 0xc0d0a0b
mov eax, esp
xor ecx, ecx
xor edx, edx
mov esi, ecx
and esi, 0xfffffffc
add esi, edx
movzx edi, byte [eax]
xor edi, esi
mov esi, edi
and esi, 0x75
xor edi, 0x7f3f9ff7
lea ebx, [edi + esi*2]
and edi, 1
or ebx, 1
add ebx, edi
mov byte [eax], bl
inc edx
inc eax
add ecx, 2
cmp ecx, 8
jne 0x4398f0
mov eax, dword [esp]
mov esi, dword [0x44c010]
test esi, esi
je 0x439974
xor ecx, ecx
mov edx, dword [0x44c014]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9abdb589
je 0x439950
inc ecx
cmp esi, ecx
jne 0x439940
jmp 0x439974
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x439974
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 5
push 4
push edx
push dword [0x44c018]
call fcn.0043d120
add esp, 0x1c
mov dword [esp + 8], eax
mov dword [esp], 0xe3222124
mov byte [esp + 4], 0
xor esi, esi
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + ecx]
mov edx, ecx
xor edx, 0x339483b
mov eax, esi
and eax, 8
sub eax, edx
lea edx, [eax + 0xc3]
and edx, ebp
mov ebx, edx
and ebx, 2
mov edi, edx
or edx, 2
imul edx, ebx
xor ebx, 2
and edi, 0xffffffbd
imul edi, ebx
add edx, edi
add eax, ebp
add eax, 0x32b471c3
mov edi, edx
xor edi, eax
not edx
and edx, eax
add edx, edx
sub edx, edi
add dl, 0x58
mov byte [esp + ecx], dl
inc ecx
add esi, 2
cmp ecx, 5
jne 0x439990
mov edi, dword [esp + 8]
cmp edi, dword [esp]
jne 0x439b15
push dword [esp + 0xc]
call fcn.004397b0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0xc0d0a0b
mov edx, esp
xor edi, edi
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edi
and esi, 0xfffffffc
add esi, ebp
movzx ecx, byte [edx]
xor ecx, esi
mov esi, ecx
and esi, 0x75
xor ecx, 0x7f3f9ff7
lea ebx, [ecx + esi*2]
and ecx, 1
or ebx, 1
add ebx, ecx
mov byte [edx], bl
inc ebp
inc edx
add edi, 2
cmp edi, 8
jne 0x439a20
mov edi, dword [esp]
mov edx, dword [0x44c010]
test edx, edx
je 0x439a81
xor esi, esi
mov ebp, dword [0x44c014]
mov ebx, dword [esp + 0x28]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0x9abdb589
je 0x439a87
inc esi
cmp edx, esi
jne 0x439a70
jmp 0x439aaf
mov ebx, dword [esp + 0x28]
jmp 0x439aaf
mov edx, dword [ebp + esi*8 + 4]
cmp edx, edi
je 0x439aaf
push 0
push dword [esp + 0xc]
push eax
push 5
push 4
push edx
push dword [0x44c018]
mov esi, eax
call fcn.0043d120
add esp, 0x1c
mov edi, eax
mov eax, esi
test edi, edi
js 0x439b0c
mov esi, dword [eax]
mov ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [edx + esi]
movzx ebp, word [ebx + esi]
test di, di
je 0x439ae5
add esi, 2
cmp di, bp
je 0x439ad0
cmp di, bp
je 0x439af7
mov esi, dword [ecx]
test esi, esi
jne 0x439ac0
mov edi, 0xc0000225
jmp 0x439b0c
mov edx, dword [ecx + 0x44]
mov esi, dword [esp + 0x10]
mov dword [esi + 8], edx
mov ecx, dword [ecx + 0xdc]
mov dword [esi + 0xc], ecx
xor edi, edi
push eax
call fcn.00439840
add esp, 4
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4