Function at 0x43b8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add ecx, ebp
sub ecx, dword [esp + 0x48]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x1c], ecx
cmp ecx, ebp
jbe 0x43bbca
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov dword [esp + 8], 0
jmp 0x43b908
add ebp, ecx
dec ebp
mov eax, dword [esp + 0x38]
inc ebp
cmp ebp, dword [esp + 0x1c]
jae 0x43bbca
test esi, esi
je 0x43b961
movzx eax, byte [esi]
mov byte [esp + 0x10], 0x3d
lea ecx, [esp + 0x11]
mov byte [ecx + 4], 0
mov dword [ecx], 0
mov ecx, 0x6b
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x5b]
mov edi, ecx
and edi, edx
lea ebx, [ecx - 0x6bb40d00]
or ebx, edx
xor ebx, edi
mov edx, ebx
and edx, 1
xor ebx, 1
lea edx, [ebx + edx*2]
add dl, 0xe8
mov byte [esp + ecx - 0x5b], dl
inc ecx
cmp ecx, 0x71
jne 0x43b930
cmp al, byte [esp + 0x10]
je 0x43b96d
movzx eax, byte [ebp]
mov ecx, dword [esp + 0x44]
cmp al, byte [ecx]
jne 0x43b8f9
cmp dword [esp + 0x48], 2
jb 0x43ba40
mov ecx, 1
mov dword [esp + 0x20], ebp
jmp 0x43b9ad
movzx eax, byte [ebp + ecx]
mov edx, dword [esp + 0x44]
cmp al, byte [edx + ecx]
jne 0x43b8f6
inc ecx
cmp ecx, dword [esp + 0x48]
je 0x43ba40
test esi, esi
je 0x43b990
movzx eax, byte [esi + ecx]
mov byte [esp + 4], al
mov byte [esp + 0x10], 0xe5
lea eax, [esp + 0x11]
mov byte [eax + 4], 0
mov dword [eax], 0
mov ebx, 0x680b6c9
mov eax, 0x36
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ebx - 0x680b6b9]
lea ebp, [edi + edi]
not ebp
add ebp, edi
and ebp, ebx
and edi, eax
or edi, ebp
lea ebp, [edi - 0x208391ee]
mov esi, ebp
xor esi, 0x7e
or ebp, 1
and ebp, esi
lea esi, [edi + edi]
and esi, 2
sub edi, esi
lea edx, [edi + ebp*2]
add dl, 0x13
mov byte [esp + ebx - 0x680b6b9], dl
inc ebx
dec eax
cmp ebx, 0x680b6cf
jne 0x43b9e0
movzx eax, byte [esp + 4]
cmp al, byte [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x4c]
jne 0x43b990
jmp 0x43b9a2
mov ecx, dword [esp + 0xc]
mov ebx, ecx
mov edx, dword [esp]
sub ebx, edx
cmp ecx, dword [esp + 8]
je 0x43ba5a
mov eax, dword [esp + 0x38]
jmp 0x43bbb1
mov ecx, ebx
sar ecx, 2
lea eax, [ecx + 1]
mov edi, ecx
shr edi, 1
add edi, ecx
cmp edi, eax
ja 0x43ba6e
mov edi, eax
lea eax, [edi*4]
push eax
call fcn.004082d0
add esp, 4
mov edx, eax
mov eax, dword [esp]
test eax, eax
je 0x43bb96
mov dword [esp + 8], edi
cmp edx, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ebx
mov dword [esp + 0x18], edx
jbe 0x43bb3b
cmp ecx, edx
jbe 0x43bb3b
test ebx, ebx
je 0x43bb7f
mov edx, dword [esp + 4]
lea ecx, [edx - 0x2c051d8d]
mov eax, dword [esp]
add eax, ecx
add eax, 0x2c051d8c
mov esi, dword [esp + 0x18]
add ecx, esi
add ecx, 0x2c051d8c
mov edi, edx
and edi, 3
je 0x43baf4
neg edi
xor edx, edx
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x43bae0
add eax, edx
add ecx, edx
add edx, dword [esp + 4]
mov esi, dword [esp]
sub esi, dword [esp + 0xc]
cmp esi, 0xfffffffc
mov esi, dword [esp + 0x4c]
ja 0x43bb7f
neg edx
xor edi, edi
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
add edi, 0xfffffffc
cmp edx, edi
jne 0x43bb10
jmp 0x43bb7f
mov ecx, ebx
shr ecx, 2
mov dword [esp], eax
mov esi, edx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
lea eax, [esi + edx]
add edx, dword [esp]
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0x4c]
test bl, 1
je 0x43bb7f
mov ecx, dword [esp + 4]
and ecx, 2
movzx edx, byte [edx + ecx]
mov byte [eax + ecx], dl
push dword [esp]
call fcn.004082e0
add esp, 4
mov ebx, dword [esp + 4]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
lea ecx, [edx + edi*4]
mov edi, edx
add edi, ebx
mov dword [esp + 8], ecx
mov dword [eax + 8], ecx
mov ecx, edx
mov dword [esp], edx
mov ecx, edi
mov dword [edx + ebx], ebp
add ecx, 4
mov dword [esp + 0xc], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
add ebp, ecx
dec ebp
jmp 0x43b8fd
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret