Function at 0x43d430
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], 0x888b8a8d
mov byte [esp + 8], 0
mov eax, 0xe6e58ae3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x191a7521]
xor ecx, eax
neg ecx
mov edx, ecx
and edx, 0x70
add edx, edx
xor ecx, 0x8f
sub ecx, edx
add cl, 2
mov byte [esp + eax + 0x191a7521], cl
inc eax
cmp eax, 0xe6e58ae8
jne 0x43d460
mov esi, dword [esp + 4]
mov eax, dword [0x449860]
test eax, eax
je 0x43d4ee
xor ecx, ecx
mov edx, dword [0x449864]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x43d4c0
inc ecx
cmp eax, ecx
jne 0x43d4b0
jmp 0x43d4ee
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43d4ee
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push eax
push dword [0x449868]
call fcn.00439510
add esp, 0x24
mov esi, eax
mov dword [esp + 4], 0xf7363907
mov eax, 0x36
mov ecx, 0xc9
movzx edx, byte [esp + eax - 0x32]
lea edi, [edx + edx]
not edi
add edi, edx
and edi, eax
and edx, ecx
or edx, edi
add dl, 0xf2
mov byte [esp + eax - 0x32], dl
inc eax
dec ecx
cmp eax, 0x3a
jne 0x43d500
cmp esi, dword [esp + 4]
jne 0x43d6ef
push dword [esp + 0x10]
call fcn.00436390
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x888b8a8d
mov byte [esp + 8], 0
mov edx, 0xe6e58ae3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 0x191a7521]
xor ecx, edx
neg ecx
mov esi, ecx
and esi, 0x70
add esi, esi
xor ecx, 0x8f
sub ecx, esi
add cl, 2
mov byte [esp + edx + 0x191a7521], cl
inc edx
cmp edx, 0xe6e58ae8
jne 0x43d560
mov esi, dword [esp + 4]
mov edx, dword [0x449860]
test edx, edx
je 0x43d5fe
mov dword [esp], edi
mov edi, ebp
xor ecx, ecx
mov ebp, dword [0x449864]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ecx*8], 0x33079ccd
je 0x43d5c3
inc ecx
cmp edx, ecx
jne 0x43d5b0
mov ebp, edi
jmp 0x43d5fb
mov edx, dword [ebp + ecx*8 + 4]
cmp edx, esi
mov ebp, edi
mov edi, dword [esp]
je 0x43d5fe
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x449868]
mov edi, eax
call fcn.00439510
add esp, 0x24
mov esi, eax
mov eax, edi
mov edi, dword [esp]
test ebp, ebp
je 0x43d6e6
test esi, esi
js 0x43d6e6
test ebx, ebx
je 0x43d6de
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebp]
cmp edx, ecx
jb 0x43d624
mov edx, ecx
test edx, edx
je 0x43d6d5
add eax, 0x10
mov ecx, edx
and ecx, 3
mov dword [esp], edi
je 0x43d66b
mov dword [esp + 0xc], edx
xor edi, edi
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x43d640
mov edx, dword [esp + 0xc]
mov ebp, edx
sub ebp, edi
mov edi, dword [esp]
cmp edx, 4
jae 0x43d680
jmp 0x43d6d5
mov ebp, edx
cmp edx, 4
jb 0x43d6d5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43d680
mov edi, dword [esp]
mov word [ebx], 0
mov ebp, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebp], eax
push edi
call fcn.004363f0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret