Function at 0x403621
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push 0x8b8
mov eax, 0x411d3f
call fcn.004019d2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x8a8], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], ebx
mov word [ebp - 0x830], ax
push str.wpsmain.dll
lea ecx, [ebp - 0x84c]
mov dword [ebp - 4], ebx
call fcn.004021b5
xor eax, eax
push 0x800
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push ebx
push eax
mov byte [ebp - 4], 1
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x8c0]
call fcn.00403910
lea ecx, [ebp - 0x8c0]
call fcn.00403947
push 0x400
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x403779
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x830]
call fcn.004021e7
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x89c]
push eax
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x89c], 0x5c
call fcn.0040396d
cmp eax, 0xffffffff
je 0x403779
inc eax
push eax
push ebx
lea eax, [ebp - 0x868]
push eax
lea ecx, [ebp - 0x830]
call fcn.0040339c
push eax
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 2
call fcn.0040230b
push ebx
push 1
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 1
call fcn.00402368
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x868]
push eax
call fcn.004039f9
add esp, 0xc
push eax
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 3
call fcn.0040230b
push ebx
push 1
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 1
call fcn.00402368
cmp dword [ebp - 0x81c], 8
mov eax, dword [ebp - 0x830]
mov byte [ebp - 0x8a4], bl
mov byte [ebp - 0x8a0], bl
jae 0x40379a
lea eax, [ebp - 0x830]
lea ecx, [ebp - 0x8a0]
push ecx
lea ecx, [ebp - 0x8a4]
push ecx
push str.prereadimage_time_wps
push str.SoftwareKingsoftOffice6.0wps
push str.prereadimages_wps
push str.SoftwareKingsoftOffice6.0Common
push eax
lea ecx, [ebp - 0x898]
call fcn.00403b38
mov byte [ebp - 4], 4
cmp byte [ebp - 0x8a4], bl
je 0x4037f5
push 2
lea ecx, [ebp - 0x898]
call fcn.00403e9a
cmp byte [ebp - 0x8a0], bl
je 0x4037f5
push ebx
lea ecx, [ebp - 0x898]
call fcn.00403e9a
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x8b8]
push eax
call esi
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x89c], esp
push str.PreReadImageBeforeSplash
push eax
lea ecx, [ebp - 0x8c0]
call fcn.00403f1d
mov ecx, edi
call fcn.00404371
or dword [ebp - 0x89c], 0xffffffff
lea ecx, [ebp - 0x8c0]
call fcn.00403947
cmp dword [ebp - 0x838], 8
mov eax, dword [ebp - 0x84c]
jae 0x40384e
lea eax, [ebp - 0x84c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x41b248], eax
lea eax, [ebp - 0x8b8]
push eax
call esi
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x8c4], esp
push str.Load_wpsmain
push eax
lea ecx, [ebp - 0x8c0]
call fcn.00403f1d
mov ecx, edi
call fcn.00404371
mov eax, dword [0x41b248]
cmp eax, ebx
je 0x4038d9
push str.xmain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4038d9
mov ecx, 0x41b24c
call fcn.00404a2b
push eax
call fcn.00404a59
push edi
lea eax, [ebp - 0x898]
push eax
push dword [ebp - 0x8a0]
push dword [ebp - 0x8a4]
push dword [ebp - 0x8a8]
push dword [ebp + 8]
call esi
add esp, 0x1c
mov dword [ebp - 0x89c], eax
lea ecx, [ebp - 0x898]
mov byte [ebp - 4], 1
call fcn.00404a95
push ebx
push 1
lea ecx, [ebp - 0x84c]
call fcn.00402368
push ebx
push 1
lea ecx, [ebp - 0x830]
call fcn.00402368
mov eax, dword [ebp - 0x89c]
call fcn.00401d81
ret