Function at 0x41c3e0
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.00461df0
push 0xffffffffffffffff
push 0x484af3
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4b7b70]
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 - 0x34], eax
push edx
lea eax, [ebp + 0x1412]
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x38], edi
mov word [ebp + 0x1410], dx
call fcn.00460000
add esp, 0xc
push 0x200
lea ecx, [ebp + 0x1410]
push ecx
mov ecx, esi
call fcn.0040f460
push 0x48ab60
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 0x48a754
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.NtResumeProcess
push 0x48a754
mov dword [ebp - 0x48], eax
call esi
push eax
call ebx
push str.OpenDoc_Start_
mov dword [ebp - 0x24], eax
call fcn.00424900
add esp, 4
test edi, edi
jne 0x41c4c9
mov dword [ebp - 0x14], edi
jmp 0x41c4fa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c4e1
mov dword [ebp - 0x14], 0
jmp 0x41c4fa
lea esi, [eax + eax]
mov eax, esi
call fcn.00460c90
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f420
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp eax, esi
jne 0x41c508
mov dword [ebp - 0x18], esi
jmp 0x41c538
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c51c
mov dword [ebp - 0x18], esi
jmp 0x41c538
lea esi, [eax + eax]
mov eax, esi
call fcn.00460c90
mov ecx, dword [ebp - 0x10]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.0040f420
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x41c56b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c552
xor eax, eax
jmp 0x41c56b
lea esi, [eax + eax]
mov eax, esi
call fcn.00460c90
mov edx, dword [ebp - 0x34]
mov eax, esp
push 3
push esi
push edx
push eax
call fcn.0040f420
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push eax
push str.OpenDoc
call fcn.00424900
mov esi, dword [ebp - 0x1c]
add esp, 0x10
cmp dword [esi + 0x414], 0
jne 0x41c5a0
lea eax, [ebp + 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x414], eax
mov ecx, esi
mov esi, dword [ecx + 0x414]
test esi, esi
jne 0x41c6a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push 3
lea eax, [ebp + 0x1410]
lea edx, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x164], edx
call fcn.00417850
sub esp, 0x84
mov edi, esp
mov dword [ebp - 4], esi
push ebx
mov ecx, 0x21
lea esi, [ebp - 0x164]
push str.1178_Error__d__LoadLibrary___s_
rep movsd dword es:[edi], dword [esi]
call fcn.00424900
mov eax, dword [ebp - 0x164]
or edi, 0xffffffff
lea ecx, [ebp - 0x160]
add esp, 0x8c
mov dword [ebp - 4], edi
cmp eax, ecx
je 0x41c620
push eax
call fcn.004603e5
add esp, 4
call fcn.0044602e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c63a
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 - 0x14], eax
lea ecx, [ebp + 0x1410]
push ecx
lea edx, [ebp - 0x14]
push 0x48b698
push edx
mov dword [ebp - 4], 1
call fcn.004135e0
mov esi, dword [ebp - 0x14]
add esp, 0xc
push 0x10
push 0x48b690
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 0x41d39c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41d39c
push str.CControlDll_Add
push esi
call ebx
push str.CControlDll_GetNum
push esi
mov dword [ebp - 0x28], eax
call ebx
push str.CControlDll_Del
push esi
mov dword [ebp - 0x30], eax
call ebx
push str.CControlDll_GetByPwd
push esi
mov dword [ebp - 0x44], eax
call ebx
cmp dword [ebp - 0x28], 0
je 0x41d2fd
mov ecx, dword [ebp - 0x30]
xor ebx, ebx
cmp ecx, ebx
je 0x41d2fd
cmp dword [ebp - 0x44], ebx
je 0x41d2fd
cmp eax, ebx
je 0x41d2fd
call ecx
cmp eax, 8
jl 0x41c759
push 1
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d450
mov esi, eax
push 0x38
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x4bc81c
mov dword [ebp - 4], 3
call fcn.0042d450
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x38]
call fcn.00411220
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00411220
push 0x48b670
call fcn.00424900
add esp, 4
jmp 0x41d39c
mov esi, dword [ebp - 0x34]
push esi
call fcn.00422080
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x40], eax
call fcn.004248c0
test eax, eax
je 0x41c78a
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
call fcn.00411f70
call fcn.00425380
add esp, 4
push 0x3fe
lea ecx, [ebp + 0x1012]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x1010], ax
call fcn.00460000
mov edx, dword [ebp - 0x10]
add esp, 0xc
push edx
lea eax, [ebp + 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40
lea ecx, [ebp - 0xdc]
push ebx
push ecx
call fcn.00460000
xor eax, eax
mov edx, 5
push 0x48b65c
mov dword [ebp - 0xe0], 0x44
mov word [ebp - 0xb0], dx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x44], ebx
call fcn.00424900
push 0x200
lea ecx, [ebp + 0xe0e]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0xe0c], ax
call fcn.00460000
push 0x100
lea edx, [ebp + 0xe0c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.00462142
add esp, 0x40
cmp esi, ebx
jne 0x41c83a
xor eax, eax
jmp 0x41c863
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c84d
xor eax, eax
jmp 0x41c863
lea edi, [eax + eax]
mov eax, edi
call fcn.00460c90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040f420
push eax
push 0x48b64c
call fcn.00424900
add esp, 8
push esi
lea ecx, [ebp - 0x20]
call fcn.00411f70
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 4
call fcn.00418a80
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
mov dword [ebp - 0x18], ebx
jl 0x41c9ca
push str.WINWORD.EXE
push ecx
call fcn.00462919
add esp, 8
cmp eax, ebx
je 0x41c9ca
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
jne 0x41c9ca
cmp dword [ecx - 0xc], ebx
jl 0x41c9ca
push str.EXCEL.EXE
push ecx
call fcn.00462919
add esp, 8
cmp eax, ebx
je 0x41c9ca
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
jne 0x41c9ca
cmp dword [ecx - 0xc], ebx
jl 0x41c9ca
push 0x48b42c
push ecx
call fcn.00462919
add esp, 8
cmp eax, ebx
je 0x41c9ca
sub eax, dword [ebp - 0x20]
sar eax, 1
jne 0x41c9ca
push str..dwg
lea eax, [ebp + 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41cc54
call fcn.004248c0
test eax, eax
je 0x41cc54
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x11d0]
cmp eax, ebx
je 0x41c94e
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x11d8]
cmp eax, ebx
je 0x41c98e
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x11d0]
cmp eax, ebx
je 0x41c97b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x11d0], ebx
mov ecx, dword [edi + 0x11d8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x11d8], ebx
cmp dword [edi + 0x11d0], ebx
jne 0x41c9a7
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x11d0], eax
push ebx
push 4
push edi
push 0x41ab80
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [edi + 0x11d8], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41cc54
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
push 0x48b420
mov byte [ebp - 4], 5
call fcn.00424900
add esp, 4
push 0x2001f
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x50]
call fcn.00415ea0
test eax, eax
jne 0x41cc40
push 0x48b3c8
call fcn.00424900
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.004111f0
push str.C:Program_FilesMicrosoft_OfficeOffice12_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00411e00
push str.OFFICE12
push str.OFFICE11
lea ecx, [ebp - 0x10]
call fcn.004151d0
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411240
mov eax, dword [ebp - 0x20]
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00411f70
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], ebx
mov byte [ebp - 4], 8
jge 0x41ca71
push 0x80070057
call fcn.004108b0
movzx eax, word [eax]
add eax, 0xffffffbb
cmp eax, 0x32
ja case.0x41ca87.70
movzx ecx, byte [eax + 0x41d3dc]
jmp dword [ecx*4 + 0x41d3cc]
push str.Wordconv.exe
lea ecx, [ebp - 0x10]
call fcn.00411f30
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
je 0x41cb11
test ebx, ebx
jne 0x41cac4
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424900
add esp, 8
jmp 0x41cc0d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cae8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424900
add esp, 8
jmp 0x41cc0d
lea edi, [eax + eax]
mov eax, edi
call fcn.00460c90
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f420
push eax
push str.office_InstallRoot:_s
call fcn.00424900
add esp, 8
jmp 0x41cc0d
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.00411940
push str.wordconv.exe
jmp 0x41cbbc
push str.Excelcnv.exe
lea ecx, [ebp - 0x10]
call fcn.00411f30
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
je 0x41cb61
test ebx, ebx
jne 0x41cac4
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424900
add esp, 8
jmp 0x41cc0d
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00411940
push str.excelcnv.exe
jmp 0x41cbbc
push str.PPCNVCOM.exe
lea ecx, [ebp - 0x10]
call fcn.00411f30
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
je 0x41cbab
test ebx, ebx
jne 0x41cac4
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424900
add esp, 8
jmp 0x41cc0d
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00411940
push str.ppcnvcom.exe
lea ecx, [ebp - 0x10]
call fcn.00411f30
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne 0x41cbcf
xor eax, eax
jmp 0x41cbf8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cbe2
xor eax, eax
jmp 0x41cbf8
lea edi, [eax + eax]
mov eax, edi
call fcn.00460c90
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f420
push eax
push str.office_InstallRoot:_s
call fcn.00424900
add esp, 8
push ebx
call esi
test eax, eax
je 0x41cc23
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + 0x1410]
push edx
mov dword [ebp - 0x18], 1
call fcn.0041ac00
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00411220
lea ecx, [ebp - 0x14]
call fcn.00411220
lea ecx, [ebp - 0x10]
call fcn.00411220
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.00415e70
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004171c0
push 0x7fe
lea ecx, [ebp + 0x60e]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x60c], ax
call fcn.00460000
lea edx, [ebp + 0x1010]
push edx
push esi
lea eax, [ebp + 0x60c]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0xe0]
push edx
push 0x49be80
push ebx
push 4
push ebx
push ebx
push ebx
lea eax, [ebp + 0x60c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [ebp + 0x1010]
push ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cccc
xor esi, esi
jmp 0x41ccea
lea edi, [eax + eax]
mov eax, edi
call fcn.00460c90
mov eax, esp
push 3
push edi
lea edx, [ebp + 0x1010]
push edx
push eax
call fcn.0040f420
mov esi, eax
lea eax, [ebp + 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cd03
xor eax, eax
jmp 0x41cd1f
lea edi, [eax + eax]
mov eax, edi
call fcn.00460c90
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x60c]
push ecx
push eax
call fcn.0040f420
mov edx, dword [ebp - 0x58]
push edx
push esi
push eax
push str.CreateProcess
call fcn.00424900
add esp, 0x10
cmp dword [ebp - 0x2c], ebx
je 0x41ce3c
mov ebx, dword [ebp - 0x58]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x41cd55
or ebx, 0xffffffff
jmp 0x41cd5c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5c]
push 0x48b5f8
mov dword [ebp - 0x44], eax
call fcn.00424900
add esp, 4
cmp ebx, 0xffffffff
jne 0x41ce6d
xor ebx, ebx
push 0x48b5e4
call fcn.00424900
push 0x3c
lea edx, [ebp - 0x9c]
push ebx
push edx
call fcn.00460000
mov esi, dword [ebp - 0x34]
lea eax, [ebp + 0x1010]
push 0x48b5d0
mov dword [ebp - 0x9c], 0x3c
mov dword [ebp - 0x98], 0x440
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], str.open
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0x49be80
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
call fcn.00424900
add esp, 0x14
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41ce55
mov edx, dword [ebp - 0x64]
push edx
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00416480
mov ebx, eax
push 1
push ebx
call fcn.00402320
mov ecx, dword [ebp - 0x64]
push str.ShellExecuteEx
mov dword [ebp - 0x30], ecx
call fcn.00424900
add esp, 0xc
jmp 0x41ce6d
lea ecx, [ebp + 0x60c]
push ecx
push 0x48b59c
call fcn.00424900
add esp, 8
jmp 0x41cd7a
lea edx, [ebp + 0x1010]
push edx
push esi
push 0x48b57c
call fcn.00424900
add esp, 0xc
or ebx, 0xffffffff
push 0x48b568
call fcn.00424900
add esp, 4
push 1
cmp ebx, 0xffffffff
jne 0x41ceee
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4bc81c
call fcn.0042d450
mov edi, eax
push 0x35
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 9
call fcn.0042d450
mov edi, dword [edi]
mov eax, dword [eax]
push 0x10
push edi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x48]
call fcn.00411220
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00411220
mov eax, dword [ebp - 0x34]
lea edx, [ebp + 0x1010]
push edx
push eax
push 0x48b548
call fcn.00424900
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00411220
jmp 0x41d39c
push ebx
call fcn.00402320
add esp, 8
test eax, eax
jne 0x41cf08
push str.CryptDiskSetAccessProcessId_failure
call fcn.00424900
add esp, 4
mov edi, dword [ebp - 0x1c]
add edi, 0x41c
jne 0x41cf17
xor eax, eax
jmp 0x41cf40
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cf2a
xor eax, eax
jmp 0x41cf40
lea esi, [eax + eax]
mov eax, esi
call fcn.00460c90
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f420
push ebx
push eax
push 0x48b4f4
call fcn.00424900
push 0x60c
xor edi, edi
lea ecx, [ebp]
push edi
push ecx
call fcn.00460000
mov esi, dword [ebp - 0x1c]
movzx edx, byte [esi + 0x94f]
mov eax, dword [esi + 0x947]
add esp, 0x18
lea ecx, [esi + 0x950]
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, 0xa50
mov ecx, 0x17
lea edi, [ebp + 0x564]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1c]
mov cl, byte [esi + 0xac2]
movzx edx, byte [esi + 0x94b]
mov eax, dword [esi + 0xaac]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [ebp + 0x5c4], cl
mov ecx, dword [ebp - 0x38]
mov dword [ebp + 0x5c8], edx
mov dword [ebp + 0x5c0], eax
mov al, byte [esi + 0xac3]
push ecx
lea edx, [ebp + 0x14]
push edx
mov byte [ebp + 0x5cc], al
call edi
lea eax, [esi + 0x41c]
push eax
lea eax, [ebp + 0x414]
push eax
call edi
lea ecx, [ebp]
push ecx
mov dword [ebp + 4], ebx
call dword [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x40], 0
je 0x41d01d
lea edx, [ebp + 0x1410]
push edx
push ebx
call fcn.00422310
add esp, 8
push ebx
push 0x48b4c8
call fcn.00424900
add esp, 8
push ebx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebx
mov ecx, esi
mov dword [ebp - 0x28], eax
call fcn.00417ce0
cmp dword [ebp - 0x18], 0
je 0x41d0ed
mov eax, dword [esi + 0x11d0]
test eax, eax
je 0x41d05f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11d8]
test eax, eax
je 0x41d0a7
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41d092
push eax
call edi
mov dword [esi + 0x11d0], 0
mov eax, dword [esi + 0x11d8]
push eax
call edi
mov dword [esi + 0x11d8], 0
jmp 0x41d0ad
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x11d0], 0
jne 0x41d0ca
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x11d0], eax
push 0
push 4
push esi
push 0x41ab80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x11d8], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41d0f3
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x41d101
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41d112
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41d112
push ebx
call eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x41d11c
push eax
call edi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x41d126
push eax
call edi
test ebx, ebx
je 0x41d12d
push ebx
call edi
cmp dword [ebp - 0x28], 0
jne 0x41d186
push 1
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d450
mov esi, eax
push 0x35
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 0xa
call fcn.0042d450
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 - 0x24]
call fcn.00411220
lea ecx, [ebp - 0x40]
call fcn.00411220
lea ecx, [ebp - 0x20]
call fcn.00411220
jmp 0x41d39c
mov eax, dword [ebp - 0x28]
push eax
call edi
mov ebx, dword [ebp - 0x38]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00411f70
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx - 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
jl 0x41d1c4
push str..igs
push ecx
call fcn.00462919
mov ecx, dword [ebp - 0x3c]
add esp, 8
test eax, eax
je 0x41d1c4
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41d1e7
cmp dword [ecx - 0xc], 0
jl 0x41d25a
push str..igs
push ecx
call fcn.00462919
add esp, 8
test eax, eax
je 0x41d25a
sub eax, dword [ebp - 0x3c]
sar eax, 1
jne 0x41d25a
lea ecx, [ebp - 0x14]
call fcn.004111f0
push 0x4e
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 0xc
call fcn.0042d450
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00411940
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00411220
push ebx
lea ecx, [ebp - 0x14]
call fcn.00411f30
push 2
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x4bc81c
call fcn.0042d450
mov eax, dword [eax]
push 0
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x28]
call fcn.00411220
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.00411220
cmp dword [ebp + 0x182c], 0
je 0x41d274
mov ecx, esi
mov dword [esi + 0x11e8], 1
call fcn.0041bcb0
mov eax, dword [esi + 0x11d0]
test eax, eax
je 0x41d285
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11d4]
test eax, eax
je 0x41d29c
push eax
call edi
mov dword [esi + 0x11d4], 0
mov eax, dword [esi + 0x11d8]
test eax, eax
je 0x41d2d6
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d0]
xor ebx, ebx
cmp eax, ebx
je 0x41d2c7
push eax
call edi
mov dword [esi + 0x11d0], ebx
mov ecx, dword [esi + 0x11d8]
push ecx
call edi
mov dword [esi + 0x11d8], ebx
push str.OpenDoc_Finsh_
call fcn.00424900
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.00411220
lea ecx, [ebp - 0x20]
call fcn.00411220
mov eax, 1
jmp 0x41d39e
push str.1201_FreeLibrary_error
call fcn.00424900
add esp, 4
push 1
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x4bc81c
call fcn.0042d450
mov esi, eax
push 0x33
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4bc81c
mov dword [ebp - 4], 2
call fcn.0042d450
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 - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d362
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
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 0x41d388
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1410]
push ecx
push 0x48b474
call fcn.00424900
add esp, 8
xor eax, eax
lea esp, [ebp - 0x174]
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.00460c80
add ebp, 0x1814
mov esp, ebp
pop ebp
ret 0x14