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

Disassembly:
push ebp
lea ebp, [esp - 0x1814]
mov eax, 0x1814
call fcn.00465640
push 0xffffffffffffffff
push 0x48861e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x4bdbb0]
xor eax, ebp
mov dword [ebp + 0x1810], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x181c]
mov edi, dword [ebp + 0x1824]
xor edx, edx
push 0x3fe
mov esi, ecx
mov ecx, dword [ebp + 0x1820]
mov dword [ebp - 0x3c], eax
push edx
lea eax, [ebp + 0x1412]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edi
mov word [ebp + 0x1410], dx
call fcn.00463850
add esp, 0xc
push 0x200
lea ecx, [ebp + 0x1410]
push ecx
mov ecx, esi
call fcn.0040f450
push str.ODMHook.dll
lea edx, [ebp + 0x1410]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.NtSuspendProcess
push 0x48e724
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x48e724
mov dword [ebp - 0x4c], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x34], eax
call fcn.00427230
add esp, 4
test edi, edi
jne 0x41dd59
mov dword [ebp - 0x14], edi
jmp 0x41dd8a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41dd71
mov dword [ebp - 0x14], 0
jmp 0x41dd8a
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f410
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41dd95
xor edi, edi
jmp 0x41ddc3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41dda8
xor edi, edi
jmp 0x41ddc3
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov ecx, dword [ebp - 0x18]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.0040f410
mov edi, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41ddf6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41dddd
xor eax, eax
jmp 0x41ddf6
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov edx, dword [ebp - 0x3c]
mov eax, esp
push 3
push esi
push edx
push eax
call fcn.0040f410
mov ecx, dword [ebp - 0x14]
push ecx
push edi
push eax
push str.OpenDoc
call fcn.00427230
mov esi, dword [ebp - 0x24]
add esp, 0x10
cmp dword [esi + 0x41c], 0
jne 0x41de28
lea edx, [ebp + 0x1410]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x41c], eax
mov eax, esi
mov esi, dword [eax + 0x41c]
test esi, esi
jne 0x41df28
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x168]
push 3
lea edx, [ebp + 0x1410]
mov dword [ebp - 0x16c], ecx
push edx
lea ecx, [ebp - 0x16c]
mov ebx, eax
call fcn.004170e0
sub esp, 0x84
mov edi, esp
mov dword [ebp - 4], esi
push ebx
mov ecx, 0x21
lea esi, [ebp - 0x16c]
push str.1178_Error__d__LoadLibrary___s_
rep movsd dword es:[edi], dword [esi]
call fcn.00427230
mov eax, dword [ebp - 0x16c]
or edi, 0xffffffff
lea ecx, [ebp - 0x168]
add esp, 0x8c
mov dword [ebp - 4], edi
cmp eax, ecx
je 0x41dea8
push eax
call fcn.00463c35
add esp, 4
call fcn.00449852
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41dec2
push 0x80004005
call fcn.004108b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0x1410]
push ecx
lea edx, [ebp - 0x20]
push 0x490480
push edx
mov dword [ebp - 4], 1
call fcn.004135e0
mov esi, dword [ebp - 0x20]
add esp, 0xc
push 0x10
push 0x490478
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41eca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41eca6
push str.CControlDll_Add
push esi
call ebx
push str.CControlDll_GetNum
mov edi, eax
push esi
mov dword [ebp - 0x48], edi
call ebx
push str.CControlDll_Del
push esi
mov dword [ebp - 0x1c], eax
call ebx
push str.CControlDll_GetByPwd
push esi
mov dword [ebp - 0x38], eax
call ebx
test edi, edi
je 0x41ec07
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41ec07
cmp dword [ebp - 0x38], 0
je 0x41ec07
test eax, eax
je 0x41ec07
call ecx
cmp eax, 8
jl 0x41dfe1
push 1
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x39
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x4c2864
mov dword [ebp - 4], 3
call fcn.00430a90
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 - 0x1c]
call fcn.004111f0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.004111f0
push 0x490458
call fcn.00427230
add esp, 4
jmp 0x41eca6
mov ebx, dword [ebp - 0x3c]
push ebx
call fcn.00424880
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x30], eax
call fcn.004271f0
test eax, eax
je 0x41e012
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.00411f40
call fcn.00427bc0
add esp, 4
push 0x3fe
xor esi, esi
lea ecx, [ebp + 0x1012]
xor eax, eax
push esi
push ecx
mov word [ebp + 0x1010], ax
call fcn.00463850
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
lea eax, [ebp + 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea ecx, [ebp - 0xe4]
push esi
push ecx
call fcn.00463850
xor eax, eax
mov edx, 5
push 0x490444
mov dword [ebp - 0xe8], 0x44
mov word [ebp - 0xb8], dx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], esi
call fcn.00427230
push 0x200
lea ecx, [ebp + 0xe0e]
xor eax, eax
push esi
push ecx
mov word [ebp + 0xe0c], ax
call fcn.00463850
mov eax, dword [ebp - 0x28]
push 0x100
lea edx, [ebp + 0xe0c]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
call fcn.00465992
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x40
cmp ebx, esi
jne 0x41e0cd
xor eax, eax
jmp 0x41e0f4
push ebx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41e0dc
xor eax, eax
jmp 0x41e0f4
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040f410
xor esi, esi
push eax
push 0x490434
call fcn.00427230
add esp, 8
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00411f40
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 4
call fcn.00418340
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 0xc]
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], esi
jl 0x41e25b
push str.WINWORD.EXE
push ecx
call fcn.00466169
add esp, 8
cmp eax, esi
je 0x41e25b
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
jne 0x41e25b
cmp dword [ecx - 0xc], esi
jl 0x41e25b
push str.EXCEL.EXE
push ecx
call fcn.00466169
add esp, 8
cmp eax, esi
je 0x41e25b
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
jne 0x41e25b
cmp dword [ecx - 0xc], esi
jl 0x41e25b
push 0x4901a4
push ecx
call fcn.00466169
add esp, 8
cmp eax, esi
je 0x41e25b
sub eax, dword [ebp - 0x2c]
sar eax, 1
jne 0x41e25b
push str..dwg
lea ecx, [ebp + 0xe0c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41e4d2
call fcn.004271f0
test eax, eax
je 0x41e4d2
mov esi, dword [ebp - 0x24]
mov eax, dword [esi + 0x11d8]
xor edi, edi
cmp eax, edi
je 0x41e1e7
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e0]
cmp eax, edi
je 0x41e21f
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x41e210
push eax
call ebx
mov dword [esi + 0x11d8], edi
mov edx, dword [esi + 0x11e0]
push edx
call ebx
mov dword [esi + 0x11e0], edi
cmp dword [esi + 0x11d8], edi
jne 0x41e238
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x11d8], eax
push edi
push 4
push esi
push 0x41b2c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x11e0], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41e4d2
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
push 0x490198
mov byte [ebp - 4], 5
call fcn.00427230
add esp, 4
push 0x2001f
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x54]
call fcn.00415ea0
test eax, eax
jne 0x41e4be
push 0x490140
call fcn.00427230
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0042d680
push str.C:Program_FilesMicrosoft_OfficeOffice12_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00411dd0
push str.OFFICE12
push str.OFFICE11
lea ecx, [ebp - 0x10]
call fcn.00415190
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004112e0
mov ecx, dword [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x20]
call fcn.00411f40
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], esi
mov byte [ebp - 4], 8
jge 0x41e302
push 0x80070057
call fcn.004108b0
movzx eax, word [eax]
add eax, 0xffffffbb
cmp eax, 0x32
ja case.0x41e318.70
movzx edx, byte [eax + 0x41ece8]
jmp dword [edx*4 + 0x41ecd8]
push str.Wordconv.exe
lea ecx, [ebp - 0x10]
call fcn.00411f00
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e39c
test ebx, ebx
jne 0x41e353
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00427230
add esp, 8
jmp 0x41e490
push ebx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41e373
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00427230
add esp, 8
jmp 0x41e490
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040f410
push eax
push str.office_InstallRoot:_s
call fcn.00427230
add esp, 8
jmp 0x41e490
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411910
push str.wordconv.exe
jmp 0x41e43f
push str.Excelcnv.exe
lea ecx, [ebp - 0x10]
call fcn.00411f00
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e3e6
test ebx, ebx
jne 0x41e353
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00427230
add esp, 8
jmp 0x41e490
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00411910
push str.excelcnv.exe
jmp 0x41e43f
push str.PPCNVCOM.exe
lea ecx, [ebp - 0x10]
call fcn.00411f00
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e42e
test ebx, ebx
jne 0x41e353
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00427230
add esp, 8
jmp 0x41e490
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.00411910
push str.ppcnvcom.exe
lea ecx, [ebp - 0x10]
call fcn.00411f00
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne 0x41e452
xor eax, eax
jmp 0x41e477
push ebx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x41e461
xor eax, eax
jmp 0x41e477
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040f410
push eax
push str.office_InstallRoot:_s
call fcn.00427230
add esp, 8
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je case.0x41e318.70
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 0x1410]
push eax
mov dword [ebp - 0x18], 1
call fcn.0041b340
lea ecx, [ebp - 0x20]
call fcn.004111f0
lea ecx, [ebp - 0x14]
call fcn.004111f0
lea ecx, [ebp - 0x10]
call fcn.004111f0
lea ecx, [ebp - 0x54]
call fcn.00415e70
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00416c40
push 0x4c21e8
lea ecx, [ebp - 0x20]
call fcn.00411f40
push 0x2e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.004133d0
push 5
push eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00413530
push 0x48ee7c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00419550
mov edi, dword [ebp - 0x3c]
push edi
lea ecx, [ebp - 0x14]
call fcn.00411f40
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004133d0
inc eax
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x14]
call fcn.00413600
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov bl, 0xc
push eax
mov byte [ebp - 4], bl
call fcn.004112e0
push ecx
lea edx, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
mov byte [ebp - 4], 0xd
call fcn.004112e0
mov byte [ebp - 4], bl
call fcn.004186f0
mov esi, eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp + 0x60e]
push ecx
mov word [ebp + 0x60c], ax
call fcn.00463850
add esp, 0x14
test esi, esi
jne 0x41e5a2
mov edx, dword [ebp - 0x28]
push edx
push str.NOTEPAD.EXE
push str.__s___s
lea eax, [ebp + 0x60c]
push eax
jmp 0x41e5b6
lea ecx, [ebp + 0x1010]
push ecx
push edi
push str.__s___s
lea edx, [ebp + 0x60c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xe8]
push ecx
push 0x4a2290
push 0
push 4
push 0
push 0
push 0
lea edx, [ebp + 0x60c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
lea eax, [ebp + 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41e603
xor ebx, ebx
jmp 0x41e621
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x1010]
push ecx
push eax
call fcn.0040f410
mov ebx, eax
lea edx, [ebp + 0x60c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41e63a
xor eax, eax
jmp 0x41e656
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x60c]
push ecx
push eax
call fcn.0040f410
mov edx, dword [ebp - 0x5c]
push edx
push ebx
push eax
push str.CreateProcess
call fcn.00427230
add esp, 0x10
test edi, edi
je 0x41e6a4
mov ebx, dword [ebp - 0x5c]
push ebx
xor edi, edi
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
jne 0x41e688
or ebx, 0xffffffff
jmp 0x41e68f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
push 0x4903dc
mov dword [ebp - 0x38], eax
call fcn.00427230
add esp, 4
jmp 0x41e6bd
lea ecx, [ebp + 0x60c]
push ecx
push 0x4903c4
or ebx, 0xffffffff
call fcn.00427230
add esp, 8
xor edi, edi
lea ecx, [ebp - 0x40]
call fcn.004111f0
lea ecx, [ebp - 0x14]
call fcn.004111f0
lea ecx, [ebp - 0x10]
call fcn.004111f0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004111f0
cmp ebx, 0xffffffff
jne 0x41e7c7
push 0x4903b0
call fcn.00427230
push 0x3c
lea edx, [ebp - 0xa0]
push edi
push edx
call fcn.00463850
mov esi, dword [ebp - 0x3c]
lea eax, [ebp + 0x1010]
push 0x49039c
mov dword [ebp - 0xa0], 0x3c
mov dword [ebp - 0x9c], 0x440
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], str.open
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0x4a2290
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], edi
call fcn.00427230
add esp, 0x14
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41e7af
mov edx, dword [ebp - 0x68]
push edx
call dword [ebp - 0x4c]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004163e0
mov ebx, eax
push 1
push ebx
call fcn.00402320
mov ecx, dword [ebp - 0x68]
push str.ShellExecuteEx
mov dword [ebp - 0x1c], ecx
call fcn.00427230
add esp, 0xc
jmp 0x41e7c7
lea edx, [ebp + 0x1010]
push edx
push esi
push 0x490360
call fcn.00427230
add esp, 0xc
or ebx, 0xffffffff
push 0x49034c
call fcn.00427230
add esp, 4
push 1
cmp ebx, 0xffffffff
jne 0x41e847
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x36
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x4c2864
mov byte [ebp - 4], 0xe
call fcn.00430a90
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x4c]
call fcn.004111f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004111f0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp + 0x1010]
push edx
push eax
push 0x49032c
call fcn.00427230
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.004111f0
jmp 0x41eca6
push ebx
call fcn.00402320
add esp, 8
cmp eax, edi
jne 0x41e861
push str.CryptDiskSetAccessProcessId_failure
call fcn.00427230
add esp, 4
mov edi, dword [ebp - 0x24]
add edi, 0x424
jne 0x41e870
xor eax, eax
jmp 0x41e899
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41e883
xor eax, eax
jmp 0x41e899
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f410
push ebx
push eax
push 0x4902d8
call fcn.00427230
push 0x60c
xor edi, edi
lea ecx, [ebp]
push edi
push ecx
call fcn.00463850
mov esi, dword [ebp - 0x24]
movzx edx, byte [esi + 0x957]
mov eax, dword [esi + 0x94f]
add esp, 0x18
lea ecx, [esi + 0x958]
mov dword [ebp + 0x10], edx
push ecx
lea edx, [ebp + 0x464]
push edx
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esi, 0xa58
mov ecx, 0x17
lea edi, [ebp + 0x564]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x24]
mov cl, byte [esi + 0xaca]
movzx edx, byte [esi + 0x953]
mov eax, dword [esi + 0xab4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp + 0x5c4], cl
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 0x5c8], edx
mov dword [ebp + 0x5c0], eax
mov al, byte [esi + 0xacb]
push ecx
lea edx, [ebp + 0x14]
push edx
mov byte [ebp + 0x5cc], al
call edi
lea eax, [esi + 0x424]
push eax
lea eax, [ebp + 0x414]
push eax
call edi
lea ecx, [ebp]
push ecx
mov dword [ebp + 4], ebx
call dword [ebp - 0x48]
add esp, 4
cmp dword [ebp - 0x30], 0
je 0x41e976
lea edx, [ebp + 0x1410]
push edx
push ebx
call fcn.00424b10
add esp, 8
push ebx
push 0x4902ac
call fcn.00427230
add esp, 8
push ebx
xor edi, edi
push edi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
mov ecx, esi
mov dword [ebp - 0x30], eax
call fcn.00417410
cmp dword [ebp - 0x18], edi
je 0x41ea2f
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x41e9b8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e0]
cmp eax, edi
je 0x41e9f8
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x41e9e5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11d8], edi
mov eax, dword [esi + 0x11e0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11e0], edi
cmp dword [esi + 0x11d8], edi
jne 0x41ea11
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x11d8], eax
push edi
push 4
push esi
push 0x41b2c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x11e0], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x41ea3d
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0x1c]
cmp ebx, edi
je 0x41ea4e
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x41ea4e
push ebx
call eax
mov eax, dword [ebp - 0x60]
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41ea5e
push eax
call edi
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x41ea68
push eax
call edi
test ebx, ebx
je 0x41ea6f
push ebx
call edi
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41eac9
push 1
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x36
lea edx, [ebp - 0x34]
push edx
mov ecx, 0x4c2864
mov byte [ebp - 4], 0xf
call fcn.00430a90
mov ecx, dword [esi]
mov edx, dword [eax]
push 0x10
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x34]
call fcn.004111f0
lea ecx, [ebp - 0x30]
call fcn.004111f0
lea ecx, [ebp - 0x2c]
call fcn.004111f0
jmp 0x41eca6
push eax
call edi
mov edi, dword [ebp - 0x28]
push edi
lea ecx, [ebp - 0x44]
call fcn.00411f40
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx - 0xc]
mov byte [ebp - 4], 0x10
test eax, eax
jl 0x41eb04
push str..igs
push ecx
call fcn.00466169
mov ecx, dword [ebp - 0x44]
add esp, 8
test eax, eax
je 0x41eb04
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41eb27
cmp dword [ecx - 0xc], 0
jl 0x41eb9a
push str..igs
push ecx
call fcn.00466169
add esp, 8
test eax, eax
je 0x41eb9a
sub eax, dword [ebp - 0x44]
sar eax, 1
jne 0x41eb9a
lea ecx, [ebp - 0x28]
call fcn.0042d680
push 0x4f
lea eax, [ebp - 0x34]
mov bl, 0x11
push eax
mov ecx, 0x4c2864
mov byte [ebp - 4], bl
call fcn.00430a90
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00411910
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004111f0
push edi
lea ecx, [ebp - 0x28]
call fcn.00411f00
push 2
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x4c2864
call fcn.00430a90
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
push 0
push eax
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x48]
call fcn.004111f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
call fcn.004111f0
cmp dword [ebp + 0x182c], 0
je 0x41ebb4
mov ecx, esi
mov dword [esi + 0x11f0], 1
call fcn.0041d300
mov eax, dword [esi + 0x11d8]
test eax, eax
je 0x41ebc5
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11dc]
test eax, eax
je 0x41ebe0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11dc], 0
push str.OpenDoc_Finsh_
call fcn.00427230
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004111f0
lea ecx, [ebp - 0x2c]
call fcn.004111f0
mov eax, 1
jmp 0x41eca8
push str.1201_FreeLibrary_error
call fcn.00427230
add esp, 4
push 1
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x34
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4c2864
mov dword [ebp - 4], 2
call fcn.00430a90
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 0x41ec6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
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 0x41ec92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1410]
push ecx
push 0x490258
call fcn.00427230
add esp, 8
xor eax, eax
lea esp, [ebp - 0x17c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1810]
xor ecx, ebp
call fcn.004644d0
add ebp, 0x1814
mov esp, ebp
pop ebp
ret 0x14