Function at 0x4663f0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493732
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4d01d4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
imul edi, edi, 0x2c
mov eax, dword [edi + 0x4d2bdc]
mov ebx, ecx
push eax
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x438], edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4668ae
mov ecx, dword [edi + 0x4d2bd4]
push ecx
lea edx, [ebp - 0x460]
push edx
call fcn.0048a530
add esp, 8
mov dword [ebp - 4], 0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x466473
mov eax, dword [eax + 4]
jmp 0x466476
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x448], esi
jb 0x4664a0
mov eax, dword [ebp - 0x45c]
push eax
call fcn.00471099
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], cx
test bl, bl
je 0x466881
mov edx, dword [edi + 0x4d2bd0]
push str.STR_APP_HARD
push edx
call fcn.00471b5e
add esp, 8
test eax, eax
jne 0x4665ce
push 0x40
push eax
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x4a8]
push eax
mov dword [ebp - 0x444], 0xc
mov dword [ebp - 0x43c], 1
call fcn.00473d50
mov ecx, dword [edi + 0x4d2bd4]
add esp, 0xc
push ecx
lea edx, [ebp - 0x430]
push edx
mov dword [ebp - 0x4ac], 0x44
call fcn.0048a530
add esp, 8
mov dword [ebp - 4], 3
cmp dword [eax + 0x18], esi
jb 0x46653e
mov eax, dword [eax + 4]
jmp 0x466541
add eax, 4
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x4ac]
push edx
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x444]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x418], 8
jb 0x46658a
mov edx, dword [ebp - 0x42c]
push edx
call fcn.00471099
add esp, 4
xor eax, eax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov word [ebp - 0x42c], ax
test esi, esi
je 0x4668a7
mov ecx, dword [ebp - 0x450]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x454]
push edx
call esi
mov al, 1
jmp 0x466b3e
mov eax, dword [edi + 0x4d2bd0]
push str.STR_APP_ONKEYINSTL
push eax
call fcn.00471b5e
add esp, 8
test eax, eax
je 0x4667a3
mov ecx, dword [edi + 0x4d2bd0]
push str.STR_APP_SOFTMGR_ONEKEY
push ecx
call fcn.00471b5e
add esp, 8
test eax, eax
je 0x4667a3
mov edx, dword [edi + 0x4d2bd0]
push str.STR_APP_SOFTMGR_ONEKEY_AD
push edx
call fcn.00471b5e
add esp, 8
test eax, eax
jne 0x466746
push 0x3fe
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00473d50
add esp, 0xc
call fcn.0040a030
movzx edx, ax
mov eax, dword [edi + 0x4d2bf4]
push edx
push eax
push str._s__union:_d
lea ecx, [ebp - 0x414]
push 0x200
push ecx
call fcn.00472f6c
mov edx, dword [edi + 0x4d2bd4]
add esp, 0x14
push edx
lea eax, [ebp - 0x430]
push eax
call fcn.0048a530
add esp, 8
mov dword [ebp - 4], 5
cmp dword [eax + 0x18], esi
jb 0x46668e
mov eax, dword [eax + 4]
jmp 0x466691
add eax, 4
lea ecx, [ebp - 0x414]
push ecx
push eax
push str.open
mov ecx, 0xa
call fcn.00402550
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x430]
call fcn.0042db60
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0
push str.OneKeyInst
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
jne 0x4666e2
push 0x64
call ebx
inc esi
cmp esi, 0x1e
jl 0x4666c5
call fcn.00403860
mov edx, dword [eax + 0x1d4]
and edx, 0x10
cmp dl, 0x10
jne 0x466712
call fcn.00403860
mov eax, dword [eax]
push eax
push 1
push 0xcae
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
jmp 0x466b3e
call fcn.00403860
mov ecx, dword [eax + 0x1d4]
and ecx, 0x20
cmp cl, 0x20
jne 0x4668a7
call fcn.00403860
mov edx, dword [eax]
push edx
push 5
push 0xcae
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
jmp 0x466b3e
mov eax, dword [edi + 0x4d2bd4]
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.0048a530
add esp, 8
mov dword [ebp - 4], 6
cmp dword [eax + 0x18], esi
jb 0x46676d
mov eax, dword [eax + 4]
jmp 0x466770
add eax, 4
mov edx, dword [edi + 0x4d2bf4]
push edx
push eax
push str.open
mov ecx, 0xa
call fcn.00402550
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x430]
call fcn.0042db60
mov al, 1
jmp 0x466b3e
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00473d50
mov ax, word [0x4e02a4]
add esp, 0xc
test ax, ax
jne 0x4667d7
call fcn.00409de0
mov word [0x4e02a4], ax
movzx edx, ax
mov eax, dword [edi + 0x4d2bf4]
push edx
push eax
push str._s__union:_d
lea ecx, [ebp - 0x414]
push 0x200
push ecx
call fcn.00472f6c
mov edx, dword [edi + 0x4d2bd4]
add esp, 0x14
push edx
lea eax, [ebp - 0x430]
push eax
call fcn.0048a530
add esp, 8
mov dword [ebp - 4], 4
cmp dword [eax + 0x18], esi
jb 0x466822
mov eax, dword [eax + 4]
jmp 0x466825
add eax, 4
lea ecx, [ebp - 0x414]
push ecx
push eax
push str.open
mov ecx, 0xa
call fcn.00402550
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x418], esi
jb 0x46685d
mov edx, dword [ebp - 0x42c]
push edx
call fcn.00471099
add esp, 4
xor eax, eax
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], 0
mov al, 1
jmp 0x466b3e
mov ecx, dword [edi + 0x4d2bd4]
push ecx
push str.CExterAppMgrThread::RunExterApp_CheckFileInfo__S__failed_r_n
push 0xd0
push str..ThreadExterAppMgr.cpp
push 1
call fcn.0048ccc0
push eax
call fcn.0048c3e0
add esp, 0x18
mov al, 1
jmp 0x466b3e
mov esi, dword [edi + 0x4d2bdc]
mov ecx, str.STR_APP_CALENDAR
mov eax, esi
jmp 0x4668c0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4668e6
test dx, dx
je 0x4668e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4668e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4668c0
xor eax, eax
jmp 0x4668eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4669ef
mov ecx, str.STR_APP_CALENDAR_NO_RUN
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466926
test dx, dx
je 0x466922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466926
add eax, 4
add ecx, 4
test dx, dx
jne 0x466900
xor eax, eax
jmp 0x46692b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4669ef
lea edx, [ebp - 0x414]
push edx
push ebx
call fcn.00466b70
test al, al
je 0x466a5d
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x466951
sub eax, edx
sar eax, 1
cmp eax, 1
jle 0x466992
movzx eax, word [ebp + eax*2 - 0x416]
cmp ax, 0x5c
je 0x466992
cmp ax, 0x2f
je 0x466992
push 0x49f804
lea eax, [ebp - 0x414]
push 0x200
push eax
call fcn.00471185
add esp, 0xc
mov esi, dword [ebp + 8]
imul esi, esi, 0x2c
mov ecx, dword [esi + 0x4d2bd4]
push ecx
lea edx, [ebp - 0x414]
push 0x200
push edx
call fcn.00471185
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466b3c
mov ecx, dword [esi + 0x4d2bf4]
push ecx
lea edx, [ebp - 0x414]
push edx
push str.open
mov ecx, 0xa
call fcn.00402550
add esp, 0xc
mov al, 1
jmp 0x466b3e
mov ebx, str.STR_APP_CALENDAR
call fcn.00465ff0
imul eax, eax, 0x2c
mov edx, dword [ebp - 0x434]
mov esi, dword [eax + 0x4d2bdc]
lea ecx, [ebp - 0x414]
push ecx
push edx
call fcn.00466b70
test al, al
je 0x466a26
call fcn.00465ff0
mov dword [ebp + 8], eax
jmp 0x466948
call fcn.00465ff0
imul eax, eax, 0x2c
mov edx, dword [ebp - 0x434]
mov esi, dword [eax + 0x4d2bdc]
lea ecx, [ebp - 0x414]
push ecx
push edx
call fcn.00466b70
test al, al
je 0x466a5d
mov ebx, str.STR_APP_CALENDAR_NO_RUN
call fcn.00465ff0
mov dword [ebp + 8], eax
jmp 0x466948
mov eax, dword [edi + 0x4d2bd4]
push str.SoftMgrMain.exe
push eax
call fcn.00471b5e
add esp, 8
test eax, eax
jne 0x466b3c
lea edi, [ebp - 0x430]
call fcn.00401ad0
mov dword [ebp - 4], 9
mov ecx, edi
call fcn.0048cdd0
mov ebx, eax
test ebx, ebx
je 0x466ac5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x466aab
xor eax, eax
jmp 0x466ac5
lea edi, [eax + eax]
mov eax, edi
call fcn.00473860
mov esi, esp
mov edx, 3
mov ecx, edi
mov eax, ebx
call fcn.00410850
push 0
push eax
call fcn.004732e4
add esp, 8
test eax, eax
jne 0x466b2a
lea ecx, [ebp - 0x430]
call fcn.0048cdb0
push eax
call fcn.00466c60
test al, al
je 0x466b2a
mov ecx, dword [ebp - 0x438]
mov edx, dword [ecx + 0x4d2bf4]
push edx
lea ecx, [ebp - 0x430]
call fcn.0048cdb0
push eax
push str.open
mov ecx, 0xa
call fcn.00402550
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.0048cfe0
mov al, 1
jmp 0x466b3e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.0048cfe0
xor al, al
lea esp, [ebp - 0x4bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00470f4c
mov esp, ebp
pop ebp
ret 4