Function at 0x43c9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov cx, 0xfffc
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, 4
cmp word [eax + edx], 0
lea edx, [edx + 2]
jne 0x43c9f0
add edx, 0xfffffffe
mov word [esp + 0x2c], dx
and ecx, 4
xor edx, 2
add edx, ecx
mov word [esp + 0x2e], dx
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0xbcbdbebf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x43ca90
nop
mov edx, dword [esp + 4]
mov eax, dword [esp + 4]
movzx edi, byte [esp + eax + 0x18]
lea eax, [edx - 0x4ee8d9e8]
mov ecx, eax
and ecx, edi
mov esi, eax
xor esi, edi
add edx, 0x18
and edx, edi
or eax, edi
xor eax, esi
mov edi, eax
and edi, edx
xor eax, edx
sub ecx, edi
sub esi, eax
lea eax, [esi + ecx*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x58
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x43ca40
mov esi, dword [esp + 0x18]
mov eax, dword [0x44b1ac]
test eax, eax
je 0x43caee
xor ecx, ecx
mov edx, dword [0x44b1b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x36e97270
je 0x43cac0
inc ecx
cmp eax, ecx
jne 0x43cab0
jmp 0x43caee
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43caee
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push 0
push 0
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x44b1b4]
push eax
call fcn.00438da0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x43cc59
push dword [esp + 0x10]
call fcn.00436f20
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0xbcbdbebf
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xa
ja 0x43cb90
nop
nop
nop
nop
nop
mov esi, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx eax, byte [esp + ecx + 0x18]
lea ecx, [esi - 0x4ee8d9e8]
mov edx, ecx
and edx, eax
mov edi, ecx
xor edi, eax
add esi, 0x18
and esi, eax
or ecx, eax
xor ecx, edi
mov eax, ecx
and eax, esi
xor ecx, esi
sub edx, eax
sub edi, ecx
lea eax, [edi + edx*2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x58
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x43cb40
mov esi, dword [esp + 0x18]
mov ecx, dword [0x44b1ac]
test ecx, ecx
je 0x43cbc2
xor edx, edx
mov edi, dword [0x44b1b0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x36e97270
je 0x43cc63
inc edx
cmp ecx, edx
jne 0x43cbb0
mov edi, dword [esp + 8]
test esi, esi
js 0x43cc50
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43cbda
mov eax, dword [edi + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x43cc50
cmp dword [ebp + 0x14], 0
je 0x43cc4b
mov edx, dword [ebx]
mov eax, dword [edi + 8]
cmp edx, eax
jb 0x43cbef
mov edx, eax
lea eax, [edi + 0xc]
mov ecx, edx
shr ecx, 2
mov ebx, dword [ebp + 0x14]
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
xor ecx, 3
mov eax, edx
or eax, 0xfffffffc
and eax, ecx
add eax, ebx
mov ecx, edx
and ecx, 0xfffffffc
mov edi, dword [esp + 8]
lea ebx, [edi + ecx]
add ebx, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 0xc], ebx
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esp + 8]
test dl, 1
mov ebx, dword [ebp + 0x18]
je 0x43cc4b
and edx, 2
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + edx]
mov byte [eax + edx], cl
mov eax, dword [edi + 8]
mov dword [ebx], eax
push edi
call fcn.00436ff0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
mov edi, dword [esp + 8]
je 0x43cbc6
lea eax, [esp + 0x10]
lea edx, [esp + 0x2c]
push eax
push dword [esp + 0x10]
push edi
push 2
push edx
push dword [ebp + 8]
push 6
push dword [0x44b1b4]
push ecx
call fcn.00438da0
add esp, 0x24
mov esi, eax
jmp 0x43cbc6