Function at 0x41c5f0
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.00462080
push 0xffffffffffffffff
push 0x484e03
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.00460290
add esp, 0xc
push 0x200
lea ecx, [ebp + 0x1410]
push ecx
mov ecx, esi
call fcn.00416d50
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.00424af0
add esp, 4
test edi, edi
jne 0x41c6d9
mov dword [ebp - 0x14], edi
jmp 0x41c70a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c6f1
mov dword [ebp - 0x14], 0
jmp 0x41c70a
lea esi, [eax + eax]
mov eax, esi
call fcn.00460f20
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f410
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp eax, esi
jne 0x41c718
mov dword [ebp - 0x18], esi
jmp 0x41c748
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c72c
mov dword [ebp - 0x18], esi
jmp 0x41c748
lea esi, [eax + eax]
mov eax, esi
call fcn.00460f20
mov ecx, dword [ebp - 0x10]
mov eax, esp
push 3
push esi
push ecx
push eax
call fcn.0040f410
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x41c77b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41c762
xor eax, eax
jmp 0x41c77b
lea esi, [eax + eax]
mov eax, esi
call fcn.00460f20
mov edx, dword [ebp - 0x34]
mov eax, esp
push 3
push esi
push edx
push eax
call fcn.0040f410
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push ecx
push edx
push eax
push str.OpenDoc
call fcn.00424af0
mov esi, dword [ebp - 0x1c]
add esp, 0x10
cmp dword [esi + 0x414], 0
jne 0x41c7b0
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 0x41c8b0
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.00417830
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.00424af0
mov eax, dword [ebp - 0x164]
or edi, 0xffffffff
lea ecx, [ebp - 0x160]
add esp, 0x8c
mov dword [ebp - 4], edi
cmp eax, ecx
je 0x41c830
push eax
call fcn.00460675
add esp, 4
call fcn.004462c7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c84a
push 0x80004005
call fcn.00410860
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 0x48b6c8
push edx
mov dword [ebp - 4], 1
call fcn.00413570
mov esi, dword [ebp - 0x14]
add esp, 0xc
push 0x10
push 0x48b6c0
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 0x41d5ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41d5ac
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 0x41d50d
mov ecx, dword [ebp - 0x30]
xor ebx, ebx
cmp ecx, ebx
je 0x41d50d
cmp dword [ebp - 0x44], ebx
je 0x41d50d
cmp eax, ebx
je 0x41d50d
call ecx
cmp eax, 8
jl 0x41c969
push 1
lea ecx, [ebp - 0x30]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d910
mov esi, eax
push 0x38
lea edx, [ebp - 0x38]
push edx
mov ecx, 0x4bc81c
mov dword [ebp - 4], 3
call fcn.0042d910
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.0042a9f0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0042a9f0
push 0x48b6a0
call fcn.00424af0
add esp, 4
jmp 0x41d5ac
mov esi, dword [ebp - 0x34]
push esi
call fcn.00422270
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x40], eax
call fcn.00424ab0
test eax, eax
je 0x41c99a
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push esi
call fcn.00411f10
call fcn.00425480
add esp, 4
push 0x3fe
lea ecx, [ebp + 0x1012]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x1010], ax
call fcn.00460290
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.00460290
xor eax, eax
mov edx, 5
push 0x48b68c
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.00424af0
push 0x200
lea ecx, [ebp + 0xe0e]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0xe0c], ax
call fcn.00460290
push 0x100
lea edx, [ebp + 0xe0c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.004623d2
add esp, 0x40
cmp esi, ebx
jne 0x41ca4a
xor eax, eax
jmp 0x41ca73
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41ca5d
xor eax, eax
jmp 0x41ca73
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040f410
push eax
push 0x48b67c
call fcn.00424af0
add esp, 8
push esi
lea ecx, [ebp - 0x20]
call fcn.00411f10
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 4
call fcn.00418a50
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
mov dword [ebp - 0x18], ebx
jl 0x41cbda
push str.WINWORD.EXE
push ecx
call fcn.00462ba9
add esp, 8
cmp eax, ebx
je 0x41cbda
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
jne 0x41cbda
cmp dword [ecx - 0xc], ebx
jl 0x41cbda
push str.EXCEL.EXE
push ecx
call fcn.00462ba9
add esp, 8
cmp eax, ebx
je 0x41cbda
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
jne 0x41cbda
cmp dword [ecx - 0xc], ebx
jl 0x41cbda
push 0x48b45c
push ecx
call fcn.00462ba9
add esp, 8
cmp eax, ebx
je 0x41cbda
sub eax, dword [ebp - 0x20]
sar eax, 1
jne 0x41cbda
push str..dwg
lea eax, [ebp + 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41ce64
call fcn.00424ab0
test eax, eax
je 0x41ce64
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x11d0]
cmp eax, ebx
je 0x41cb5e
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x11d8]
cmp eax, ebx
je 0x41cb9e
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x11d0]
cmp eax, ebx
je 0x41cb8b
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 0x41cbb7
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 0x41ad00
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 0x41ce64
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
push 0x48b450
mov byte [ebp - 4], 5
call fcn.00424af0
add esp, 4
push 0x2001f
push str.SOFTWAREMicrosoftOffice12.0MOC
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x50]
call fcn.00415e30
test eax, eax
jne 0x41ce50
push 0x48b3f8
call fcn.00424af0
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.004111b0
push str.C:Program_FilesMicrosoft_OfficeOffice12_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00411da0
push str.OFFICE12
push str.OFFICE11
lea ecx, [ebp - 0x10]
call fcn.00415160
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.004112e0
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.00411f10
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], ebx
mov byte [ebp - 4], 8
jge 0x41cc81
push 0x80070057
call fcn.00410860
movzx eax, word [eax]
add eax, 0xffffffbb
cmp eax, 0x32
ja case.0x41cc97.70
movzx ecx, byte [eax + 0x41d5ec]
jmp dword [ecx*4 + 0x41d5dc]
push str.Wordconv.exe
lea ecx, [ebp - 0x10]
call fcn.00411ed0
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
je 0x41cd21
test ebx, ebx
jne 0x41ccd4
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41ce1d
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41ccf8
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41ce1d
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f410
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41ce1d
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.004118e0
push str.wordconv.exe
jmp 0x41cdcc
push str.Excelcnv.exe
lea ecx, [ebp - 0x10]
call fcn.00411ed0
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
je 0x41cd71
test ebx, ebx
jne 0x41ccd4
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41ce1d
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004118e0
push str.excelcnv.exe
jmp 0x41cdcc
push str.PPCNVCOM.exe
lea ecx, [ebp - 0x10]
call fcn.00411ed0
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
test eax, eax
je 0x41cdbb
test ebx, ebx
jne 0x41ccd4
xor eax, eax
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
jmp 0x41ce1d
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004118e0
push str.ppcnvcom.exe
lea ecx, [ebp - 0x10]
call fcn.00411ed0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
jne 0x41cddf
xor eax, eax
jmp 0x41ce08
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cdf2
xor eax, eax
jmp 0x41ce08
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f410
push eax
push str.office_InstallRoot:_s
call fcn.00424af0
add esp, 8
push ebx
call esi
test eax, eax
je 0x41ce33
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + 0x1410]
push edx
mov dword [ebp - 0x18], 1
call fcn.0041ad80
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call fcn.0042a9f0
lea ecx, [ebp - 0x14]
call fcn.0042a9f0
lea ecx, [ebp - 0x10]
call fcn.0042a9f0
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.00415e00
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.004171a0
push 0x7fe
lea ecx, [ebp + 0x60e]
xor eax, eax
push ebx
push ecx
mov word [ebp + 0x60c], ax
call fcn.00460290
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 0x49bef0
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 0x41cedc
xor esi, esi
jmp 0x41cefa
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
lea edx, [ebp + 0x1010]
push edx
push eax
call fcn.0040f410
mov esi, eax
lea eax, [ebp + 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41cf13
xor eax, eax
jmp 0x41cf2f
lea edi, [eax + eax]
mov eax, edi
call fcn.00460f20
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x60c]
push ecx
push eax
call fcn.0040f410
mov edx, dword [ebp - 0x58]
push edx
push esi
push eax
push str.CreateProcess
call fcn.00424af0
add esp, 0x10
cmp dword [ebp - 0x2c], ebx
je 0x41d04c
mov ebx, dword [ebp - 0x58]
push ebx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x41cf65
or ebx, 0xffffffff
jmp 0x41cf6c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5c]
push 0x48b628
mov dword [ebp - 0x44], eax
call fcn.00424af0
add esp, 4
cmp ebx, 0xffffffff
jne 0x41d07d
xor ebx, ebx
push 0x48b614
call fcn.00424af0
push 0x3c
lea edx, [ebp - 0x9c]
push ebx
push edx
call fcn.00460290
mov esi, dword [ebp - 0x34]
lea eax, [ebp + 0x1010]
push 0x48b600
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], 0x49bef0
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.00424af0
add esp, 0x14
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41d065
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.00416410
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.00424af0
add esp, 0xc
jmp 0x41d07d
lea ecx, [ebp + 0x60c]
push ecx
push 0x48b5cc
call fcn.00424af0
add esp, 8
jmp 0x41cf8a
lea edx, [ebp + 0x1010]
push edx
push esi
push 0x48b5ac
call fcn.00424af0
add esp, 0xc
or ebx, 0xffffffff
push 0x48b598
call fcn.00424af0
add esp, 4
push 1
cmp ebx, 0xffffffff
jne 0x41d0fe
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4bc81c
call fcn.0042d910
mov edi, eax
push 0x35
lea ecx, [ebp - 0x48]
push ecx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 9
call fcn.0042d910
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.0042a9f0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0042a9f0
mov eax, dword [ebp - 0x34]
lea edx, [ebp + 0x1010]
push edx
push eax
push 0x48b578
call fcn.00424af0
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0042a9f0
jmp 0x41d5ac
push ebx
call fcn.00402320
add esp, 8
test eax, eax
jne 0x41d118
push str.CryptDiskSetAccessProcessId_failure
call fcn.00424af0
add esp, 4
mov edi, dword [ebp - 0x1c]
add edi, 0x41c
jne 0x41d127
xor eax, eax
jmp 0x41d150
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41d13a
xor eax, eax
jmp 0x41d150
lea esi, [eax + eax]
mov eax, esi
call fcn.00460f20
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040f410
push ebx
push eax
push 0x48b524
call fcn.00424af0
push 0x60c
xor edi, edi
lea ecx, [ebp]
push edi
push ecx
call fcn.00460290
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 0x41d22d
lea edx, [ebp + 0x1410]
push edx
push ebx
call fcn.00422500
add esp, 8
push ebx
push 0x48b4f8
call fcn.00424af0
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.00417cc0
cmp dword [ebp - 0x18], 0
je 0x41d2fd
mov eax, dword [esi + 0x11d0]
test eax, eax
je 0x41d26f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11d8]
test eax, eax
je 0x41d2b7
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 0x41d2a2
push eax
call edi
mov dword [esi + 0x11d0], 0
mov eax, dword [esi + 0x11d8]
push eax
call edi
mov dword [esi + 0x11d8], 0
jmp 0x41d2bd
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x11d0], 0
jne 0x41d2da
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 0x41ad00
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 0x41d303
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x41d311
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41d322
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41d322
push ebx
call eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x41d32c
push eax
call edi
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x41d336
push eax
call edi
test ebx, ebx
je 0x41d33d
push ebx
call edi
cmp dword [ebp - 0x28], 0
jne 0x41d396
push 1
lea ecx, [ebp - 0x40]
push ecx
mov ecx, 0x4bc81c
call fcn.0042d910
mov esi, eax
push 0x35
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 0xa
call fcn.0042d910
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.0042a9f0
lea ecx, [ebp - 0x40]
call fcn.0042a9f0
lea ecx, [ebp - 0x20]
call fcn.0042a9f0
jmp 0x41d5ac
mov eax, dword [ebp - 0x28]
push eax
call edi
mov ebx, dword [ebp - 0x38]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00411f10
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx - 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
jl 0x41d3d4
push str..igs
push ecx
call fcn.00462ba9
mov ecx, dword [ebp - 0x3c]
add esp, 8
test eax, eax
je 0x41d3d4
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jne 0x41d3f7
cmp dword [ecx - 0xc], 0
jl 0x41d46a
push str..igs
push ecx
call fcn.00462ba9
add esp, 8
test eax, eax
je 0x41d46a
sub eax, dword [ebp - 0x3c]
sar eax, 1
jne 0x41d46a
lea ecx, [ebp - 0x14]
call fcn.004111b0
push 0x4e
lea ecx, [ebp - 0x24]
push ecx
mov ecx, 0x4bc81c
mov byte [ebp - 4], 0xc
call fcn.0042d910
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.004118e0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0042a9f0
push ebx
lea ecx, [ebp - 0x14]
call fcn.00411ed0
push 2
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x4bc81c
call fcn.0042d910
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.0042a9f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0042a9f0
cmp dword [ebp + 0x182c], 0
je 0x41d484
mov ecx, esi
mov dword [esi + 0x11e8], 1
call fcn.0041bec0
mov eax, dword [esi + 0x11d0]
test eax, eax
je 0x41d495
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11d4]
test eax, eax
je 0x41d4ac
push eax
call edi
mov dword [esi + 0x11d4], 0
mov eax, dword [esi + 0x11d8]
test eax, eax
je 0x41d4e6
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d0]
xor ebx, ebx
cmp eax, ebx
je 0x41d4d7
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.00424af0
add esp, 4
lea ecx, [ebp - 0x3c]
call fcn.0042a9f0
lea ecx, [ebp - 0x20]
call fcn.0042a9f0
mov eax, 1
jmp 0x41d5ae
push str.1201_FreeLibrary_error
call fcn.00424af0
add esp, 4
push 1
lea edx, [ebp - 0x40]
push edx
mov ecx, 0x4bc81c
call fcn.0042d910
mov esi, eax
push 0x33
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4bc81c
mov dword [ebp - 4], 2
call fcn.0042d910
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 0x41d572
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 0x41d598
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x1410]
push ecx
push 0x48b4a4
call fcn.00424af0
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.00460f10
add ebp, 0x1814
mov esp, ebp
pop ebp
ret 0x14