Function at 0x4242d0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Create process suspended
Create thread
Link many functions at runtime
Resume thread

Disassembly:
push ebp
lea ebp, [esp - 0x1e20]
mov eax, 0x1e20
call fcn.00467cb0
push 0xffffffffffffffff
push 0x48a408
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4bcb20]
xor eax, ebp
mov dword [ebp + 0x1e1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1e28]
mov edi, dword [ebp + 0x1e30]
xor edx, edx
push 0x3fe
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x1e2c]
push edx
lea eax, [ebp + 0x161e]
push eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edi
mov word [ebp + 0x161c], dx
call fcn.00465ec0
add esp, 0xc
call fcn.00436600
push eax
lea ecx, [ebp + 0x161c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x490838
lea edx, [ebp + 0x161c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.NtSuspendProcess
push 0x490734
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x490734
mov dword [ebp - 0x44], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x2c], eax
call fcn.0042d9e0
add esp, 4
test edi, edi
jne 0x4243b7
mov dword [ebp - 0x30], edi
jmp 0x4243e8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4243cf
mov dword [ebp - 0x30], 0
jmp 0x4243e8
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4243f3
xor edi, edi
jmp 0x424421
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424406
xor edi, edi
jmp 0x424421
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov ecx, dword [ebp - 0x14]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.004185d0
mov edi, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x424454
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42443b
xor eax, eax
jmp 0x424454
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov edx, dword [ebp - 0x20]
mov eax, esp
push 3
push esi
push edx
push eax
call fcn.004185d0
mov ecx, dword [ebp - 0x30]
push ecx
push edi
push eax
push str.OpenDoc
call fcn.0042d9e0
mov esi, dword [ebp - 0x18]
add esp, 0x10
cmp dword [esi + 0x420], 0
jne 0x424486
lea edx, [ebp + 0x161c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x420], eax
mov esi, dword [esi + 0x420]
mov dword [ebp - 0x3c], esi
test esi, esi
jne 0x424539
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.1178_errorLoadLibrary
call fcn.0042d9e0
add esp, 4
push 1
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4c17cc
call fcn.00435810
mov esi, eax
push 0x33
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4c17cc
mov dword [ebp - 4], 0
call fcn.00435810
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424502
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
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 0x424528
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x161c]
push ecx
push 0x4916d0
jmp 0x425368
push str.CControlDll_Add
mov edi, esi
push edi
call ebx
push str.CControlDll_GetNum
mov esi, eax
push edi
mov dword [ebp - 0x50], esi
call ebx
mov edx, dword [ebp - 0x3c]
push str.CControlDll_Del
push edx
mov edi, eax
call ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
push str.CControlDll_GetByPwd
push eax
call ebx
mov dword [ebp - 0x4c], eax
test esi, esi
je 0x4252c7
test edi, edi
je 0x4252c7
cmp dword [ebp - 0x34], 0
je 0x4252c7
test eax, eax
je 0x4252c7
call edi
cmp eax, 8
jl 0x424603
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x4c17cc
call fcn.00435810
mov esi, eax
push 0x38
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4c17cc
mov dword [ebp - 4], 2
call fcn.00435810
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 - 0x34]
call fcn.00420920
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00420920
push 0x4916b0
call fcn.0042d9e0
add esp, 4
jmp 0x425370
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042b070
mov ecx, dword [ebp - 0x18]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x48], eax
call fcn.00420f80
test eax, eax
jne 0x42463f
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.StartODMHookExe_error
call fcn.0042d9e0
add esp, 4
jmp 0x425370
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ecx, [ecx]
push str.esafenet_cdgout_exe32_20110929
push 0
push 0x1f0001
call ebx
test eax, eax
jne 0x424671
push 0xc8
call edi
inc esi
cmp esi, 0x64
jl 0x424650
jmp 0x42467f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call edi
call fcn.0042d990
mov edi, dword [ebp - 0x20]
test eax, eax
je 0x4246b9
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.0041afa0
call fcn.0042e770
add esp, 4
test eax, eax
je 0x4246b9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push edi
call fcn.00422bd0
jmp 0x425372
push 0x3fe
xor ebx, ebx
lea eax, [ebp + 0x1a1e]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x1a1c], dx
call fcn.00465ec0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
lea edx, [ebp + 0x1a1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea eax, [ebp - 0xe8]
push ebx
push eax
call fcn.00465ec0
xor eax, eax
mov ecx, 5
push 0x491684
mov dword [ebp - 0xec], 0x44
mov word [ebp - 0xbc], cx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x54], ebx
call fcn.0042d9e0
push 0x200
lea eax, [ebp + 0x141a]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x1418], dx
call fcn.00465ec0
mov edx, dword [ebp - 0x1c]
push 0x100
lea ecx, [ebp + 0x1418]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
call fcn.00468002
add esp, 0x40
cmp edi, ebx
jne 0x42476e
xor eax, eax
jmp 0x424797
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424781
xor eax, eax
jmp 0x424797
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
push eax
push 0x491674
call fcn.0042d9e0
add esp, 8
push edi
lea ecx, [ebp - 0x24]
call fcn.0041afa0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.00421a40
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jl 0x4248fe
push str.WINWORD.EXE
push ecx
call fcn.004687d9
add esp, 8
cmp eax, ebx
je 0x4248fe
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
jne 0x4248fe
cmp dword [ecx - 0xc], ebx
jl 0x4248fe
push str.EXCEL.EXE
push ecx
call fcn.004687d9
add esp, 8
cmp eax, ebx
je 0x4248fe
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
jne 0x4248fe
cmp dword [ecx - 0xc], ebx
jl 0x4248fe
push 0x49162c
push ecx
call fcn.004687d9
add esp, 8
cmp eax, ebx
je 0x4248fe
sub eax, dword [ebp - 0x24]
sar eax, 1
jne 0x4248fe
push str..dwg
lea eax, [ebp + 0x1418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x424b86
call fcn.0042d990
test eax, eax
je 0x424b86
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x11dc]
cmp eax, ebx
je 0x424882
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e4]
cmp eax, ebx
je 0x4248c2
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11dc]
cmp eax, ebx
je 0x4248af
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11dc], ebx
mov ecx, dword [esi + 0x11e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11e4], ebx
cmp dword [esi + 0x11dc], ebx
jne 0x4248db
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x11dc], eax
push ebx
push 4
push esi
push 0x424050
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x11e4], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x424b86
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
push 0x491620
mov byte [ebp - 4], 4
call fcn.0042d9e0
add esp, 4
push 0x2001f
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.0041f280
test eax, eax
jne 0x424b72
push 0x4915c8
call fcn.0042d9e0
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0041a240
push str.C:Program_FilesMicrosoft_OfficeOffice12_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0041ae30
push str.OFFICE12
push str.OFFICE11
lea ecx, [ebp - 0x10]
call fcn.0041e190
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x30]
call fcn.0041a270
mov eax, dword [ebp - 0x24]
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041afa0
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], ebx
mov byte [ebp - 4], 7
jge 0x4249a5
push 0x80070057
call fcn.00419900
movzx eax, word [eax]
add eax, 0xffffffbb
cmp eax, 0x32
ja case.0x4249bb.70
movzx ecx, byte [eax + 0x4253b0]
jmp dword [ecx*4 + 0x4253a0]
push str.Wordconv.exe
lea ecx, [ebp - 0x10]
call fcn.0041af60
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
je 0x424a45
test ebx, ebx
jne 0x4249f8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042d9e0
add esp, 8
jmp 0x424b41
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424a1c
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042d9e0
add esp, 8
jmp 0x424b41
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185d0
push eax
push str.office_InstallRoot:_s
call fcn.0042d9e0
add esp, 8
jmp 0x424b41
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041a970
push str.wordconv.exe
jmp 0x424af0
push str.Excelcnv.exe
lea ecx, [ebp - 0x10]
call fcn.0041af60
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
je 0x424a95
test ebx, ebx
jne 0x4249f8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042d9e0
add esp, 8
jmp 0x424b41
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a970
push str.excelcnv.exe
jmp 0x424af0
push str.PPCNVCOM.exe
lea ecx, [ebp - 0x10]
call fcn.0041af60
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
je 0x424adf
test ebx, ebx
jne 0x4249f8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042d9e0
add esp, 8
jmp 0x424b41
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041a970
push str.ppcnvcom.exe
lea ecx, [ebp - 0x10]
call fcn.0041af60
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne 0x424b03
xor eax, eax
jmp 0x424b2c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424b16
xor eax, eax
jmp 0x424b2c
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185d0
push eax
push str.office_InstallRoot:_s
call fcn.0042d9e0
add esp, 8
push ebx
call edi
test eax, eax
je case.0x4249bb.70
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + 0x161c]
push edx
mov dword [ebp - 0x14], 1
call fcn.004240d0
lea ecx, [ebp - 0x28]
call fcn.00420920
lea ecx, [ebp - 0x30]
call fcn.00420920
lea ecx, [ebp - 0x10]
call fcn.00420920
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
call fcn.0041f250
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004202e0
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp + 0xc1a]
push ecx
mov word [ebp + 0xc18], ax
call fcn.00465ec0
lea edx, [ebp + 0x1a1c]
push edx
push edi
lea eax, [ebp + 0xc18]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xec]
push edx
push 0x4a1d14
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp + 0xc18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp + 0x1a1c]
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424c02
xor edi, edi
jmp 0x424c20
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
lea edx, [ebp + 0x1a1c]
push edx
push eax
call fcn.004185d0
mov edi, eax
lea eax, [ebp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424c39
xor eax, eax
jmp 0x424c55
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0xc18]
push ecx
push eax
call fcn.004185d0
mov edx, dword [ebp - 0x5c]
push edx
push edi
push eax
push str.CreateProcess
call fcn.0042d9e0
add esp, 0x10
test ebx, ebx
je 0x424d77
mov ebx, dword [ebp - 0x5c]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x424c8a
or ebx, 0xffffffff
jmp 0x424c91
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
push 0x491484
mov dword [ebp - 0x54], eax
call fcn.0042d9e0
add esp, 4
cmp ebx, 0xffffffff
jne 0x424dab
push 0x491470
xor esi, esi
call fcn.0042d9e0
push 0x3c
lea edx, [ebp - 0xa8]
push esi
push edx
call fcn.00465ec0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 0x1a1c]
push 0x49145c
mov dword [ebp - 0xa8], 0x3c
mov dword [ebp - 0xa4], 0x440
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], str.open
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0x4a1d14
mov dword [ebp - 0x8c], 3
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], esi
call fcn.0042d9e0
add esp, 0x14
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x424d90
mov eax, dword [ebp - 0x70]
push eax
call dword [ebp - 0x44]
mov ecx, dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.0041f320
mov ebx, eax
push 1
push ebx
call fcn.00402750
mov edx, dword [ebp - 0x70]
push str.ShellExecuteEx
mov dword [ebp - 0x38], edx
call fcn.0042d9e0
add esp, 0xc
jmp 0x424dab
lea ecx, [ebp + 0xc18]
push ecx
push 0x491428
call fcn.0042d9e0
add esp, 8
jmp 0x424cad
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x1a1c]
push eax
push ecx
push 0x491408
call fcn.0042d9e0
add esp, 0xc
or ebx, 0xffffffff
push 0x4913f4
call fcn.0042d9e0
add esp, 4
cmp ebx, 0xffffffff
jne 0x424e36
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4c17cc
call fcn.00435810
mov esi, eax
push 0x35
lea ecx, [ebp - 0x44]
push ecx
mov ecx, 0x4c17cc
mov byte [ebp - 4], 8
call fcn.00435810
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 - 0x44]
call fcn.00420920
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00420920
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0x1a1c]
push edx
push eax
push 0x4913d4
call fcn.0042d9e0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00420920
jmp 0x425370
push 1
push ebx
call fcn.00402750
add esp, 8
test eax, eax
jne 0x424e52
push str.CryptDiskSetAccessProcessId_failure
call fcn.0042d9e0
add esp, 4
mov edi, dword [ebp - 0x18]
add edi, 0x428
jne 0x424e61
xor eax, eax
jmp 0x424e8a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424e74
xor eax, eax
jmp 0x424e8a
lea esi, [eax + eax]
mov eax, esi
call fcn.00466b50
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
push ebx
push eax
push 0x491380
call fcn.0042d9e0
push 0x60c
xor edi, edi
lea ecx, [ebp + 0x60c]
push edi
push ecx
call fcn.00465ec0
mov esi, dword [ebp - 0x18]
movzx edx, byte [esi + 0x95b]
mov eax, dword [esi + 0x953]
add esp, 0x18
lea ecx, [esi + 0x95c]
mov dword [ebp + 0x61c], edx
push ecx
lea edx, [ebp + 0xa70]
push edx
mov dword [ebp + 0x60c], edi
mov dword [ebp + 0x610], edi
mov dword [ebp + 0x618], edi
mov dword [ebp + 0x614], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esi, 0xa5c
mov ecx, 0x17
lea edi, [ebp + 0xb70]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov cl, byte [esi + 0xace]
movzx edx, byte [esi + 0x957]
mov eax, dword [esi + 0xab8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp + 0xbd0], cl
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 0xbd4], edx
mov dword [ebp + 0xbcc], eax
mov al, byte [esi + 0xacf]
push ecx
lea edx, [ebp + 0x620]
push edx
mov byte [ebp + 0xbd8], al
call edi
lea eax, [esi + 0x428]
push eax
lea eax, [ebp + 0xa20]
push eax
call edi
lea ecx, [ebp + 0x60c]
push ecx
mov dword [ebp + 0x610], ebx
call dword [ebp - 0x50]
add esp, 4
cmp dword [ebp - 0x48], 0
je 0x424f82
lea edx, [ebp + 0x161c]
push edx
push ebx
call fcn.0042b310
add esp, 8
push ebx
push 0x491354
call fcn.0042d9e0
add esp, 8
push ebx
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
mov ebx, esi
mov ecx, ebx
mov dword [ebp - 0x28], eax
call fcn.00420cf0
cmp dword [ebp - 0x14], edi
je 0x425045
mov eax, dword [ebx + 0x11dc]
cmp eax, edi
je 0x424fc6
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x11e4]
cmp eax, edi
je 0x425006
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x11dc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x424ff5
push eax
call esi
mov dword [ebx + 0x11dc], edi
mov eax, dword [ebx + 0x11e4]
push eax
call esi
mov dword [ebx + 0x11e4], edi
jmp 0x42500c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x11dc], edi
jne 0x425025
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 0x11dc], eax
push edi
push 4
push ebx
push 0x424050
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [ebx + 0x11e4], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x42504b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
cmp eax, edi
je 0x425059
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x42506a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42506a
push edi
call eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x425074
push eax
call esi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x42507e
push eax
call esi
test edi, edi
je 0x425085
push edi
call esi
cmp dword [ebp - 0x28], 0
jne 0x4250de
push 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x4c17cc
call fcn.00435810
mov edi, eax
push 0x35
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x4c17cc
mov byte [ebp - 4], 9
call fcn.00435810
mov ecx, dword [edi]
mov edx, dword [eax]
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
call fcn.00420920
lea ecx, [ebp - 0x48]
call fcn.00420920
lea ecx, [ebp - 0x24]
call fcn.00420920
jmp 0x425370
mov eax, dword [ebp - 0x28]
push eax
call esi
mov edi, dword [ebp - 0x1c]
push edi
lea ecx, [ebp - 0x40]
call fcn.0041afa0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx - 0xc]
mov byte [ebp - 4], 0xa
test eax, eax
jl 0x42511c
push str..igs
push ecx
call fcn.004687d9
mov ecx, dword [ebp - 0x40]
add esp, 8
test eax, eax
je 0x42511c
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42513f
cmp dword [ecx - 0xc], 0
jl 0x4251b2
push str..igs
push ecx
call fcn.004687d9
add esp, 8
test eax, eax
je 0x4251b2
sub eax, dword [ebp - 0x40]
sar eax, 1
jne 0x4251b2
lea ecx, [ebp - 0x1c]
call fcn.0041a240
push 0x4d
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x4c17cc
mov byte [ebp - 4], 0xb
call fcn.00435810
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0041a970
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.00420920
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041af60
push 2
lea edx, [ebp - 0x50]
push edx
mov ecx, 0x4c17cc
call fcn.00435810
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x50]
call fcn.00420920
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00420920
push 0x60c
lea ecx, [ebp]
push 0
push ecx
call fcn.00465ec0
add esp, 0xc
lea eax, [ebx + 0x428]
push eax
lea edx, [ebp + 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [ebp - 0x4c]
lea eax, [ebp]
push eax
call edi
add esp, 4
test eax, eax
je 0x425242
lea esp, [esp]
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 0x42523c
mov edx, dword [ebp + 4]
push edx
push 0x491330
call fcn.0042d9e0
add esp, 8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp]
push eax
call dword [ebp - 0x34]
lea ecx, [ebp]
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4251f0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x11dc]
xor edi, edi
cmp eax, edi
je 0x425255
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x11e0]
cmp eax, edi
je 0x425268
push eax
call esi
mov dword [ebx + 0x11e0], edi
mov eax, dword [ebx + 0x11e4]
cmp eax, edi
je 0x4252a0
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x11dc]
cmp eax, edi
je 0x425291
push eax
call esi
mov dword [ebx + 0x11dc], edi
mov edx, dword [ebx + 0x11e4]
push edx
call esi
mov dword [ebx + 0x11e4], edi
push str.OpenDoc_Finsh_
call fcn.0042d9e0
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00420920
lea ecx, [ebp - 0x24]
call fcn.00420920
mov eax, 1
jmp 0x425372
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.1201_FreeLibrary_error
call fcn.0042d9e0
add esp, 4
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x4c17cc
call fcn.00435810
mov esi, eax
push 0x33
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x4c17cc
mov dword [ebp - 4], 1
call fcn.00435810
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
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 0x42535c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x161c]
push ecx
push 0x4912e8
call fcn.0042d9e0
add esp, 8
xor eax, eax
lea esp, [ebp - 0xfc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1e1c]
xor ecx, ebp
call fcn.00466b40
add ebp, 0x1e20
mov esp, ebp
pop ebp
ret 0xc