Function at 0x6efabaef
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x6efea040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x268], edi
jne 0x6efc3f00
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.6ef812f5
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0xa4], eax
fild qword [ebp - 0xa8]
and ecx, 0x80000000
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], edi
fild qword [ebp - 0xa8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea edx, [ebp - 0xe8]
fchs
push edx
faddp st(1)
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xd0]
fdiv dword [esi + 0x270]
push ecx
mov edx, ecx
push edx
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xc0]
fsub dword [esi + 0x274]
fstp dword [ebp - 0xc0]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xd0]
push edx
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov ecx, dword [ebp - 0xe8]
sub ecx, dword [esi + 0x280]
mov eax, dword [ebp - 0xe4]
sbb eax, dword [esi + 0x284]
mov dword [ebp - 0xa8], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0xa4], eax
fild qword [ebp - 0xa8]
and ecx, 0x80000000
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], edi
fild qword [ebp - 0xa8]
mov edx, dword [ebp - 0xe0]
sub edx, dword [esi + 0x288]
fchs
mov eax, dword [ebp - 0xdc]
faddp st(1)
sbb eax, dword [esi + 0x28c]
fld qword [0x6efc7e90]
mov dword [ebp - 0xa8], edx
mov ecx, eax
fdiv st(1), st(0)
and eax, 0x7fffffff
mov dword [ebp - 0xa4], eax
and ecx, 0x80000000
fxch st(1)
fstp dword [ebp - 0xb8]
fild qword [ebp - 0xa8]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], edi
fild qword [ebp - 0xa8]
fchs
faddp st(1)
fdiv st(1)
fstp dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xf0]
fld dword [ebp - 0xb0]
sub ecx, dword [esi + 0x290]
fld st(0)
mov eax, dword [ebp - 0xec]
fld dword [ebp - 0xb8]
sbb eax, dword [esi + 0x294]
fld st(0)
add ecx, dword [ebp - 0xd8]
faddp st(2)
fxch st(1)
adc eax, dword [ebp - 0xd4]
fstp dword [ebp - 0xb8]
mov dword [ebp - 0xa8], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0xa4], eax
fild qword [ebp - 0xa8]
and ecx, 0x80000000
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], edi
fild qword [ebp - 0xa8]
fchs
faddp st(1)
fdivrp st(3)
fxch st(2)
fstp dword [ebp - 0xb0]
fldz
fld st(0)
fld dword [ebp - 0xb8]
fucom st(1)
fnstsw ax
fstp st(1)
fldz
fld qword [0x6efc7ea0]
test ah, 0x44
jnp 0x6efc410d
fmul st(5), st(0)
fld st(2)
fdivp st(6)
jmp 0x6efc4113
fstp st(5)
fld st(0)
fxch st(5)
fxch st(5)
fstp dword [ebp - 0xac]
fld st(2)
fucomp st(2)
fnstsw ax
test ah, 0x44
jnp 0x6efc412e
fxch st(3)
fmul st(4)
fdiv st(1)
jmp 0x6efc4132
fstp st(3)
fld st(2)
fstp dword [ebp - 0xc4]
fld st(1)
fld dword [ebp - 0xb0]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x6efc4153
fld st(1)
fmul st(5)
fdivrp st(1)
jmp 0x6efc4157
fstp st(0)
fld st(2)
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xc0]
fucom st(2)
fnstsw ax
fstp st(2)
test ah, 0x44
jnp 0x6efc4178
fstp st(2)
fld st(1)
fmulp st(3)
fdivp st(2)
jmp 0x6efc417e
fstp st(1)
fstp st(2)
fxch st(1)
fxch st(1)
sub esp, 0x10
fstp dword [ebp - 0xb8]
lea ecx, [ebp - 0xa0]
fld dword [ebp - 0xb8]
fstp qword [esp + 8]
fld dword [ebp - 0xb0]
fstp qword [esp]
fld dword [ebp - 0xc4]
fnstcw word [ebp - 0xae]
movzx eax, word [ebp - 0xae]
or eax, 0xc00
mov dword [ebp - 0xc4], eax
fldcw word [ebp - 0xc4]
fistp qword [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
push edx
fldcw word [ebp - 0xae]
fld dword [ebp - 0xac]
fnstcw word [ebp - 0xae]
movzx eax, word [ebp - 0xae]
or eax, 0xc00
mov dword [ebp - 0xac], eax
fldcw word [ebp - 0xac]
fistp qword [ebp - 0xa8]
mov eax, dword [ebp - 0xa8]
push eax
sub esp, 8
fldcw word [ebp - 0xae]
fstp qword [esp]
push 0x6efc4470
push 0x9b
push ecx
call fcn.6efbb59c
add esp, 0x2c
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x2a0], edi
je 0x6efc4422
push 0xa0
lea eax, [ebp - 0x190]
push eax
push edi
push edi
push 0xb
call sub.POWRPROF.dll_CallNtPowerInformation
mov ecx, dword [ebp - 0x188]
lea eax, [esi + 0x26c]
mov dword [ebp - 0xac], eax
cmp ecx, dword [eax]
jne 0x6efc4422
lea edx, [ebp - 0xc8]
push edx
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
call ebx
push eax
mov eax, dword [esi + 0x2a0]
call eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [esi + 0x2a4]
push eax
call edx
mov eax, dword [ebp - 0xc8]
sub eax, dword [esi + 0x2a8]
mov ecx, dword [ebp - 0xc4]
sbb ecx, dword [esi + 0x2ac]
mov edx, dword [ebp - 0xbc]
sub edx, dword [esi + 0x2b0]
mov ebx, dword [ebp - 0xb8]
sbb ebx, dword [esi + 0x2b4]
mov esi, edx
or esi, ebx
je 0x6efc4365
mov esi, ecx
mov dword [ebp - 0xb0], esi
and dword [ebp - 0xb0], 0x7fffffff
mov dword [ebp - 0xa4], esi
and dword [ebp - 0xa4], 0x80000000
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb4], eax
fild qword [ebp - 0xb4]
fild qword [ebp - 0xa8]
mov dword [ebp - 0xa8], edx
mov edx, ebx
and ebx, 0x7fffffff
fchs
mov dword [ebp - 0xa4], ebx
faddp st(1)
and edx, 0x80000000
fmul qword [0x6efc7ea0]
fild qword [ebp - 0xa8]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa8], edi
fild qword [ebp - 0xa8]
fchs
faddp st(1)
fdivp st(1)
jmp 0x6efc4367
fldz
mov edx, ecx
mov esi, ecx
and edx, 0x7fffffff
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xac]
mov edx, dword [edx]
mov dword [ebp - 0xa8], eax
fild qword [ebp - 0xa8]
and esi, 0x80000000
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], edi
fild qword [ebp - 0xa8]
mov dword [ebp - 0xac], edx
fchs
faddp st(1)
fdiv qword [0x6efc7e98]
fild dword [ebp - 0xac]
test edx, edx
jge 0x6efc43c3
fadd dword [0x6efc7cc0]
fdivp st(1)
sub esp, 0x10
fdiv dword [ebp - 0xc0]
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fstp qword [esp + 8]
fstp dword [ebp - 0xac]
fld dword [ebp - 0xac]
fstp qword [esp]
push edi
push 0xf4240
push ecx
push eax
call fcn.6ef83a84
push edx
push eax
push 0x6efc4428
lea eax, [ebp - 0xa0]
push 0x9b
push eax
call fcn.6efbb59c
add esp, 0x24
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebx
jmp 0x6efabb16