Function at 0x423ca0
Capabilities:
Check mutex on windows
Create process on windows
Create process suspended
Link many functions at runtime
Resume thread

Disassembly:
push ebp
lea ebp, [esp - 0x1a24]
mov eax, 0x1a24
call fcn.004681d0
push 0xffffffffffffffff
push 0x489630
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4b9b30]
xor eax, ebp
mov dword [ebp + 0x1a20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1a2c]
mov edi, dword [ebp + 0x1a34]
xor edx, edx
push 0x206
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x1a30]
push edx
lea eax, [ebp + 0x181a]
push eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], edi
mov word [ebp + 0x1818], dx
call fcn.00466350
add esp, 0xc
call fcn.00434510
push eax
lea ecx, [ebp + 0x1818]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.ODMHook.dll
lea edx, [ebp + 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.NtSuspendProcess
push 0x48f728
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x48f728
mov dword [ebp - 0x40], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x1c], eax
call fcn.0042bae0
xor esi, esi
add esp, 4
cmp edi, esi
jne 0x423d89
mov dword [ebp - 0x28], esi
jmp 0x423db8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423d9d
mov dword [ebp - 0x28], esi
jmp 0x423db8
lea esi, [eax + eax]
mov eax, esi
call fcn.00466fe0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ec0
mov dword [ebp - 0x28], eax
xor esi, esi
mov edi, dword [ebp - 0x2c]
cmp edi, esi
jne 0x423dc4
mov dword [ebp - 0x14], esi
jmp 0x423df3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423dd8
mov dword [ebp - 0x14], esi
jmp 0x423df3
lea esi, [eax + eax]
mov eax, esi
call fcn.00466fe0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ec0
mov dword [ebp - 0x14], eax
xor esi, esi
mov edi, dword [ebp - 0x10]
cmp edi, esi
jne 0x423dfe
xor eax, eax
jmp 0x423e27
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423e11
xor eax, eax
jmp 0x423e27
lea esi, [eax + eax]
mov eax, esi
call fcn.00466fe0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ec0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push eax
push str.OpenDoc
call fcn.0042bae0
mov esi, dword [ebp - 0x24]
add esp, 0x10
cmp dword [esi + 0x228], 0
jne 0x423e5c
lea eax, [ebp + 0x1818]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x228], eax
mov edi, dword [esi + 0x228]
test edi, edi
jne 0x423f07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.1178_errorLoadLibrary
call fcn.0042bae0
add esp, 4
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x33
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4be544
mov dword [ebp - 4], edi
call fcn.00433720
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ed0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1818]
push ecx
push 0x490098
jmp 0x424733
push str.CControlDll_Add
push edi
call ebx
push str.CControlDll_GetNum
mov esi, eax
push edi
mov dword [ebp - 0x38], esi
call ebx
push str.CControlDll_Del
push edi
mov dword [ebp - 0x14], eax
call ebx
push str.CControlDll_GetByPwd
push edi
mov dword [ebp - 0x18], eax
call ebx
xor ebx, ebx
mov dword [ebp - 0x3c], eax
cmp esi, ebx
je 0x424696
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x424696
cmp dword [ebp - 0x18], ebx
je 0x424696
cmp eax, ebx
je 0x424696
call ecx
cmp eax, 8
jl 0x423fca
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x38
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4be544
mov dword [ebp - 4], 2
call fcn.00433720
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x18]
call fcn.00419b60
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00419b60
push 0x490078
call fcn.0042bae0
add esp, 4
jmp 0x42473b
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004290f0
mov ecx, dword [ebp - 0x24]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
call fcn.00421200
test eax, eax
jne 0x424003
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.StartODMHookExe_error
call fcn.0042bae0
add esp, 4
jmp 0x42473b
xor esi, esi
push str.esafenet_cdgout_exe32_20110929_NewVersion
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebx
jne 0x42402d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x424005
jmp 0x42403f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042ba90
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x424079
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0041a8b0
call fcn.0042c870
add esp, 4
cmp eax, ebx
je 0x424079
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
push edx
push eax
push esi
call fcn.00422bb0
jmp 0x42473d
push 0x3fe
lea edx, [ebp + 0x141a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x1418], cx
call fcn.00466350
mov eax, dword [ebp - 0x2c]
add esp, 0xc
push eax
lea ecx, [ebp + 0x1418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea edx, [ebp - 0xcc]
push ebx
push edx
call fcn.00466350
mov eax, 5
mov word [ebp - 0xa0], ax
xor eax, eax
push 0x49004c
mov dword [ebp - 0xd0], 0x44
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0042bae0
push 0x7fe
lea edx, [ebp + 0xc1a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0xc18], cx
call fcn.00466350
lea eax, [ebp + 0x1418]
push eax
push esi
lea ecx, [ebp + 0xc18]
push str._s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x2c
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xd0]
push eax
push 0x49fc60
push ebx
push 4
push ebx
push ebx
push ebx
lea ecx, [ebp + 0xc18]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edx, [ebp + 0xc18]
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424162
xor eax, eax
jmp 0x424180
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00466fe0
mov eax, esp
push 3
push ebx
lea ecx, [ebp + 0xc18]
push ecx
push eax
call fcn.00417ec0
xor ebx, ebx
push eax
push str.CreateProcess
call fcn.0042bae0
add esp, 8
cmp esi, ebx
je 0x42428b
mov ebx, dword [ebp - 0x48]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4241b0
or ebx, 0xffffffff
jmp 0x4241b7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4c]
push 0x490008
mov dword [ebp - 0x2c], edx
call fcn.0042bae0
add esp, 4
cmp ebx, 0xffffffff
jne 0x4242bc
xor ebx, ebx
push 0x48fff4
call fcn.0042bae0
push 0x3c
lea ecx, [ebp - 0x8c]
push ebx
push ecx
call fcn.00466350
mov esi, dword [ebp - 0x10]
lea edx, [ebp + 0x1418]
push 0x48ffe0
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x88], 0x40
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], str.open
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], 0x49fc60
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x54], ebx
call fcn.0042bae0
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4242a4
mov ecx, dword [ebp - 0x54]
push ecx
call dword [ebp - 0x40]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
push edx
call fcn.0041fc70
mov ebx, eax
push 1
push ebx
call fcn.00402030
mov eax, dword [ebp - 0x54]
push str.ShellExecuteEx
mov dword [ebp - 0x14], eax
call fcn.0042bae0
add esp, 0xc
jmp 0x4242bc
lea eax, [ebp + 0xc18]
push eax
push 0x48ffac
call fcn.0042bae0
add esp, 8
jmp 0x4241d5
lea ecx, [ebp + 0x1418]
push ecx
push esi
push 0x48ff8c
call fcn.0042bae0
add esp, 0xc
or ebx, 0xffffffff
push 0x48ff78
call fcn.0042bae0
add esp, 4
cmp ebx, 0xffffffff
jne 0x42433e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x35
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4be544
mov dword [ebp - 4], 3
call fcn.00433720
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x40]
call fcn.00419b60
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00419b60
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x1418]
push ecx
push edx
push 0x48ff58
call fcn.0042bae0
add esp, 0xc
jmp 0x42473b
push 1
push ebx
call fcn.00402030
mov edi, dword [ebp - 0x24]
lea esi, [edi + 0x230]
add esp, 8
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x42435d
xor eax, eax
jmp 0x424389
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424370
xor eax, eax
jmp 0x424389
lea edi, [eax + eax]
mov eax, edi
call fcn.00466fe0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00417ec0
mov edi, dword [ebp - 0x24]
push eax
push 0x48ff38
call fcn.0042bae0
push 0x60c
xor esi, esi
lea eax, [ebp + 0x60c]
push esi
push eax
call fcn.00466350
movzx ecx, byte [edi + 0x763]
mov edx, dword [edi + 0x75b]
add esp, 0x14
lea eax, [edi + 0x764]
mov dword [ebp + 0x61c], ecx
push eax
lea ecx, [ebp + 0xa70]
push ecx
mov dword [ebp + 0x60c], esi
mov dword [ebp + 0x610], esi
mov dword [ebp + 0x618], esi
mov dword [ebp + 0x614], edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x8c0]
lea esi, [edi + 0x864]
mov ecx, 0x17
lea edi, [ebp + 0xb70]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x8d6]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp + 0xbcc], edx
movzx edx, byte [eax + 0x75f]
mov eax, dword [ebp - 0x20]
mov byte [ebp + 0xbd0], cl
push eax
lea ecx, [ebp + 0x620]
push ecx
mov dword [ebp + 0xbd4], edx
call esi
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp + 0xa20]
push eax
call esi
lea ecx, [ebp + 0x60c]
push ecx
mov dword [ebp + 0x610], ebx
call dword [ebp - 0x38]
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x42446e
lea edx, [ebp + 0x1818]
push edx
push ebx
call fcn.00429390
add esp, 8
push ebx
push 0x48ff0c
call fcn.0042bae0
add esp, 8
push ebx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42449a
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4244ab
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4244ab
push edi
call eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4244bb
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4244c5
push eax
call esi
test edi, edi
je 0x4244cc
push edi
call esi
test ebx, ebx
jne 0x42451d
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x35
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x4be544
mov dword [ebp - 4], 4
call fcn.00433720
mov edx, dword [esi]
mov eax, dword [eax]
push 0x10
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x1c]
call fcn.00419b60
lea ecx, [ebp - 0x34]
call fcn.00419b60
jmp 0x42473b
push ebx
call esi
mov esi, dword [ebp - 0x20]
push esi
lea ecx, [ebp - 0x30]
call fcn.0041a8b0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx - 0xc]
mov dword [ebp - 4], 5
test eax, eax
jl 0x42455b
push str..igs
push ecx
call fcn.00468cf9
mov ecx, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x42455b
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x424582
cmp dword [ecx - 0xc], 0
jl 0x4245f5
push str..igs
push ecx
call fcn.00468cf9
add esp, 8
test eax, eax
je 0x4245f5
sub eax, dword [ebp - 0x30]
sar eax, 1
jne 0x4245f5
lea ecx, [ebp - 0x10]
call fcn.00419b30
push 0x4b
lea ecx, [ebp - 0x1c]
push ecx
mov bl, 6
mov ecx, 0x4be544
mov byte [ebp - 4], bl
call fcn.00433720
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0041a280
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00419b60
push esi
lea ecx, [ebp - 0x10]
call fcn.0041a870
push 2
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x4be544
call fcn.00433720
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x38]
call fcn.00419b60
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00419b60
push 0x60c
lea ecx, [ebp]
push 0
push ecx
call fcn.00466350
mov edx, dword [ebp - 0x28]
add esp, 0xc
push edx
lea eax, [ebp + 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [ebp - 0x3c]
lea ecx, [ebp]
push ecx
call ebx
add esp, 4
test eax, eax
je 0x424677
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 4]
push edx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x424677
mov eax, dword [ebp + 4]
push eax
push 0x48fee8
call fcn.0042bae0
add esp, 8
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp]
push ecx
call dword [ebp - 0x18]
lea edx, [ebp]
push edx
call ebx
add esp, 8
test eax, eax
jne 0x42462f
push str.OpenDoc_Finsh_
call fcn.0042bae0
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00419b60
mov eax, 1
jmp 0x42473d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.1201_FreeLibrary_error
call fcn.0042bae0
add esp, 4
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4be544
call fcn.00433720
mov esi, eax
push 0x33
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, 0x4be544
mov dword [ebp - 4], 1
call fcn.00433720
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 [ebp - 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424701
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424727
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1818]
push ecx
push 0x48fea0
call fcn.0042bae0
add esp, 8
xor eax, eax
lea esp, [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1a20]
xor ecx, ebp
call fcn.00466fd0
add ebp, 0x1a24
mov esp, ebp
pop ebp
ret 0xc