Function at 0x439730
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 + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x4397d0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
test edx, edx
je 0x4397d0
mov esi, dword [ebp + 8]
mov dword [esp], 0x24252627
mov byte [esp + 4], 0
xor eax, eax
mov edi, 0x67
nop
nop
movzx ebx, byte [esp + eax]
mov ecx, eax
or ecx, ebx
or ecx, 0x26ab1298
not ebx
or ebx, edi
and ebx, ecx
mov ecx, ebx
not ecx
and ecx, 0xf3
and ebx, 0xc
sub ebx, ecx
add bl, 0x33
mov byte [esp + eax], bl
inc eax
dec edi
cmp eax, 5
jne 0x439770
mov eax, dword [esp]
mov ecx, dword [0x449dc8]
test ecx, ecx
je 0x439821
xor edi, edi
mov ebx, dword [0x449dcc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xddb7c3f3
je 0x439806
inc edi
cmp ecx, edi
jne 0x4397c0
jmp 0x439821
mov dword [esp], 0x7c6c5cc
mov word [esp + 4], 0
xor eax, eax
mov ecx, eax
add cl, 0xe4
xor cl, byte [esp + eax]
add cl, 0xe0
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 6
jb 0x4397e0
mov eax, dword [esp]
jmp 0x4399e8
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, eax
je 0x439821
push esi
push edx
push 8
push ecx
push dword [0x449dd0]
call fcn.0043ad80
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x43992a
cmp eax, 0xc000010a
jne 0x43992a
mov edi, dword [ebp + 0xc]
mov ecx, edi
and ecx, 0x270f
mov ebx, edi
and ebx, 0xffffd8f0
mov eax, ebx
xor eax, 0xffffd8f0
mul ecx
mov dword [esp + 0x10], eax
mov esi, edx
or edi, 0xffffd8f0
mov eax, edi
mul ebx
sub esi, ecx
sub edx, ebx
add eax, dword [esp + 0x10]
adc edx, esi
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x16], 0x24252627
mov byte [esp + 0x1a], 0
xor eax, eax
mov esi, 0x67
nop
nop
nop
movzx ebx, byte [esp + eax + 0x16]
mov ecx, eax
or ecx, ebx
or ecx, 0x26ab1298
not ebx
or ebx, esi
and ebx, ecx
mov ecx, ebx
not ecx
and ecx, 0xf3
and ebx, 0xc
sub ebx, ecx
add bl, 0x33
mov byte [esp + eax + 0x16], bl
inc eax
dec esi
cmp eax, 5
jne 0x439890
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4398cc
mov esi, esp
mov eax, dword [esp + 0x16]
mov ecx, dword [0x449dc8]
test ecx, ecx
je 0x43992a
mov dword [esp + 0x10], edx
xor edi, edi
mov ebx, dword [0x449dcc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xa67d73aa
je 0x43990a
mov edx, edi
and edx, 1
xor edi, 1
lea edi, [edi + edx*2]
cmp edi, ecx
jb 0x4398f0
jmp 0x43992a
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, eax
je 0x43992a
push esi
push 0
push dword [esp + 0x18]
push 0xc
push ecx
push dword [0x449dd0]
call fcn.0043ad80
add esp, 0x18
test eax, eax
js 0x4399e8
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test edx, edx
je 0x4399e8
mov dword [esp], 0x24252627
mov byte [esp + 4], 0
xor esi, esi
mov edi, 0x67
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + esi]
mov ecx, esi
or ecx, ebx
or ecx, 0x26ab1298
not ebx
or ebx, edi
and ebx, ecx
mov ecx, ebx
not ecx
and ecx, 0xf3
and ebx, 0xc
sub ebx, ecx
add bl, 0x33
mov byte [esp + esi], bl
inc esi
dec edi
cmp esi, 5
jne 0x439960
mov ecx, dword [0x449dc8]
test ecx, ecx
je 0x4399de
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x449dcc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb430e561
je 0x4399c0
inc edi
cmp ecx, edi
jne 0x4399b0
jmp 0x4399de
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x4399de
push edx
push 4
push ecx
push dword [0x449dd0]
mov esi, eax
call fcn.0043ad80
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8