Function at 0x43a340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f937d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x54b07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0042b490
mov ebx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
cmp ebx, 0x10
jb 0x43a38e
mov dword [ebp - 0x10], edi
lea ecx, [ebp + 8]
jb 0x43a395
mov ecx, edi
mov eax, dword [ebp + 0x18]
lea esi, [ebp + 8]
add eax, ecx
mov dword [ebp - 0x18], eax
cmp ebx, 0x10
jb 0x43a3a7
mov esi, edi
cmp esi, eax
je 0x43a3cd
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
sub ebx, esi
movsx eax, byte [esi]
push eax
call fcn.004cfb69
mov byte [esi + ebx], al
add esp, 4
inc esi
cmp esi, edi
jne 0x43a3b3
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
cmp ebx, 0x10
jb 0x43a3db
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0x18]
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x43a404
mov ebx, dword [ebp - 0x10]
lea esp, [esp]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x43a3f0
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0043e230
mov eax, dword [eax + 4]
test eax, eax
je 0x43a42e
cmp eax, dword [esi + 4]
je 0x43a42e
mov edx, dword [eax + 0x20]
lea eax, [esi + 0x20]
jmp 0x43a546
mov eax, dword [esi + 0x24]
lea ebx, [esi + 0x20]
sub eax, dword [ebx]
mov ecx, esi
sar eax, 2
imul edi, eax, 0xf0f0f0f1
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
call fcn.0043c7e0
push 0x2c
push 0
mov dword [eax], edi
lea eax, [ebp - 0x48]
push eax
call fcn.004c7d50
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.0043b7f0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
je 0x43a4af
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esi
push eax
mov ecx, esi
call fcn.00401d10
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x18]
call fcn.0043f5f0
add dword [ebx + 4], 0x44
jmp 0x43a4bf
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.0043e5f0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x43a532
mov edi, dword [ebp - 0x24]
cmp esi, edi
je 0x43a4e1
lea ecx, [ecx]
mov ecx, esi
call fcn.00423d70
add esi, 0x30
cmp esi, edi
jne 0x43a4d0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
sub eax, esi
sar eax, 4
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x43a513
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a593
push ecx
push esi
call fcn.0049dbeb
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x48]
call fcn.0042e890
mov ebx, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, edx
shl ecx, 4
add ecx, edx
lea esi, [eax + ecx*4]
cmp ebx, 0x10
jb 0x43a57c
inc ebx
mov eax, edi
cmp ebx, 0x1000
jb 0x43a572
mov edi, dword [eax - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a598
push ebx
push edi
call fcn.0049dbeb
add esp, 8
lea eax, [esi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004cb586
call fcn.004cb586
int3