Function at 0x4243d0
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.0046c720
push 0xffffffffffffffff
push 0x48eeb8
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4c2b20]
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.0046a930
add esp, 0xc
call fcn.00438660
push eax
lea ecx, [ebp + 0x161c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x495830
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 0x49572c
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x49572c
mov dword [ebp - 0x44], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x2c], eax
call fcn.0042fa80
add esp, 4
test edi, edi
jne 0x4244b7
mov dword [ebp - 0x30], edi
jmp 0x4244e8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4244cf
mov dword [ebp - 0x30], 0
jmp 0x4244e8
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
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 0x4244f3
xor edi, edi
jmp 0x424521
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424506
xor edi, edi
jmp 0x424521
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
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 0x424554
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42453b
xor eax, eax
jmp 0x424554
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
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.0042fa80
mov esi, dword [ebp - 0x18]
add esp, 0x10
cmp dword [esi + 0x420], 0
jne 0x424586
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 0x424639
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.1178_errorLoadLibrary
call fcn.0042fa80
add esp, 4
push 1
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4c77cc
call fcn.00437870
mov esi, eax
push 0x33
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4c77cc
mov dword [ebp - 4], 0
call fcn.00437870
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 0x424602
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 0x424628
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x161c]
push ecx
push 0x4966e8
jmp 0x425468
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 0x4253c7
test edi, edi
je 0x4253c7
cmp dword [ebp - 0x34], 0
je 0x4253c7
test eax, eax
je 0x4253c7
call edi
cmp eax, 8
jl 0x424703
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x4c77cc
call fcn.00437870
mov esi, eax
push 0x38
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4c77cc
mov dword [ebp - 4], 2
call fcn.00437870
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.00420d00
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.00420d00
push 0x4966c8
call fcn.0042fa80
add esp, 4
jmp 0x425470
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042d110
mov ecx, dword [ebp - 0x18]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x48], eax
call fcn.00420f30
test eax, eax
jne 0x42473f
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.StartODMHookExe_error
call fcn.0042fa80
add esp, 4
jmp 0x425470
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 0x424771
push 0xc8
call edi
inc esi
cmp esi, 0x64
jl 0x424750
jmp 0x42477f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call edi
call fcn.0042fa30
mov edi, dword [ebp - 0x20]
test eax, eax
je 0x4247b9
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.0041af70
call fcn.00430780
add esp, 4
test eax, eax
je 0x4247b9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push edi
call fcn.00422cb0
jmp 0x425472
push 0x3fe
xor ebx, ebx
lea eax, [ebp + 0x1a1e]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x1a1c], dx
call fcn.0046a930
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.0046a930
xor eax, eax
mov ecx, 5
push 0x49669c
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.0042fa80
push 0x200
lea eax, [ebp + 0x141a]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x1418], dx
call fcn.0046a930
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.0046ca72
add esp, 0x40
cmp edi, ebx
jne 0x42486e
xor eax, eax
jmp 0x424897
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424881
xor eax, eax
jmp 0x424897
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
push eax
push 0x49668c
call fcn.0042fa80
add esp, 8
push edi
lea ecx, [ebp - 0x24]
call fcn.0041af70
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.004219f0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jl 0x4249fe
push str.WINWORD.EXE
push ecx
call fcn.0046d249
add esp, 8
cmp eax, ebx
je 0x4249fe
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
jne 0x4249fe
cmp dword [ecx - 0xc], ebx
jl 0x4249fe
push str.EXCEL.EXE
push ecx
call fcn.0046d249
add esp, 8
cmp eax, ebx
je 0x4249fe
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
jne 0x4249fe
cmp dword [ecx - 0xc], ebx
jl 0x4249fe
push 0x496644
push ecx
call fcn.0046d249
add esp, 8
cmp eax, ebx
je 0x4249fe
sub eax, dword [ebp - 0x24]
sar eax, 1
jne 0x4249fe
push str..dwg
lea eax, [ebp + 0x1418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x424c86
call fcn.0042fa30
test eax, eax
je 0x424c86
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x11dc]
cmp eax, ebx
je 0x424982
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e4]
cmp eax, ebx
je 0x4249c2
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11dc]
cmp eax, ebx
je 0x4249af
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 0x4249db
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 0x424150
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 0x424c86
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
push 0x496638
mov byte [ebp - 4], 4
call fcn.0042fa80
add esp, 4
push 0x2001f
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.0041f200
test eax, eax
jne 0x424c72
push 0x4965e0
call fcn.0042fa80
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.00420cd0
push str.C:Program_FilesMicrosoft_OfficeOffice12_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0041ae00
push str.OFFICE12
push str.OFFICE11
lea ecx, [ebp - 0x10]
call fcn.0041e110
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x30]
call fcn.0041a310
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.0041af70
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], ebx
mov byte [ebp - 4], 7
jge 0x424aa5
push 0x80070057
call fcn.00419910
movzx eax, word [eax]
add eax, 0xffffffbb
cmp eax, 0x32
ja case.0x424abb.70
movzx ecx, byte [eax + 0x4254b0]
jmp dword [ecx*4 + 0x4254a0]
push str.Wordconv.exe
lea ecx, [ebp - 0x10]
call fcn.0041af30
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
je 0x424b45
test ebx, ebx
jne 0x424af8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042fa80
add esp, 8
jmp 0x424c41
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424b1c
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042fa80
add esp, 8
jmp 0x424c41
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185d0
push eax
push str.office_InstallRoot:_s
call fcn.0042fa80
add esp, 8
jmp 0x424c41
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041a940
push str.wordconv.exe
jmp 0x424bf0
push str.Excelcnv.exe
lea ecx, [ebp - 0x10]
call fcn.0041af30
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
je 0x424b95
test ebx, ebx
jne 0x424af8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042fa80
add esp, 8
jmp 0x424c41
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a940
push str.excelcnv.exe
jmp 0x424bf0
push str.PPCNVCOM.exe
lea ecx, [ebp - 0x10]
call fcn.0041af30
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
test eax, eax
je 0x424bdf
test ebx, ebx
jne 0x424af8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0042fa80
add esp, 8
jmp 0x424c41
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041a940
push str.ppcnvcom.exe
lea ecx, [ebp - 0x10]
call fcn.0041af30
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne 0x424c03
xor eax, eax
jmp 0x424c2c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424c16
xor eax, eax
jmp 0x424c2c
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185d0
push eax
push str.office_InstallRoot:_s
call fcn.0042fa80
add esp, 8
push ebx
call edi
test eax, eax
je case.0x424abb.70
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + 0x161c]
push edx
mov dword [ebp - 0x14], 1
call fcn.004241d0
lea ecx, [ebp - 0x28]
call fcn.00420d00
lea ecx, [ebp - 0x30]
call fcn.00420d00
lea ecx, [ebp - 0x10]
call fcn.00420d00
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
call fcn.0041f1d0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00420260
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp + 0xc1a]
push ecx
mov word [ebp + 0xc18], ax
call fcn.0046a930
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 0x4a6ea4
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 0x424d02
xor edi, edi
jmp 0x424d20
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
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 0x424d39
xor eax, eax
jmp 0x424d55
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
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.0042fa80
add esp, 0x10
test ebx, ebx
je 0x424e77
mov ebx, dword [ebp - 0x5c]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x424d8a
or ebx, 0xffffffff
jmp 0x424d91
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
push 0x4964a0
mov dword [ebp - 0x54], eax
call fcn.0042fa80
add esp, 4
cmp ebx, 0xffffffff
jne 0x424eab
push 0x49648c
xor esi, esi
call fcn.0042fa80
push 0x3c
lea edx, [ebp - 0xa8]
push esi
push edx
call fcn.0046a930
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 0x1a1c]
push 0x496478
mov dword [ebp - 0xa8], 0x3c
mov dword [ebp - 0xa4], 0x440
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], 0x494ee8
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0x4a6ea4
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.0042fa80
add esp, 0x14
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x424e90
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.0041f2a0
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.0042fa80
add esp, 0xc
jmp 0x424eab
lea ecx, [ebp + 0xc18]
push ecx
push 0x496444
call fcn.0042fa80
add esp, 8
jmp 0x424dad
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x1a1c]
push eax
push ecx
push 0x496424
call fcn.0042fa80
add esp, 0xc
or ebx, 0xffffffff
push 0x496410
call fcn.0042fa80
add esp, 4
cmp ebx, 0xffffffff
jne 0x424f36
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4c77cc
call fcn.00437870
mov esi, eax
push 0x35
lea ecx, [ebp - 0x44]
push ecx
mov ecx, 0x4c77cc
mov byte [ebp - 4], 8
call fcn.00437870
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.00420d00
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00420d00
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0x1a1c]
push edx
push eax
push 0x4963f0
call fcn.0042fa80
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.00420d00
jmp 0x425470
push 1
push ebx
call fcn.00402750
add esp, 8
test eax, eax
jne 0x424f52
push str.CryptDiskSetAccessProcessId_failure
call fcn.0042fa80
add esp, 4
mov edi, dword [ebp - 0x18]
add edi, 0x428
jne 0x424f61
xor eax, eax
jmp 0x424f8a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424f74
xor eax, eax
jmp 0x424f8a
lea esi, [eax + eax]
mov eax, esi
call fcn.0046b5c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185d0
push ebx
push eax
push 0x49639c
call fcn.0042fa80
push 0x60c
xor edi, edi
lea ecx, [ebp + 0x60c]
push edi
push ecx
call fcn.0046a930
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 0x425082
lea edx, [ebp + 0x161c]
push edx
push ebx
call fcn.0042d3b0
add esp, 8
push ebx
push 0x496370
call fcn.0042fa80
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.00420c50
cmp dword [ebp - 0x14], edi
je 0x425145
mov eax, dword [ebx + 0x11dc]
cmp eax, edi
je 0x4250c6
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x11e4]
cmp eax, edi
je 0x425106
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 0x4250f5
push eax
call esi
mov dword [ebx + 0x11dc], edi
mov eax, dword [ebx + 0x11e4]
push eax
call esi
mov dword [ebx + 0x11e4], edi
jmp 0x42510c
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x11dc], edi
jne 0x425125
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 0x424150
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 0x42514b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
cmp eax, edi
je 0x425159
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x42516a
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x42516a
push edi
call eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x425174
push eax
call esi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x42517e
push eax
call esi
test edi, edi
je 0x425185
push edi
call esi
cmp dword [ebp - 0x28], 0
jne 0x4251de
push 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x4c77cc
call fcn.00437870
mov edi, eax
push 0x35
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x4c77cc
mov byte [ebp - 4], 9
call fcn.00437870
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.00420d00
lea ecx, [ebp - 0x48]
call fcn.00420d00
lea ecx, [ebp - 0x24]
call fcn.00420d00
jmp 0x425470
mov eax, dword [ebp - 0x28]
push eax
call esi
mov edi, dword [ebp - 0x1c]
push edi
lea ecx, [ebp - 0x40]
call fcn.0041af70
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx - 0xc]
mov byte [ebp - 4], 0xa
test eax, eax
jl 0x42521c
push str..igs
push ecx
call fcn.0046d249
mov ecx, dword [ebp - 0x40]
add esp, 8
test eax, eax
je 0x42521c
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42523f
cmp dword [ecx - 0xc], 0
jl 0x4252b2
push str..igs
push ecx
call fcn.0046d249
add esp, 8
test eax, eax
je 0x4252b2
sub eax, dword [ebp - 0x40]
sar eax, 1
jne 0x4252b2
lea ecx, [ebp - 0x1c]
call fcn.00420cd0
push 0x4d
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x4c77cc
mov byte [ebp - 4], 0xb
call fcn.00437870
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0041a940
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.00420d00
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041af30
push 2
lea edx, [ebp - 0x50]
push edx
mov ecx, 0x4c77cc
call fcn.00437870
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.00420d00
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00420d00
push 0x60c
lea ecx, [ebp]
push 0
push ecx
call fcn.0046a930
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 0x425342
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 0x42533c
mov edx, dword [ebp + 4]
push edx
push 0x49634c
call fcn.0042fa80
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 0x4252f0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x11dc]
xor edi, edi
cmp eax, edi
je 0x425355
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebx + 0x11e0]
cmp eax, edi
je 0x425368
push eax
call esi
mov dword [ebx + 0x11e0], edi
mov eax, dword [ebx + 0x11e4]
cmp eax, edi
je 0x4253a0
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x11dc]
cmp eax, edi
je 0x425391
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.0042fa80
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00420d00
lea ecx, [ebp - 0x24]
call fcn.00420d00
mov eax, 1
jmp 0x425472
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.1201_FreeLibrary_error
call fcn.0042fa80
add esp, 4
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x4c77cc
call fcn.00437870
mov esi, eax
push 0x33
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x4c77cc
mov dword [ebp - 4], 1
call fcn.00437870
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 0x425436
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 0x42545c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x161c]
push ecx
push 0x496304
call fcn.0042fa80
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.0046b5b0
add ebp, 0x1e20
mov esp, ebp
pop ebp
ret 0xc