Function at 0x43dc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x34]
mov dword [esp + 4], 0x2c2d2e2f
mov dword [esp + 8], 0
mov eax, 0x8062a388
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x7f9d5c7c]
xor ecx, eax
mov edx, ecx
and edx, 0x57
xor ecx, 0x57
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax + 0x7f9d5c7c], cl
inc eax
cmp eax, 0x8062a390
jne 0x43dcc0
mov ebp, dword [esp + 4]
mov eax, dword [0x44a598]
test eax, eax
je 0x43dd3e
xor ecx, ecx
mov edx, dword [0x44a59c]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x43dd10
inc ecx
cmp eax, ecx
jne 0x43dd00
jmp 0x43dd3e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x43dd3e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44a5a0]
call fcn.004391b0
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x43df45
push dword [esp + 0x14]
call fcn.00436730
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x2c2d2e2f
mov dword [esp + 8], 0
mov edx, 0x8062a388
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 0x7f9d5c7c]
xor ecx, edx
mov esi, ecx
and esi, 0x57
xor ecx, 0x57
lea ecx, [ecx + esi*2]
inc cl
mov byte [esp + edx + 0x7f9d5c7c], cl
inc edx
cmp edx, 0x8062a390
jne 0x43dd80
mov ebp, dword [esp + 4]
mov edx, dword [0x44a598]
test edx, edx
je 0x43de06
xor esi, esi
mov ecx, dword [0x44a59c]
nop
nop
nop
cmp dword [ecx + esi*8], 0x3602324e
je 0x43ddd0
inc esi
cmp edx, esi
jne 0x43ddc0
jmp 0x43de06
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebp
je 0x43de06
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44a5a0]
mov esi, eax
call fcn.004391b0
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
mov ecx, dword [esp]
js 0x43df3c
mov edx, dword [esp + 0x38]
test edx, edx
mov esi, dword [esp + 0x3c]
je 0x43dec7
test edi, edi
je 0x43dec0
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov edx, dword [edx]
cmp edx, ecx
jb 0x43de36
mov edx, ecx
test edx, edx
je 0x43deb4
add eax, 0x14
mov ecx, edx
test dl, 1
je 0x43de74
not ecx
lea ecx, [ecx + edx*2]
movzx esi, word [eax]
mov word [esp + 0xc], si
test si, si
mov ebx, 0
setne bl
mov esi, ebx
mov ebx, dword [esp + 0x44]
lea eax, [eax + esi*2]
movzx esi, word [esp + 0xc]
mov word [edi], si
mov esi, dword [esp + 0x3c]
add edi, 2
cmp edx, 1
je 0x43deb4
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 edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [esi + eax*2]
mov word [edi + 2], dx
add edi, 4
add ecx, 0xfffffffe
jne 0x43de80
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov word [edi], 0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [edx], eax
test esi, esi
je 0x43ded0
mov eax, dword [ecx + 4]
mov dword [esi], eax
test ebx, ebx
je 0x43df3c
cmp dword [esp + 0x40], 0
je 0x43df37
mov eax, dword [ebx]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x43dee6
mov eax, ecx
mov ebx, dword [esp]
mov esi, dword [ebx + 8]
add esi, ebx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, dword [esp + 0x40]
add dword [esp + 0x10], 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, dword [esp + 0x10]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, ebx
mov esi, dword [esp + 0x10]
test al, 1
mov ebx, dword [esp + 0x44]
je 0x43df37
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov ecx, dword [esp]
mov eax, dword [ecx + 0xc]
mov dword [ebx], eax
push ecx
call fcn.004367a0
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret