Function at 0x4187b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43e73b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa20
push ebx
push ebp
push esi
mov esi, ecx
push edi
push str.gaojigongju
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0x80004005
call sub.MFC42u.DLL_CString::CString_1
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x24]
xor ebp, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xa40], ebp
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x234], ebp
mov dword [esp + 0x18], ebp
call fcn.0041ac00
cmp eax, ebp
je 0x4189fa
cmp dword [eax + 0x1c], 2
jne 0x4189fa
mov ecx, eax
call fcn.00410550
mov ebx, eax
cmp ebx, ebp
je 0x4189fa
cmp esi, ebp
je 0x418982
mov esi, dword [esi + 0x20]
cmp esi, ebp
je 0x418865
push 0x3ed
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x20], eax
jmp 0x418869
mov dword [esp + 0x20], ebp
mov eax, dword [0x44fe90]
cmp eax, ebp
je 0x41887e
cmp dword [0x44fe94], ebp
jne 0x418967
lea edx, [esp + 0x230]
push 0x400
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x230]
push eax
call edi
mov eax, dword [0x44fe98]
xor esi, esi
cmp eax, ebp
jle 0x4188c1
lea ecx, [esp + 0x230]
push ecx
call edi
mov eax, dword [0x44fe98]
inc esi
cmp esi, eax
jl 0x4188ad
lea edx, [esp + 0x230]
push str.MiniUI.dll
lea eax, [esp + 0x234]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x230]
test ecx, ecx
je 0x418923
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418927
lea eax, [esp + 0x230]
push eax
call fcn.0043a2e0
add esp, 4
test eax, eax
jne 0x418927
call fcn.0043a1e0
lea ecx, [esp + 0x230]
push eax
push ecx
call fcn.0043a1f0
add esp, 8
xor eax, eax
jmp 0x418935
lea edx, [esp + 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebp
mov dword [0x44fe94], eax
je 0x418982
push str.GetMiniUI
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebp
mov dword [0x44fe90], eax
jne 0x418967
mov eax, dword [0x44fe94]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x44fe94], ebp
jmp 0x418982
call eax
cmp eax, ebp
je 0x418982
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push 0x283c
push edx
push eax
call dword [ecx + 0x20]
cmp dword [esp + 0x10], ebp
je 0x4189fa
mov esi, dword [esp + 0xa40]
push 0x103
lea eax, [esp + 0x28]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov ecx, dword [ebx]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push ebp
push str.GetToolStatus
push ebx
call dword [ecx + 0x1c]
cmp eax, ebp
je 0x4189fa
mov eax, dword [esp + 0x22c]
cmp eax, ebp
je 0x4189fa
cmp eax, 1
mov eax, dword [esp + 0x10]
jne 0x4189da
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
test eax, eax
jge 0x4189e5
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov edx, dword [ebx]
push esi
push ebp
push str.RunTool
push ebx
call dword [edx + 0x1c]
cmp eax, ebp
je 0x4189fa
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0xa38], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xa30]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa2c
ret 0xc