Function at 0x403b20
Capabilities:
Check for time delay via gettickcount
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488399
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x59339c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x144], esi
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 4], edi
jae 0x403b67
lea eax, [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ecx
push eax
call fcn.0044dd00
push 0x103
lea edx, [ebp - 0x113]
push edi
push edx
mov byte [ebp - 0x114], 0
call fcn.0046cb90
add esp, 0x14
lea eax, [ebp - 0x114]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [0x59331c]
mov eax, dword [edx + 0xc]
mov ecx, 0x59331c
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
push edi
mov byte [ebp - 4], 1
call fcn.0046d3c2
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x134]
push str._sFFPlaySetup__d.exe
push edx
call fcn.00402d30
add esp, 0x14
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], edi
mov eax, dword [ebp - 0x134]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x403d98
call fcn.004014a0
cmp eax, edi
jl 0x403da5
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
xor edx, edx
mov ecx, 0x3e8
div ecx
mov esi, edx
call ebx
xor edx, edx
mov ecx, 0xa
div ecx
xor ebx, ebx
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
mov dword [ebp - 0x138], edx
mov byte [ebp - 4], 3
test esi, esi
jle 0x403c7e
mov al, byte [ebp - 0x138]
imul bl
movzx edx, al
push edx
push 1
lea ecx, [ebp - 0x130]
call fcn.00402910
inc ebx
cmp ebx, esi
jl 0x403c60
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp + 8]
call fcn.00402c20
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 8]
jae 0x403c9d
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp - 0x138]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403cbb
call fcn.004014a0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x403cd0
push edi
call ebx
xor edi, edi
mov dword [ebp - 0x140], edi
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x14c]
push eax
push 2
mov dword [ebp - 0x14c], 0x48b540
mov dword [ebp - 0x148], esi
call fcn.0041c3a0
add esp, 8
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x11c], 0x10
jb 0x403d3b
mov eax, dword [ebp - 0x130]
push eax
call fcn.0046bfbc
add esp, 4
test edi, edi
je 0x403d42
push edi
call ebx
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403d68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp + 0x1c], 0x10
jb 0x403d7a
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046bfbc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bfc7
mov esp, ebp
pop ebp
ret 0x1c
mov edi, eax
mov dword [ebp - 0x140], edi
jmp 0x403c1c
mov ecx, dword [esi + 4]
push 0x48b4f8
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x403d42