Function at 0x40ca40
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x438e28]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [0x44d474], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
push 0x433403
push edi
mov dword [0x44d468], eax
mov byte [0x44d258], 0
call fcn.004197e5
add esp, 8
push 0x104
push 0x44d480
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x44d480
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40caa0
sub eax, edx
dec eax
cmp eax, edi
jl 0x40cac9
mov edi, edi
mov cl, byte [eax + 0x44d480]
cmp cl, 0x5c
je 0x40cac5
cmp cl, 0x2f
je 0x40cac5
dec eax
jns 0x40cab0
jmp 0x40cac9
cmp eax, edi
jge 0x40cacb
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
push str.SoftwareStratopoint_SoftwarePrintFolders
push 0x80000001
mov byte [eax + 0x44d480], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
push str.Language
push edx
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40cb24
xor eax, eax
mov cl, byte [eax + 0x43a028]
mov byte [esp + eax + 0x20], cl
inc eax
test cl, cl
jne 0x40cb15
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [0x44d478], eax
jmp 0x40cb40
lea ecx, [eax*4 + 0x43a028]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.004264c7
add esp, 8
test eax, eax
mov eax, dword [0x44d478]
je 0x40cb6b
inc eax
mov dword [0x44d478], eax
cmp eax, 2
jl 0x40cb40
jmp 0x40cbaa
cmp eax, edi
jne 0x40cb76
mov eax, dword [0x44d474]
jmp 0x40cba5
imul eax, eax, 0x101
lea ecx, [eax + 0x439f2f]
push ecx
push 0x44d480
lea edx, [esp + 0x28]
push str._s_s
push edx
call fcn.00418202
add esp, 0x10
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x44d46c], eax
mov edx, dword [0x44d468]
mov al, byte [edx]
xor esi, esi
test al, al
je 0x40cbc5
cmp al, 0x20
jg 0x40cbc5
mov al, byte [edx + esi + 1]
inc esi
test al, al
jne 0x40cbb8
mov al, byte [edx + esi]
add edx, esi
xor ecx, ecx
cmp al, 0x20
jle 0x40cbdc
inc edx
mov byte [esp + ecx + 0x20], al
mov al, byte [edx]
inc ecx
cmp al, 0x20
jg 0x40cbd0
mov byte [esp + ecx + 0x20], 0
lea ecx, [esp + 0x20]
push 0x434710
push ecx
call fcn.004264c7
add esp, 8
test eax, eax
je 0x40cf2c
lea edx, [esp + 0x20]
push str._uninstall
push edx
call fcn.004264c7
add esp, 8
test eax, eax
je 0x40cf2c
lea eax, [esp + 0x20]
push 0x434728
push eax
call fcn.004264c7
add esp, 8
test eax, eax
je 0x40cf10
lea ecx, [esp + 0x20]
push str._shell
push ecx
call fcn.004264c7
add esp, 8
test eax, eax
je 0x40cf10
mov edx, dword [0x44d468]
mov al, byte [edx + esi]
mov dword [0x44d460], edi
test al, al
je 0x40ccda
cmp al, 0x2f
je 0x40cdad
cmp al, 0x2d
je 0x40cdad
mov bl, al
cmp bl, 0x22
je 0x40cc7c
cmp bl, 0x27
je 0x40cc7c
mov bl, 0x20
jmp 0x40cc7d
inc esi
mov al, byte [esi + edx]
add esi, edx
xor ecx, ecx
test al, al
je 0x40ccb7
cmp ecx, 0x103
jge 0x40cca2
cmp al, bl
je 0x40cca2
inc esi
mov byte [ecx + 0x44d258], al
mov al, byte [esi]
inc ecx
test al, al
jne 0x40cc88
cmp ecx, edi
jle 0x40ccb7
cmp byte [ecx + 0x44d257], 0x5c
je 0x40ccb7
mov byte [ecx + 0x44d258], 0x5c
inc ecx
mov byte [ecx + 0x44d258], 0
mov al, byte [0x44d258]
test al, al
je 0x40ccda
cmp al, 0x5c
jne 0x40ccda
cmp byte [0x44d259], al
jne 0x40ccda
mov byte [0x44d258], 0
push str.MS_Sans_Serif
push edi
push edi
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
push edi
push edi
push edi
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xf
call esi
push str.MS_Sans_Serif
push edi
push edi
push edi
push edi
push edi
push edi
push 1
push edi
push 0x190
push edi
push edi
push edi
push 0xf
mov dword [0x44d254], eax
call esi
push str.MS_Sans_Serif
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x2bc
push edi
push edi
push edi
push 0xf
mov dword [0x44d470], eax
call esi
mov dword [0x44d464], eax
call fcn.004022a0
mov ebx, dword [0x44d594]
xor eax, eax
jmp 0x40cd50
mov cl, al
add cl, cl
mov byte [edi + 0x43b940], al
mov dl, byte [ebx + eax]
add cl, cl
cmp dl, 0x41
jl 0x40cd69
cmp dl, 0x5a
jle 0x40cd6e
cmp dl, 0x2d
jne 0x40cdc3
mov byte [eax + 0x43b940], cl
cmp byte [ebx + eax], 0x2d
jne 0x40cd7b
inc eax
mov cl, byte [ebx + eax]
mov dl, cl
test dl, dl
je 0x40cdc3
sar dl, 2
mov byte [edi + 0x43b940], dl
mov dl, cl
mov byte [ebx + eax], cl
add dl, dl
add dl, dl
add cl, dl
add cl, cl
add cl, byte [ebx + eax + 1]
add eax, 2
add cl, 0x35
mov byte [edi + 0x43b940], cl
inc edi
jmp 0x40cd50
mov ecx, esi
mov dword [0x44d460], 1
call fcn.0040d0c0
jmp 0x40cf31
xor eax, eax
mov cl, 0xaa
test edi, edi
jle 0x40cddb
jmp 0x40cdd0
xor byte [eax + 0x43b940], cl
inc eax
cmp eax, edi
jl 0x40cdd0
lea esi, [edi - 1]
cmp esi, 1
jl 0x40ce15
mov edx, 0x43b940
lea ecx, [ebx + esi]
sub edx, ebx
lea ecx, [ecx]
mov al, byte [ecx]
cmp al, 0x41
jl 0x40cdfa
cmp al, 0x5a
jle 0x40cdfe
cmp al, 0x2d
jne 0x40ce15
mov al, byte [esi + 0x43b93f]
xor al, byte [edx + ecx]
dec esi
xor al, 0xaa
xor al, 0xaa
mov byte [edx + ecx], al
dec ecx
cmp esi, 1
jge 0x40cdf0
mov ecx, dword [0x43b940]
sub edi, 4
call fcn.00406d20
mov al, byte [0x43b940]
mov byte [0x43ba44], al
mov dword [esp + 0x10], 0
test edi, edi
jle 0x40ceaf
mov ecx, dword [0x44d598]
fld qword [0x434938]
fld qword [0x434930]
add ebx, 4
mov dword [esp + 0xc], ebx
mov esi, 0x43b944
mov ebx, ecx
sub ebx, esi
jmp 0x40ce63
mov ecx, dword [0x44d598]
mov al, byte [esi]
mov edx, dword [esp + 0xc]
mov byte [esi], al
mov al, byte [edx]
mov byte [ebx + esi], 0
mov byte [0x43ba44], 0x80
cmp al, 0x41
jl 0x40ce80
cmp al, 0x5a
jle 0x40ce84
cmp al, 0x2d
jne 0x40ceb7
call fcn.00406e10
fmul st(2)
fadd st(1)
call fcn.0041a0e0
mov cl, byte [esi]
inc dword [esp + 0xc]
xor cl, al
mov eax, dword [esp + 0x10]
inc eax
mov byte [ebx + esi], cl
inc esi
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x40ce5d
fstp st(1)
fstp st(0)
mov ecx, dword [0x44d598]
jmp 0x40cebb
fstp st(1)
fstp st(0)
mov edx, dword [esp + 0x10]
mov byte [ecx + edx], 0
cmp byte [ecx], 0
je 0x40cef7
mov esi, str.TitanIapetus
sub esi, ecx
nop
mov al, byte [esi + ecx]
test al, al
je 0x40cef7
mov dl, byte [ecx]
cmp dl, al
jne 0x40cef7
movsx eax, dl
cmp eax, 0xff
jne 0x40ceeb
xor eax, eax
jmp 0x40ceec
inc eax
inc ecx
cmp byte [ecx], 0
mov byte [0x43ba44], al
jne 0x40ced0
mov eax, dword [0x44d46c]
push 0
push 0x4031f0
push 0
push 0x66
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x40cf31
push str.Drive
call fcn.0040cf50
add esp, 4
push str.Directory
call fcn.0040cf50
add esp, 4
jmp 0x40cf31
call fcn.0040dca0
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004181f3
mov esp, ebp
pop ebp
ret 0x10