Function at 0x43e420
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, ecx
mov eax, dword [esp + 0x74]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 0xd3d2d5d4
mov word [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x43e4b3
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x34]
add eax, 0xfb70ca8a
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xa1
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x34], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x43e480
mov eax, dword [esp + 0x34]
mov ecx, dword [0x44d0a8]
test ecx, ecx
je 0x43e50e
xor edx, edx
mov esi, dword [0x44d0ac]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43e4e0
inc edx
cmp ecx, edx
jne 0x43e4d0
jmp 0x43e50e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43e50e
lea eax, [esp + 0x24]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44d0b0]
push ecx
call fcn.0043f8b0
add esp, 0x24
test eax, eax
js 0x43eb0a
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0x10000
mov dword [esp + 0x50], edi
jmp 0x43e580
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, ecx
and edx, eax
xor ecx, eax
lea eax, [ecx + edx*2]
mov dword [esp + 0x28], eax
cmp eax, 0x7fffffff
jae 0x43ea5a
mov ecx, dword [edi]
mov dword [esp + 8], 0xd3d2d5d4
lea eax, [esp + 0xc]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43e5de
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
add eax, 0xfb70ca8a
xor eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xa1
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43e5b0
mov eax, dword [esp + 8]
mov edx, dword [0x44d0a8]
test edx, edx
je 0x43e650
mov ebp, edi
xor esi, esi
mov edi, dword [0x44d0ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x43e620
inc esi
cmp edx, esi
jne 0x43e600
mov edi, ebp
jmp 0x43e650
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, ebp
je 0x43e650
push 0
push 0x1c
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x38]
push ecx
push 6
push dword [0x44d0b0]
push edx
call fcn.0043f8b0
add esp, 0x24
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43ea5a
test eax, eax
js 0x43e560
cmp dword [esp + 0x44], 0x1000
jne 0x43e560
cmp dword [esp + 0x48], 1
je 0x43e560
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x40], eax
jbe 0x43e80a
mov dword [esp + 8], 0xd3d2d5d4
lea eax, [esp + 0xc]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43e6de
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xfb70ca8a
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xa1
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43e6b0
mov eax, dword [0x44d0a8]
test eax, eax
je 0x43e73a
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x44d0ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43e710
inc edx
cmp eax, edx
jne 0x43e700
jmp 0x43e73a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43e73a
push 0x8000
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44d0b0]
push eax
call fcn.0043f8b0
add esp, 0x1c
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0xd3d2d5d4
lea eax, [esp + 0xc]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43e79e
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xfb70ca8a
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xa1
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43e770
mov eax, dword [esp + 8]
mov ecx, dword [0x44d0a8]
test ecx, ecx
je 0x43e7fe
xor edx, edx
mov esi, dword [0x44d0ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43e7d0
inc edx
cmp ecx, edx
jne 0x43e7c0
jmp 0x43e7fe
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43e7fe
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 6
push dword [0x44d0b0]
push ecx
call fcn.0043f8b0
add esp, 0x24
test eax, eax
js 0x43ea5a
mov eax, dword [esp + 0x24]
mov ecx, edi
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x1c]
push dword [esp + 0x34]
call fcn.0043e2b0
cmp eax, 0xbfffffff
ja 0x43e560
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x10]
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
call fcn.0043eb20
add esp, 0x18
mov esi, dword [esp + 8]
mov edx, dword [esp + 0xc]
cmp esi, edx
je 0x43e560
mov edi, dword [esp + 0x74]
mov ebx, dword [edi + 8]
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
jmp 0x43e89f
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
add ebp, dword [esp + 0x28]
mov dword [eax + edi], ebp
add ecx, 4
add esi, 4
cmp esi, edx
mov edi, ecx
je 0x43ea1e
mov ebp, dword [esi]
sub ebp, dword [esp + 0x14]
mov dword [esp + 0x5c], ebp
mov ebp, edi
sub edi, eax
mov dword [esp + 0x20], ebp
cmp ebp, ebx
jne 0x43e880
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov ecx, edi
sar ecx, 2
lea eax, [ecx + 1]
mov ebp, ecx
shr ebp, 1
add ebp, ecx
cmp ebp, eax
ja 0x43e8d1
mov ebp, eax
lea eax, [ebp*4]
push eax
call fcn.00409a50
add esp, 4
mov edx, dword [esp + 0x18]
test edx, edx
mov ecx, dword [esp + 0x20]
je 0x43ea0a
cmp eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
jbe 0x43e9af
cmp ecx, eax
jbe 0x43e9af
test edx, edx
je 0x43e9fa
mov edi, ebp
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add eax, edx
dec eax
mov ecx, dword [esp + 0x2c]
add ecx, edx
dec ecx
mov ebp, edx
and ebp, 7
je 0x43e944
neg ebp
xor edx, edx
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp ebp, edx
jne 0x43e930
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
sub ebx, dword [esp + 0x20]
cmp ebx, 0xfffffff8
mov ebp, edi
ja 0x43e9fa
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43e960
jmp 0x43e9fa
mov ebx, eax
mov ecx, edx
shr ecx, 2
mov eax, dword [esp + 0x18]
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and edx, 0xfffffffc
lea edi, [ebx + edx]
add edx, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and ecx, 1
mov ebx, ebp
mov ebp, edx
mov dword [esp + 0x20], edi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, ebx
test al, 1
je 0x43e9fa
mov ecx, dword [esp + 0x1c]
and ecx, 2
movzx edx, byte [edx + ecx]
mov eax, dword [esp + 0x20]
mov byte [eax + ecx], dl
push dword [esp + 0x18]
call fcn.00409a60
add esp, 4
mov eax, dword [esp + 0x2c]
lea ebx, [eax + ebp*4]
mov ecx, eax
mov edi, dword [esp + 0x1c]
add ecx, edi
mov edx, dword [esp + 0x58]
jmp 0x43e884
mov esi, eax
mov ecx, dword [esp + 0x74]
mov dword [ecx + 4], edi
mov dword [ecx], eax
mov dword [ecx + 8], ebx
mov eax, dword [esp + 0x54]
test eax, eax
mov edi, dword [esp + 0x50]
je 0x43e560
cmp eax, edx
je 0x43e560
push eax
call fcn.00409a60
add esp, 4
mov dword [esp + 8], 0
jmp 0x43e560
mov dword [esp + 8], 0xd3d2d5d4
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43eaae
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xfb70ca8a
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 0xa1
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43ea80
mov eax, dword [0x44d0a8]
test eax, eax
je 0x43eb0a
mov ecx, dword [esp + 8]
xor edx, edx
mov esi, dword [0x44d0ac]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43eae0
inc edx
cmp eax, edx
jne 0x43ead0
jmp 0x43eb0a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43eb0a
push 0x8000
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44d0b0]
push eax
call fcn.0043f8b0
add esp, 0x1c
mov eax, dword [esp + 0x74]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10