Function at 0x43d7e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43d82a
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x43d800
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x43d82c
xor ecx, ecx
mov word [esp + 0x1c], cx
mov edx, eax
test eax, eax
je 0x43d83c
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x44]
mov word [esp + 0x1e], dx
mov dword [esp + 0x20], eax
mov dword [esp], 0x2c2d2e2f
mov dword [esp + 4], 0
mov eax, 0x95408738
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6abf78c8]
xor ecx, eax
mov edx, ecx
and edx, 0x67
xor ecx, 0xe7
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax + 0x6abf78c8], cl
inc eax
cmp eax, 0x95408740
jne 0x43d860
mov ebx, dword [esp]
mov eax, dword [0x449620]
test eax, eax
je 0x43d8df
xor ecx, ecx
mov edx, dword [0x449624]
nop
nop
nop
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43d8b0
inc ecx
cmp eax, ecx
jne 0x43d8a0
jmp 0x43d8df
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43d8df
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 6
push eax
push dword [0x449628]
call fcn.00438b80
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x11cecfe9
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, esp
mov ecx, 0x32
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [eax]
lea ebp, [ecx - 0x69d07000]
or ebp, esi
and esi, ecx
lea edx, [ebp*2]
not edx
add edx, ebp
and ebp, 0xde
and edx, 0x21
or edx, ebp
xor edx, esi
xor dl, 0xde
dec dl
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x2b
jne 0x43d900
cmp ebx, dword [esp]
jne 0x43dae3
mov dword [esp + 0xc], edi
push dword [esp + 0x10]
call fcn.004358e0
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0x57564946
mov word [esp + 0x18], 0
mov byte [esp + 0x1a], 0
xor edx, edx
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x14]
lea ebp, [edx + 0x6e]
and ebp, ebx
mov edi, ebp
and edi, 0x7d
mov ecx, ebp
and ecx, 2
mov eax, ebp
or eax, 0xfd
inc eax
imul eax, edi
or ebp, 2
imul ebp, ecx
sub eax, ebp
add eax, edx
add al, bl
add al, 0x48
mov byte [esp + edx + 0x14], al
mov eax, edx
and eax, 1
xor edx, 1
lea edx, [edx + eax*2]
cmp edx, 7
jb 0x43d970
mov edx, dword [esp + 0x14]
mov dword [esp], 0x2c2d2e2f
mov dword [esp + 4], 0
mov ebx, 0x95408738
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ebx + 0x6abf78c8]
xor eax, ebx
mov ecx, eax
and ecx, 0x67
xor eax, 0xe7
lea eax, [eax + ecx*2]
inc al
mov byte [esp + ebx + 0x6abf78c8], al
inc ebx
cmp ebx, 0x95408740
jne 0x43d9d0
mov ebx, dword [esp]
mov eax, dword [0x449620]
test eax, eax
je 0x43da4f
xor ebp, ebp
mov edi, dword [0x449624]
nop
nop
nop
cmp dword [edi + ebp*8], 0xc0a4c970
je 0x43da20
inc ebp
cmp eax, ebp
jne 0x43da10
jmp 0x43da4f
mov ebp, dword [edi + ebp*8 + 4]
cmp ebp, ebx
je 0x43da4f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push dword [esp + 0xc]
push esi
push edx
push ecx
push dword [esp + 0x4c]
push 6
push ebp
push dword [0x449628]
call fcn.00438b80
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
js 0x43dada
mov edi, dword [esp + 0x40]
test edi, edi
je 0x43da68
mov eax, dword [esi + 4]
mov dword [edi], eax
test ecx, ecx
je 0x43dada
test edx, edx
je 0x43dad5
mov eax, dword [ecx]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x43da7b
mov eax, ecx
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, dword [esp + 0x44]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add dword [esp + 0xc], ecx
lea ebp, [esi + ecx]
add ebp, 0xc
mov ecx, eax
xor ecx, 0xfffffffc
mov edx, eax
or edx, 3
and edx, ecx
mov ecx, edx
shr ecx, 1
mov dword [esp + 8], ebp
mov edi, dword [esp + 0xc]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov edi, dword [esp + 0xc]
test al, 1
mov ecx, dword [esp + 0x48]
je 0x43dad5
and edx, 0xfffffffe
mov eax, dword [esp + 8]
movzx eax, byte [eax + edx]
mov byte [edi + edx], al
mov eax, dword [esi + 8]
mov dword [ecx], eax
push esi
call fcn.00435950
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret