Function at 0x43cc8b
Capabilities:
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
lea edi, [ebp + 4]
mov ebx, dword [edi + 4]
sub edi, 4
push ebx
push ebx
mov dword [ebp - 0xc], ebx
mov eax, 0xba82093e
mov eax, dword [ebx]
mov edx, 0xfffffff
mov esi, dword [0x402600]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
pop ecx
pop ecx
mov ecx, dword [ebx + 0xc]
and ecx, edx
and eax, edx
add ecx, 0x400000
mov edx, 0x400000
sub edx, esi
mov dword [ebp - 0x14], edx
jne 0x43cd29
and dword [ebp - 4], 0
test eax, eax
jbe 0x43cf06
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx]
sub edx, 0x405a9d1
add dword [ebp - 0x20], edx
add edx, dword [ebp - 0x1c]
mov esi, edx
imul esi, esi, 0xd9c7
rol esi, 0xf
ror edx, 0xf
xor esi, edx
add dword [ebp - 0x20], esi
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
mov dword [ebp - 0x1c], esi
jb 0x43ccf3
jmp 0x43cf06
mov esi, ecx
sub esi, 0x400000
mov ebx, esi
lea edx, [ecx + eax]
and ebx, 0xfffff000
mov dword [ebp - 4], ebx
mov ebx, esi
add eax, esi
sub ebx, dword [ebp - 4]
mov esi, eax
mov dword [ebp - 0x18], edx
and esi, 0xfffff000
mov edx, dword [0x40003c]
sub eax, esi
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x4000a0]
add eax, 0x400000
mov edx, dword [edx + 0x4000a4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x34], esi
add edx, eax
jmp 0x43cd81
mov esi, dword [eax]
cmp esi, dword [ebp - 4]
jae 0x43cd85
add eax, dword [eax + 4]
cmp eax, edx
jne 0x43cd77
and dword [ebp - 0x24], 0
cmp eax, edx
je 0x43ced0
mov esi, dword [ebp - 4]
cmp dword [eax], esi
jne 0x43cdc7
mov esi, dword [eax + 4]
sub esi, 8
shr esi, 1
mov dword [ebp - 4], esi
je 0x43cdc7
jmp 0x43cdaa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0x24]
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
cmp esi, ebx
jae 0x43cdc7
inc dword [ebp - 0x24]
mov esi, dword [ebp - 0x24]
cmp esi, dword [ebp - 4]
jne 0x43cda7
cmp eax, edx
je 0x43ced0
mov esi, dword [eax]
cmp esi, dword [ebp - 0x34]
ja 0x43ced0
mov esi, dword [eax + 4]
lea ebx, [esi - 8]
shr ebx, 1
mov esi, dword [ebp - 0x24]
cmp esi, ebx
jne 0x43ce05
add eax, dword [eax + 4]
cmp eax, edx
je 0x43ced0
mov esi, dword [ebp - 0x34]
cmp dword [eax], esi
ja 0x43ced0
and dword [ebp - 0x24], 0
jmp 0x43cdda
mov ebx, dword [eax]
cmp ebx, dword [ebp - 0x34]
jne 0x43ce20
movzx esi, word [eax + esi*2 + 8]
and esi, 0xfff
cmp esi, dword [ebp - 0x30]
jae 0x43ced0
mov esi, dword [ebp - 0x24]
inc dword [ebp - 0x24]
test word [eax + esi*2 + 8], 0xf000
je 0x43cdc7
movzx esi, word [eax + esi*2 + 8]
and dword [ebp - 4], 0
and esi, 0xfff
lea ebx, [esi + ebx + 0x400000]
mov dword [ebp - 8], ebx
sub dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
je 0x43ce89
mov esi, dword [ebp - 4]
movzx esi, byte [esi + ecx]
sub esi, 0x405a9d1
add dword [ebp - 0x20], esi
add esi, dword [ebp - 0x1c]
mov ebx, esi
imul ebx, ebx, 0xd9c7
rol ebx, 0xf
ror esi, 0xf
xor ebx, esi
mov esi, ebx
add dword [ebp - 0x20], esi
inc dword [ebp - 4]
mov esi, dword [ebp - 4]
cmp esi, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
jb 0x43ce50
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx]
sub ecx, dword [ebp - 0x14]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ebp + ecx - 0x10]
sub ecx, 0x405a9d1
add dword [ebp - 0x20], ecx
add ecx, dword [ebp - 0x1c]
mov esi, ecx
imul esi, esi, 0xd9c7
rol esi, 0xf
ror ecx, 0xf
xor esi, ecx
add dword [ebp - 0x20], esi
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp - 0x1c], esi
jb 0x43ce95
lea ecx, [ebx + 4]
jmp 0x43cdc7
xor esi, esi
mov ebx, dword [ebp - 0x18]
sub ebx, ecx
je 0x43cf03
movzx eax, byte [esi + ecx]
sub eax, 0x405a9d1
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
mov edx, eax
imul edx, edx, 0xd9c7
rol edx, 0xf
ror eax, 0xf
xor edx, eax
add dword [ebp - 0x20], edx
inc esi
mov dword [ebp - 0x1c], edx
cmp esi, ebx
jb 0x43ced9
mov ebx, dword [ebp - 0xc]
add dword [edi + 8], 0x10
mov ecx, dword [ebx + 4]
and ecx, 0xfffffff
mov eax, dword [ecx + 0x400000]
mov ecx, dword [ecx + 0x400004]
xor eax, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x1c]
or eax, ecx
je 0x43cfdb
call fcn.004a46e1
mov edx, 0xfffff000
and eax, edx
mov dword [ebp - 0x18], eax
lea ecx, [edi + 0xc]
and ecx, 0xfffffffc
lea eax, [ecx + 0xfff]
and eax, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [edi + 8], 0x4b3c5b
mov edx, 0xffff
mov esi, dword [0x51b214]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x51b214], esi
shr esi, 0x10
shl eax, 0x10
or eax, esi
shr edx, 0x10
jne 0x43cf5b
xor edx, edx
mov esi, 0xffff
div esi
mov eax, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x18], 0
jmp 0x43cfa4
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
add ecx, 4
cmp ecx, dword [ebp - 0xc]
jb 0x43cf9c
mov dword [edi + 8], 0x4b3c5b
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x3c], eax
and ebx, 0xfffffff
shl ecx, 0x10
add ebx, 0x400000
xor ecx, dword [ebx]
xor ecx, dword [0x51b2c0]
xor ecx, eax
and dword [ebp - 0x40], 0
mov dword [ebp - 0x38], ecx
mov eax, 0x9175cd4c
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x44]
mov esp, ebp
pop ebp
popfd
ret