Function at 0x43f5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp], 0xc8cbcacd
mov word [esp + 4], 0
xor eax, eax
nop
movzx ecx, byte [esp + eax]
lea edx, [eax - 0x3ef55dcd]
lea esi, [eax + 0x33]
or edx, esi
and edx, ecx
mov esi, edx
and esi, 0x3d
mov edi, edx
and edi, 2
mov ebp, edx
or ebp, 0xfd
inc ebp
imul ebp, esi
or edx, 2
imul edx, edi
sub ebp, edx
add ecx, eax
add ecx, 0xc10aa233
add ecx, ebp
inc cl
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 4
or eax, 0xd1ba3f34
add eax, ecx
inc eax
mov ecx, eax
xor ecx, 0xd1ba3f34
and eax, 0xb
add eax, eax
sub eax, ecx
cmp eax, 6
jb 0x43f5f0
mov esi, dword [esp]
mov eax, dword [0x44ac38]
test eax, eax
je 0x43f6b8
xor ecx, ecx
mov edx, dword [0x44ac3c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x43f68a
mov edi, ecx
and edi, 1
xor ecx, 1
lea ecx, [ecx + edi*2]
cmp ecx, eax
jb 0x43f670
jmp 0x43f6b8
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43f6b8
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push eax
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x24
mov esi, eax
mov dword [esp], 0xb97a7b51
mov word [esp + 4], 0
mov eax, 0xfe28cd25
mov ecx, 0xfc519a4a
mov edi, eax
xor edi, 0xba
mov edx, ecx
and edx, 0xa
sub edx, edi
xor dl, byte [esp + eax + 0x1d732db]
add dl, 0xe9
mov byte [esp + eax + 0x1d732db], dl
inc eax
add ecx, 2
cmp eax, 0xfe28cd2b
jne 0x43f6d0
cmp esi, dword [esp]
jne 0x43f917
push dword [esp + 0x14]
call fcn.004386f0
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp], 0xc8cbcacd
mov word [esp + 4], 0
xor edx, edx
nop
nop
nop
nop
movzx esi, byte [esp + edx]
lea edi, [edx - 0x3ef55dcd]
lea ecx, [edx + 0x33]
or edi, ecx
and edi, esi
mov ecx, edi
and ecx, 0x3d
mov ebp, edi
and ebp, 2
mov ebx, edi
or ebx, 0xfd
inc ebx
imul ebx, ecx
or edi, 2
imul edi, ebp
sub ebx, edi
lea ecx, [edx + esi]
add ecx, 0xc10aa233
add ecx, ebx
inc cl
mov byte [esp + edx], cl
mov ecx, edx
and ecx, 4
or edx, 0xd1ba3f34
add edx, ecx
inc edx
mov ecx, edx
xor ecx, 0xd1ba3f34
and edx, 0xb
add edx, edx
sub edx, ecx
cmp edx, 6
jb 0x43f730
mov esi, dword [esp]
mov edx, dword [0x44ac38]
test edx, edx
je 0x43f7c0
xor edi, edi
mov ecx, dword [0x44ac3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
nop
nop
cmp dword [ecx + edi*8], 0x33079ccd
je 0x43f7ca
inc edi
cmp edx, edi
jne 0x43f7b0
jmp 0x43f800
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
jmp 0x43f800
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
je 0x43f800
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x14]
push dword [esp + 0x10]
push 0
push dword [esp + 0x40]
push dword [esp + 0x40]
push 6
push edx
push dword [0x44ac40]
mov edi, eax
call fcn.0043b650
add esp, 0x24
mov esi, eax
mov eax, edi
test ebx, ebx
mov edx, dword [esp + 8]
je 0x43f90e
test esi, esi
js 0x43f90e
test ebp, ebp
je 0x43f907
mov ecx, dword [edx + 0xc]
shr ecx, 1
mov edi, dword [ebx]
cmp edi, ecx
jb 0x43f829
mov edi, ecx
test edi, edi
je 0x43f8fe
add eax, 0x10
mov ecx, edi
and ecx, 3
je 0x43f887
mov dword [esp + 0x10], edi
xor edi, edi
mov ebp, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [eax]
xor edx, edx
test bx, bx
setne dl
lea eax, [eax + edx*2]
mov word [ebp], bx
add ebp, 2
inc edi
cmp ecx, edi
jne 0x43f850
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x10]
mov ebp, ecx
sub ebp, edi
mov edi, ecx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 8]
cmp edi, 4
jae 0x43f88e
jmp 0x43f8fe
mov ebp, edi
cmp edi, 4
jb 0x43f8fe
mov ebx, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43f8a0
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov word [eax], 0
mov eax, dword [edx + 0xc]
shr eax, 1
mov dword [ebx], eax
push edx
call fcn.00438790
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret