Function at 0x43ba50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x70]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0x100000
mov dword [esp + 8], 0
mov dword [esp + 0x30], 0x40474645
mov byte [esp + 0x34], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x30]
lea ecx, [eax + eax]
and ecx, 2
mov esi, eax
xor esi, 0xa8086811
add esi, ecx
mov edi, esi
and edi, edx
add esi, edx
add edi, edi
sub esi, edi
lea edx, [esi + 0x5e97c380]
lea edi, [esi + 0x5e97c400]
and edi, 0xaa
mov ebx, 0xa1683cff
sub ebx, esi
not ebx
or ebx, 0xaa
or edx, 0xaa
and edx, ebx
add edx, edi
inc dl
mov byte [esp + eax + 0x30], dl
xor eax, 1
add eax, ecx
cmp eax, 5
jb 0x43baa0
mov eax, dword [esp + 0x30]
mov ecx, dword [0x44cd58]
test ecx, ecx
je 0x43bb4e
xor edx, edx
mov esi, dword [0x44cd5c]
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43bb20
inc edx
cmp ecx, edx
jne 0x43bb10
jmp 0x43bb4e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43bb4e
lea eax, [esp + 0x1c]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x24
test eax, eax
js 0x43c18a
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 + 0xc], 0x19151b1c
mov eax, 0x7b
mov ecx, 0x84
movzx esi, byte [esp + eax - 0x6f]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0x99
mov byte [esp + eax - 0x6f], dl
inc eax
dec ecx
cmp eax, 0x7f
jne 0x43bba0
mov ebx, dword [esp + 0xc]
cmp ebx, 0x7ffffffe
mov esi, dword [esp + 0x20]
ja 0x43c0c2
mov dword [esp + 0x18], 0
xor ebp, ebp
xor edi, edi
jmp 0x43bc04
mov eax, dword [esp + 0x70]
mov dword [eax + 4], edi
mov dword [eax], ebp
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
nop
nop
nop
mov ebx, dword [esp + 0x3c]
add ebx, dword [esp + 0x30]
cmp ebx, 0x7fffffff
jae 0x43c0c2
mov ecx, esi
push 0
push 0x1c
lea eax, [esp + 0x38]
push eax
push 0
push ebx
call fcn.0043b880
cmp eax, 0xbfffffff
ja 0x43c0c2
test eax, eax
js 0x43bbf0
cmp dword [esp + 0x40], 0x1000
jne 0x43bbf0
test byte [esp + 0x44], 0x66
je 0x43bbf0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
cmp eax, edx
mov dword [esp + 0x24], ebx
jbe 0x43be27
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 0xc], 0x40474645
mov byte [esp + 0x10], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx + 0xc]
lea edx, [ecx + ecx]
and edx, 2
mov esi, ecx
xor esi, 0xa8086811
add esi, edx
mov ebp, esi
and ebp, ebx
add esi, ebx
add ebp, ebp
sub esi, ebp
lea ebx, [esi + 0x5e97c380]
lea ebp, [esi + 0x5e97c400]
and ebp, 0xaa
mov eax, 0xa1683cff
sub eax, esi
not eax
or eax, 0xaa
or ebx, 0xaa
and ebx, eax
add ebx, ebp
inc bl
mov byte [esp + ecx + 0xc], bl
xor ecx, 1
add ecx, edx
cmp ecx, 5
jb 0x43bc70
mov ecx, dword [0x44cd58]
test ecx, ecx
je 0x43bd00
mov edx, dword [esp + 0xc]
xor esi, esi
mov ebx, dword [0x44cd5c]
mov eax, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x6dbc3610
je 0x43bd06
inc esi
cmp ecx, esi
jne 0x43bcf0
jmp 0x43bd34
mov eax, dword [esp + 4]
jmp 0x43bd34
mov ecx, dword [ebx + esi*8 + 4]
cmp ecx, edx
je 0x43bd34
push 0x8000
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x1c
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0x40474645
mov byte [esp + 0x10], 0
xor eax, eax
nop
movzx edx, byte [esp + eax + 0xc]
lea ecx, [eax + eax]
and ecx, 2
mov esi, eax
xor esi, 0xa8086811
add esi, ecx
mov ebx, esi
and ebx, edx
add esi, edx
add ebx, ebx
sub esi, ebx
lea edx, [esi + 0x5e97c380]
lea ebx, [esi + 0x5e97c400]
and ebx, 0xaa
mov ebp, 0xa1683cff
sub ebp, esi
not ebp
or ebp, 0xaa
or edx, 0xaa
and edx, ebp
add edx, ebx
inc dl
mov byte [esp + eax + 0xc], dl
xor eax, 1
add eax, ecx
cmp eax, 5
jb 0x43bd50
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44cd58]
test ecx, ecx
je 0x43bde0
xor edx, edx
mov esi, dword [0x44cd5c]
mov ebp, dword [esp]
mov ebx, dword [esp + 0x24]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43bde9
inc edx
cmp ecx, edx
jne 0x43bdd0
jmp 0x43be17
mov ebp, dword [esp]
mov ebx, dword [esp + 0x24]
jmp 0x43be17
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43be17
push 4
push 0x3000
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x20]
js 0x43c0c2
mov edx, dword [esp + 0x1c]
mov ecx, esi
lea eax, [esp + 0x58]
push eax
push edx
push dword [esp + 0x10]
push ebx
call fcn.0043b960
test eax, eax
jns 0x43be48
cmp eax, 0x8000000d
jne 0x43bbf0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x64]
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.0043c1a0
add esp, 0x18
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp eax, edx
je 0x43bbdd
mov dword [esp + 0x4c], eax
mov esi, eax
mov dword [esp + 0x50], edx
jmp 0x43beaa
mov edi, ebp
mov ebp, ebx
mov dword [ebp + ecx], eax
add edi, 4
add esi, 4
cmp esi, edx
mov ebx, dword [esp + 0x24]
je 0x43c07f
mov eax, dword [esi]
add eax, ebx
sub eax, dword [esp + 8]
mov ecx, edi
mov ebx, ebp
sub ecx, ebp
mov ebp, edi
cmp edi, dword [esp + 0x18]
jne 0x43be90
mov dword [esp + 0x54], eax
mov dword [esp + 4], ecx
sar ecx, 2
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
add edx, ecx
cmp edx, eax
ja 0x43beda
mov edx, eax
mov dword [esp + 0x18], edx
lea eax, [edx*4]
push eax
call fcn.004083b0
add esp, 4
mov edx, eax
test ebx, ebx
je 0x43c05d
mov edi, ebp
cmp edx, ebx
mov ebp, edx
mov edx, dword [esp + 4]
mov dword [esp + 0x28], ebp
jbe 0x43bfd2
cmp edi, ebp
jbe 0x43bfd2
test edx, edx
mov ebp, ebx
je 0x43c050
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0xfffffffe
mov ecx, edx
not ecx
and ecx, 1
sub eax, ecx
mov dword [esp], ebp
lea ecx, [eax + ebp]
add eax, dword [esp + 0x28]
mov ebp, edx
and ebp, 7
je 0x43bf64
neg ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edx]
mov byte [eax + edx], bl
dec edx
cmp ebp, edx
jne 0x43bf50
add ecx, edx
add eax, edx
add edx, dword [esp + 4]
mov ebp, dword [esp]
mov ebx, ebp
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x43c050
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [eax + edi], bl
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
add edi, 0xfffffff8
cmp edx, edi
jne 0x43bf80
jmp 0x43c050
mov ecx, edx
shr ecx, 2
mov eax, ebx
mov edi, ebp
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
not eax
or eax, 0xfffffffc
add eax, edx
lea edi, [eax + ebp]
inc edi
lea ebp, [ebx + eax]
inc ebp
mov eax, edx
and eax, 3
mov ecx, eax
shr ecx, 1
mov edx, ebx
mov ebx, edi
mov dword [esp], ebp
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, edx
mov ecx, eax
xor ecx, 0xfffffffe
or eax, 1
and eax, ecx
je 0x43c050
mov ecx, dword [esp + 4]
and ecx, 2
mov edi, eax
not edi
mov edx, dword [esp]
movzx edx, byte [edx + ecx]
mov byte [ebx + ecx], dl
lea edx, [eax + eax]
add edi, edx
je 0x43c050
add edi, edi
mov edx, dword [esp]
movzx edx, byte [edx + ecx + 1]
mov byte [ebx + ecx + 1], dl
cmp edi, eax
je 0x43c050
mov eax, dword [esp]
movzx eax, byte [eax + ecx + 2]
mov byte [ebx + ecx + 2], al
nop
push ebp
call fcn.004083c0
add esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
lea eax, [edx + eax*4]
mov dword [esp + 0x18], eax
mov edi, edx
mov ecx, dword [esp + 4]
add edi, ecx
mov ebp, edx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
jmp 0x43be94
mov eax, dword [esp + 0x70]
mov dword [eax + 4], edi
mov dword [eax], ebp
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x43c0b9
cmp eax, edx
mov esi, dword [esp + 0x20]
je 0x43bbf0
push eax
call fcn.004083c0
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x43bbf0
mov esi, dword [esp + 0x20]
jmp 0x43bbf0
mov dword [esp + 0xc], 0x40474645
mov byte [esp + 0x10], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0xc]
lea ecx, [eax + eax]
and ecx, 2
mov esi, eax
xor esi, 0xa8086811
add esi, ecx
mov edi, esi
and edi, edx
add esi, edx
add edi, edi
sub esi, edi
lea edx, [esi + 0x5e97c380]
lea edi, [esi + 0x5e97c400]
and edi, 0xaa
mov ebx, 0xa1683cff
sub ebx, esi
not ebx
or ebx, 0xaa
or edx, 0xaa
and edx, ebx
add edx, edi
inc dl
mov byte [esp + eax + 0xc], dl
xor eax, 1
add eax, ecx
cmp eax, 5
jb 0x43c0e0
mov eax, dword [0x44cd58]
test eax, eax
je 0x43c18a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x44cd5c]
nop
cmp dword [esi + edx*8], 0x6dbc3610
je 0x43c160
inc edx
cmp eax, edx
jne 0x43c150
jmp 0x43c18a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43c18a
lea ecx, [esp + 0x2c]
lea edx, [esp + 8]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x1c
mov eax, dword [esp + 0x70]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10