Function at 0x466c40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x487d58
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov eax, dword [0x4b4a8c]
test eax, eax
jne 0x466c80
push eax
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [0x4b4a8c], eax
test eax, eax
je 0x466e7b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x466e74
push esi
mov esi, dword [0x4b4a88]
test esi, esi
jne 0x466cce
push 0x40
call fcn.0044183e
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x466cbf
mov ecx, eax
call fcn.00465da0
mov esi, eax
jmp 0x466cc1
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x4b4a88], esi
push 0
push 1
push dword [0x4b4a8c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x466e63
test esi, esi
je 0x466e63
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.00419020
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 4
push str.Failed_to_release_the_ACQLogFile_semaphore
push eax
call fcn.004656f0
add esp, 0x14
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 6
call fcn.00408080
push 0
push 0x49c013
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.00409050
push 0
push 0x49c013
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.00409050
push 0x49c48c
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 8
mov dword [ebp - 0x10], 0x3e7
call fcn.00407e70
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.004081f0
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.004665b0
lea ecx, [ebp - 0x78]
call fcn.00408080
lea ecx, [ebp - 0x90]
call fcn.00407e10
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x466e27
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466e1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466ee6
push edx
push ecx
call fcn.00441bd4
add esp, 8
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x466e5b
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x466e51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x466ee6
push edx
push ecx
call fcn.00441bd4
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00408080
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 0x466ed0
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.00419020
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 4], 0
push str.Failed_to_create_the_ACQLogFile_semaphore
push eax
call fcn.004656f0
add esp, 0x14
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00408080
lea ecx, [ebp - 0x78]
call fcn.00408000
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Failed_to_create_the_ACQLogFile_object
lea ecx, [ebp - 0x24]
call fcn.00406b30
push 0x4a9fbc
lea eax, [ebp - 0x24]
push eax
call fcn.0044338d
call fcn.00449ddd
int3