Function at 0x441590
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], 0x787b7a05
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov eax, 0x40
mov ecx, 0x6ce591bf
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x6ce59037]
mov esi, eax
and esi, 0x6e
mov ebx, ecx
xor ebx, 0xafaef46e
or ebx, esi
xor ebx, edx
mov edx, ebx
and edx, 1
xor ebx, 0x6f
lea edx, [ebx + edx*2]
add dl, 0x44
mov byte [esp + ecx - 0x6ce59037], dl
dec eax
inc ecx
cmp eax, 0x39
jne 0x4415d0
mov eax, dword [esp + 0x188]
mov ecx, dword [0x44f228]
test ecx, ecx
je 0x44165a
xor edx, edx
mov esi, dword [0x44f22c]
nop
nop
cmp dword [esi + edx*8], 0x89c57e52
je 0x441630
inc edx
cmp ecx, edx
jne 0x441620
jmp 0x44165a
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44165a
lea eax, [esp + 0x10]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x44f230]
push ecx
call fcn.004400f0
add esp, 0x28
test eax, eax
js 0x441928
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 0x188], 0x787b7a05
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
mov ecx, 0x40
mov edx, 0x6ce591bf
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x6ce59037]
mov esi, ecx
and esi, 0x6e
mov ebx, edx
xor ebx, 0xafaef46e
or ebx, esi
xor ebx, eax
mov eax, ebx
and eax, 1
xor ebx, 0x6f
lea eax, [ebx + eax*2]
add al, 0x44
mov byte [esp + edx - 0x6ce59037], al
dec ecx
inc edx
cmp ecx, 0x39
jne 0x4416a0
mov esi, dword [esp + 0x188]
mov ecx, dword [0x44f228]
test ecx, ecx
je 0x441716
xor edx, edx
mov ebx, dword [0x44f22c]
nop
nop
nop
cmp dword [ebx + edx*8], 0xc3cdc4a6
je 0x44170a
mov eax, edx
xor eax, 1
and edx, 1
lea edx, [eax + edx*2]
cmp edx, ecx
jb 0x4416f0
jmp 0x441716
mov eax, dword [ebx + edx*8 + 4]
cmp eax, esi
jne 0x441934
mov dword [esp], esi
mov eax, dword [esp + 0x190]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0xc], eax
mov dword [esp + 0x68], 0x787b7a05
mov word [esp + 0x6c], 0
mov byte [esp + 0x6e], 0
mov ecx, 0x40
mov esi, 0x6ce591bf
nop
nop
nop
movzx eax, byte [esp + esi - 0x6ce59157]
mov ebx, ecx
and ebx, 0x6e
mov edx, esi
xor edx, 0xafaef46e
or edx, ebx
xor edx, eax
mov eax, edx
and eax, 1
xor edx, 0x6f
lea eax, [edx + eax*2]
add al, 0x44
mov byte [esp + esi - 0x6ce59157], al
dec ecx
inc esi
cmp ecx, 0x39
jne 0x441750
mov ecx, dword [0x44f228]
test ecx, ecx
mov esi, dword [esp]
je 0x4417cd
mov edx, dword [esp + 0x68]
xor eax, eax
mov ebx, dword [0x44f22c]
nop
nop
nop
cmp dword [ebx + eax*8], 0xb62b8d10
je 0x4417b0
inc eax
cmp ecx, eax
jne 0x4417a0
jmp 0x4417cd
mov eax, dword [ebx + eax*8 + 4]
cmp eax, edx
je 0x4417cd
push dword [esp + 4]
push 1
push dword [0x44f230]
push eax
call fcn.004400f0
add esp, 0x10
test esi, esi
js 0x441928
lea eax, [esp + 0x188]
push 0x20
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441928
lea eax, [esp + 0x10]
push 0x20
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441928
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x44188c
movzx eax, cx
movzx ecx, dx
mov edx, eax
not edx
and edx, ecx
not ecx
and ecx, eax
cmp ecx, edx
je 0x441967
push esi
call fcn.0043d610
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 8]
mov esi, eax
xor esi, dword [esp]
or esi, edx
je 0x441928
push 0x68
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00441380
add esp, 0x10
test eax, eax
js 0x441928
movzx eax, word [esp + 0xc2]
push eax
call fcn.0043d5c0
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.00441380
add esp, 0x10
test eax, eax
js 0x441868
xor eax, eax
nop
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x4418f9
mov edx, ecx
not edx
or edx, 0xffffffdf
add ecx, edx
add ecx, 0x21
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x441912
mov ebx, edx
not ebx
or ebx, 0xffffffdf
add edx, ebx
add edx, 0x21
test cx, cx
je 0x441850
add eax, 2
cmp cx, dx
je 0x4418e0
jmp 0x441850
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x14]
push 5
push dword [0x44f230]
push eax
call fcn.004400f0
add esp, 0x20
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
jmp 0x441719
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.0043d610
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x44192c