Function at 0x43b720
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp], 0xd8dbdac5
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebp]
mov edx, ebp
and edx, 1
xor edx, 0x7ea16831
mov eax, ebp
and eax, 2
sub eax, edx
mov edx, eax
and edx, ecx
mov esi, edx
and esi, 2
mov edi, edx
or edi, 0xfd
inc edi
mov ebx, edx
and ebx, 0xffffffdd
imul ebx, edi
or edx, 2
imul edx, esi
sub ebx, edx
add eax, ecx
add eax, ebx
add al, 0xf5
mov byte [esp + ebp], al
inc ebp
cmp ebp, 4
jne 0x43b750
mov eax, dword [esp]
mov edx, dword [0x44c3b8]
test edx, edx
je 0x43b7ef
xor ebx, ebx
mov ebp, dword [0x44c3bc]
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x3e416e49
je 0x43b7c1
inc ebx
cmp edx, ebx
jne 0x43b7b0
jmp 0x43b7ef
mov edx, dword [ebp + ebx*8 + 4]
cmp edx, eax
je 0x43b7ef
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push ecx
push 0xffffffffffffffff
push 6
push edx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x24
test eax, eax
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
js 0x43b884
mov ecx, dword [esp + 0x38]
push 0
push 0
push dword [esi + 8]
push dword [esp + 0x18]
push dword [esi + 4]
push dword [esi]
call fcn.0043aa60
test eax, eax
jns 0x43b839
mov ecx, eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
cmp eax, 0x8000000d
jne 0x43b940
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 8]
add eax, ebx
mov ecx, 0x24d923bc
sub ecx, dword [esp + 0x40]
mov edx, ecx
and edx, 0xdb26dc44
xor ecx, 0xdb26dc44
add ecx, eax
lea eax, [ecx + edx*2]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
cmp eax, ebx
jbe 0x43b940
mov ecx, dword [esp + 0x10]
jmp 0x43b8be
mov dword [esp + 8], 0
mov dword [esp + 4], 0
jmp 0x43b9fa
xor edx, 1
and eax, 0xfffffffc
sub eax, edx
add ecx, eax
inc ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
cmp ecx, dword [esp + 0x14]
jae 0x43b940
test edi, edi
je 0x43b8c7
cmp byte [edi], 0x3f
je 0x43b8d2
movzx eax, byte [ecx]
mov edx, dword [esp + 0x3c]
cmp al, byte [edx]
jne 0x43b8a3
cmp dword [esp + 0x40], 2
jb 0x43b914
mov edx, 1
mov eax, 2
jmp 0x43b908
movzx ebx, byte [ecx + edx]
mov ebp, dword [esp + 0x3c]
cmp bl, byte [ebp + edx]
jne 0x43b899
inc edx
add eax, 2
cmp dword [esp + 0x40], edx
je 0x43b914
test edi, edi
je 0x43b8f0
cmp byte [edi + edx], 0x3f
jne 0x43b8f0
jmp 0x43b8fe
test ecx, ecx
je 0x43b930
sub ecx, dword [esp + 0x10]
mov eax, ecx
sar eax, 0x1f
add ecx, dword [esi]
adc eax, dword [esi + 4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
jmp 0x43b940
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x1c], 0
mov dword [esp], 0xd8dbdac5
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + esi]
mov edi, esi
and edi, 1
xor edi, 0x7ea16831
mov ebx, esi
and ebx, 2
sub ebx, edi
mov edi, ebx
and edi, edx
mov ebp, edi
and ebp, 2
mov ecx, edi
or ecx, 0xfd
inc ecx
mov eax, edi
and eax, 0xffffffdd
imul eax, ecx
or edi, 2
imul edi, ebp
sub eax, edi
add ebx, edx
add ebx, eax
add bl, 0xf5
mov byte [esp + esi], bl
inc esi
cmp esi, 4
jne 0x43b960
mov ecx, dword [0x44c3b8]
test ecx, ecx
je 0x43b9fa
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x44c3bc]
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x43b9d0
inc edi
cmp ecx, edi
jne 0x43b9c0
jmp 0x43b9fa
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x43b9fa
lea eax, [esp + 0x1c]
lea edx, [esp + 0xc]
push 0x8000
push eax
push edx
push 0xffffffffffffffff
push 4
push ecx
push dword [0x44c3c0]
call fcn.0043ce20
add esp, 0x1c
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10