Function at 0x10019fc0
Capabilities:
Get process image filename
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb80
mov eax, dword [0x1007b054]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xb08], eax
push edi
mov dword [ebp - 0xb10], ebx
call fcn.1001cc80
mov esi, eax
lea eax, [ebx + 0x34]
push eax
mov dword [ebp - 0xb18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0xb14]
push eax
lea ecx, [ebx + 0x4c]
call fcn.1001c460
mov eax, dword [ebx + 0x50]
cmp dword [ebp - 0xb14], eax
jne 0x1001b3ec
push 6
push str.COMMON
lea ecx, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0
mov dword [ebp - 0xa84], 0
mov dword [ebp - 0xa80], 7
call fcn.10010480
push dword [ebp - 0xb08]
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0xb1c], edi
test edi, edi
je 0x1001a1c3
push 0x208
lea eax, [ebp - 0x44c]
push 0
push eax
call fcn.10023f30
add esp, 0xc
lea eax, [ebp - 0x44c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x1001a1c3
push 0x208
lea eax, [ebp - 0xa64]
push 0
push eax
call fcn.10023f30
add esp, 0xc
lea eax, [ebp - 0x85c]
push 0x208
push 0
push eax
call fcn.10023f30
add esp, 0xc
lea eax, [ebp - 0x244]
push 0x208
push 0
push eax
call fcn.10023f30
add esp, 0xc
lea eax, [ebp - 0x654]
push 0x208
push 0
push eax
call fcn.10023f30
add esp, 0xc
lea eax, [ebp - 0x654]
push 0x104
push eax
push 0x104
lea eax, [ebp - 0x244]
push eax
push 0x104
lea eax, [ebp - 0x85c]
push eax
push 0x104
lea eax, [ebp - 0xa64]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.1002df09
lea ecx, [ebp - 0x244]
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a147
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa94]
call fcn.10010480
cmp dword [ebp - 0xa80], 8
lea edi, [ebp - 0xa94]
jb 0x1001a184
mov ecx, dword [ebp - 0xa94]
mov esi, ecx
mov edi, ecx
jmp 0x1001a18c
lea ecx, [ebp - 0xa94]
mov esi, ecx
mov eax, dword [ebp - 0xa84]
lea ebx, [ecx + eax*2]
cmp esi, ebx
je 0x1001a1b7
sub edi, esi
nop dword [eax + eax]
movzx eax, word [esi]
push eax
call fcn.1002f21c
mov word [esi + edi], ax
add esp, 4
add esi, 2
cmp esi, ebx
jne 0x1001a1a0
mov edi, dword [ebp - 0xb1c]
mov esi, dword [ebp - 0xb18]
call fcn.1001cc80
cmp dword [ebp - 0xa80], 8
lea ecx, [ebp - 0xa94]
cmovae ecx, dword [ebp - 0xa94]
push ecx
lea ecx, [ebp - 0xb5c]
push ecx
mov ecx, eax
call fcn.1001e790
movzx eax, byte [ebp - 0xb54]
test eax, eax
je 0x1001b37b
cmp eax, 6
je 0x1001a20f
cmp eax, 7
jne 0x1001a244
mov eax, dword [ebp - 0xb5c]
mov eax, dword [eax + 4]
jmp 0x1001a23c
mov eax, dword [ebp - 0xb5c]
cmp dword [eax + 4], 0
je 0x1001b37b
mov eax, dword [eax]
lea ecx, [ebp - 0xb14]
mov dword [ebp - 0xb14], eax
call fcn.1000d140
mov eax, dword [ebp - 0xb14]
mov eax, dword [eax + 0x14]
inc eax
test eax, eax
je 0x1001b37b
sub esp, 8
lea ecx, [ebp - 0xadc]
mov eax, esp
mov dword [eax], str.DefaultSettings
mov dword [eax + 4], 0xf
call fcn.10017ba0
add esp, 8
call fcn.1001cc80
cmp dword [ebp - 0xac8], 8
lea ecx, [ebp - 0xadc]
cmovae ecx, dword [ebp - 0xadc]
push ecx
lea ecx, [ebp - 0xb74]
push ecx
mov ecx, eax
call fcn.1001e790
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [0x100760a8]
lea ecx, [ebp - 0xb74]
push 0x10075249
push str.Threshold
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb44], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [0x100760f0]
lea ecx, [ebp - 0xb74]
push 0x100757ea
push str.FirstEvaluationTimeSec
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb3c], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [0x10076100]
lea ecx, [ebp - 0xb74]
push 0x10075800
push str.EvaluationTimeoutSec
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb34], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [0x10076098]
lea ecx, [ebp - 0xb74]
push 0x1007580e
push str.DiscretSec
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb24], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 5
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
push 0x10075815
push str.UseIO
lea ecx, [ebp - 0xb74]
mov byte [ebp - 0xa7c], 1
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 5
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
push 0x1007581e
push str.UseCPU
lea ecx, [ebp - 0xb74]
mov byte [ebp - 0xa7c], 0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov bh, al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
mov dword [ebp - 0xa70], 0
lea ecx, [ebp - 0xa7c]
push 5
call fcn.1000c470
push 0x10075828
push str.WriteLog
lea ecx, [ebp - 0xb74]
mov byte [ebp - 0xa7c], 0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb01], al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 5
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
push 0x1007583b
push str.ReportLoadtime0
lea ecx, [ebp - 0xb74]
mov byte [ebp - 0xa7c], 0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb02], al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [ebp - 0xb44]
lea ecx, [ebp - 0xb5c]
push 0x10075249
push str.Threshold
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb2c], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [ebp - 0xb3c]
lea ecx, [ebp - 0xb5c]
push 0x100757ea
push str.FirstEvaluationTimeSec
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb3c], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [ebp - 0xb34]
lea ecx, [ebp - 0xb5c]
push 0x10075800
push str.EvaluationTimeoutSec
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb44], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 3
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
movsd xmm0, qword [ebp - 0xb24]
lea ecx, [ebp - 0xb5c]
push 0x1007580e
push str.DiscretSec
movsd qword [ebp - 0xa7c], xmm0
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000bfd0
lea ecx, [ebp - 0x2c]
movsd qword [ebp - 0xb7c], xmm0
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 5
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
push 0x10075815
push str.UseIO
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 0xa7c], bl
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb09], al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
mov dword [ebp - 0xa70], 0
push 0
push 5
lea ecx, [ebp - 0xa7c]
call fcn.1000c470
push 0x1007581e
push str.UseCPU
lea ecx, [ebp - 0xb5c]
mov byte [ebp - 0xa7c], bh
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb0a], al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 5
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
mov al, byte [ebp - 0xb01]
lea ecx, [ebp - 0xb5c]
push 0x10075828
push str.WriteLog
mov byte [ebp - 0xa7c], al
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb01], al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
push 0
push 5
lea ecx, [ebp - 0xa7c]
mov dword [ebp - 0xa70], 0
call fcn.1000c470
mov al, byte [ebp - 0xb02]
lea ecx, [ebp - 0xb5c]
push 0x1007583b
push str.ReportLoadtime0
mov byte [ebp - 0xa7c], al
call fcn.1000c840
test eax, eax
lea ecx, [ebp - 0xa7c]
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000b9b0
lea ecx, [ebp - 0x2c]
call fcn.1000c0b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb02], al
call fcn.1000b9e0
lea ecx, [ebp - 0xa7c]
call fcn.1000b9e0
movsd xmm1, qword [0x100760c8]
movsd xmm2, qword [ebp - 0xb3c]
comisd xmm1, xmm2
ja 0x1001b2bc
movsd xmm0, qword [ebp - 0xb44]
comisd xmm1, xmm0
ja 0x1001b2bc
comisd xmm2, xmm0
jbe 0x1001aa0a
mov ebx, dword [ebp - 0xb10]
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [ebx + 0x4c]
call fcn.1001c500
push edi
mov eax, dword [eax]
mov dword [eax + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 4]
push edi
call eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001a9fd
push str.Attenuation_timeout_should_be_less_or_equal_to_final_timeout
push 0xfffffffffffffff0
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call eax
jmp 0x1001b311
push 0x190
call fcn.10022452
mov esi, eax
add esp, 4
mov ebx, 6
mov dword [esi + 4], 0
lea edi, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi], 0x100
mov byte [esi + 2], 0
mov byte [esi + 0x1c], 0
mov ecx, edi
call fcn.100157c0
add edi, 0xc
sub ebx, 1
jne 0x1001aa43
lea edi, [esi + 0x68]
mov ebx, 6
nop word [eax + eax]
mov ecx, edi
call fcn.100157c0
add edi, 0xc
sub ebx, 1
jne 0x1001aa60
lea edi, [esi + 0xb0]
mov ebx, 6
nop word [eax + eax]
mov ecx, edi
call fcn.100157c0
add edi, 0xc
sub ebx, 1
jne 0x1001aa80
mov dword [esi + 0x144], ebx
mov ecx, esi
mov dword [esi + 0x148], 7
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
movaps xmm0, xmmword [0x10076190]
movups xmmword [esi + 0x150], xmm0
movaps xmm0, xmmword [0x10076180]
movups xmmword [esi + 0x160], xmm0
xorps xmm0, xmm0
movups xmmword [esi + 0x170], xmm0
movups xmmword [esi + 0x180], xmm0
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xb4], eax
movups xmmword [esi + 0xf8], xmm0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x74]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0xbc]
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x80]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xcc], eax
movups xmmword [esi + 0x108], xmm0
mov eax, dword [esi + 0x44]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0xd4]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0xe0]
mov dword [esi + 0xe4], eax
movups xmmword [esi + 0x118], xmm0
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xec]
mov dword [esi + 0xf0], eax
call fcn.10012b20
xor edi, edi
mov ebx, 7
cmp byte [ebp - 0xb01], 0
mov dword [ebp - 0xac4], edi
mov dword [ebp - 0xab4], edi
mov dword [ebp - 0xab0], ebx
je 0x1001b0c1
lea eax, [ebp - 0xb14]
mov dword [ebp - 0xaac], edi
push eax
push dword [ebp - 0xb08]
mov dword [ebp - 0xa9c], edi
mov dword [ebp - 0xa98], ebx
mov dword [ebp - 0xb14], edi
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov ecx, dword [ebp - 0xb18]
lea eax, [ebp - 0x2c]
push eax
call fcn.1001ea40
lea ecx, [ebp - 0xac4]
cmp ecx, eax
je 0x1001ac40
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0xac4], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0xac4]
movq qword [ebp - 0xab4], xmm0
mov dword [eax + 0x14], ebx
mov ebx, dword [ebp - 0xab0]
mov word [eax], cx
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1001ac7a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ac70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b40b
push edx
push ecx
call fcn.10022487
add esp, 8
push dword [ebp - 0xab4]
cmp ebx, 8
lea eax, [ebp - 0xac4]
lea ecx, [ebp - 0xaac]
cmovae eax, edi
push eax
call fcn.10010480
push 1
push 0x100752c0
lea ecx, [ebp - 0xaac]
call fcn.10015e50
cmp dword [ebp - 0xa80], 8
lea ecx, [ebp - 0xa94]
push dword [ebp - 0xa84]
cmovae ecx, dword [ebp - 0xa94]
push ecx
mov ecx, eax
call fcn.10015e50
push 6
push str._ALT__
mov ecx, eax
call fcn.10015e50
mov ecx, dword [ebp - 0xb14]
lea edi, [ebp - 0x12]
mov dword [ebp - 0xb20], eax
nop dword [eax]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x1001acf0
lea eax, [ebp - 0x12]
mov dword [ebp - 0xa7c], ecx
mov dword [ebp - 0xa6c], edx
mov ebx, 7
mov dword [ebp - 0xa68], ebx
cmp edi, eax
je 0x1001ad51
sub eax, edi
lea ecx, [ebp - 0xa7c]
sar eax, 1
push eax
push edi
call fcn.10010480
mov ebx, dword [ebp - 0xa68]
mov edx, dword [ebp - 0xa6c]
mov ecx, dword [ebp - 0xa7c]
cmp ebx, 8
lea eax, [ebp - 0xa7c]
push edx
cmovae eax, ecx
mov ecx, dword [ebp - 0xb20]
push eax
call fcn.10015e50
push 2
push 0x1007591c
mov ecx, eax
call fcn.10015e50
cmp dword [ebp - 0xa80], 8
lea ecx, [ebp - 0xa94]
push dword [ebp - 0xa84]
cmovae ecx, dword [ebp - 0xa94]
push ecx
mov ecx, eax
call fcn.10015e50
push 1
push 0x10075924
mov ecx, eax
call fcn.10015e50
mov edx, dword [ebp - 0xa68]
cmp edx, 8
jb 0x1001ade8
mov ecx, dword [ebp - 0xa7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001adde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b415
push edx
push ecx
call fcn.10022487
add esp, 8
mov ecx, dword [ebp - 0xb08]
lea edi, [ebp - 0x12]
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x1001adf1
lea eax, [ebp - 0x12]
mov dword [ebp - 0xa7c], ecx
mov dword [ebp - 0xa6c], edx
mov ebx, 7
mov dword [ebp - 0xa68], ebx
cmp edi, eax
je 0x1001ae52
sub eax, edi
lea ecx, [ebp - 0xa7c]
sar eax, 1
push eax
push edi
call fcn.10010480
mov ebx, dword [ebp - 0xa68]
mov edx, dword [ebp - 0xa6c]
mov ecx, dword [ebp - 0xa7c]
cmp ebx, 8
lea eax, [ebp - 0xa7c]
push edx
cmovae eax, ecx
lea ecx, [ebp - 0xaac]
push eax
call fcn.10015e50
mov edx, dword [ebp - 0xa68]
cmp edx, 8
jb 0x1001aeab
mov ecx, dword [ebp - 0xa7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001aea1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b415
push edx
push ecx
call fcn.10022487
add esp, 8
push 1
push 0x10075924
lea ecx, [ebp - 0xaac]
call fcn.10015e50
call fcn.10021bea
push 0
push 0x989680
push edx
push eax
call fcn.10045110
mov dword [ebp - 0xb34], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xb34]
mov dword [ebp - 0xb30], edx
push eax
lea eax, [ebp - 0xb00]
mov dword [ebp - 0xae0], 0
push eax
movups xmmword [ebp - 0xb00], xmm0
movups xmmword [ebp - 0xaf0], xmm0
call fcn.1002dcd4
lea eax, [ebp - 0xb00]
push eax
push 0x10075928
lea eax, [ebp - 0x23c]
push 0x200
push eax
call fcn.1002f157
lea ecx, [ebp - 0x23c]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001af33
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xaac]
call fcn.10015e50
push 4
push str..log
mov ecx, eax
call fcn.10015e50
lea eax, [ebp - 0xac4]
push eax
lea ecx, [ebp - 0xa7c]
call fcn.100157e0
push 1
push 0x100752c0
lea ecx, [ebp - 0xa7c]
call fcn.10015e50
cmp dword [ebp - 0xa80], 8
lea ecx, [ebp - 0xa94]
push dword [ebp - 0xa84]
cmovae ecx, dword [ebp - 0xa94]
push ecx
mov ecx, eax
call fcn.10015e50
push 1
push 0x100752c0
mov ecx, eax
call fcn.10015e50
cmp dword [ebp - 0xa68], 8
lea ecx, [ebp - 0xa7c]
mov eax, dword [ebp - 0xa6c]
jb 0x1001afd7
mov ecx, dword [ebp - 0xa7c]
lea eax, [ecx + eax*2]
jmp 0x1001afe0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0xa7c]
cmp ecx, eax
je 0x1001b000
mov edx, 0x5c
nop dword [eax]
cmp word [ecx], 0x2f
jne 0x1001aff9
mov word [ecx], dx
add ecx, 2
cmp ecx, eax
jne 0x1001aff0
lea eax, [ebp - 0xa7c]
mov ecx, esi
push eax
call fcn.10014790
mov edx, dword [ebp - 0xa68]
cmp edx, 8
jb 0x1001b04e
mov ecx, dword [ebp - 0xa7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b410
push edx
push ecx
call fcn.10022487
add esp, 8
lea eax, [ebp - 0xaac]
lea ecx, [esi + 4]
cmp ecx, eax
je 0x1001b075
cmp dword [ebp - 0xa98], 8
push dword [ebp - 0xa9c]
cmovae eax, dword [ebp - 0xaac]
push eax
call fcn.10010480
mov edx, dword [ebp - 0xa98]
cmp edx, 8
jb 0x1001b0b5
mov ecx, dword [ebp - 0xaac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b0ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b415
push edx
push ecx
call fcn.10022487
add esp, 8
mov edi, dword [ebp - 0xac4]
mov ebx, dword [ebp - 0xab0]
mov al, byte [ebp - 0xb09]
movsd xmm0, qword [ebp - 0xb7c]
mov ecx, dword [ebp - 0xb10]
mov byte [esi + 1], al
mov al, byte [ebp - 0xb0a]
mov byte [esi + 2], al
mov al, byte [ebp - 0xb02]
lea ecx, [ecx + 0x4c]
movsd qword [esi + 0x160], xmm0
movsd xmm0, qword [ebp - 0xb3c]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0xb08]
movsd qword [esi + 0x150], xmm0
movsd xmm0, qword [ebp - 0xb44]
push eax
movsd qword [esi + 0x158], xmm0
lea eax, [ebp - 0xb2c]
movsd xmm0, qword [ebp - 0xb2c]
push eax
movsd qword [esi + 0x168], xmm0
call fcn.1001c500
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea eax, [ebp - 0xb08]
mov esi, dword [ebp - 0xb10]
push eax
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [esi + 0x6c]
call fcn.1001c500
mov ecx, dword [ebp - 0xb1c]
mov eax, dword [eax]
mov dword [eax + 0xc], ecx
cmp ebx, 8
jb 0x1001b198
lea ebx, [ebx*2 + 2]
mov eax, edi
cmp ebx, 0x1000
jb 0x1001b18e
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b41a
push ebx
push edi
call fcn.10022487
add esp, 8
lea ecx, [ebp - 0xb74]
call fcn.1000b9e0
mov edx, dword [ebp - 0xac8]
cmp edx, 8
jb 0x1001b1e3
mov ecx, dword [ebp - 0xadc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b1d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b41a
push edx
push ecx
call fcn.10022487
add esp, 8
xor eax, eax
mov dword [ebp - 0xacc], 0
lea ecx, [ebp - 0xb5c]
mov dword [ebp - 0xac8], 7
mov word [ebp - 0xadc], ax
call fcn.1000b9e0
mov edx, dword [ebp - 0xa80]
cmp edx, 8
jb 0x1001b24b
mov ecx, dword [ebp - 0xa94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b241
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b41a
push edx
push ecx
call fcn.10022487
add esp, 8
xor eax, eax
mov dword [ebp - 0xa84], 0
mov word [ebp - 0xa94], ax
lea eax, [esi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
mov dword [ebp - 0xa80], 7
call esi
mov ebx, dword [ebp - 0xb18]
mov eax, dword [ebp - 0xb08]
mov dword [ebp - 0xb20], eax
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [ebx + 4]
push edi
call eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1001b2a4
push 0
push 1
push dword [ebp - 0xb20]
call eax
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1002225a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xb10]
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0xb2c]
push eax
lea ecx, [ecx + 0x4c]
call fcn.1001c500
push edi
mov eax, dword [eax]
mov dword [eax + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 4]
push edi
call eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1001b303
push str.Timeout_value_should_be_greater_than_0
push 0xfffffffffffffff0
call eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call eax
mov ebx, dword [ebp - 0xb10]
lea ecx, [ebp - 0xb74]
call fcn.1000b9e0
mov edx, dword [ebp - 0xac8]
cmp edx, 8
jb 0x1001b35c
mov ecx, dword [ebp - 0xadc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b352
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b41a
push edx
push ecx
call fcn.10022487
add esp, 8
xor eax, eax
mov dword [ebp - 0xacc], 0
mov dword [ebp - 0xac8], 7
mov word [ebp - 0xadc], ax
jmp 0x1001b388
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xb10]
lea ecx, [ebp - 0xb5c]
call fcn.1000b9e0
mov edx, dword [ebp - 0xa80]
cmp edx, 8
jb 0x1001b3cf
mov ecx, dword [ebp - 0xa94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b3c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b41a
push edx
push ecx
call fcn.10022487
add esp, 8
xor eax, eax
mov dword [ebp - 0xa84], 0
mov dword [ebp - 0xa80], 7
mov word [ebp - 0xa94], ax
lea eax, [ebx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002225a
mov esp, ebp
pop ebp
ret 4
call fcn.1002b828
call fcn.1002b828
call fcn.1002b828
call fcn.1002b828
int3