Function at 0x4644f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e128
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x492fd0]
test eax, eax
jne 0x464530
push eax
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [0x492fd0], eax
test eax, eax
je 0x46472b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x464724
push esi
mov esi, dword [0x492fcc]
test esi, esi
jne 0x46457e
push 0x40
call fcn.0043feef
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x46456f
mov ecx, eax
call fcn.004634e0
mov esi, eax
jmp 0x464571
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x492fcc], esi
push 0
push 1
push dword [0x492fd0]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x464713
test esi, esi
je 0x464713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00417180
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 4
push str.Failed_to_release_the_ACQLogFile_semaphore
push eax
call fcn.00462e30
add esp, 0x14
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.0040ced0
push 0
push 0x4820b7
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0040d200
push 0
push 0x4820b7
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.0040d200
push 0x47fdb4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
mov dword [ebp - 0x10], 0x3e7
call fcn.00406950
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.0040cf60
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], 2
push eax
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00463cf0
lea ecx, [ebp - 0x78]
call fcn.0040ced0
lea ecx, [ebp - 0x90]
call fcn.004068f0
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x4646d7
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4646cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464796
push edx
push ecx
call fcn.0043febe
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x46470b
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x464701
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464796
push edx
push ecx
call fcn.0043febe
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.0040ced0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.Failed_to_access_the_ACQLogFile_object
jmp 0x464780
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00417180
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push str.Failed_to_create_the_ACQLogFile_semaphore
push eax
call fcn.00462e30
add esp, 0x14
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.0040ced0
lea ecx, [ebp - 0x78]
call fcn.0040ce50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Failed_to_create_the_ACQLogFile_object
lea ecx, [ebp - 0x24]
call fcn.00408060
push 0x48b2fc
lea eax, [ebp - 0x24]
push eax
call fcn.00441beb
call fcn.004453c3
int3