Function at 0x402da0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ee56
push eax
mov dword fs:[0], esp
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, str._sakura.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x49b41c
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00450b82
add esp, 8
test eax, eax
je 0x402e26
push eax
call fcn.00450ad4
add esp, 4
mov eax, 1
jmp 0x403020
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.divxdec.ax
mov byte [esp + 0x10], 1
call ebx
test eax, eax
je 0x402e50
push str.DllRegisterServer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402e50
call eax
jmp 0x402e55
mov byte [esp + 0xc], 0
push ebp
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.Flash.ocx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.codec_flash.ocx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x18]
and ecx, 3
push 0x4a07b8
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00463816
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x134], 0
call fcn.0046393d
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
push eax
call ebp
push 0x49b3d0
call ebx
test eax, eax
je 0x402eed
push str.DllRegisterServer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402eed
call eax
jmp 0x402ef2
mov byte [esp + 0x10], 0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
lea edx, [esp + 0x20]
push 0x14
push edx
push 0
call ebx
push str.codecIpa93dr.ttf
lea eax, [esp + 0x1c]
push 0x4a07b8
push eax
call fcn.00463816
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 1
call fcn.004636ba
lea ecx, [esp + 0x18]
mov byte [esp + 0x128], 0
call fcn.00463581
mov edi, str.Ipa93dr.ttf
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x20]
call fcn.0046393d
push eax
call ebp
test eax, eax
pop ebp
jne 0x402f87
mov byte [esp + 0xc], al
push 0
push 0x4a088c
lea ecx, [esp + 0x20]
push 0x4a088c
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, byte [esp + 0xc]
test al, al
je 0x403000
push 0
lea edx, [esp + 0x1c]
push 0x1a
push edx
push 0
call ebx
mov edi, str._sakura.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x49b3a0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00450b82
push eax
call fcn.00450ad4
add esp, 0xc
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
and esi, 0xff
mov dword [esp + 0x124], 0xffffffff
call fcn.00463581
mov eax, esi
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret