Function at 0x418b30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x487e41
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x4e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0x4fc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00449852
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x418b89
push 0x80004005
call fcn.004108b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x3fe
lea edx, [esp + 0xfe]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x510], ebx
mov word [esp + 0x104], cx
call fcn.00463850
add esp, 0xc
push 0x200
lea eax, [esp + 0xfc]
push eax
mov ecx, esi
call fcn.0040f450
push str.ODMHook.exe
lea ecx, [esp + 0xfc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.esafenet_cdgout_exe32_20110929
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
cmp esi, ebx
je 0x418c27
lea edx, [esp + 0x14]
push str.CDocumentMgr::StartODMHookExe_m_hookexe___NULL
push edx
call fcn.004135e0
mov edi, dword [esp + 0x1c]
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418df3
lea ecx, [esp + 0x14]
push str.CDocumentMgr::StartODMHookExe_m_hookexe__NULL
push ecx
call fcn.004135e0
mov edi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 8
push edi
call ebp
push 0x40
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.00463850
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push ebx
push ebx
push ebx
push ebx
mov eax, 5
mov word [esp + 0x78], ax
xor eax, eax
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
push ebx
lea eax, [esp + 0x118]
push eax
push ebx
mov dword [esp + 0x58], 0x44
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x418dd2
lea ecx, [esp + 0x78]
push 3
lea edx, [esp + 0xfc]
mov dword [esp + 0x78], ecx
push edx
lea ecx, [esp + 0x7c]
call fcn.004170e0
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xf8]
push str.1244
mov byte [esp + 0x58c], 1
rep movsd dword es:[edi], dword [esi]
call fcn.00427230
mov eax, dword [esp + 0xfc]
lea ecx, [esp + 0x100]
add esp, 0x88
mov byte [esp + 0x504], bl
cmp eax, ecx
je 0x418d0c
push eax
call fcn.00463c35
add esp, 4
lea edx, [esp + 0x14]
push str.CDocumentMgr::StartODMHookExe_CreateProcess__false
push edx
call fcn.004135e0
mov edi, dword [esp + 0x1c]
add esp, 8
push edi
call ebp
push 1
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x34
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x4c2864
mov byte [esp + 0x50c], 2
call fcn.00430a90
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x504], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418da7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x504], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418dce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x418e1b
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x504], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e4]
xor ecx, esp
call fcn.004644d0
add esp, 0x4f4
ret