Function at 0x12479f20
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x12505da8
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
xor ebx, ebx
cmp edi, ebx
je 0x1247a464
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x1247a464
mov eax, dword [0x1250f854]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
lea eax, [esi + 0x48]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x4c], 3
call fcn.12486370
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x54], 4
call fcn.12486110
lea eax, [esp + 0x38]
push eax
call fcn.12459800
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 5
call fcn.12486ca0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 4
call fcn.12486b10
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push str.QueryQQWeiYunUpDownHistory________wstrFilePath:__s__dwType:__d_iTime___I64u_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x20
mov ecx, 0x12547908
call fcn.1245fb40
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fcf0
cmp eax, ebx
jne 0x1247a3fd
push 0x12547904
lea ecx, [esp + 0x24]
call fcn.12486370
push 0x12547904
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 6
call fcn.12486370
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x18]
push 6
push ecx
mov ecx, dword [edi + 0x20]
push eax
push edx
push eax
mov eax, dword [edi + 0x1c]
push eax
push ecx
lea edx, [esp + 0x3c]
push str.SELECT__s__s__s_FROM__s_WHERE__s____8__AND__s___lu
push edx
mov byte [esp + 0x6c], 7
call fcn.12489a90
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x2c]
add esp, 0x24
push 5
push ecx
mov ecx, dword [edi + 0x20]
push eax
push edx
mov edx, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x3c]
push str.SELECT__s__s__s__s_FROM__s_WHERE__s____8__AND__s___lu
push eax
call fcn.12489a90
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add esp, 0x28
lea ecx, [esp + 0x50]
push ebx
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fd10
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x54]
push ebx
mov edi, eax
mov eax, dword [esp + 0x28]
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fd10
cmp edi, ebx
jne 0x1247a399
cmp eax, ebx
jne 0x1247a399
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
mov eax, dword [esp + 0x50]
push ecx
push edx
push 8
push eax
mov ecx, 0x12547908
call fcn.1245fd40
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x54]
push ecx
push edx
push 8
push eax
mov ecx, 0x12547908
call fcn.1245fd40
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247a218
mov edx, dword [esp + 0x54]
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x18]
call fcn.12486d90
mov eax, dword [esp + 0x54]
push 1
push eax
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x30]
call fcn.12486d90
mov ecx, dword [esp + 0x54]
push 2
push ecx
mov ecx, 0x12547908
call fcn.1245fdc0
mov ebp, edx
mov edx, dword [esp + 0x14]
mov edi, eax
cmp dword [edx - 8], ebx
je 0x1247a200
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
push str.https:__www.weiyun.com_
push ecx
call fcn.12487460
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 8
call fcn.12486ca0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 7
call fcn.12486b10
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push eax
push ebp
push edi
push 2
push str.QueryQQWeiYunUpDownHistory__Add_Type__d__iTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
add esp, 0x24
lea ecx, [esi + 0x250]
push 0x1252fb38
push ecx
push edx
push eax
push ebp
push edi
push 2
mov ecx, 0x1254d8a0
call fcn.1247dda0
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
je 0x1247a131
mov edx, dword [esp + 0x50]
mov ecx, 0x12547908
push edx
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247a392
mov bl, 0xb
mov eax, dword [esp + 0x50]
push 0
push eax
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x34]
call fcn.12486370
mov ecx, dword [esp + 0x50]
push 1
push ecx
mov ecx, 0x12547908
mov byte [esp + 0x50], 9
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x14]
call fcn.12486d90
mov edx, dword [esp + 0x50]
push 2
push edx
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x2c]
call fcn.12486d90
mov eax, dword [esp + 0x50]
push 3
push eax
mov ecx, 0x12547908
call fcn.1245fdc0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov ebp, edx
mov eax, dword [ecx - 8]
test eax, eax
je 0x1247a36c
lea edx, [esp + 0x30]
lea eax, [esp + 0x3c]
push edx
push str.https:__www.weiyun.com_
push eax
call fcn.12487460
push 0x12528ccc
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x54], 0xa
call fcn.12487280
lea edx, [esp + 0x10]
mov byte [esp + 0x48], bl
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.124870b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 0xc
call fcn.12486ca0
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], bl
call fcn.12486b10
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 0xa
call fcn.12486b10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x48], 9
call fcn.12486b10
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebp
push edi
push 1
push str.QueryQQWeiYunUpDownHistory__Add_Type__d__iTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
add esp, 0x24
lea eax, [esi + 0x250]
push 0x1252fb38
push eax
push ecx
push edx
push ebp
push edi
push 1
mov ecx, 0x1254d8a0
call fcn.1247dda0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 7
call fcn.12486b10
mov eax, dword [esp + 0x50]
mov ecx, 0x12547908
push eax
call fcn.1245fda0
cmp eax, 0x64
je 0x1247a232
mov ebx, 1
jmp 0x1247a3b4
push eax
push edi
push str.QueryQQWeiYunUpDownHistory_sqlite3_prepare16_v2__Failed__nPreUpStmt:__d__nPreDownStmt:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 6
call fcn.12486b10
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call fcn.12486b10
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, 0x12547908
call fcn.1245fee0
mov edx, dword [esp + 0x54]
mov ecx, 0x12547908
push edx
call fcn.1245fee0
mov eax, dword [esp + 0x24]
mov ecx, 0x12547908
push eax
call fcn.1245fec0
push ebx
push str.QueryQQWeiYunUpDownHistory____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.12486b10
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 2
call fcn.12486b10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call fcn.12486b10
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.12486b10
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
call fcn.12486b10
mov eax, ebx
jmp 0x1247a466
xor eax, eax
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 8