Function at 0x441870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov edi, dword [ebp + 8]
mov dword [esp + 0x188], 0x34353637
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov eax, 0x3ae83d0c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x3ae83b84]
xor ecx, eax
add ecx, 0xd976cec3
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax - 0x3ae83b84], cl
inc eax
cmp eax, 0x3ae83d13
jne 0x4418b0
mov eax, dword [esp + 0x188]
mov ecx, dword [0x44f9d8]
test ecx, ecx
je 0x44193a
xor edx, edx
mov esi, dword [0x44f9dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x7789b0cb
je 0x441910
inc edx
cmp ecx, edx
jne 0x441900
jmp 0x44193a
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44193a
lea eax, [esp + 0x10]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44f9e0]
push ecx
call fcn.00440440
add esp, 0x28
test eax, eax
js 0x441be6
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x188], 0x34353637
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov ecx, 0x3ae83d0c
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ecx - 0x3ae83b84]
xor eax, ecx
add eax, 0xd976cec3
mov edx, eax
and edx, 1
or eax, 1
add eax, edx
mov byte [esp + ecx - 0x3ae83b84], al
inc ecx
cmp ecx, 0x3ae83d13
jne 0x441970
mov esi, dword [esp + 0x188]
mov ecx, dword [0x44f9d8]
test ecx, ecx
je 0x4419fe
xor eax, eax
mov edx, dword [0x44f9dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + eax*8], 0x1cbb9425
je 0x4419d0
inc eax
cmp ecx, eax
jne 0x4419c0
jmp 0x4419fe
mov eax, dword [edx + eax*8 + 4]
cmp eax, esi
je 0x4419fe
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push ebx
push 5
push dword [0x44f9e0]
push eax
call fcn.00440440
add esp, 0x20
mov esi, eax
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x190]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov dword [esp + 0x68], 0x34353637
mov word [esp + 0x6c], 0
mov byte [esp + 0x6e], 0
mov ecx, 0x3ae83d0c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ecx - 0x3ae83ca4]
xor eax, ecx
add eax, 0xd976cec3
mov edx, eax
and edx, 1
or eax, 1
add eax, edx
mov byte [esp + ecx - 0x3ae83ca4], al
inc ecx
cmp ecx, 0x3ae83d13
jne 0x441a40
mov ecx, dword [0x44f9d8]
test ecx, ecx
je 0x441aad
mov edx, dword [esp + 0x68]
xor eax, eax
mov ebx, dword [0x44f9dc]
nop
cmp dword [ebx + eax*8], 0x7e776f1
je 0x441a90
inc eax
cmp ecx, eax
jne 0x441a80
jmp 0x441aad
mov eax, dword [ebx + eax*8 + 4]
cmp eax, edx
je 0x441aad
push dword [esp + 0xc]
push 1
push dword [0x44f9e0]
push eax
call fcn.00440440
add esp, 0x10
test esi, esi
js 0x441be6
lea eax, [esp + 0x188]
push 0x20
push eax
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00441690
add esp, 0x10
test eax, eax
js 0x441be6
lea eax, [esp + 0x10]
push 0x20
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00441690
add esp, 0x10
test eax, eax
js 0x441be6
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp + 8], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x441b5e
cmp cx, dx
je 0x441bf2
push esi
call fcn.0043d890
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 4]
mov esi, eax
xor esi, dword [esp + 8]
or esi, edx
je 0x441be6
push 0x68
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00441690
add esp, 0x10
test eax, eax
js 0x441be6
movzx eax, word [esp + 0xc2]
push eax
call fcn.0043d7a0
add esp, 4
mov esi, eax
movzx eax, word [esp + 0xc2]
push eax
push esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
call fcn.00441690
add esp, 0x10
test eax, eax
js 0x441b39
xor eax, eax
nop
nop
nop
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x441bc0
or ecx, 0x20
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x441bd0
or edx, 0x20
test cx, cx
je 0x441b30
add eax, 2
cmp cx, dx
je 0x441bb0
jmp 0x441b30
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.0043d890
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x441bea