Function at 0x43dd10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], 0x504f4e4d
lea eax, [esp + 0x10]
mov ecx, 0x9618f2
nop
nop
nop
nop
movzx esi, byte [eax]
mov ebx, ecx
and ebx, 0x8210d7
lea edx, [ecx - 0x5a000000]
and edx, 0xa6140828
or edx, ebx
mov ebx, esi
xor ebx, 0xd7
mov ebp, edx
xor ebp, 0x28
or ebp, ebx
xor esi, 8
xor edx, 0xd7
or edx, esi
and edx, ebp
add dl, 0xbf
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x9618ee
jne 0x43dd30
mov ebp, dword [esp + 0x10]
mov eax, dword [0x44a890]
test eax, eax
je 0x43ddce
xor ecx, ecx
mov edx, dword [0x44a894]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x43dda0
inc ecx
cmp eax, ecx
jne 0x43dd90
jmp 0x43ddce
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x43ddce
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44a898]
call fcn.00439540
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x43e04c
mov dword [esp + 4], edi
push dword [esp + 0xc]
call fcn.00436070
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], 0x504f4e4d
lea esi, [esp + 0x14]
mov ebx, 0x9618f2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esi]
mov ebp, ebx
and ebp, 0x8210d7
lea ecx, [ebx - 0x5a000000]
and ecx, 0xa6140828
or ecx, ebp
mov ebp, edi
xor ebp, 0xd7
mov edx, ecx
xor edx, 0x28
or edx, ebp
xor edi, 8
xor ecx, 0xd7
or ecx, edi
and ecx, edx
add cl, 0xbf
mov byte [esi], cl
inc esi
dec ebx
cmp ebx, 0x9618ee
jne 0x43de10
mov ebp, dword [esp + 0x14]
mov ecx, dword [0x44a890]
test ecx, ecx
je 0x43de80
xor edx, edx
mov esi, dword [0x44a894]
mov edi, dword [esp + 0x44]
nop
nop
cmp dword [esi + edx*8], 0x3602324e
je 0x43de86
inc edx
cmp ecx, edx
jne 0x43de70
jmp 0x43debc
mov edi, dword [esp + 0x44]
jmp 0x43debc
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebp
je 0x43debc
lea edx, [esp + 0xc]
push edx
push dword [esp + 0xc]
push dword [esp + 8]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push ecx
push dword [0x44a898]
mov esi, eax
call fcn.00439540
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
mov esi, dword [esp]
js 0x43e043
mov edx, dword [esp + 0x38]
test edx, edx
je 0x43dfd1
cmp dword [esp + 0x34], 0
je 0x43dfca
mov ecx, dword [esi + 0x10]
shr ecx, 1
mov ebx, dword [edx]
cmp ebx, ecx
jb 0x43deeb
mov ebx, ecx
test ebx, ebx
je 0x43dfc1
add eax, 0x14
mov ecx, ebx
and ecx, 3
je 0x43df47
mov dword [esp + 8], ebx
xor esi, esi
mov ebx, dword [esp + 0x34]
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [eax]
xor edx, edx
test di, di
setne dl
lea eax, [eax + edx*2]
mov word [ebx], di
add ebx, 2
inc esi
cmp ecx, esi
jne 0x43df10
mov dword [esp + 4], ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
sub ecx, esi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
cmp ebx, 4
jae 0x43df4e
jmp 0x43dfc1
mov ecx, ebx
cmp ebx, 4
jb 0x43dfc1
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x43df60
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov esi, dword [esp]
mov eax, dword [esp + 4]
mov word [eax], 0
mov eax, dword [esi + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x43dfde
mov eax, dword [esi + 4]
mov dword [ecx], eax
test edi, edi
je 0x43e043
cmp dword [esp + 0x40], 0
je 0x43e03e
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jb 0x43dff4
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, dword [esp]
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebx, dword [esp + 0x40]
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp]
test al, 1
mov edi, dword [esp + 0x44]
je 0x43e03e
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [esi + 0xc]
mov dword [edi], eax
push esi
call fcn.00436100
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret