Function at 0x423090
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.00467ec0
push 0xffffffffffffffff
push 0x488980
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4b9b20]
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.004660d0
add esp, 0xc
call fcn.004340b0
push eax
lea ecx, [ebp + 0x1818]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x48e7ac
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 0x48e6a8
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x48e6a8
mov dword [ebp - 0x40], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x1c], eax
call fcn.0041bcf0
xor esi, esi
add esp, 4
cmp edi, esi
jne 0x423179
mov dword [ebp - 0x28], esi
jmp 0x4231a8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42318d
mov dword [ebp - 0x28], esi
jmp 0x4231a8
lea esi, [eax + eax]
mov eax, esi
call fcn.00466d60
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ed0
mov dword [ebp - 0x28], eax
xor esi, esi
mov edi, dword [ebp - 0x2c]
cmp edi, esi
jne 0x4231b4
mov dword [ebp - 0x14], esi
jmp 0x4231e3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4231c8
mov dword [ebp - 0x14], esi
jmp 0x4231e3
lea esi, [eax + eax]
mov eax, esi
call fcn.00466d60
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ed0
mov dword [ebp - 0x14], eax
xor esi, esi
mov edi, dword [ebp - 0x10]
cmp edi, esi
jne 0x4231ee
xor eax, eax
jmp 0x423217
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423201
xor eax, eax
jmp 0x423217
lea esi, [eax + eax]
mov eax, esi
call fcn.00466d60
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ed0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
push ecx
push edx
push eax
push str.OpenDoc
call fcn.0041bcf0
mov esi, dword [ebp - 0x24]
add esp, 0x10
cmp dword [esi + 0x228], 0
jne 0x42324c
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 0x4232f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.1178_errorLoadLibrary
call fcn.0041bcf0
add esp, 4
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x4be684
call fcn.004332c0
mov esi, eax
push 0x33
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4be684
mov dword [ebp - 4], edi
call fcn.004332c0
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 0x4232c0
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 0x4232e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1818]
push ecx
push 0x48f0f0
jmp 0x423b2f
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 0x423a92
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x423a92
cmp dword [ebp - 0x18], ebx
je 0x423a92
cmp eax, ebx
je 0x423a92
call ecx
cmp eax, 8
jl 0x4233ba
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x4be684
call fcn.004332c0
mov esi, eax
push 0x38
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4be684
mov dword [ebp - 4], 2
call fcn.004332c0
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.00419b80
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00419b80
push 0x48f0d0
call fcn.0041bcf0
add esp, 4
jmp 0x423b37
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00428650
mov ecx, dword [ebp - 0x24]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
call fcn.00420480
test eax, eax
jne 0x4233f3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.StartODMHookExe_error
call fcn.0041bcf0
add esp, 4
jmp 0x423b37
xor esi, esi
push str.esafenet_cdgout_exe32_20110929
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebx
jne 0x42341d
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x4233f5
jmp 0x42342f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042afd0
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x423469
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0041a8d0
call fcn.0042bc20
add esp, 4
cmp eax, ebx
je 0x423469
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
push edx
push eax
push esi
call fcn.00421fa0
jmp 0x423b39
push 0x3fe
lea edx, [ebp + 0x141a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x1418], cx
call fcn.004660d0
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.004660d0
mov eax, 5
mov word [ebp - 0xa0], ax
xor eax, eax
push 0x48f0a4
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.0041bcf0
push 0x7fe
lea edx, [ebp + 0xc1a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0xc18], cx
call fcn.004660d0
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 0x49ef00
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 0x423552
xor eax, eax
jmp 0x423570
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00466d60
mov eax, esp
push 3
push ebx
lea ecx, [ebp + 0xc18]
push ecx
push eax
call fcn.00417ed0
xor ebx, ebx
push eax
push str.CreateProcess
call fcn.0041bcf0
add esp, 8
cmp esi, ebx
je 0x42367b
mov ebx, dword [ebp - 0x48]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4235a0
or ebx, 0xffffffff
jmp 0x4235a7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4c]
push 0x48f060
mov dword [ebp - 0x2c], edx
call fcn.0041bcf0
add esp, 4
cmp ebx, 0xffffffff
jne 0x4236ac
xor ebx, ebx
push 0x48f04c
call fcn.0041bcf0
push 0x3c
lea ecx, [ebp - 0x8c]
push ebx
push ecx
call fcn.004660d0
mov esi, dword [ebp - 0x10]
lea edx, [ebp + 0x1418]
push 0x48f038
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], 0x49ef00
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.0041bcf0
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x423694
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.0041eda0
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.0041bcf0
add esp, 0xc
jmp 0x4236ac
lea eax, [ebp + 0xc18]
push eax
push 0x48f004
call fcn.0041bcf0
add esp, 8
jmp 0x4235c5
lea ecx, [ebp + 0x1418]
push ecx
push esi
push 0x48efe4
call fcn.0041bcf0
add esp, 0xc
or ebx, 0xffffffff
push 0x48efd0
call fcn.0041bcf0
add esp, 4
cmp ebx, 0xffffffff
jne 0x42372e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4be684
call fcn.004332c0
mov esi, eax
push 0x35
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4be684
mov dword [ebp - 4], 3
call fcn.004332c0
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.00419b80
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00419b80
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x1418]
push ecx
push edx
push 0x48efb0
call fcn.0041bcf0
add esp, 0xc
jmp 0x423b37
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 0x42374d
xor eax, eax
jmp 0x423779
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423760
xor eax, eax
jmp 0x423779
lea edi, [eax + eax]
mov eax, edi
call fcn.00466d60
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00417ed0
mov edi, dword [ebp - 0x24]
push eax
push 0x48ef90
call fcn.0041bcf0
push 0x60c
xor esi, esi
lea eax, [ebp + 0x60c]
push esi
push eax
call fcn.004660d0
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 al, byte [eax + 0x8d7]
mov byte [ebp + 0xbd0], cl
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 0xbd4], edx
push ecx
lea edx, [ebp + 0x620]
push edx
mov byte [ebp + 0xbd8], al
call esi
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp + 0xa20]
push ecx
call esi
lea edx, [ebp + 0x60c]
push edx
mov dword [ebp + 0x610], ebx
call dword [ebp - 0x38]
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x42386a
lea eax, [ebp + 0x1818]
push eax
push ebx
call fcn.004288f0
add esp, 8
push ebx
push 0x48ef64
call fcn.0041bcf0
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 0x423896
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x4238a7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4238a7
push edi
call eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4238b7
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4238c1
push eax
call esi
test edi, edi
je 0x4238c8
push edi
call esi
test ebx, ebx
jne 0x423919
push 1
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4be684
call fcn.004332c0
mov esi, eax
push 0x35
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4be684
mov dword [ebp - 4], 4
call fcn.004332c0
mov ecx, dword [esi]
mov edx, dword [eax]
push 0x10
push ecx
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x1c]
call fcn.00419b80
lea ecx, [ebp - 0x34]
call fcn.00419b80
jmp 0x423b37
push ebx
call esi
mov esi, dword [ebp - 0x20]
push esi
lea ecx, [ebp - 0x30]
call fcn.0041a8d0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx - 0xc]
mov dword [ebp - 4], 5
test eax, eax
jl 0x423957
push str..igs
push ecx
call fcn.004689e9
mov ecx, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x423957
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42397e
cmp dword [ecx - 0xc], 0
jl 0x4239f1
push str..igs
push ecx
call fcn.004689e9
add esp, 8
test eax, eax
je 0x4239f1
sub eax, dword [ebp - 0x30]
sar eax, 1
jne 0x4239f1
lea ecx, [ebp - 0x10]
call fcn.00419b50
push 0x4d
lea eax, [ebp - 0x1c]
mov bl, 6
push eax
mov ecx, 0x4be684
mov byte [ebp - 4], bl
call fcn.004332c0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0041a2a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00419b80
push esi
lea ecx, [ebp - 0x10]
call fcn.0041a890
push 2
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x4be684
call fcn.004332c0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
push 0
push eax
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x38]
call fcn.00419b80
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00419b80
push 0x60c
lea eax, [ebp]
push 0
push eax
call fcn.004660d0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push ecx
lea edx, [ebp + 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp]
push eax
call ebx
add esp, 4
test eax, eax
je 0x423a73
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 4]
push ecx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x423a73
mov edx, dword [ebp + 4]
push edx
push 0x48ef40
call fcn.0041bcf0
add esp, 8
push 0xffffffffffffffff
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
push eax
call dword [ebp - 0x18]
lea ecx, [ebp]
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x423a2b
push str.OpenDoc_Finsh_
call fcn.0041bcf0
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00419b80
mov eax, 1
jmp 0x423b39
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.1201_FreeLibrary_error
call fcn.0041bcf0
add esp, 4
push 1
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4be684
call fcn.004332c0
mov esi, eax
push 0x33
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x4be684
mov dword [ebp - 4], 1
call fcn.004332c0
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 ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423afd
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 0x423b23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1818]
push ecx
push 0x48eef8
call fcn.0041bcf0
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.00466d50
add ebp, 0x1a24
mov esp, ebp
pop ebp
ret 0xc