Function at 0x4bf630
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b4ef
mov eax, dword fs:[0]
push eax
sub esp, 0x48c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
cmp byte [edi + 4], 0
jne 0x4bfa54
lea ebx, [edi + 0x606]
mov edx, ebx
lea ecx, [ebp - 0x428]
call fcn.0040e950
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x4bf68f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0x441]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x4bf6c4
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00404be0
xor eax, eax
mov dword [ebp - 0x414], 7
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
cmp byte [ebp - 0x441], al
je 0x4bf9ff
lea esi, [edi + 6]
push str.STR_APP_HARD
push esi
call fcn.00533aae
add esp, 8
test eax, eax
jne 0x4bf7cb
push eax
xor edx, edx
mov ecx, 0x1a5f2
call fcn.00411230
push 0x40
lea eax, [ebp - 0x494]
mov dword [ebp - 0x454], 0xc
push 0
push eax
mov dword [ebp - 0x44c], 1
mov dword [ebp - 0x450], 0
call fcn.0052d340
add esp, 0x10
mov dword [ebp - 0x498], 0x44
mov edx, ebx
lea ecx, [ebp - 0x440]
call fcn.0040e950
mov dword [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4bf76a
mov eax, dword [eax]
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x498]
push ecx
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x454]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404780
test esi, esi
je 0x4bfa4d
push dword [ebp - 0x41c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
mov al, 1
jmp 0x4bfcf7
cmp esi, str.STR_APP_ONKEYINSTL
je 0x4bf962
cmp esi, str.STR_APP_SOFTMGR_ONEKEY
je 0x4bf962
cmp esi, str.STR_APP_SOFTMGR_ONEKEY_AD
jne 0x4bf8a2
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0052d340
call fcn.00446810
movzx eax, ax
push eax
lea eax, [edi + 0x2008]
push eax
push 0x5c157c
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.004081b0
add esp, 0x20
lea ecx, [ebp - 0x440]
mov edx, ebx
call fcn.0040e950
mov dword [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4bf847
mov eax, dword [eax]
push 0xa
push ecx
lea ecx, [ebp - 0x410]
mov edx, 0x5c1598
push ecx
push eax
call fcn.00412ad0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404780
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0
push str.OneKeyInst
call ebx
test eax, eax
jne 0x4bfa4d
push 0x64
call edi
inc esi
cmp esi, 0x1e
jl 0x4bf880
mov al, 1
jmp 0x4bfcf7
push str.STR_APP_PCREPAIR
push esi
call fcn.00533aae
add esp, 8
test eax, eax
jne 0x4bf8bb
mov ecx, 0x1a5e2
jmp 0x4bf8d2
push str.STR_APP_PCSPEEDER
push esi
call fcn.00533aae
add esp, 8
test eax, eax
jne 0x4bf8de
mov ecx, 0x1a5fb
push 0
xor edx, edx
call fcn.00411230
add esp, 4
mov edx, ebx
lea ecx, [ebp - 0x440]
call fcn.0040e950
mov ecx, eax
mov dword [ebp - 4], 7
cmp dword [ecx + 0x14], 8
jb 0x4bf8fc
mov ecx, dword [ecx]
push 0xa
push ecx
lea eax, [edi + 0x2008]
mov edx, 0x5c1604
push eax
push ecx
call fcn.00412ad0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404780
mov edx, ebx
lea ecx, [ebp - 0x440]
call fcn.0040e950
mov dword [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x4bf942
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404780
mov al, 1
jmp 0x4bfcf7
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.0052d340
mov ax, word [0x61e7dc]
add esp, 0xc
test ax, ax
jne 0x4bf98e
call fcn.00446730
mov word [0x61e7dc], ax
movzx eax, ax
push eax
lea eax, [edi + 0x2008]
push eax
push 0x5c1520
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.004081b0
add esp, 0x14
lea ecx, [ebp - 0x440]
mov edx, ebx
call fcn.0040e950
mov dword [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4bf9ce
mov eax, dword [eax]
push 0xa
push ecx
lea ecx, [ebp - 0x410]
mov edx, 0x5c153c
push ecx
push eax
call fcn.00412ad0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00404780
mov al, 1
jmp 0x4bfcf7
mov eax, dword [0x618d28]
test eax, eax
jne 0x4bfa32
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x448], eax
mov dword [ebp - 4], 9
mov ecx, eax
call fcn.00409ee0
mov dword [ebp - 4], 0xffffffff
mov dword [0x618d28], eax
push ebx
push str.CExterAppMgrThread::RunExterApp_CheckFileInfo__S__failed_r_n
push 0x104
push 0x5c164c
push 1
push eax
call fcn.0040a3e0
add esp, 0x18
mov al, 1
jmp 0x4bfcf7
lea eax, [edi + 0x1006]
xor bl, bl
cmp eax, 0x5c1664
je 0x4bfad4
cmp eax, 0x5c1688
je 0x4bfad4
mov ecx, 0x5c1754
lea eax, [edi + 0x2210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4bfa9b
test dx, dx
je 0x4bfa97
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bfa9b
add eax, 4
add ecx, 4
test dx, dx
jne 0x4bfa75
xor eax, eax
jmp 0x4bfaa0
sbb eax, eax
or eax, 1
mov ecx, esi
test eax, eax
jne 0x4bfac1
lea eax, [edi + 0x606]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
call fcn.004c2880
mov bl, al
jmp 0x4bfb46
push 0
push edi
lea eax, [ebp - 0x410]
push eax
call fcn.004c2880
mov bl, al
jmp 0x4bfb46
push 0
push 0x5c16b8
call fcn.004bf110
push eax
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004c2880
mov ecx, esi
test al, al
je 0x4bfb03
push 0x5c16dc
call fcn.004bf110
mov bl, 1
jmp 0x4bfb38
push 0
push str.STR_APP_CALENDAR
call fcn.004bf110
push eax
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004c2880
test al, al
je 0x4bfb32
push str.STR_APP_CALENDAR_NO_RUN
mov ecx, esi
call fcn.004bf110
mov bl, 1
jmp 0x4bfb38
mov eax, dword [ebp - 0x448]
push 0x2614
push eax
call fcn.00512108
add esp, 8
test bl, bl
je 0x4bfbeb
lea ecx, [ebp - 0x410]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bfb57
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jle 0x4bfb96
movzx eax, word [ebp + ecx*2 - 0x412]
cmp eax, 0x5c
je 0x4bfb96
cmp eax, 0x2f
je 0x4bfb96
push 0x5c175c
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0053521e
add esp, 0xc
lea eax, [edi + 0x606]
push eax
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0053521e
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bfcf5
push 0xa
push ecx
lea eax, [edi + 0x2008]
mov edx, 0x5c1760
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00412ad0
add esp, 0x10
mov al, 1
jmp 0x4bfcf7
lea eax, [edi + 0x606]
push 0x5c176c
push eax
call fcn.00533aae
add esp, 8
test eax, eax
jne 0x4bfcf5
mov edx, str.SoftMgrMain.exe
lea ecx, [ebp - 0x428]
call fcn.00411e40
mov dword [ebp - 4], 0xd
lea ebx, [ebp - 0x428]
cmp dword [ebp - 0x414], 8
cmovae ebx, dword [ebp - 0x428]
test ebx, ebx
jne 0x4bfc3a
xor eax, eax
jmp 0x4bfc73
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4bfc40
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x4bfc5e
xor eax, eax
jmp 0x4bfc73
add esi, esi
mov eax, esi
call fcn.00512c50
mov ecx, esp
mov edx, ebx
push 3
push esi
call fcn.004c3950
push 0
push eax
call fcn.0053c048
add esp, 8
test eax, eax
jne 0x4bfce3
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bfce3
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x428]
push 0xa
cmovae ecx, dword [ebp - 0x428]
lea eax, [edi + 0x2008]
push ecx
push eax
push ecx
mov edx, 0x5c17ac
call fcn.00412ad0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00409540
mov al, 1
jmp 0x4bfcf7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00409540
xor al, al
lea esp, [ebp - 0x4a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 4