Function at 0x128fb0e0
Capabilities:
Get file attributes
Get number of processors
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x12989c18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x38]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
mov dword [esp + 0x20], ecx
je 0x128fb686
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x128fb686
mov eax, dword [0x12993aec]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], eax
lea eax, [esi + 0x48]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x3c], 1
call fcn.12907ea0
mov ecx, dword [esi + 8]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x44], 2
call fcn.12907c40
lea eax, [esp + 0x20]
push eax
call fcn.128d9e00
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call fcn.129087d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.12908640
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
mov edi, dword [esp + 0x48]
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x28]
push edx
mov edx, dword [esi + 8]
push edi
push edi
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
push str.Query115UpDownHistory________wstrFilePath:__s__dwType:__d__nUpDownLastTime__I64u___updownType_:__d___dwUpDownType_:__d____d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x30
mov ecx, 0x129cd048
call fcn.128e0380
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x129cd048
call fcn.128e0530
test eax, eax
jne 0x128fb63b
push 0x129cd044
lea ecx, [esp + 0x4c]
call fcn.12907ea0
cmp edi, 1
mov byte [esp + 0x38], 4
jne 0x128fb223
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x30]
push eax
mov eax, dword [ebp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push str.SELECT__s__s_FROM__s_WHERE__s____8
push ecx
call fcn.1290b5c0
add esp, 0x18
jmp 0x128fb257
cmp edi, 2
jne 0x128fb257
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 0x18]
push eax
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x68]
push str.SELECT__s__s__s__s_FROM__s_WHERE___s____8_or__s____9__and__s__1
push eax
call fcn.1290b5c0
add esp, 0x28
mov ecx, dword [esp + 0x48]
push ecx
push str.Query115UpDownHistory___s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x44]
push 0
push edx
push 0xffffffffffffffff
push eax
push ecx
mov ecx, 0x129cd048
call fcn.128e0550
test eax, eax
jne 0x128fb5f5
cmp edi, 1
jne 0x128fb3fb
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x44]
push edx
push eax
push 8
push ecx
mov ecx, 0x129cd048
call fcn.128e0580
mov edx, dword [esp + 0x44]
mov ecx, 0x129cd048
push edx
call fcn.128e05e0
cmp eax, 0x64
jne 0x128fb5ee
mov eax, dword [esp + 0x44]
push 0
push eax
mov ecx, 0x129cd048
call fcn.128e0650
mov ecx, dword [esp + 0x44]
push 1
push ecx
mov ecx, 0x129cd048
mov edi, eax
mov ebp, edx
call fcn.128e0630
push eax
lea ecx, [esp + 0x14]
call fcn.129088c0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x128fb3d9
push str.http:__115.com_
lea ecx, [esp + 0x44]
call fcn.129088c0
mov eax, dword [esp + 0x10]
push eax
call fcn.128ec1b0
add esp, 4
lea ecx, [esp + 0x40]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.12908db0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.129087d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.12908640
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebp
push edi
push 1
push str.Query115UpDownHistory_Add_Type__d__iTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
add esp, 0x24
lea ebx, [esi + 0x250]
mov ecx, 0x129d2fe0
push str.115chrome
push ebx
push edx
push eax
push ebp
push edi
push 1
call fcn.128ff690
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x128fb3d9
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.12907ea0
mov ecx, dword [esp + 0x24]
push ebp
push edi
lea edx, [esp + 0x1c]
push 1
lea eax, [esp + 0x50]
push edx
push eax
call fcn.128fbdf0
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, 0x129cd048
call fcn.128e05e0
cmp eax, 0x64
je 0x128fb2d4
mov ebx, 1
jmp 0x128fb60f
cmp edi, 2
jne 0x128fb5ee
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x44]
push edx
push eax
push 8
push ecx
mov ecx, 0x129cd048
call fcn.128e0580
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x44]
push edx
push eax
push 9
push ecx
mov ecx, 0x129cd048
call fcn.128e0580
mov edx, dword [esp + 0x44]
mov ecx, 0x129cd048
push edx
call fcn.128e05e0
cmp eax, 0x64
jne 0x128fb5ee
mov eax, dword [esp + 0x44]
push 0
push eax
mov ecx, 0x129cd048
call fcn.128e0630
push eax
lea ecx, [esp + 0x44]
call fcn.129088c0
mov ecx, dword [esp + 0x44]
push 1
push ecx
mov ecx, 0x129cd048
call fcn.128e0630
push eax
lea ecx, [esp + 0x1c]
call fcn.12907ea0
mov edx, dword [esp + 0x44]
push 2
push edx
mov ecx, 0x129cd048
mov byte [esp + 0x40], 6
call fcn.128e0630
push eax
lea ecx, [esp + 0x14]
call fcn.129088c0
mov eax, dword [esp + 0x44]
push 3
push eax
mov ecx, 0x129cd048
call fcn.128e0600
mov ecx, dword [esp + 0x40]
mov edi, eax
mov ebp, edx
mov eax, dword [ecx - 8]
test eax, eax
jne 0x128fb501
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.129097f0
cmp eax, 0xffffffff
je 0x128fb501
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.1290ad80
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 7
call fcn.129087d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.12908640
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x128fb5c8
mov ecx, dword [esp + 0x10]
push ecx
call fcn.128ec1b0
add esp, 4
lea edx, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.12908db0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 8
call fcn.129087d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
call fcn.12908640
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
push ecx
push edx
push ebp
push edi
push 2
push str.Query115UpDownHistory_Add_Type__d__iTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
add esp, 0x24
lea ebx, [esi + 0x250]
push str.115chrome
push ebx
push eax
push ecx
push ebp
push edi
push 2
mov ecx, 0x129d2fe0
call fcn.128ff690
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x128fb5c8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.12907ea0
push ebp
push edi
lea eax, [esp + 0x1c]
push 2
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.128fbdf0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.12908640
mov edx, dword [esp + 0x44]
mov ecx, 0x129cd048
push edx
call fcn.128e05e0
cmp eax, 0x64
je 0x128fb44e
mov ebx, 1
jmp 0x128fb60f
push eax
push str.Query115UpDownHistory_sqlite3_prepare16_v2__Failed__nPreUpDownStmt:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 2
call fcn.12908640
mov eax, dword [esp + 0x44]
mov ecx, 0x129cd048
push eax
call fcn.128e0720
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, 0x129cd048
call fcn.128e0700
push ebx
push str.QueryBaiduNetDiskUpDownHistory____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x129cd72c
call fcn.128f8920
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.12908640
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.12908640
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.12908640
mov eax, ebx
jmp 0x128fb688
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0xc