Function at 0x43c970
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [esp + 0x28], 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 + 0x18], 0
mov dword [esp + 0x34], 0x5d5e5f50
mov word [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x43ca03
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x34]
add eax, 0xc242a6a7
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x34], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x43c9d0
mov eax, dword [esp + 0x34]
mov ecx, dword [0x44ba98]
test ecx, ecx
je 0x43ca5e
xor edx, edx
mov esi, dword [0x44ba9c]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43ca30
inc edx
cmp ecx, edx
jne 0x43ca20
jmp 0x43ca5e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43ca5e
lea eax, [esp + 0x24]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44baa0]
push ecx
call fcn.0043dc50
add esp, 0x24
test eax, eax
js 0x43d06a
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 + 0x20], 0x10000
jmp 0x43caca
mov ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x34]
mov eax, ecx
mov dword [esp + 0x20], ecx
cmp ecx, 0x7fffffff
jae 0x43cfbc
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0xc], 0x5d5e5f50
lea eax, [esp + 0x10]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43cb2e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add eax, 0xc242a6a7
xor eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 8
mov edx, dword [esp]
mov byte [esp + edx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43cb00
mov eax, dword [esp + 0xc]
mov edx, dword [0x44ba98]
test edx, edx
je 0x43cb90
xor esi, esi
mov edi, dword [0x44ba9c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x43cb60
inc esi
cmp edx, esi
jne 0x43cb50
jmp 0x43cb90
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43cb90
push 0
push 0x1c
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x30]
push ecx
push 6
push dword [0x44baa0]
push edx
call fcn.0043dc50
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43cfbc
test eax, eax
js 0x43cab0
cmp dword [esp + 0x44], 0x1000
jne 0x43cab0
cmp dword [esp + 0x48], 1
je 0x43cab0
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x40], eax
jbe 0x43cd4a
mov dword [esp + 0xc], 0x5d5e5f50
lea eax, [esp + 0x10]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43cc1e
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xc242a6a7
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43cbf0
mov eax, dword [0x44ba98]
test eax, eax
je 0x43cc7a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x44ba9c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43cc50
inc edx
cmp eax, edx
jne 0x43cc40
jmp 0x43cc7a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43cc7a
push 0x8000
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44baa0]
push eax
call fcn.0043dc50
add esp, 0x1c
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], 0x5d5e5f50
lea eax, [esp + 0x10]
mov byte [eax + 2], 0
mov word [eax], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43ccde
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xc242a6a7
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43ccb0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x44ba98]
test ecx, ecx
je 0x43cd3e
xor edx, edx
mov esi, dword [0x44ba9c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43cd10
inc edx
cmp ecx, edx
jne 0x43cd00
jmp 0x43cd3e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43cd3e
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 6
push dword [0x44baa0]
push ecx
call fcn.0043dc50
add esp, 0x24
test eax, eax
js 0x43cfbc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 4]
push edx
push eax
push dword [esp + 0x20]
push dword [esp + 0x2c]
call fcn.0043c800
cmp eax, 0xbfffffff
ja 0x43cab0
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x10]
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.0043d080
add esp, 0x18
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp esi, edx
je 0x43cab0
add dword [esp + 0x20], 0xb27ade58
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 8]
mov dword [esp + 8], eax
mov ebp, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edx
jmp 0x43cdf6
mov ebp, ecx
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x20]
add ecx, eax
add ecx, 0x4d8521a8
mov dword [ebp + edi], ecx
add ebx, 4
add esi, 4
cmp esi, edx
mov ecx, ebp
je 0x43cf80
mov ebp, dword [esi]
sub ebp, dword [esp + 0x18]
mov dword [esp + 0x5c], ebp
mov ebp, ebx
mov edi, ebx
sub edi, ecx
cmp ebx, dword [esp + 8]
jne 0x43cdd0
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], edi
mov ecx, edi
sar ecx, 2
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0x43ce28
mov edi, eax
lea eax, [edi*4]
push eax
call fcn.00409cc0
add esp, 4
mov ebp, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x43cf62
mov dword [esp + 0x58], edi
cmp ebp, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebp
jbe 0x43cf0f
mov edi, ebx
cmp ebx, ebp
jbe 0x43cf0f
test edx, edx
je 0x43cf4e
mov eax, dword [esp + 8]
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 0x43cea4
neg ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp ebp, edx
jne 0x43ce90
add eax, edx
add ecx, edx
add edx, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
sub ebx, edi
cmp ebx, 0xfffffff8
ja 0x43cf4e
neg edx
xor edi, edi
nop
nop
nop
nop
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 0x43cec0
jmp 0x43cf4e
mov ecx, edx
shr ecx, 2
mov ebx, dword [esp + 8]
mov eax, ebx
mov edi, ebp
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and edx, 0xfffffffc
add ebp, edx
add edx, ebx
mov ecx, eax
shr ecx, 1
and ecx, 1
mov ebx, edx
mov edi, ebp
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test al, 1
je 0x43cf4e
mov ecx, dword [esp + 0x1c]
and ecx, 2
movzx edx, byte [edx + ecx]
mov byte [ebp + ecx], dl
push dword [esp + 8]
call fcn.00409cd0
add esp, 4
mov edi, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
lea eax, [edi*4]
add eax, ebp
mov dword [esp + 8], eax
mov ebx, ebp
mov edi, dword [esp + 0x1c]
add ebx, edi
mov edx, dword [esp + 0x54]
jmp 0x43cdd2
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 4], ebx
mov dword [ecx], esi
mov eax, dword [esp + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x43cab0
cmp eax, edx
je 0x43cab0
push eax
call fcn.00409cd0
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x43cab0
mov dword [esp + 0xc], 0x5d5e5f50
mov word [esp + 0x10], 0
mov byte [esp + 0x12], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x43d00e
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xc242a6a7
xor eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add al, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x43cfe0
mov eax, dword [0x44ba98]
test eax, eax
je 0x43d06a
mov ecx, dword [esp + 0xc]
xor edx, edx
mov esi, dword [0x44ba9c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43d040
inc edx
cmp eax, edx
jne 0x43d030
jmp 0x43d06a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43d06a
push 0x8000
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44baa0]
push eax
call fcn.0043dc50
add esp, 0x1c
mov eax, dword [esp + 0x74]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10