Function at 0x4436a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0xf4f5fafb
mov byte [esp + 8], 0
mov ebx, dword [esp + 0x2c]
mov eax, 0x51b37a56
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x51b37a52]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0x365
xor edx, 0x2c0c8365
and ecx, 0x10a3789a
sub ecx, edx
mov edx, ecx
and edx, 0xe7769c51
xor ecx, 0x677e9c51
lea ecx, [ecx + edx*2]
add ecx, 0x54c1b4d9
mov edx, ecx
xor edx, 0x73
and ecx, 0xc
add ecx, ecx
sub ecx, edx
mov byte [esp + eax - 0x51b37a52], cl
inc eax
cmp eax, 0x51b37a5b
jne 0x4436d0
mov esi, dword [esp + 4]
mov eax, dword [0x44f6fc]
test eax, eax
je 0x44377a
xor ecx, ecx
mov edx, dword [0x44f700]
nop
cmp dword [edx + ecx*8], 0xdd26b4f7
je 0x443750
inc ecx
cmp eax, ecx
jne 0x443740
jmp 0x44377a
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x44377a
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 5
push dword [0x44f704]
push eax
call fcn.0043f170
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x4439d7
push dword [esp + 0x10]
call fcn.0043c430
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xf4f5fafb
mov byte [esp + 8], 0
mov edx, 0x51b37a56
nop
movzx esi, byte [esp + edx - 0x51b37a52]
mov ecx, edx
and ecx, esi
add ecx, ecx
sub esi, ecx
add esi, edx
mov ecx, esi
and ecx, 0x365
xor ecx, 0x2c0c8365
and esi, 0x10a3789a
sub esi, ecx
mov ecx, esi
and ecx, 0xe7769c51
xor esi, 0x677e9c51
lea ecx, [esi + ecx*2]
add ecx, 0x54c1b4d9
mov esi, ecx
xor esi, 0x73
and ecx, 0xc
add ecx, ecx
sub ecx, esi
mov byte [esp + edx - 0x51b37a52], cl
inc edx
cmp edx, 0x51b37a5b
jne 0x4437b0
mov esi, dword [esp + 4]
mov edx, dword [0x44f6fc]
test edx, edx
je 0x44387a
xor edi, edi
mov ecx, dword [0x44f700]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + edi*8], 0xdd26b4f7
je 0x443840
inc edi
cmp edx, edi
jne 0x443830
jmp 0x443876
mov edx, dword [ecx + edi*8 + 4]
cmp edx, esi
mov edi, dword [esp + 0x44]
je 0x44387a
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 5
push dword [0x44f704]
push edx
mov edi, eax
call fcn.0043f170
add esp, 0x20
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x44]
test esi, esi
js 0x4439cc
mov edx, dword [esp + 0x30]
test edx, edx
je 0x44396d
test ebx, ebx
je 0x443963
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x4438a6
mov ebp, ecx
test ebp, ebp
je 0x44395a
add eax, 0x2c
mov ecx, ebp
and ebp, 3
je 0x4438f0
mov dword [esp + 0xc], ecx
xor edi, edi
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea eax, [eax + ecx*2]
mov word [ebx], dx
add ebx, 2
inc edi
cmp ebp, edi
jne 0x4438c0
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
cmp ecx, 4
jae 0x443900
jmp 0x44395a
mov ebp, ecx
cmp ecx, 4
jb 0x44395a
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 0x443900
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov word [ebx], 0
mov ebp, dword [esp + 0x48]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x44397d
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
je 0x443997
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edx, edx
je 0x4439a5
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edx], eax
test ecx, ecx
je 0x4439b1
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
test edi, edi
je 0x4439bf
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edi], eax
test ebp, ebp
je 0x4439cc
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [ebp], eax
push dword [esp]
call fcn.0043c4c0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret