Function at 0x43f180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], 0x62656467
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], 0
xor eax, eax
nop
nop
mov edx, eax
and edx, 1
mov ecx, eax
and ecx, 0xfffffffe
sub edx, ecx
movzx esi, byte [esp + eax + 0x30]
mov ecx, eax
xor ecx, 0xe71b0e31
add ecx, eax
add ecx, edx
mov edx, ecx
and edx, esi
or ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
or esi, edx
lea ecx, [esi + esi]
not ecx
add ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov edx, ecx
not edx
and ecx, 0x96
and edx, 0x69
sub ecx, edx
add cl, 0x12
mov byte [esp + eax + 0x30], cl
inc eax
cmp eax, 0xe
jne 0x43f1e0
mov eax, dword [esp + 0x30]
mov ecx, dword [0x44fb4c]
test ecx, ecx
je 0x43f28e
xor edx, edx
mov esi, dword [0x44fb50]
nop
nop
nop
cmp dword [esi + edx*8], 0x72d34d92
je 0x43f260
inc edx
cmp ecx, edx
jne 0x43f250
jmp 0x43f28e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43f28e
lea eax, [esp + 0x2c]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44fb54]
push ecx
call fcn.00440280
add esp, 0x24
test eax, eax
js 0x43f91a
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 + 0x30], 0
mov dword [esp + 0x24], 0x10000
mov dword [esp + 0x58], ebx
jmp 0x43f2f7
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
cmp eax, 0x7fffffff
jae 0x43f845
mov ecx, dword [ebx]
mov dword [esp + 0x10], 0x62656467
lea eax, [esp + 0x14]
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 1
mov edx, eax
and edx, 0xfffffffe
sub esi, edx
movzx edi, byte [esp + eax + 0x10]
mov edx, eax
xor edx, 0xe71b0e31
add edx, eax
add edx, esi
mov esi, edx
and esi, edi
or edx, edi
lea edi, [edx + edx]
not edi
add edi, edx
or edi, esi
lea edx, [edi + edi]
not edx
add edx, edi
mov dword [esp], edx
mov edx, dword [esp]
mov esi, edx
not esi
and edx, 0x96
and esi, 0x69
sub edx, esi
add dl, 0x12
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, 0xe
jne 0x43f320
mov eax, dword [esp + 0x10]
mov edx, dword [0x44fb4c]
test edx, edx
je 0x43f3d0
xor esi, esi
mov edi, dword [0x44fb50]
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x175b5231
je 0x43f3a0
inc esi
cmp edx, esi
jne 0x43f390
jmp 0x43f3d0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43f3d0
push 0
push 0x1c
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x34]
push ecx
push 6
push dword [0x44fb54]
push edx
call fcn.00440280
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43f845
test eax, eax
js 0x43f2e0
cmp dword [esp + 0x40], 0x1000
jne 0x43f2e0
cmp dword [esp + 0x44], 1
je 0x43f2e0
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x3c], eax
jbe 0x43f5ca
mov dword [esp + 0x10], 0x62656467
lea eax, [esp + 0x14]
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
mov edx, eax
and edx, 1
mov ecx, eax
and ecx, 0xfffffffe
sub edx, ecx
movzx esi, byte [esp + eax + 0x10]
mov ecx, eax
xor ecx, 0xe71b0e31
add ecx, eax
add ecx, edx
mov edx, ecx
and edx, esi
or ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
or esi, edx
lea ecx, [esi + esi]
not ecx
add ecx, esi
mov dword [esp], ecx
mov ecx, dword [esp]
mov edx, ecx
not edx
and ecx, 0x96
and edx, 0x69
sub ecx, edx
add cl, 0x12
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0xe
jne 0x43f430
mov eax, dword [0x44fb4c]
test eax, eax
je 0x43f4da
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x44fb50]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xcf9c6479
je 0x43f4b0
inc edx
cmp eax, edx
jne 0x43f4a0
jmp 0x43f4da
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43f4da
push 0x8000
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44fb54]
push eax
call fcn.00440280
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x62656467
lea eax, [esp + 0x14]
mov word [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
xor eax, eax
nop
nop
nop
nop
nop
mov edx, eax
and edx, 1
mov ecx, eax
and ecx, 0xfffffffe
sub edx, ecx
movzx esi, byte [esp + eax + 0x10]
mov ecx, eax
xor ecx, 0xe71b0e31
add ecx, eax
add ecx, edx
mov edx, ecx
and edx, esi
or ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
or esi, edx
lea ecx, [esi + esi]
not ecx
add ecx, esi
mov dword [esp], ecx
mov ecx, dword [esp]
mov edx, ecx
not edx
and ecx, 0x96
and edx, 0x69
sub ecx, edx
add cl, 0x12
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0xe
jne 0x43f510
mov eax, dword [esp + 0x10]
mov ecx, dword [0x44fb4c]
test ecx, ecx
je 0x43f5be
xor edx, edx
mov esi, dword [0x44fb50]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x72d34d92
je 0x43f590
inc edx
cmp ecx, edx
jne 0x43f580
jmp 0x43f5be
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43f5be
push 4
push 0x3000
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x44fb54]
push ecx
call fcn.00440280
add esp, 0x24
test eax, eax
js 0x43f845
mov eax, dword [esp + 0x2c]
mov ecx, ebx
mov edx, esp
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x30]
call fcn.0043eff0
cmp eax, 0xbfffffff
ja 0x43f2e0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.0043f930
add esp, 0x18
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
cmp edx, eax
je 0x43f2e0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [esp + 4], eax
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x5c], edx
mov ecx, edx
mov edx, dword [esp + 0x24]
jmp 0x43f675
mov ebx, dword [esp + 0x28]
mov eax, edx
mov edx, dword [esp + 0x64]
mov ecx, edx
not ecx
and ecx, esi
not esi
and esi, edx
sub esi, ecx
add esi, eax
mov ecx, dword [esp + 8]
mov dword [ebx + ecx], esi
add edi, 4
mov ecx, dword [esp + 0x68]
add ecx, 4
cmp ecx, dword [esp + 0x50]
mov edx, eax
je 0x43f806
mov dword [esp + 0x68], ecx
mov eax, dword [ecx]
mov dword [esp + 0x64], eax
mov esi, dword [esp + 0xc]
mov ecx, edi
mov dword [esp + 0x28], ebx
sub ecx, ebx
cmp edi, dword [esp + 4]
mov dword [esp + 8], ecx
jne 0x43f640
sar ecx, 2
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
add edx, ecx
cmp edx, eax
ja 0x43f6a7
mov edx, eax
mov dword [esp + 0x60], edx
lea eax, [edx*4]
push eax
call fcn.00409230
add esp, 4
mov edx, eax
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x43f7ea
cmp edx, ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], edx
jbe 0x43f791
cmp edi, edx
jbe 0x43f791
test eax, eax
je 0x43f7da
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
add eax, edx
mov ecx, dword [esp + 0x28]
add ecx, edx
mov ebx, edx
and ebx, 7
mov dword [esp + 4], ebx
je 0x43f72a
neg dword [esp + 4]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
movzx edx, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
dec ebx
cmp dword [esp + 4], ebx
jne 0x43f710
mov edx, dword [esp + 8]
add edx, ebx
add eax, ebx
add ecx, ebx
mov ebx, dword [esp + 0x28]
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x43f7da
neg edx
xor edi, edi
nop
nop
nop
movzx ebx, byte [ecx + edi - 1]
mov byte [eax + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [eax + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [eax + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [eax + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [eax + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [eax + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [eax + edi - 7], bl
movzx ebx, byte [ecx + edi - 8]
mov byte [eax + edi - 8], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43f740
jmp 0x43f7da
mov ecx, eax
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov ecx, dword [esp + 8]
mov edx, ecx
and edx, 0xfffffffc
add eax, edx
add edx, ebx
shr ecx, 1
and ecx, 1
mov ebx, edx
mov dword [esp + 4], eax
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test byte [esp + 8], 1
je 0x43f7da
mov ecx, dword [esp + 8]
and ecx, 2
movzx edx, byte [edx + ecx]
mov eax, dword [esp + 4]
mov byte [eax + ecx], dl
push dword [esp + 0x28]
call fcn.00409240
add esp, 4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
lea eax, [edx + eax*4]
mov dword [esp + 4], eax
mov edi, edx
add edi, dword [esp + 8]
mov ebx, edx
mov eax, dword [esp + 0x24]
jmp 0x43f646
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx], ebx
mov eax, dword [esp + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x5c]
test eax, eax
mov ebx, dword [esp + 0x58]
je 0x43f2e0
cmp eax, dword [esp + 0x50]
je 0x43f2e0
push eax
call fcn.00409240
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x43f2e0
mov dword [esp + 0x10], 0x62656467
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 1
mov ecx, eax
and ecx, 0xfffffffe
sub edx, ecx
movzx esi, byte [esp + eax + 0x10]
mov ecx, eax
xor ecx, 0xe71b0e31
add ecx, eax
add ecx, edx
mov edx, ecx
and edx, esi
or ecx, esi
lea esi, [ecx + ecx]
not esi
add esi, ecx
or esi, edx
lea ecx, [esi + esi]
not ecx
add ecx, esi
mov dword [esp], ecx
mov ecx, dword [esp]
mov edx, ecx
not edx
and ecx, 0x96
and edx, 0x69
sub ecx, edx
add cl, 0x12
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0xe
jne 0x43f870
mov eax, dword [0x44fb4c]
test eax, eax
je 0x43f91a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x44fb50]
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xcf9c6479
je 0x43f8f0
inc edx
cmp eax, edx
jne 0x43f8e0
jmp 0x43f91a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43f91a
push 0x8000
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44fb54]
push eax
call fcn.00440280
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10