Function at 0x43b910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov edx, esi
mov eax, dword [ecx]
add ecx, 4
mov ebx, dword [ebp + eax*4 - 0x80]
lea eax, [ebp + eax*4 - 0x80]
inc ebx
dec edx
mov dword [eax], ebx
jne 0x43b956
cmp dword [ebp - 0x80], esi
jne 0x43b981
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
mov dword [ecx], edi
mov dword [edx], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x20]
mov ecx, 1
lea edx, [ebp - 0x7c]
mov eax, dword [ebx]
mov dword [ebp + 0x20], eax
cmp dword [edx], edi
jne 0x43b99e
inc ecx
add edx, 4
cmp ecx, 0xf
jbe 0x43b991
cmp eax, ecx
mov dword [ebp - 4], ecx
jae 0x43b9aa
mov dword [ebp + 0x20], ecx
mov eax, ecx
mov edx, 0xf
lea esi, [ebp - 0x44]
cmp dword [esi], edi
jne 0x43b9be
dec edx
sub esi, 4
cmp edx, edi
jne 0x43b9b2
cmp eax, edx
mov dword [ebp - 0x14], edx
jbe 0x43b9ca
mov dword [ebp + 0x20], edx
mov eax, edx
mov esi, 1
mov dword [ebx], eax
shl esi, cl
cmp ecx, edx
jae 0x43b9e9
lea ebx, [ebp + ecx*4 - 0x80]
sub esi, dword [ebx]
js 0x43ba02
inc ecx
add ebx, 4
shl esi, 1
cmp ecx, edx
jb 0x43b9db
lea ecx, [edx*4]
mov dword [ebp - 0xc], ecx
mov ebx, dword [ebp + ecx - 0x80]
lea ecx, [ebp + ecx - 0x80]
sub esi, ebx
mov dword [ebp - 0x40], esi
jns 0x43ba0e
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret
add ebx, esi
mov dword [ebp - 0xbc], edi
mov dword [ecx], ebx
xor ecx, ecx
dec edx
je 0x43ba30
xor ebx, ebx
add ecx, dword [ebp + ebx - 0x7c]
add ebx, 4
dec edx
mov dword [ebp + ebx - 0xbc], ecx
jne 0x43ba1f
mov edx, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [edx]
add edx, 4
cmp ecx, edi
mov dword [ebp - 0x10], edx
je 0x43ba5d
mov edx, dword [ebp + ecx*4 - 0xc0]
mov edi, dword [ebp + 0x2c]
lea ecx, [ebp + ecx*4 - 0xc0]
mov dword [edi + edx*4], ebx
inc edx
mov dword [ecx], edx
mov edx, dword [ebp - 0x10]
xor edi, edi
mov ecx, dword [ebp + 0xc]
inc ebx
cmp ebx, ecx
jb 0x43ba35
mov ecx, dword [ebp - 0xc]
mov ebx, eax
neg ebx
mov edx, dword [ebp + ecx - 0xc0]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp + 0xc], edx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
cmp ecx, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp + 8], 0xffffffff
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 8], edi
jg 0x43bcf7
mov esi, dword [ebp - 0x28]
lea edx, [ecx - 1]
lea ecx, [ebp + ecx*4 - 0x80]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
mov edx, ecx
dec ecx
test edx, edx
mov dword [ebp - 0x20], ecx
je 0x43bcd2
mov ecx, dword [ebp - 4]
lea edx, [ebx + eax]
cmp ecx, edx
jle 0x43bbd6
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
inc ecx
mov dword [ebp - 0x34], ecx
jmp 0x43bae6
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
add ebx, eax
sub edx, ebx
inc edi
add ecx, eax
cmp edx, eax
mov dword [ebp + 8], edi
mov dword [ebp - 0x30], ecx
jbe 0x43bb02
mov edx, eax
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x34]
sub ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, edi
jbe 0x43bb43
or edi, 0xffffffff
sub edi, dword [ebp - 0x20]
add eax, edi
mov edi, dword [ebp - 0x18]
cmp ecx, edx
jae 0x43bb43
inc ecx
cmp ecx, edx
jae 0x43bb43
jmp 0x43bb2e
mov edi, dword [ebp - 8]
add edi, 4
mov dword [ebp - 8], edi
mov edi, dword [edi]
shl eax, 1
cmp eax, edi
jbe 0x43bb43
sub eax, edi
inc ecx
cmp ecx, edx
jb 0x43bb2b
mov edx, dword [ebp + 0x28]
mov eax, 1
shl eax, cl
mov edx, dword [edx]
mov dword [ebp - 8], eax
add eax, edx
cmp eax, 0x5a0
mov dword [ebp - 0x38], eax
ja 0x43ba02
mov eax, dword [ebp + 0x24]
lea eax, [eax + edx*8]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea edi, [ebp + edx*4 - 0xfc]
mov dword [ebp - 0x3c], edi
mov dword [edi], eax
mov edi, dword [ebp + 0x28]
mov eax, dword [ebp - 0x38]
test edx, edx
mov dword [edi], eax
je 0x43bbbd
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x2c], cl
mov ecx, ebx
mov byte [ebp - 0x2b], al
sub ecx, eax
mov eax, esi
mov dword [ebp + edx*4 - 0xc0], esi
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
shr eax, cl
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx - 4]
sub esi, ecx
sar esi, 3
sub esi, eax
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
jmp 0x43bbc5
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
cmp eax, edx
jg 0x43bae3
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x2c]
mov al, dl
sub al, bl
mov byte [ebp - 0x2b], al
mov eax, dword [ebp + 0xc]
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
jb 0x43bbf6
mov byte [ebp - 0x2c], 0xc0
jmp 0x43bc2f
mov esi, dword [eax]
mov ecx, dword [ebp + 0x10]
cmp esi, ecx
jae 0x43bc12
cmp esi, 0x100
sbb cl, cl
and cl, 0xa0
add cl, 0x60
mov byte [ebp - 0x2c], cl
jmp 0x43bc29
sub esi, ecx
mov ecx, dword [ebp + 0x18]
shl esi, 2
mov cl, byte [esi + ecx]
add cl, 0x50
mov byte [ebp - 0x2c], cl
mov ecx, dword [ebp + 0x14]
mov esi, dword [esi + ecx]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, edx
mov edx, 1
sub ecx, ebx
mov eax, edi
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, dword [ebp - 8]
jae 0x43bc66
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + eax*8]
mov edi, dword [ebp - 0x2c]
add eax, edx
mov dword [ecx], edi
lea edi, [edx*8]
mov dword [ecx + 4], esi
add ecx, edi
cmp eax, dword [ebp - 8]
jb 0x43bc4b
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov eax, 1
shl eax, cl
test edi, eax
je 0x43bc7c
xor edi, eax
shr eax, 1
test edi, eax
jne 0x43bc74
mov edx, dword [ebp + 8]
xor edi, eax
mov ecx, ebx
mov dword [ebp - 0x1c], edi
lea eax, [ebp + edx*4 - 0xc0]
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
dec edx
and edx, edi
cmp edx, ecx
je 0x43bcbe
mov edx, dword [ebp + 8]
sub eax, 4
dec edx
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x20]
sub ebx, edx
mov edx, 1
mov ecx, ebx
shl edx, cl
mov ecx, dword [eax]
dec edx
and edx, edi
cmp edx, ecx
jne 0x43bc9d
mov eax, dword [ebp - 0x20]
mov ecx, eax
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
test ecx, ecx
jne 0x43bac9
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add edx, 4
inc ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jle 0x43bab6
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x43b978
cmp dword [ebp - 0x14], 1
je 0x43b978
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
mov esp, ebp
pop ebp
ret