Function at 0x43a560
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [esp], 0x20272625
mov eax, 0x8bd5d989
nop
nop
nop
nop
movzx ebp, byte [esp + eax + 0x742a2677]
lea ebx, [eax + 0x742a2700]
and ebx, ebp
mov esi, ebx
and esi, 0xffffff8d
mov edi, ebx
and edi, 2
mov edx, ebx
or edx, 0xfffffffd
inc edx
imul edx, esi
or ebx, 2
imul ebx, edi
lea esi, [eax + ebp]
add edx, ebp
sub edx, ebx
add edx, eax
mov edi, edx
and edi, 0x52
xor edx, 0x52
lea edx, [edx + edi*2]
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + eax + 0x742a2677], dl
inc eax
cmp eax, 0x8bd5d98d
jne 0x43a590
mov eax, dword [esp]
mov edx, dword [0x44ae04]
test edx, edx
je 0x43a642
xor esi, esi
mov ebx, dword [0x44ae08]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x3e416e49
je 0x43a610
inc esi
cmp edx, esi
jne 0x43a600
jmp 0x43a642
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43a642
lea eax, [esp + 0x1c]
lea esi, [esp + 8]
push 4
push 0x3000
push eax
push 0
push esi
push 0xffffffffffffffff
push 6
push edx
push dword [0x44ae0c]
mov esi, ecx
call fcn.0043bd80
mov ecx, esi
add esp, 0x24
test eax, eax
mov edi, dword [esp + 0x40]
js 0x43a6b8
push 0
push 0
mov esi, dword [esp + 0x1c]
push dword [esi + 8]
push dword [esp + 0x14]
push dword [esi + 4]
push dword [esi]
call fcn.00439880
test eax, eax
jns 0x43a681
mov ecx, eax
mov dword [esp + 4], 0
mov edx, 0
cmp eax, 0x8000000d
jne 0x43a743
mov eax, dword [esp + 8]
mov ecx, dword [esi + 8]
add ecx, eax
sub ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov edx, 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp ecx, eax
jbe 0x43a743
mov eax, dword [esp + 0x3c]
lea ebp, [eax - 1]
mov ecx, dword [esp + 0xc]
jmp 0x43a6dd
mov dword [esp + 4], 0
xor edx, edx
jmp 0x43a80e
add ecx, eax
inc ecx
mov dword [esp + 4], 0
mov edx, 0
cmp ecx, dword [esp + 0x10]
jae 0x43a743
test edi, edi
je 0x43a6e6
cmp byte [edi], 0x3f
je 0x43a6f1
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
cmp al, byte [edx]
jne 0x43a6c9
cmp dword [esp + 0x3c], 2
jb 0x43a721
xor eax, eax
jmp 0x43a714
movzx edx, byte [ecx + eax + 1]
mov ebx, dword [esp + 0x38]
cmp dl, byte [ebx + eax + 1]
jne 0x43a6c7
inc eax
cmp ebp, eax
je 0x43a721
test edi, edi
je 0x43a700
cmp byte [edi + eax + 1], 0x3f
jne 0x43a700
jmp 0x43a70f
test ecx, ecx
je 0x43a739
sub ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
add ecx, dword [esi]
adc edx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x43a743
mov dword [esp + 4], 0
xor edx, edx
mov dword [esp + 0x18], 0
mov dword [esp], 0x20272625
mov ecx, 0x8bd5d989
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx + 0x742a2677]
lea edi, [ecx + 0x742a2700]
and edi, ebx
mov ebp, edi
and ebp, 0xffffff8d
mov eax, edi
and eax, 2
mov esi, edi
or esi, 0xfffffffd
inc esi
imul esi, ebp
or edi, 2
imul edi, eax
lea ebp, [ecx + ebx]
add esi, ebx
sub esi, edi
add esi, ecx
mov eax, esi
and eax, 0x52
xor esi, 0x52
lea eax, [esi + eax*2]
and ebp, 1
xor eax, 1
lea eax, [eax + ebp*2]
mov byte [esp + ecx + 0x742a2677], al
inc ecx
cmp ecx, 0x8bd5d98d
jne 0x43a760
mov ecx, dword [0x44ae04]
test ecx, ecx
je 0x43a80e
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x44ae08]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x16194952
je 0x43a7e0
inc edi
cmp ecx, edi
jne 0x43a7d0
jmp 0x43a80e
mov ecx, dword [ebx + edi*8 + 4]
cmp ecx, esi
je 0x43a80e
lea eax, [esp + 0x18]
lea esi, [esp + 8]
push 0x8000
push eax
push esi
push 0xffffffffffffffff
push 4
push ecx
push dword [0x44ae0c]
mov edi, edx
call fcn.0043bd80
mov edx, edi
add esp, 0x1c
mov eax, dword [esp + 4]
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10