Function at 0x43fb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, ecx
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x101f1e1d
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
xor ebx, 0xcb1c73a
mov edx, eax
or edx, 5
and edx, ebx
mov ebx, eax
and ebx, 5
mov ebp, edx
and ebp, 2
or edx, 2
imul edx, ebp
xor ebp, 2
imul ebp, ebx
mov ebx, eax
xor ebx, 0xc5
add ebx, edx
add ebx, ebp
xor bl, byte [esp + eax + 4]
add bl, 0x27
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 6
jne 0x43fb80
mov eax, dword [esp + 4]
mov edx, dword [0x451b44]
test edx, edx
je 0x43fc20
xor ebp, ebp
mov ebx, dword [0x451b48]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + ebp*8], 0x3e416e49
je 0x43fbf0
inc ebp
cmp edx, ebp
jne 0x43fbe0
jmp 0x43fc20
mov edx, dword [ebx + ebp*8 + 4]
cmp edx, eax
je 0x43fc20
lea eax, [esp + 0x18]
mov ebx, esp
push 4
push 0x3000
push eax
push 0
push ebx
push 0xffffffffffffffff
push 6
push edx
push dword [0x451b4c]
mov ebx, ecx
call fcn.00441940
mov ecx, ebx
add esp, 0x24
test eax, eax
js 0x43fc7f
push 0
push 0
mov eax, dword [esp + 0x14]
push dword [eax + 8]
push dword [esp + 0xc]
push dword [eax + 4]
push dword [eax]
call fcn.0043eec0
test eax, eax
jns 0x43fc56
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0x8000000d
jne 0x43fd11
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
mov ebp, dword [eax + 8]
add ebp, ecx
sub ebp, dword [esp + 0x38]
xor eax, eax
mov edx, 0
mov dword [esp + 0x10], ecx
cmp ebp, ecx
jbe 0x43fd11
mov ecx, dword [esp + 0x10]
jmp 0x43fc9e
xor eax, eax
xor edx, edx
jmp 0x43fdd0
xor edx, 1
and eax, 0xfffffffc
sub eax, edx
add ecx, eax
inc ecx
xor eax, eax
mov edx, 0
cmp ecx, ebp
jae 0x43fd11
test edi, edi
je 0x43fca7
cmp byte [edi], 0x3f
je 0x43fcb2
movzx eax, byte [ecx]
mov edx, dword [esp + 0x34]
cmp al, byte [edx]
jne 0x43fc92
cmp dword [esp + 0x38], 2
jb 0x43fcf3
mov edx, 1
mov eax, 2
jmp 0x43fce7
movzx ebx, byte [ecx + edx]
mov esi, dword [esp + 0x34]
cmp bl, byte [esi + edx]
jne 0x43fc88
inc edx
add eax, 2
cmp dword [esp + 0x38], edx
je 0x43fcf3
test edi, edi
je 0x43fcd0
cmp byte [edi + edx], 0x3f
jne 0x43fcd0
jmp 0x43fcdd
test ecx, ecx
je 0x43fd0d
sub ecx, dword [esp + 0x10]
mov edx, ecx
sar edx, 0x1f
mov eax, dword [esp + 0xc]
add ecx, dword [eax]
adc edx, dword [eax + 4]
mov eax, ecx
jmp 0x43fd11
xor eax, eax
xor edx, edx
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x101f1e1d
mov word [esp + 8], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
mov edi, ecx
xor edi, 0xcb1c73a
mov esi, ecx
or esi, 5
and esi, edi
mov edi, ecx
and edi, 5
mov ebx, esi
and ebx, 2
or esi, 2
imul esi, ebx
mov ebp, ebx
xor ebp, 2
imul ebp, edi
mov ebx, ecx
xor ebx, 0xc5
add ebx, esi
add ebx, ebp
xor bl, byte [esp + ecx + 4]
add bl, 0x27
mov byte [esp + ecx + 4], bl
inc ecx
cmp ecx, 6
jne 0x43fd30
mov ecx, dword [0x451b44]
test ecx, ecx
je 0x43fdd0
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x451b48]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x43fda0
inc edi
cmp ecx, edi
jne 0x43fd90
jmp 0x43fdd0
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x43fdd0
lea esi, [esp + 0x14]
mov edi, esp
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push ecx
push dword [0x451b4c]
mov esi, eax
mov edi, edx
call fcn.00441940
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10