Function at 0x439950
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, ecx
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x20272625
mov byte [esp + 8], 0
mov eax, 0x13489
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x13485]
xor edx, eax
mov ebx, edx
and ebx, 0x52
xor edx, 0x52
lea edx, [edx + ebx*2]
inc dl
mov byte [esp + eax - 0x13485], dl
inc eax
cmp eax, 0x1348e
jne 0x439990
mov eax, dword [esp + 4]
mov edx, dword [0x449ea0]
test edx, edx
je 0x439a11
xor ebx, ebx
mov ebp, dword [0x449ea4]
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x3e416e49
je 0x4399e1
inc ebx
cmp edx, ebx
jne 0x4399d0
jmp 0x439a11
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x439a11
lea eax, [esp + 0x18]
mov ebx, esp
push 4
push 0x3000
push eax
push 0
push ebx
push 0xffffffffffffffff
push 6
push edx
push dword [0x449ea8]
mov ebx, ecx
call fcn.0043b0a0
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x439a77
push 0
push 0
mov eax, dword [esp + 0x14]
push dword [eax + 8]
push dword [esp + 0xc]
push dword [eax + 4]
push dword [eax]
call fcn.00438d30
test eax, eax
jns 0x439a47
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x439aef
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 8]
add ebx, ecx
sub ebx, dword [esp + 0x38]
xor eax, eax
mov edx, 0
mov dword [esp + 0x10], ecx
cmp ebx, ecx
jbe 0x439aef
mov eax, dword [esp + 0x38]
lea ebp, [eax - 1]
mov ecx, dword [esp + 0x10]
jmp 0x439a8e
xor eax, eax
xor edx, edx
jmp 0x439b90
add ecx, eax
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, ebx
jae 0x439aef
test edi, edi
je 0x439a97
cmp byte [edi], 0x3f
je 0x439aa2
movzx eax, byte [ecx]
mov edx, dword [esp + 0x34]
cmp al, byte [edx]
jne 0x439a82
cmp dword [esp + 0x38], 2
jb 0x439ad1
xor eax, eax
jmp 0x439ac4
movzx edx, byte [ecx + eax + 1]
mov esi, dword [esp + 0x34]
cmp dl, byte [esi + eax + 1]
jne 0x439a80
inc eax
cmp ebp, eax
je 0x439ad1
test edi, edi
je 0x439ab0
cmp byte [edi + eax + 1], 0x3f
jne 0x439ab0
jmp 0x439abf
test ecx, ecx
je 0x439aeb
sub ecx, dword [esp + 0x10]
mov edx, ecx
sar edx, 0x1f
mov eax, dword [esp + 0xc]
add ecx, dword [eax]
adc edx, dword [eax + 4]
mov eax, ecx
jmp 0x439aef
xor eax, eax
xor edx, edx
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x20272625
mov byte [esp + 8], 0
mov ecx, 0x13489
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x13485]
xor esi, ecx
mov edi, esi
and edi, 0x52
xor esi, 0x52
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + ecx - 0x13485], bl
inc ecx
cmp ecx, 0x1348e
jne 0x439b10
mov ecx, dword [0x449ea0]
test ecx, ecx
je 0x439b90
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x449ea4]
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x439b60
inc edi
cmp ecx, edi
jne 0x439b50
jmp 0x439b90
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x439b90
lea esi, [esp + 0x14]
mov edi, esp
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push ecx
push dword [0x449ea8]
mov esi, eax
mov edi, edx
call fcn.0043b0a0
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10