Function at 0x415da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x524ee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], eax
call fcn.00444480
push str.success
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00444440
lea eax, [ebp - 0x24]
push eax
push 0x4dfc64
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00444920
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00444690
push str.path
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00444a00
sub esp, 0x18
mov ecx, eax
push esp
call fcn.004451d0
lea eax, [ebp - 0x68]
push eax
call fcn.004512c0
add esp, 0x1c
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
xor bl, bl
call fcn.004345e0
add esp, 4
movzx ecx, bl
test al, al
mov edi, 1
cmovne ecx, edi
mov byte [ebp - 0x6c], cl
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x24]
call fcn.00444580
push str.exist
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00444920
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00444730
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00444690
call fcn.00418a30
test al, al
jne 0x415f3e
mov edx, dword [0x526340]
xor esi, esi
mov ecx, esi
and ecx, 1
dec ecx
not ecx
and ecx, edx
mov eax, esi
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edx
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edx
sar ecx, 1
xor eax, ecx
add edx, eax
inc esi
mov dword [0x526340], edx
cmp esi, 0x100
jl 0x415eb7
mov edx, dword [ebp - 0x68]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x415fd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x415fd5
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.004465d0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 9
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.00449500
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x416020
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x41603f
xor ecx, ecx
jmp 0x416051
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x416047
sub ecx, dword [ebp - 0x6c]
push ecx
push edx
mov ecx, edi
call fcn.00401460
lea eax, [ebp - 0x70]
push eax
call fcn.004512c0
add esp, 0x1c
mov edx, dword [eax]
lea eax, [esi - 0x10]
lea edi, [edx - 0x10]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x78], eax
cmp edi, eax
je 0x416126
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x6c], ecx
jl 0x416117
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x416117
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x4160b9
cmp ecx, dword [edi]
jne 0x4160b9
mov esi, edi
mov eax, 1
lock xadd dword [edx], eax
inc eax
jmp 0x4160f6
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x4160cd
call fcn.00409970
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004a98f5
add esp, 0x10
mov ecx, dword [ebp - 0x6c]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41610f
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x10
mov dword [ebp - 0x68], esi
jmp 0x416126
push dword [edx - 0xc]
lea ecx, [ebp - 0x68]
push edx
call fcn.00409670
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416146
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0xa
jb 0x41615b
push dword [ebp - 0x2c]
call fcn.004a831e
add esp, 4
mov edi, dword [0x526340]
lea ecx, [edi + 1]
lea eax, [edi + 2]
imul eax, ecx
imul eax, edi
cdq
mov ecx, 0xd
idiv ecx
cmp edx, 9
jne 0x416203
xor edx, edx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, edi
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edi
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
sar eax, 1
not ecx
and ecx, edi
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, edi
sar ecx, 1
xor eax, ecx
inc edx
add edi, eax
cmp edx, 0x100
jl 0x416180
mov dword [0x526340], edi
mov edi, dword [ebp - 0x74]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x416221
call fcn.00409970
mov dword [edi + 8], eax
call fcn.00418a50
test al, al
jne 0x41623f
push 4
call fcn.004a834d
mov ecx, dword [0x526340]
add esp, 4
mov dword [eax], ecx
add esi, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41625a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x4c], 0x4dfc5c
jb 0x416276
push dword [ebp - 0x48]
call fcn.004a831e
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
call fcn.004466d0
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
call fcn.00444690
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a8b24
mov esp, ebp
pop ebp
ret