Function at 0x478fd0
Capabilities:
Check for time delay via queryperformancecounter
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe584
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x168
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xf4], 0
call fcn.00433fc0
mov esi, eax
mov dword [ebp - 0x118], 0x51904c
xorps xmm0, xmm0
mov dword [ebp - 0xec], esi
movlpd qword [ebp - 0x120], xmm0
mov dword [ebp - 0x114], esi
mov ecx, dword [esi]
mov dword [ebp - 0x110], 0
cmp dword [ecx], 0
je 0x4790c0
lea eax, [ebp - 0xf8]
movlpd qword [ebp - 0xf8], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xf4]
push 0x515300
push str._BDREINIT__::_CReinitProcess::RunWizWithUserCredent___
push str._s_s
push 0x515300
push 0
push esi
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ecx
call fcn.00433290
add esp, 0x18
jmp 0x4790d8
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0xe4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call fcn.0046aa10
mov eax, 8
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x479698
cmp esi, 0xffffffff
je 0x479698
xorps xmm0, xmm0
mov dword [ebp - 0x178], 0x44
movlpd qword [ebp - 0x174], xmm0
movlpd qword [ebp - 0x16c], xmm0
movlpd qword [ebp - 0x164], xmm0
movlpd qword [ebp - 0x15c], xmm0
movlpd qword [ebp - 0x154], xmm0
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movups xmmword [ebp - 0x130], xmm0
call fcn.00433fc0
mov eax, dword [eax]
cmp dword [eax], 0
je 0x47929c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0xd8], edi
jb 0x47918e
mov eax, dword [edi]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00479980
mov edx, eax
mov byte [ebp - 4], 5
cmp dword [edx + 0x14], 8
mov dword [ebp - 0xf4], 9
jb 0x4791b2
mov edx, dword [edx]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x3514
mov dword [ebp - 0xe4], ecx
cmp dword [ecx + 0x14], 8
jb 0x4791d2
mov eax, dword [ecx]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ecx + 0x10]
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x34], ecx
mov ecx, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0xd8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x40], esi
lea esi, [ecx + 2]
mov dword [ebp - 0x38], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479204
sub ecx, esi
sub esp, 0x10
mov eax, esp
sar ecx, 1
lea esi, [ebp - 0x48]
push ecx
push edx
lea ecx, [ebp - 0xb8]
mov dword [eax], 0xdce
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.0041d9e0
add esp, 0x18
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xf4], 0x8b
call fcn.0043a3c0
mov dword [ebp - 4], 7
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov eax, 0x18f
mov dword [ebp - 0xd8], eax
cmovae esi, dword [ebp - 0x2c]
mov dword [ebp - 0xf4], eax
call fcn.00433fc0
push esi
push 0
push str._BDREINIT__::_CReinitProcess::RunWizWithUserCredent____
push 0
push eax
call fcn.00436d10
mov esi, dword [ebp - 0xfc]
add esp, 0x14
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xd8]
test al, 4
je 0x47930a
mov edx, dword [ebp - 0x18]
and eax, 0xfffffffb
mov dword [ebp - 0xd8], eax
cmp edx, 8
jb 0x4792f6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4792e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47996b
push edx
push ecx
call fcn.004cb66f
mov eax, dword [ebp - 0xd8]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], cx
mov dword [ebp - 4], 5
test al, 2
je 0x479381
mov edx, dword [ebp - 0xa4]
and eax, 0xfffffffd
mov dword [ebp - 0xd8], eax
cmp edx, 8
jb 0x479364
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479354
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47996b
push edx
push ecx
call fcn.004cb66f
mov eax, dword [ebp - 0xd8]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], cx
mov dword [ebp - 4], 1
test al, 1
je 0x4793cc
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x4793cc
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4793c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47996b
push edx
push ecx
call fcn.004cb66f
add esp, 8
mov eax, dword [ebp - 0xdc]
add eax, 0x3514
cmp dword [eax + 0x14], 8
jb 0x4793df
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4793e7
mov edi, dword [edi]
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x178]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x479644
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0xa0], 0x80728045
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x9c], 0x806f8072
mov dword [ebp - 0x98], 0x802c8072
mov dword [ebp - 0x94], 0x80638020
mov dword [ebp - 0x90], 0x806c8061
mov dword [ebp - 0x8c], 0x8069806c
mov dword [ebp - 0x88], 0x8067806e
mov dword [ebp - 0x84], 0x80438020
mov dword [ebp - 0x80], 0x80658072
mov dword [ebp - 0x7c], 0x80748061
mov dword [ebp - 0x78], 0x80508065
mov dword [ebp - 0x74], 0x806f8072
mov dword [ebp - 0x70], 0x80658063
mov dword [ebp - 0x6c], 0x80738073
mov dword [ebp - 0x68], 0x80738041
mov dword [ebp - 0x64], 0x80738055
mov dword [ebp - 0x60], 0x80728065
mov dword [ebp - 0x5c], 0x803a8057
mov dword [ebp - 0x58], 0x807b8020
mov dword [ebp - 0x54], 0x8000807d
mov word [ebp - 0x50], ax
call fcn.00416fb0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
cmovae eax, dword [ebp - 0x48]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00417e30
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0043a3c0
mov byte [ebp - 4], 0xa
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae esi, dword [ebp - 0x2c]
call fcn.00433fc0
push esi
push 0
push str._BDREINIT__::_CReinitProcess::RunWizWithUserCredent____
push 8
push eax
call fcn.00436d10
mov byte [ebp - 4], 9
add esp, 0x14
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x479578
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47956e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479970
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x4795d0
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4795c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479970
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x47962b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479621
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479970
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x47988e
push dword [ebp - 0x12c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xdc], eax
mov edi, dword [ecx]
test edi, edi
je 0x47968a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xe0]
mov dword [ecx], eax
mov byte [ebp - 0xd1], 1
jmp 0x479895
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], 0x80728045
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x94], 0x806f8072
mov dword [ebp - 0x90], 0x802c8072
mov dword [ebp - 0x8c], 0x80678020
mov dword [ebp - 0x88], 0x80748065
mov dword [ebp - 0x84], 0x80698074
mov dword [ebp - 0x80], 0x8067806e
mov dword [ebp - 0x7c], 0x80618020
mov dword [ebp - 0x78], 0x80748063
mov dword [ebp - 0x74], 0x80768069
mov dword [ebp - 0x70], 0x80208065
mov dword [ebp - 0x6c], 0x80738075
mov dword [ebp - 0x68], 0x80728065
mov dword [ebp - 0x64], 0x80748020
mov dword [ebp - 0x60], 0x806b806f
mov dword [ebp - 0x5c], 0x806e8065
mov dword [ebp - 0x58], 0x8000
call fcn.00416fb0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0xb8]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xe0], eax
call fcn.00417750
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0043a3c0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae esi, dword [ebp - 0x48]
call fcn.00433fc0
push esi
push 0
push str._BDREINIT__::_CReinitProcess::RunWizWithUserCredent____
push 8
push eax
call fcn.00436d10
mov byte [ebp - 4], 3
add esp, 0x14
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x4797c7
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4797bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479975
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x47981f
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479815
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479975
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
cmp edx, 8
jb 0x47987a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479870
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479975
push edx
push ecx
call fcn.004cb66f
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 0xd1], 0
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4798ab
cmp eax, 0xffffffff
je 0x4798ab
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xb
mov edi, dword [ebp - 0xec]
mov eax, dword [edi]
cmp dword [eax], 0
je 0x479945
mov esi, dword [0x539170]
lea eax, [ebp - 0xf0]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xf0], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xf0]
sub ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xec]
sbb edx, dword [ebp - 0x104]
call fcn.004f4530
mov edx, dword [esi + 4]
mov ecx, dword [esi]
movsd qword [ebp - 0xf0], xmm0
call fcn.004f4530
movsd xmm1, qword [ebp - 0xf0]
sub esp, 8
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x515300
push str._s_n____.6f___
push 0x51904c
push 0
push edi
call fcn.00433290
add esp, 0x1c
mov al, byte [ebp - 0xd1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.004d05ef
call fcn.004d05ef
call fcn.004d05ef
int3