Function at 0x423070
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.00467fe0
push 0xffffffffffffffff
push 0x488ad0
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.004661f0
add esp, 0xc
call fcn.00434050
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.0042afa0
xor esi, esi
add esp, 4
cmp edi, esi
jne 0x423159
mov dword [ebp - 0x28], esi
jmp 0x423188
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42316d
mov dword [ebp - 0x28], esi
jmp 0x423188
lea esi, [eax + eax]
mov eax, esi
call fcn.00466e80
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 0x423194
mov dword [ebp - 0x14], esi
jmp 0x4231c3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4231a8
mov dword [ebp - 0x14], esi
jmp 0x4231c3
lea esi, [eax + eax]
mov eax, esi
call fcn.00466e80
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 0x4231ce
xor eax, eax
jmp 0x4231f7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4231e1
xor eax, eax
jmp 0x4231f7
lea esi, [eax + eax]
mov eax, esi
call fcn.00466e80
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.0042afa0
mov esi, dword [ebp - 0x24]
add esp, 0x10
cmp dword [esi + 0x228], 0
jne 0x42322c
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 0x4232d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.1178_errorLoadLibrary
call fcn.0042afa0
add esp, 4
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, 0x4be684
call fcn.00433260
mov esi, eax
push 0x33
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4be684
mov dword [ebp - 4], edi
call fcn.00433260
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 0x4232a0
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 0x4232c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1818]
push ecx
push 0x48f110
jmp 0x423b0f
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 0x423a72
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x423a72
cmp dword [ebp - 0x18], ebx
je 0x423a72
cmp eax, ebx
je 0x423a72
call ecx
cmp eax, 8
jl 0x42339a
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x4be684
call fcn.00433260
mov esi, eax
push 0x38
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4be684
mov dword [ebp - 4], 2
call fcn.00433260
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 0x48f0f0
call fcn.0042afa0
add esp, 4
jmp 0x423b17
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004285d0
mov ecx, dword [ebp - 0x24]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
call fcn.00420460
test eax, eax
jne 0x4233d3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.StartODMHookExe_error
call fcn.0042afa0
add esp, 4
jmp 0x423b17
xor esi, esi
push str.esafenet_cdgout_exe32_20110929
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
cmp eax, ebx
jne 0x4233fd
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x4233d5
jmp 0x42340f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042af50
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x423449
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.0041a8d0
call fcn.0042bbb0
add esp, 4
cmp eax, ebx
je 0x423449
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
push edx
push eax
push esi
call fcn.00421f80
jmp 0x423b19
push 0x3fe
lea edx, [ebp + 0x141a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0x1418], cx
call fcn.004661f0
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.004661f0
mov eax, 5
mov word [ebp - 0xa0], ax
xor eax, eax
push 0x48f0c4
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.0042afa0
push 0x7fe
lea edx, [ebp + 0xc1a]
xor ecx, ecx
push ebx
push edx
mov word [ebp + 0xc18], cx
call fcn.004661f0
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 0x49ef40
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 0x423532
xor eax, eax
jmp 0x423550
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00466e80
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.0042afa0
add esp, 8
cmp esi, ebx
je 0x42365b
mov ebx, dword [ebp - 0x48]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x423580
or ebx, 0xffffffff
jmp 0x423587
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4c]
push 0x48f080
mov dword [ebp - 0x2c], edx
call fcn.0042afa0
add esp, 4
cmp ebx, 0xffffffff
jne 0x42368c
xor ebx, ebx
push 0x48f06c
call fcn.0042afa0
push 0x3c
lea ecx, [ebp - 0x8c]
push ebx
push ecx
call fcn.004661f0
mov esi, dword [ebp - 0x10]
lea edx, [ebp + 0x1418]
push 0x48f058
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], 0x49ef40
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.0042afa0
add esp, 0x14
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x423674
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.0041ed90
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.0042afa0
add esp, 0xc
jmp 0x42368c
lea eax, [ebp + 0xc18]
push eax
push 0x48f024
call fcn.0042afa0
add esp, 8
jmp 0x4235a5
lea ecx, [ebp + 0x1418]
push ecx
push esi
push 0x48f004
call fcn.0042afa0
add esp, 0xc
or ebx, 0xffffffff
push 0x48eff0
call fcn.0042afa0
add esp, 4
cmp ebx, 0xffffffff
jne 0x42370e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x18]
push edx
mov ecx, 0x4be684
call fcn.00433260
mov esi, eax
push 0x35
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x4be684
mov dword [ebp - 4], 3
call fcn.00433260
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 0x48efd0
call fcn.0042afa0
add esp, 0xc
jmp 0x423b17
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 0x42372d
xor eax, eax
jmp 0x423759
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423740
xor eax, eax
jmp 0x423759
lea edi, [eax + eax]
mov eax, edi
call fcn.00466e80
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00417ed0
mov edi, dword [ebp - 0x24]
push eax
push 0x48efb0
call fcn.0042afa0
push 0x60c
xor esi, esi
lea eax, [ebp + 0x60c]
push esi
push eax
call fcn.004661f0
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 0x42384a
lea eax, [ebp + 0x1818]
push eax
push ebx
call fcn.00428870
add esp, 8
push ebx
push 0x48ef84
call fcn.0042afa0
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 0x423876
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x423887
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x423887
push edi
call eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423897
push eax
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4238a1
push eax
call esi
test edi, edi
je 0x4238a8
push edi
call esi
test ebx, ebx
jne 0x4238f9
push 1
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4be684
call fcn.00433260
mov esi, eax
push 0x35
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4be684
mov dword [ebp - 4], 4
call fcn.00433260
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 0x423b17
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 0x423937
push str..igs
push ecx
call fcn.00468b09
mov ecx, dword [ebp - 0x30]
add esp, 8
test eax, eax
je 0x423937
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42395e
cmp dword [ecx - 0xc], 0
jl 0x4239d1
push str..igs
push ecx
call fcn.00468b09
add esp, 8
test eax, eax
je 0x4239d1
sub eax, dword [ebp - 0x30]
sar eax, 1
jne 0x4239d1
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.00433260
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.00433260
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.004661f0
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 0x423a53
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 0x423a53
mov edx, dword [ebp + 4]
push edx
push 0x48ef60
call fcn.0042afa0
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 0x423a0b
push str.OpenDoc_Finsh_
call fcn.0042afa0
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.00419b80
mov eax, 1
jmp 0x423b19
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.1201_FreeLibrary_error
call fcn.0042afa0
add esp, 4
push 1
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4be684
call fcn.00433260
mov esi, eax
push 0x33
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x4be684
mov dword [ebp - 4], 1
call fcn.00433260
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 0x423add
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 0x423b03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1818]
push ecx
push 0x48ef18
call fcn.0042afa0
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.00466e70
add ebp, 0x1a24
mov esp, ebp
pop ebp
ret 0xc