Function at 0x43d140
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x34]
xor ecx, ecx
test eax, eax
je 0x43d173
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 0x43d160
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x14], cx
mov edx, eax
test eax, eax
je 0x43d183
add ecx, 2
mov edx, ecx
mov word [esp + 0x16], dx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x95949392
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + eax]
mov edx, ecx
and edx, 4
or edx, eax
xor dl, byte [esp + eax + 4]
xor dl, 0x82
add dl, 0xf0
mov byte [esp + eax + 4], dl
and ecx, 2
xor eax, 1
add eax, ecx
cmp eax, 4
jb 0x43d1a0
mov eax, dword [esp + 4]
mov dword [esp + 0x10], 0xd4d3d2d3
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x19
xor dl, byte [esp + ecx + 0x10]
add dl, 0x38
mov byte [esp + ecx + 0x10], dl
inc ecx
cmp ecx, 4
jne 0x43d1e0
mov ecx, dword [esp + 0x10]
mov dword [esp], 0xb1b2b3b4
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
add bl, 0xa3
xor bl, byte [esp + edx]
add bl, 0xe8
mov byte [esp + edx], bl
inc edx
cmp edx, 4
jne 0x43d210
mov ebx, dword [esp]
mov edx, dword [0x448334]
test edx, edx
je 0x43d27d
xor ebp, ebp
mov edi, dword [0x448338]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x299a4ecd
je 0x43d250
inc ebp
cmp edx, ebp
jne 0x43d240
jmp 0x43d27d
mov edx, dword [edi + ebp*8 + 4]
cmp edx, ebx
je 0x43d27d
lea esi, [esp + 0xc]
lea edi, [esp + 0x14]
push esi
push eax
push 0
push ecx
push edi
push dword [esp + 0x44]
push 0x18
push edx
push dword [0x44833c]
call fcn.0043a070
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x2b6a694b
xor ecx, ecx
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx]
mov esi, ecx
or esi, 0x26b40428
xor esi, edx
add esi, 0xca5fdebf
mov edx, esi
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
mov byte [esp + ecx], dl
mov edx, ecx
xor eax, 1
add eax, ecx
and ecx, 1
and edx, 2
sub eax, edx
add eax, ecx
mov ecx, eax
cmp eax, 4
jb 0x43d290
cmp ebx, dword [esp]
jne 0x43d45c
push dword [esp + 0xc]
call fcn.00438690
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x56555451
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 4]
lea ebx, [edx - 0xc9c57f5]
xor ebx, esi
mov esi, ebx
xor esi, 0x59
and ebx, 0x26
add ebx, ebx
sub ebx, esi
inc bl
mov byte [esp + edx + 4], bl
mov esi, edx
xor esi, 0xfffffffe
mov ebx, edx
or ebx, 1
and ebx, esi
mov esi, ebx
and esi, 2
or ebx, 2
imul ebx, esi
xor esi, 2
mov edi, edx
and edi, 1
neg edi
and edi, esi
xor edx, 1
add edx, edi
add edx, ebx
cmp edx, 4
jb 0x43d300
mov edx, dword [esp + 4]
mov dword [esp], 0xb1b2b3b4
xor ebx, ebx
nop
nop
nop
nop
nop
mov ecx, ebx
add cl, 0xa3
xor cl, byte [esp + ebx]
add cl, 0xe8
mov byte [esp + ebx], cl
inc ebx
cmp ebx, 4
jne 0x43d360
mov ebx, dword [esp]
mov ebp, dword [0x448334]
test ebp, ebp
je 0x43d3d3
xor edi, edi
mov esi, dword [0x448338]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0x299a4ecd
je 0x43d3a0
inc edi
cmp ebp, edi
jne 0x43d390
jmp 0x43d3d3
mov ebp, dword [esi + edi*8 + 4]
cmp ebp, ebx
je 0x43d3d3
lea ecx, [esp + 0xc]
lea esi, [esp + 0x14]
push ecx
push dword [esp + 0xc]
push eax
push edx
push esi
push dword [esp + 0x44]
push 0x18
push ebp
push dword [0x44833c]
mov esi, eax
call fcn.0043a070
add esp, 0x24
mov ebx, eax
mov eax, esi
test ebx, ebx
js 0x43d453
mov edx, dword [esp + 0x38]
test edx, edx
je 0x43d3e4
mov ecx, dword [eax + 4]
mov dword [edx], ecx
cmp dword [esp + 0x40], 0
je 0x43d453
cmp dword [esp + 0x3c], 0
je 0x43d44a
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x43d401
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov ebp, dword [esp + 0x3c]
mov edi, ebp
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add ebp, ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov dword [esp + 8], esi
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
je 0x43d44a
and edx, 2
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + edx]
mov byte [ebp + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [edx], ecx
push eax
call fcn.004386c0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret