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

Disassembly:
push 0xffffffffffffffff
push 0x124d4c98
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 0x1244a706
mov esi, dword [esp + 0x44]
cmp esi, ebx
je 0x1244a706
mov eax, dword [0x124de7fc]
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.12456050
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.12455df0
lea eax, [esp + 0x20]
push eax
call fcn.124297c0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call fcn.12456980
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.124567f0
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 0x1251696c
call fcn.12447cf0
add esp, 0x30
mov ecx, 0x12516288
call fcn.1242f850
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x12516288
call fcn.1242fa00
test eax, eax
jne 0x1244a6bb
push 0x12516280
lea ecx, [esp + 0x4c]
call fcn.12456050
cmp edi, 1
mov byte [esp + 0x38], 4
jne 0x1244a2a3
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.12459770
add esp, 0x18
jmp 0x1244a2d7
cmp edi, 2
jne 0x1244a2d7
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.12459770
add esp, 0x28
mov ecx, dword [esp + 0x48]
push ecx
push str.Query115UpDownHistory___s_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
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, 0x12516288
call fcn.1242fa20
test eax, eax
jne 0x1244a675
cmp edi, 1
jne 0x1244a47b
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, 0x12516288
call fcn.1242fa50
mov edx, dword [esp + 0x44]
mov ecx, 0x12516288
push edx
call fcn.1242fab0
cmp eax, 0x64
jne 0x1244a66e
mov eax, dword [esp + 0x44]
push 0
push eax
mov ecx, 0x12516288
call fcn.1242fb20
mov ecx, dword [esp + 0x44]
push 1
push ecx
mov ecx, 0x12516288
mov edi, eax
mov ebp, edx
call fcn.1242fb00
push eax
lea ecx, [esp + 0x14]
call fcn.12456a70
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x1244a459
push str.http:__115.com_
lea ecx, [esp + 0x44]
call fcn.12456a70
mov eax, dword [esp + 0x10]
push eax
call fcn.1243b590
add esp, 4
lea ecx, [esp + 0x40]
lea edx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.12456f60
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.12456980
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.124567f0
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 0x1251696c
call fcn.12447cf0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x64]
add esp, 0x24
lea ebx, [esi + 0x250]
mov ecx, 0x1251c220
push str.115chrome
push ebx
push edx
push eax
push ebp
push edi
push 1
call fcn.1244da80
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1244a459
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.12456050
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.1244a720
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, 0x12516288
call fcn.1242fab0
cmp eax, 0x64
je 0x1244a354
mov ebx, 1
jmp 0x1244a68f
cmp edi, 2
jne 0x1244a66e
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, 0x12516288
call fcn.1242fa50
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, 0x12516288
call fcn.1242fa50
mov edx, dword [esp + 0x44]
mov ecx, 0x12516288
push edx
call fcn.1242fab0
cmp eax, 0x64
jne 0x1244a66e
mov eax, dword [esp + 0x44]
push 0
push eax
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x44]
call fcn.12456a70
mov ecx, dword [esp + 0x44]
push 1
push ecx
mov ecx, 0x12516288
call fcn.1242fb00
push eax
lea ecx, [esp + 0x1c]
call fcn.12456050
mov edx, dword [esp + 0x44]
push 2
push edx
mov ecx, 0x12516288
mov byte [esp + 0x40], 6
call fcn.1242fb00
push eax
lea ecx, [esp + 0x14]
call fcn.12456a70
mov eax, dword [esp + 0x44]
push 3
push eax
mov ecx, 0x12516288
call fcn.1242fad0
mov ecx, dword [esp + 0x40]
mov edi, eax
mov ebp, edx
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1244a581
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.124579a0
cmp eax, 0xffffffff
je 0x1244a581
inc eax
lea edx, [esp + 0x24]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.12458f30
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 7
call fcn.12456980
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.124567f0
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1244a648
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1243b590
add esp, 4
lea edx, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.12456f60
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 8
call fcn.12456980
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
call fcn.124567f0
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 0x1251696c
call fcn.12447cf0
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, 0x1251c220
call fcn.1244da80
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1244a648
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebx
call fcn.12456050
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.1244a720
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 4
call fcn.124567f0
mov edx, dword [esp + 0x44]
mov ecx, 0x12516288
push edx
call fcn.1242fab0
cmp eax, 0x64
je 0x1244a4ce
mov ebx, 1
jmp 0x1244a68f
push eax
push str.Query115UpDownHistory_sqlite3_prepare16_v2__Failed__nPreUpDownStmt:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 2
call fcn.124567f0
mov eax, dword [esp + 0x44]
mov ecx, 0x12516288
push eax
call fcn.1242fbf0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, 0x12516288
call fcn.1242fbd0
push ebx
push str.QueryBaiduNetDiskUpDownHistory____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x1251696c
call fcn.12447cf0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.124567f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 0
call fcn.124567f0
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.124567f0
mov eax, ebx
jmp 0x1244a708
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