Function at 0x5355c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov esi, ecx
test dl, dl
je 0x5358d2
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x9c], 0
test eax, eax
je 0x535665
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
lea edi, [esp + 0x70]
push ecx
push edx
push edi
push edi
push dword [eax + 8]
call sub.kernel32.dll_GetProcessTimes
lea eax, [esp + 0x98]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x78]
push eax
push ecx
push edx
call sub.kernel32.dll_GetSystemTimes
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
cmp edi, ecx
mov edx, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
sbb edx, eax
mov edx, 0
cmovb ecx, edx
cmovb eax, edx
xor edx, edx
sub edi, ecx
mov ecx, dword [esp + 0x98]
sbb ebx, eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
mov ecx, dword [esi + 0x6c]
mov edi, ebx
sbb edi, ecx
mov edi, dword [esp + 0x38]
cmovb ecx, edx
cmovb eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
sub edx, eax
mov eax, dword [esi + 0x58]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x58], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x20], edi
mov dword [esi + 0x5c], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x54], edi
mov dword [esp + 8], edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x6c], ebx
sbb ebx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
or edx, dword [esp + 0x28]
mov ecx, ebx
or ecx, dword [esp + 0x24]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x5c]
or edx, ecx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], edx
je 0x5358c3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x4c]
cmp edx, eax
sbb ecx, edi
mov ecx, 0
cmovb eax, ecx
cmovb edi, ecx
mov ecx, dword [esp + 0x20]
sub edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], edx
sbb dword [esp + 8], edi
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
cmp edi, edx
sbb ecx, eax
mov ecx, 0
cmovb edx, ecx
cmovb eax, ecx
mov ecx, 0xffffffff
sub edi, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x58]
sbb edx, eax
add edi, dword [esp + 0x28]
adc ebx, dword [esp + 0x24]
cmovb edi, ecx
cmovb ebx, ecx
movd xmm1, ebx
movd xmm0, edi
shr ebx, 0x1f
punpckldq xmm0, xmm1
movq qword [esp + 0x88], xmm0
fild qword [esp + 0x88]
fnstcw word [esp + 6]
movzx edi, word [esp + 6]
or edi, 0x300
mov word [esp + 0x1a], di
fldcw word [esp + 0x1a]
fadd dword [ebx*4 + 0x560700]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
adc edx, dword [esp + 8]
fldcw word [esp + 6]
cmovb edx, ecx
cmovb eax, ecx
fstp dword [esp + 0x68]
movd xmm0, edx
movd xmm1, eax
shr edx, 0x1f
mov eax, dword [ebp + 8]
punpckldq xmm1, xmm0
movq qword [esp + 0x90], xmm1
fild qword [esp + 0x90]
fnstcw word [esp + 4]
movzx ecx, word [esp + 4]
movd xmm1, eax
or ecx, 0x300
mov word [esp + 0x18], cx
mov ecx, dword [ebp + 0xc]
fldcw word [esp + 0x18]
movd xmm2, ecx
shr ecx, 0x1f
fadd dword [edx*4 + 0x560700]
fldcw word [esp + 4]
punpckldq xmm1, xmm2
fstp dword [esp + 0x64]
movss xmm0, dword [esp + 0x64]
divss xmm0, dword [esp + 0x68]
movq qword [esp + 0x80], xmm1
fild qword [esp + 0x80]
fnstcw word [esp + 2]
movzx eax, word [esp + 2]
mulss xmm0, dword [0x560708]
or eax, 0x300
mov word [esp + 0x16], ax
fldcw word [esp + 0x16]
fadd dword [ecx*4 + 0x560700]
fldcw word [esp + 2]
fstp dword [esp + 0x6c]
mulss xmm0, dword [esp + 0x6c]
jmp 0x5358c6
xorps xmm0, xmm0
mov edx, dword [esp + 0x1c]
movss dword [esi + 0xd8], xmm0
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
test edx, 0xff00
je 0x53591d
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x53591d
lea ecx, [esp + 0x98]
push ecx
push dword [eax + 8]
call sub.kernel32.dll_GetProcessIoCounters
test eax, eax
je 0x53591d
movups xmm0, xmmword [esi + 0x90]
movdqu xmm1, xmmword [esp + 0xb0]
movups xmmword [esi + 0x80], xmm0
movdqu xmmword [esi + 0x90], xmm1
xor eax, eax
sub edi, dword [esi + 0x70]
sbb ebx, dword [esi + 0x74]
cmovb edi, eax
cmovb ebx, eax
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], edi
mov byte [esi + 0xdc], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret