Function at 0x423d40
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.0046a1a0
push 0xffffffffffffffff
push 0x48ada8
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.004683b0
add esp, 0xc
call fcn.00436280
push eax
lea ecx, [ebp + 0x161c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x490828
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 0x490724
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x490724
mov dword [ebp - 0x44], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x2c], eax
call fcn.0041c3c0
add esp, 4
test edi, edi
jne 0x423e27
mov dword [ebp - 0x30], edi
jmp 0x423e58
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423e3f
mov dword [ebp - 0x30], 0
jmp 0x423e58
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185e0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x423e63
xor edi, edi
jmp 0x423e91
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423e76
xor edi, edi
jmp 0x423e91
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov ecx, dword [ebp - 0x14]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.004185e0
mov edi, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x423ec4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423eab
xor eax, eax
jmp 0x423ec4
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov edx, dword [ebp - 0x20]
mov eax, esp
push 3
push esi
push edx
push eax
call fcn.004185e0
mov ecx, dword [ebp - 0x30]
push ecx
push edi
push eax
push str.OpenDoc
call fcn.0041c3c0
mov esi, dword [ebp - 0x18]
add esp, 0x10
cmp dword [esi + 0x420], 0
jne 0x423ef6
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 0x423fa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.1178_errorLoadLibrary
call fcn.0041c3c0
add esp, 4
push 1
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4c1874
call fcn.00435490
mov esi, eax
push 0x33
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4c1874
mov dword [ebp - 4], 0
call fcn.00435490
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 0x423f72
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 0x423f98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x161c]
push ecx
push 0x491518
jmp 0x424dce
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 0x424d2d
test edi, edi
je 0x424d2d
cmp dword [ebp - 0x34], 0
je 0x424d2d
test eax, eax
je 0x424d2d
call edi
cmp eax, 8
jl 0x424073
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x4c1874
call fcn.00435490
mov esi, eax
push 0x38
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4c1874
mov dword [ebp - 4], 2
call fcn.00435490
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.004204e0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004204e0
push 0x4914f8
call fcn.0041c3c0
add esp, 4
jmp 0x424dd6
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042a8f0
mov ecx, dword [ebp - 0x18]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x48], eax
call fcn.00420a80
test eax, eax
jne 0x4240af
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.StartODMHookExe_error
call fcn.0041c3c0
add esp, 4
jmp 0x424dd6
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 0x4240e1
push 0xc8
call edi
inc esi
cmp esi, 0x64
jl 0x4240c0
jmp 0x4240ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call edi
call fcn.0042d210
mov edi, dword [ebp - 0x20]
test eax, eax
je 0x424129
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push edi
call fcn.0041afa0
call fcn.0042de60
add esp, 4
test eax, eax
je 0x424129
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
mov ecx, dword [ebp - 0x18]
push edi
call fcn.00422660
jmp 0x424dd8
push 0x3fe
xor ebx, ebx
lea eax, [ebp + 0x1a1e]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x1a1c], dx
call fcn.004683b0
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.004683b0
xor eax, eax
mov ecx, 5
push 0x4914cc
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.0041c3c0
push 0x200
lea eax, [ebp + 0x141a]
xor edx, edx
push ebx
push eax
mov word [ebp + 0x1418], dx
call fcn.004683b0
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.0046a4f2
add esp, 0x40
cmp edi, ebx
jne 0x4241de
xor eax, eax
jmp 0x424207
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4241f1
xor eax, eax
jmp 0x424207
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185e0
push eax
push 0x4914bc
call fcn.0041c3c0
add esp, 8
push edi
lea ecx, [ebp - 0x24]
call fcn.0041afa0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.00421540
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jl 0x42436e
push str.WINWORD.EXE
push ecx
call fcn.0046acc9
add esp, 8
cmp eax, ebx
je 0x42436e
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
jne 0x42436e
cmp dword [ecx - 0xc], ebx
jl 0x42436e
push str.EXCEL.EXE
push ecx
call fcn.0046acc9
add esp, 8
cmp eax, ebx
je 0x42436e
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
jne 0x42436e
cmp dword [ecx - 0xc], ebx
jl 0x42436e
push 0x491474
push ecx
call fcn.0046acc9
add esp, 8
cmp eax, ebx
je 0x42436e
sub eax, dword [ebp - 0x24]
sar eax, 1
jne 0x42436e
push str..dwg
lea eax, [ebp + 0x1418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4245f6
call fcn.0042d210
test eax, eax
je 0x4245f6
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x11dc]
cmp eax, ebx
je 0x4242f2
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e4]
cmp eax, ebx
je 0x424332
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11dc]
cmp eax, ebx
je 0x42431f
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 0x42434b
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 0x423ac0
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 0x4245f6
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
push 0x491468
mov byte [ebp - 4], 4
call fcn.0041c3c0
add esp, 4
push 0x2001f
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x6c]
call fcn.0041f260
test eax, eax
jne 0x4245e2
push 0x491410
call fcn.0041c3c0
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.0041a340
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 0x424415
push 0x80070057
call fcn.00419910
movzx eax, word [eax]
add eax, 0xffffffbb
cmp eax, 0x32
ja case.0x42442b.70
movzx ecx, byte [eax + 0x424e18]
jmp dword [ecx*4 + 0x424e08]
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 0x4244b5
test ebx, ebx
jne 0x424468
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0041c3c0
add esp, 8
jmp 0x4245b1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42448c
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0041c3c0
add esp, 8
jmp 0x4245b1
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185e0
push eax
push str.office_InstallRoot:_s
call fcn.0041c3c0
add esp, 8
jmp 0x4245b1
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041a970
push str.wordconv.exe
jmp 0x424560
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 0x424505
test ebx, ebx
jne 0x424468
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0041c3c0
add esp, 8
jmp 0x4245b1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a970
push str.excelcnv.exe
jmp 0x424560
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 0x42454f
test ebx, ebx
jne 0x424468
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.0041c3c0
add esp, 8
jmp 0x4245b1
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 0x424573
xor eax, eax
jmp 0x42459c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x424586
xor eax, eax
jmp 0x42459c
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.004185e0
push eax
push str.office_InstallRoot:_s
call fcn.0041c3c0
add esp, 8
push ebx
call edi
test eax, eax
je case.0x42442b.70
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + 0x161c]
push edx
mov dword [ebp - 0x14], 1
call fcn.00423b40
lea ecx, [ebp - 0x28]
call fcn.004204e0
lea ecx, [ebp - 0x30]
call fcn.004204e0
lea ecx, [ebp - 0x10]
call fcn.004204e0
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x6c]
call fcn.0041f230
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00420100
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp + 0xc1a]
push ecx
mov word [ebp + 0xc18], ax
call fcn.004683b0
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 0x4a17a4
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 0x424672
xor edi, edi
jmp 0x424690
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
lea edx, [ebp + 0x1a1c]
push edx
push eax
call fcn.004185e0
mov edi, eax
lea eax, [ebp + 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4246a9
xor eax, eax
jmp 0x4246c5
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0xc18]
push ecx
push eax
call fcn.004185e0
mov edx, dword [ebp - 0x5c]
push edx
push edi
push eax
push str.CreateProcess
call fcn.0041c3c0
add esp, 0x10
test ebx, ebx
je 0x4247e7
mov ebx, dword [ebp - 0x5c]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4246fa
or ebx, 0xffffffff
jmp 0x424701
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
push 0x4912cc
mov dword [ebp - 0x54], eax
call fcn.0041c3c0
add esp, 4
cmp ebx, 0xffffffff
jne 0x42481b
push 0x4912b8
xor esi, esi
call fcn.0041c3c0
push 0x3c
lea edx, [ebp - 0xa8]
push esi
push edx
call fcn.004683b0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp + 0x1a1c]
push 0x4912a4
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], 0x4a17a4
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.0041c3c0
add esp, 0x14
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x424800
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.0041f300
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.0041c3c0
add esp, 0xc
jmp 0x42481b
lea ecx, [ebp + 0xc18]
push ecx
push 0x491270
call fcn.0041c3c0
add esp, 8
jmp 0x42471d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0x1a1c]
push eax
push ecx
push 0x491250
call fcn.0041c3c0
add esp, 0xc
or ebx, 0xffffffff
push 0x49123c
call fcn.0041c3c0
add esp, 4
cmp ebx, 0xffffffff
jne 0x4248a6
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4c1874
call fcn.00435490
mov esi, eax
push 0x35
lea ecx, [ebp - 0x44]
push ecx
mov ecx, 0x4c1874
mov byte [ebp - 4], 8
call fcn.00435490
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.004204e0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004204e0
mov eax, dword [ebp - 0x20]
lea edx, [ebp + 0x1a1c]
push edx
push eax
push 0x49121c
call fcn.0041c3c0
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.004204e0
jmp 0x424dd6
push 1
push ebx
call fcn.00402750
add esp, 8
test eax, eax
jne 0x4248c2
push str.CryptDiskSetAccessProcessId_failure
call fcn.0041c3c0
add esp, 4
mov edi, dword [ebp - 0x18]
add edi, 0x428
jne 0x4248d1
xor eax, eax
jmp 0x4248fa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4248e4
xor eax, eax
jmp 0x4248fa
lea esi, [eax + eax]
mov eax, esi
call fcn.00469040
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004185e0
push ebx
push eax
push 0x4911c8
call fcn.0041c3c0
push 0x60c
xor edi, edi
lea ecx, [ebp + 0x60c]
push edi
push ecx
call fcn.004683b0
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 0x4249f2
lea edx, [ebp + 0x161c]
push edx
push ebx
call fcn.0042ab90
add esp, 8
push ebx
push 0x49119c
call fcn.0041c3c0
add esp, 8
push ebx
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x14], esi
je 0x424aae
mov eax, dword [edi + 0x11dc]
cmp eax, esi
je 0x424a2f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x11e4]
cmp eax, esi
je 0x424a6f
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x11dc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, esi
je 0x424a5e
push eax
call ebx
mov dword [edi + 0x11dc], esi
mov eax, dword [edi + 0x11e4]
push eax
call ebx
mov dword [edi + 0x11e4], esi
jmp 0x424a75
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x11dc], esi
jne 0x424a8e
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x11dc], eax
push esi
push 4
push edi
push 0x423ac0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [edi + 0x11e4], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x424ab4
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
cmp eax, esi
je 0x424ac2
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x424ad3
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x424ad3
push esi
call eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x424add
push eax
call ebx
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x424ae7
push eax
call ebx
test esi, esi
je 0x424aee
push esi
call ebx
cmp dword [ebp - 0x28], 0
jne 0x424b47
push 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x4c1874
call fcn.00435490
mov edi, eax
push 0x35
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x4c1874
mov byte [ebp - 4], 9
call fcn.00435490
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.004204e0
lea ecx, [ebp - 0x48]
call fcn.004204e0
lea ecx, [ebp - 0x24]
call fcn.004204e0
jmp 0x424dd6
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
push esi
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 0x424b89
push str..igs
push ecx
call fcn.0046acc9
mov ecx, dword [ebp - 0x40]
add esp, 8
test eax, eax
je 0x424b89
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x424bac
cmp dword [ecx - 0xc], 0
jl 0x424c1f
push str..igs
push ecx
call fcn.0046acc9
add esp, 8
test eax, eax
je 0x424c1f
sub eax, dword [ebp - 0x40]
sar eax, 1
jne 0x424c1f
lea ecx, [ebp - 0x1c]
call fcn.0041a240
push 0x4d
lea ecx, [ebp - 0x2c]
push ecx
mov bl, 0xb
mov ecx, 0x4c1874
mov byte [ebp - 4], bl
call fcn.00435490
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0041a970
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004204e0
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041af60
push 2
lea edx, [ebp - 0x50]
push edx
mov ecx, 0x4c1874
call fcn.00435490
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.004204e0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.004204e0
push 0x60c
lea ecx, [ebp]
push 0
push ecx
call fcn.004683b0
add esp, 0xc
lea eax, [edi + 0x428]
push eax
lea edx, [ebp + 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp]
push eax
call ebx
add esp, 4
test eax, eax
je 0x424ca2
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 0x424ca2
mov edx, dword [ebp + 4]
push edx
push 0x491178
call fcn.0041c3c0
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 ebx
add esp, 8
test eax, eax
jne 0x424c56
mov eax, dword [edi + 0x11dc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp eax, esi
je 0x424cbb
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x11e0]
cmp eax, esi
je 0x424cce
push eax
call ebx
mov dword [edi + 0x11e0], esi
mov eax, dword [edi + 0x11e4]
cmp eax, esi
je 0x424d06
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x11dc]
cmp eax, esi
je 0x424cf7
push eax
call ebx
mov dword [edi + 0x11dc], esi
mov edx, dword [edi + 0x11e4]
push edx
call ebx
mov dword [edi + 0x11e4], esi
push str.OpenDoc_Finsh_
call fcn.0041c3c0
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.004204e0
lea ecx, [ebp - 0x24]
call fcn.004204e0
mov eax, 1
jmp 0x424dd8
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.1201_FreeLibrary_error
call fcn.0041c3c0
add esp, 4
push 1
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, 0x4c1874
call fcn.00435490
mov esi, eax
push 0x33
lea edx, [ebp - 0x4c]
push edx
mov ecx, 0x4c1874
mov dword [ebp - 4], 1
call fcn.00435490
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 0x424d9c
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 0x424dc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x161c]
push ecx
push 0x491130
call fcn.0041c3c0
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.00469030
add ebp, 0x1e20
mov esp, ebp
pop ebp
ret 0xc