Function at 0x43ee40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0x909f9e9d
mov word [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x43eeb9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
xor edx, 0xe45132a5
and eax, 0xe45132a5
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xc7
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x43ee80
mov eax, dword [esp + 8]
mov ecx, dword [0x4506dc]
test ecx, ecx
je 0x43ef0e
xor edx, edx
mov edi, dword [0x4506e0]
nop
cmp dword [edi + edx*8], 0x633c81d
je 0x43eee0
inc edx
cmp ecx, edx
jne 0x43eed0
jmp 0x43ef0e
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x43ef0e
lea eax, [esp + 0x20]
lea edx, [esp + 4]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x4506e4]
push ecx
call fcn.00440260
add esp, 0x24
test eax, eax
js 0x43ef91
mov ecx, dword [esp + 0x38]
push 0
push 0
push dword [esi + 8]
push dword [esp + 0x10]
push dword [esi + 4]
push dword [esi]
call fcn.0043e1e0
mov ecx, eax
xor eax, eax
mov edx, 0
cmp ecx, 0xbfffffff
ja 0x43f029
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 4]
mov eax, dword [esi + 8]
add eax, ebx
mov ecx, edi
xor ecx, 0xc482db83
mov edx, edi
not edx
and edx, 0xc482db83
add edx, edx
sub edx, ecx
lea ecx, [edx + eax]
add ecx, 0x3b7d247d
xor eax, eax
mov edx, 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
cmp ecx, ebx
jbe 0x43f029
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
jmp 0x43efb6
xor eax, eax
xor edx, edx
jmp 0x43f0f2
mov edx, eax
and edx, 0xfffffffe
add edx, edx
xor eax, 1
sub edx, eax
add ebx, edx
inc ebx
xor eax, eax
mov edx, 0
cmp ebx, dword [esp + 0x18]
jae 0x43f029
test ebp, ebp
je 0x43efc0
cmp byte [ebp], 0x3f
je 0x43efc7
movzx eax, byte [ebx]
cmp al, byte [ecx]
jne 0x43efa8
cmp edi, 2
jb 0x43f005
mov eax, 1
jmp 0x43eff8
movzx edx, byte [ebx + eax]
cmp dl, byte [ecx + eax]
jne 0x43ef9a
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, edi
jae 0x43f005
test ebp, ebp
je 0x43efe0
cmp byte [ebp + eax], 0x3f
jne 0x43efe0
jmp 0x43efe9
test ebx, ebx
je 0x43f025
mov ecx, dword [esp + 0x14]
mov eax, ecx
not eax
and eax, ebx
add eax, eax
xor ebx, ecx
sub eax, ebx
mov edx, eax
sar edx, 0x1f
add eax, dword [esi]
adc edx, dword [esi + 4]
jmp 0x43f029
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 8], 0x909f9e9d
mov word [esp + 0xc], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 5
ja 0x43f08b
nop
mov ecx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, ecx
xor edi, 0xe45132a5
and ecx, 0xe45132a5
lea ecx, [edi + ecx*2]
xor ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0xc7
mov esi, dword [esp]
mov byte [esp + esi + 8], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 6
jb 0x43f050
mov ecx, dword [0x4506dc]
test ecx, ecx
je 0x43f0f2
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x44caaeb6
je 0x43f0c0
inc edi
cmp ecx, edi
jne 0x43f0b0
jmp 0x43f0f2
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x43f0f2
lea esi, [esp + 0x1c]
lea edi, [esp + 4]
push 0x8000
push esi
push edi
push 0xffffffffffffffff
push 4
push dword [0x4506e4]
push ecx
mov esi, eax
mov edi, edx
call fcn.00440260
mov edx, edi
mov eax, esi
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10