Function at 0x43d1b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
je 0x43d1e3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43d1d0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x43d1f3
add ecx, 2
mov edx, ecx
mov esi, dword [esp + 0x3c]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0xfcfdfeff
mov dword [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
mov ecx, 0xa4d3137f
sub ecx, eax
xor ecx, edx
lea edx, [ecx*2 + 2]
inc ecx
and edx, 2
xor ecx, 0x7e
sub ecx, edx
add cl, 2
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x43d220
mov ebx, dword [esp]
mov eax, dword [0x4497f8]
test eax, eax
je 0x43d2af
xor ecx, ecx
mov edx, dword [0x4497fc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43d280
inc ecx
cmp eax, ecx
jne 0x43d270
jmp 0x43d2af
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43d2af
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x48]
push 0x18
push eax
push dword [0x449800]
call fcn.00438810
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x83c2c123
mov byte [esp + 4], 0
xor eax, eax
mov ecx, 0xcf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
mov edi, eax
or edi, edx
or edi, 0x30
not edx
or edx, ecx
and edx, edi
add dl, 0x10
mov byte [esp + eax], dl
inc eax
dec ecx
cmp eax, 5
jne 0x43d2d0
cmp ebx, dword [esp]
jne 0x43d4a6
push dword [esp + 0xc]
call fcn.00435670
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x81868786
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
xor edx, edx
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebp + 0x10]
mov edi, edx
and edi, 2
mov ebx, ebp
xor ebx, 0x3d711921
add ebx, edi
xor ebx, ecx
mov ecx, 0x2b
sub ecx, ebx
add ebx, 0xd4
and ecx, 0x7a
and ebx, 0x85
sub ebx, ecx
inc bl
mov byte [esp + ebp + 0x10], bl
inc ebp
add edx, 2
cmp ebp, 7
jne 0x43d330
mov edx, dword [esp + 0x10]
mov dword [esp], 0xfcfdfeff
mov dword [esp + 4], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + ebx]
mov ecx, 0xa4d3137f
sub ecx, ebx
xor ecx, edi
lea edi, [ecx*2 + 2]
inc ecx
and edi, 2
xor ecx, 0x7e
sub ecx, edi
add cl, 2
mov byte [esp + ebx], cl
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ebx, [ebx + ecx*2]
cmp ebx, 8
jb 0x43d390
mov ebx, dword [esp]
mov ebp, dword [0x4497f8]
test ebp, ebp
je 0x43d423
xor ecx, ecx
mov edi, dword [0x4497fc]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0xc0a4c970
je 0x43d3f0
inc ecx
cmp ebp, ecx
jne 0x43d3e0
jmp 0x43d423
mov ebp, dword [edi + ecx*8 + 4]
cmp ebp, ebx
je 0x43d423
lea ecx, [esp + 0xc]
lea edi, [esp + 0x18]
push ecx
push dword [esp + 0xc]
push eax
push edx
push edi
push dword [esp + 0x48]
push 0x18
push ebp
push dword [0x449800]
mov edi, eax
call fcn.00438810
add esp, 0x24
mov ebx, eax
mov eax, edi
test ebx, ebx
mov edx, dword [esp + 0x40]
js 0x43d49d
test esi, esi
je 0x43d434
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x44], 0
je 0x43d49d
test edx, edx
je 0x43d494
mov esi, edx
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x43d450
mov edx, ecx
lea ebp, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, esi
xchg esi, ebp
rep movsd dword es:[edi], dword [esi]
xchg esi, ebp
mov ecx, edx
and ecx, 0xfffffffc
add esi, ecx
lea ebp, [eax + ecx]
add ebp, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], ebp
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test dl, 1
je 0x43d494
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [esi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x44]
mov dword [edx], ecx
push eax
call fcn.004356c0
add esp, 4
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret