Function at 0x438a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x40]
mov dword [esp + 8], 0
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp], 0x282b2a25
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax]
mov ecx, eax
xor ecx, 0xe8669847
lea ebp, [ecx + eax*2]
mov edx, ebx
and edx, ebp
mov ecx, edx
and ecx, 2
mov esi, edx
or edx, 2
imul edx, ecx
xor ecx, 2
and esi, 0x4d
imul esi, ecx
add edx, esi
mov ecx, edx
xor ecx, ebp
not ebp
and ebp, edx
add ebp, ebp
sub ecx, ebp
add cl, bl
add cl, 0x79
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
mov edx, eax
and edx, 2
mov esi, eax
xor esi, 1
add esi, eax
mov eax, esi
sub eax, edx
and esi, ecx
or eax, ecx
add eax, esi
cmp eax, 4
jb 0x438a30
mov eax, dword [esp]
mov edx, dword [0x448e64]
test edx, edx
je 0x438af9
xor ebx, ebx
mov ebp, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x3e416e49
je 0x438acb
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ebx, [ebx + ecx*2]
cmp ebx, edx
jb 0x438ab0
jmp 0x438af9
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x438af9
lea eax, [esp + 0x1c]
lea ecx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push ecx
push 0xffffffffffffffff
push 6
push edx
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
js 0x438b6a
mov ecx, dword [esp + 0x34]
push 0
push 0
push dword [esi + 8]
push dword [esp + 0x14]
push dword [esi + 4]
push dword [esi]
call fcn.00437ce0
test eax, eax
jns 0x438b3c
mov ecx, eax
mov dword [esp + 4], 0
mov edx, 0
cmp eax, 0x8000000d
jne 0x438bfe
mov eax, dword [esp + 8]
mov ecx, dword [esi + 8]
add ecx, eax
sub ecx, ebx
mov dword [esp + 4], 0
mov edx, 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ecx, eax
jbe 0x438bfe
mov ecx, dword [esp + 0xc]
jmp 0x438b90
mov dword [esp + 4], 0
xor edx, edx
jmp 0x438cce
add ecx, eax
dec ecx
inc ecx
mov dword [esp + 4], 0
mov edx, 0
cmp ecx, dword [esp + 0x10]
jae 0x438bfe
test edi, edi
je 0x438b99
cmp byte [edi], 0x3f
je 0x438ba4
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
cmp al, byte [edx]
jne 0x438b7c
cmp ebx, 2
jb 0x438bdc
mov eax, 1
jmp 0x438bd0
movzx edx, byte [ecx + eax]
mov ebp, edi
mov edi, dword [esp + 0x38]
cmp dl, byte [edi + eax]
mov edi, ebp
jne 0x438b79
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, ebx
jae 0x438bdc
test edi, edi
je 0x438bb0
cmp byte [edi + eax], 0x3f
jne 0x438bb0
jmp 0x438bc1
test ecx, ecx
je 0x438bf4
sub ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x438bfe
mov dword [esp + 4], 0
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp], 0x282b2a25
xor ecx, ecx
nop
movzx ebx, byte [esp + ecx]
mov eax, ecx
xor eax, 0xe8669847
lea esi, [eax + ecx*2]
mov edi, ebx
and edi, esi
mov eax, edi
and eax, 2
mov ebp, edi
or edi, 2
imul edi, eax
xor eax, 2
and ebp, 0x4d
imul ebp, eax
add edi, ebp
mov eax, edi
xor eax, esi
not esi
and esi, edi
add esi, esi
sub eax, esi
add al, bl
add al, 0x79
mov byte [esp + ecx], al
mov eax, ecx
and eax, 1
mov esi, ecx
and esi, 2
mov edi, ecx
xor edi, 1
add edi, ecx
mov ecx, edi
sub ecx, esi
and edi, eax
or ecx, eax
add ecx, edi
cmp ecx, 4
jb 0x438c10
mov ecx, dword [0x448e64]
test ecx, ecx
je 0x438cce
mov esi, dword [esp]
xor eax, eax
mov edi, dword [0x448e68]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + eax*8], 0x16194952
je 0x438ca0
inc eax
cmp ecx, eax
jne 0x438c90
jmp 0x438cce
mov ecx, dword [edi + eax*8 + 4]
cmp ecx, esi
je 0x438cce
lea eax, [esp + 0x18]
lea esi, [esp + 8]
push 0x8000
push eax
push esi
push 0xffffffffffffffff
push 4
push ecx
push dword [0x448e6c]
mov esi, edx
call fcn.0043a3b0
mov edx, esi
add esp, 0x1c
mov eax, dword [esp + 4]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10