Function at 0x10012309
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb60
mov eax, dword [0x10071054]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xad8], eax
push edi
mov dword [ebp - 0xaf4], ebx
call fcn.10013f16
mov edi, eax
lea eax, [ebx + 0x34]
push eax
mov dword [ebp - 0xb18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xad8]
push eax
lea esi, [ebx + 0x4c]
lea eax, [ebp - 0xadc]
mov dword [ebp - 0xb14], esi
push eax
mov ecx, esi
call fcn.100138b0
mov eax, dword [esi + 4]
cmp dword [ebp - 0xadc], eax
jne 0x10012eac
push 7
pop eax
xor ebx, ebx
mov dword [ebp - 0xaf0], eax
push str.COMMON
lea ecx, [ebp - 0xa8c]
mov dword [ebp - 0xa8c], ebx
mov dword [ebp - 0xa7c], ebx
mov dword [ebp - 0xa78], eax
call fcn.1000c0c4
push dword [ebp - 0xad8]
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0xb1c], ebx
test ebx, ebx
je 0x100124c8
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.10019c50
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x100124c8
push 0x208
lea eax, [ebp - 0xa34]
push 0
push eax
call fcn.10019c50
add esp, 0xc
lea eax, [ebp - 0x82c]
push 0x208
push 0
push eax
call fcn.10019c50
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x208
push 0
push eax
call fcn.10019c50
add esp, 0xc
lea eax, [ebp - 0x624]
push 0x208
push 0
push eax
call fcn.10019c50
add esp, 0xc
lea eax, [ebp - 0x624]
mov ecx, 0x104
push ecx
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push ecx
lea eax, [ebp - 0x82c]
push eax
push ecx
lea eax, [ebp - 0xa34]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.10023c29
add esp, 0x24
lea eax, [ebp - 0x41c]
lea ecx, [ebp - 0xa8c]
push eax
call fcn.1000c0c4
cmp dword [ebp - 0xa78], 8
lea eax, [ebp - 0xa8c]
mov byte [ebp - 0xadc], 0
push dword [ebp - 0xadc]
cmovae eax, dword [ebp - 0xa8c]
push ecx
push eax
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.100138ed
call fcn.10013f16
cmp dword [ebp - 0xa78], 8
lea ecx, [ebp - 0xa8c]
cmovae ecx, dword [ebp - 0xa8c]
push ecx
lea ecx, [ebp - 0xb3c]
push ecx
mov ecx, eax
call fcn.10014eb9
lea ecx, [ebp - 0xb3c]
call fcn.10008342
test al, al
je 0x1001250b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10012e90
push ecx
push ecx
mov eax, esp
lea ecx, [ebp - 0xad4]
mov dword [eax], str.DefaultSettings
mov dword [eax + 4], 0xf
call fcn.10010878
pop ecx
pop ecx
call fcn.10013f16
cmp dword [ebp - 0xac0], 8
lea ecx, [ebp - 0xad4]
cmovae ecx, dword [ebp - 0xad4]
push ecx
lea ecx, [ebp - 0xb54]
push ecx
mov ecx, eax
call fcn.10014eb9
movsd xmm1, qword [0x1006c0c0]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.Threshold
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb0c], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [0x1006c108]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.FirstEvaluationTimeSec
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb04], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [0x1006c118]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.EvaluationTimeoutSec
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb5c], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [0x1006c0b0]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.DiscretSec
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb24], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push 1
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.UseIO
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xadc], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push 0
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.UseCPU
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xb10], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push 0
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.WriteLog
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xaf8], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push 0
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.ReportLoadtime0
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb54]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xae4], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [ebp - 0xb0c]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.Threshold
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xaec], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [ebp - 0xb04]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.FirstEvaluationTimeSec
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb04], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [ebp - 0xb5c]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.EvaluationTimeoutSec
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb0c], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm1, qword [ebp - 0xb24]
lea ecx, [ebp - 0xa6c]
call fcn.10007afc
lea eax, [ebp - 0xa6c]
push eax
push str.DiscretSec
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000819e
lea ecx, [ebp - 0xa4c]
movsd qword [ebp - 0xb24], xmm0
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push dword [ebp - 0xadc]
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.UseIO
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xade], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push dword [ebp - 0xb10]
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.UseCPU
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xadf], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push dword [ebp - 0xaf8]
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.WriteLog
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xadd], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
push dword [ebp - 0xae4]
lea ecx, [ebp - 0xa6c]
call fcn.10007be5
lea eax, [ebp - 0xa6c]
push eax
push str.ReportLoadtime0
lea eax, [ebp - 0xa4c]
push eax
lea ecx, [ebp - 0xb3c]
call fcn.10008aae
mov ecx, eax
call fcn.1000823d
lea ecx, [ebp - 0xa4c]
mov byte [ebp - 0xae0], al
call fcn.10007c2d
lea ecx, [ebp - 0xa6c]
call fcn.10007c2d
movsd xmm2, qword [0x1006c0e0]
movsd xmm1, qword [ebp - 0xb04]
comisd xmm2, xmm1
ja 0x10012e49
movsd xmm0, qword [ebp - 0xb0c]
comisd xmm2, xmm0
ja 0x10012e49
comisd xmm1, xmm0
jbe 0x10012adf
lea eax, [ebp - 0xad8]
mov ecx, esi
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.10013937
push ebx
mov eax, dword [eax]
and dword [eax + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, str.Attenuation_timeout_should_be_less_or_equal_to_final_timeout
jmp 0x10012e70
push 0x190
call fcn.1001811f
pop ecx
mov ecx, eax
call fcn.1000cf9a
xor ecx, ecx
mov ebx, eax
push 7
pop eax
mov dword [ebp - 0xabc], ecx
mov dword [ebp - 0xaac], ecx
mov dword [ebp - 0xaa8], eax
cmp byte [ebp - 0xadd], cl
je 0x10012d57
mov dword [ebp - 0xa90], eax
lea eax, [ebp - 0xadc]
push eax
push dword [ebp - 0xad8]
mov dword [ebp - 0xaa4], ecx
mov dword [ebp - 0xa94], ecx
mov dword [ebp - 0xadc], ecx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
lea eax, [ebp - 0xa4c]
mov ecx, edi
push eax
call fcn.1001502c
lea ecx, [ebp - 0xabc]
cmp ecx, eax
je 0x10012b78
mov byte [ebp - 0xae4], 0
push dword [ebp - 0xae4]
push eax
call fcn.1000c0eb
mov eax, dword [ebp - 0xaa8]
mov dword [ebp - 0xaf0], eax
lea ecx, [ebp - 0xa4c]
call fcn.1000b597
push 8
pop edi
cmp dword [ebp - 0xaf0], edi
lea eax, [ebp - 0xabc]
push dword [ebp - 0xaac]
cmovae eax, dword [ebp - 0xabc]
lea ecx, [ebp - 0xaa4]
push eax
call fcn.1000b60b
push 0x1006b2d8
lea ecx, [ebp - 0xaa4]
call fcn.1000eeff
cmp dword [ebp - 0xa78], edi
lea ecx, [ebp - 0xa8c]
push dword [ebp - 0xa7c]
cmovae ecx, dword [ebp - 0xa8c]
push ecx
mov ecx, eax
call fcn.1000f3b3
push str._ALT__
mov ecx, eax
call fcn.1000eeff
mov edx, dword [ebp - 0xadc]
lea ecx, [ebp - 0xa4c]
mov esi, eax
call fcn.10011f58
push eax
mov ecx, esi
call fcn.1000ef26
push 0x1006b934
mov ecx, eax
call fcn.1000eeff
cmp dword [ebp - 0xa78], edi
lea ecx, [ebp - 0xa8c]
push dword [ebp - 0xa7c]
cmovae ecx, dword [ebp - 0xa8c]
push ecx
mov ecx, eax
call fcn.1000f3b3
mov esi, 0x1006b93c
mov ecx, eax
push esi
call fcn.1000eeff
lea ecx, [ebp - 0xa4c]
call fcn.1000b597
mov edx, dword [ebp - 0xad8]
lea ecx, [ebp - 0xa4c]
call fcn.10011f58
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], edi
jb 0x10012c63
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xaa4]
call fcn.1000f3b3
lea ecx, [ebp - 0xa4c]
call fcn.1000b597
push esi
lea ecx, [ebp - 0xaa4]
call fcn.1000eeff
call fcn.100178b7
push 0
push 0x989680
push edx
push eax
call fcn.1003ae40
mov dword [ebp - 0xafc], eax
lea edi, [ebp - 0xa74]
push 9
xor eax, eax
mov dword [ebp - 0xaf8], edx
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xafc]
push eax
lea eax, [ebp - 0xa74]
push eax
call fcn.100239f4
lea eax, [ebp - 0xa74]
push eax
push 0x1006b940
lea eax, [ebp - 0x20c]
push 0x200
push eax
call fcn.10024e77
add esp, 0x18
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 0xaa4]
push eax
call fcn.1000eeff
push str..log
mov ecx, eax
call fcn.1000eeff
lea eax, [ebp - 0xa8c]
mov ecx, ebx
push eax
lea eax, [ebp - 0xabc]
push eax
call fcn.1000e5ca
lea ecx, [ebx + 4]
lea eax, [ebp - 0xaa4]
cmp ecx, eax
je 0x10012d40
cmp dword [ebp - 0xa90], 8
push dword [ebp - 0xa94]
cmovae eax, dword [ebp - 0xaa4]
push eax
call fcn.1000b60b
lea ecx, [ebp - 0xaa4]
call fcn.1000b597
mov esi, dword [ebp - 0xb14]
mov edi, dword [ebp - 0xb18]
mov al, byte [ebp - 0xade]
mov ecx, esi
movsd xmm0, qword [ebp - 0xb24]
mov byte [ebx + 1], al
mov al, byte [ebp - 0xadf]
mov byte [ebx + 2], al
mov al, byte [ebp - 0xae0]
movsd qword [ebx + 0x160], xmm0
movsd xmm0, qword [ebp - 0xb04]
mov byte [ebx + 0x1c], al
lea eax, [ebp - 0xad8]
movsd qword [ebx + 0x150], xmm0
movsd xmm0, qword [ebp - 0xb0c]
push eax
movsd qword [ebx + 0x158], xmm0
lea eax, [ebp - 0xaec]
movsd xmm0, qword [ebp - 0xaec]
push eax
movsd qword [ebx + 0x168], xmm0
call fcn.10013937
mov esi, dword [ebp - 0xaf4]
mov eax, dword [eax]
lea ecx, [esi + 0x6c]
mov dword [eax + 0xc], ebx
lea eax, [ebp - 0xad8]
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.10013937
mov ecx, dword [ebp - 0xb1c]
mov eax, dword [eax]
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0xabc]
call fcn.1000b597
lea ecx, [ebp - 0xb54]
call fcn.10007c2d
lea ecx, [ebp - 0xad4]
call fcn.1000b597
lea ecx, [ebp - 0xb3c]
call fcn.10007c2d
lea ecx, [ebp - 0xa8c]
call fcn.1000b597
lea ecx, [esi + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 1
push dword [ebp - 0xad8]
mov ecx, edi
call fcn.1000cf05
mov al, 1
jmp 0x10012eb8
lea eax, [ebp - 0xad8]
mov ecx, esi
push eax
lea eax, [ebp - 0xaec]
push eax
call fcn.10013937
push ebx
mov eax, dword [eax]
and dword [eax + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, str.Timeout_value_should_be_greater_than_0
push eax
push 0xfffffffffffffff0
mov ecx, edi
call fcn.10011fea
lea ecx, [ebp - 0xb54]
call fcn.10007c2d
lea ecx, [ebp - 0xad4]
call fcn.1000b597
lea ecx, [ebp - 0xb3c]
call fcn.10007c2d
lea ecx, [ebp - 0xa8c]
call fcn.1000b597
mov ebx, dword [ebp - 0xaf4]
lea ecx, [ebx + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10017f27
leave
ret 4