Function at 0x1247ac00
Capabilities:
Get number of processors
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x12505f89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x490
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4b4]
mov dword [esp + 0x5c], ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
lea eax, [edi + 0x48]
mov dword [esp + 0x50], ebx
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], ebx
call fcn.12486370
mov ecx, dword [edi + 8]
lea edx, [esp + 0x30]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov dword [esp + 0x4b4], ebx
call fcn.12486110
lea eax, [esp + 0x1c]
push eax
call fcn.12459800
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x4ac], 1
call fcn.12486ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a8], bl
call fcn.12486b10
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
push str.QueryJianGuoYunUpDownHistory________wstrFilePath:__s__dwType:__d_iTime___I64u_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x20
lea edx, [esp + 0x30]
lea ecx, [esp + 0x24]
push edx
call fcn.12486110
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x4ac], 2
call fcn.12487cc0
cmp eax, 0xffffffff
je 0x1247ad17
inc eax
lea ecx, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.12489250
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4ac], 3
call fcn.12486ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a8], 2
call fcn.12486b10
lea ecx, [esp + 0x24]
push str.nutstore.db
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.12487280
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4ac], 4
call fcn.12486ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a8], 2
call fcn.12486b10
mov eax, dword [edi + 8]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.12486110
lea eax, [esp + 0x1c]
push eax
call fcn.12459800
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4ac], 5
call fcn.12486ca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a8], 2
call fcn.12486b10
mov ecx, dword [esp + 0x24]
push ecx
push str.QueryJianGuoYunUpDownHistory__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
push 0x12547904
lea ecx, [esp + 0x50]
mov byte [esp + 0x4ac], 6
call fcn.12486370
mov ecx, 0x12547908
mov byte [esp + 0x4a8], 7
call fcn.1245fb40
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fcf0
cmp eax, ebx
jne 0x1247b2dc
lea ecx, [esp + 0x60]
call fcn.1248c430
push str.select_name_from_sqlite_master_where_typetable_order_by_name
lea ecx, [esp + 0x38]
mov byte [esp + 0x4ac], 8
call fcn.12486370
push str.select_value_from_config_where_key_machine_name_
lea ecx, [esp + 0x30]
mov byte [esp + 0x4ac], 9
call fcn.12486370
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x40]
push ebx
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x12547908
mov byte [esp + 0x4bc], 0xa
call fcn.1245fd10
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push ebx
mov esi, eax
mov eax, dword [esp + 0x48]
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fd10
cmp esi, ebx
jne 0x1247b261
cmp eax, ebx
jne 0x1247b261
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247af3e
mov edx, dword [esp + 0x40]
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x14]
call fcn.12486370
mov eax, dword [esp + 0x10]
mov byte [esp + 0x4a8], 0xb
cmp dword [eax - 8], 9
jl 0x1247af15
push 9
push str.sndconfig
push eax
call fcn.1249fab3
add esp, 0xc
test eax, eax
jne 0x1247af15
mov eax, dword [esp + 0x10]
push eax
push str.QueryJianGuoYunUpDownHistory__tablename:_s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov edx, dword [esp + 0x78]
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.1248ca40
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a8], 0xa
call fcn.12486b10
mov eax, dword [esp + 0x40]
mov ecx, 0x12547908
push eax
call fcn.1245fda0
cmp eax, 0x64
je 0x1247aea4
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247af9e
mov edx, dword [esp + 0x38]
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x50]
call fcn.12486d90
mov eax, dword [esp + 0x4c]
push eax
push str.QueryJianGuoYunUpDownHistory__wstrMacName_:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov ecx, dword [esp + 0x4c]
add esp, 0x14
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
je 0x1247af52
mov eax, dword [esp + 0x64]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x1247b27c
push str.select_value_from__s_where_key___sandbox_name_
lea ecx, [esp + 0x18]
call fcn.12486370
push 0x12547904
lea ecx, [esp + 0x14]
mov byte [esp + 0x4ac], 0xc
call fcn.12486370
lea edx, [esp + 0x3c]
push ebp
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x4b0], 0xd
call fcn.1245c9a0
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0x4b4], 0xe
call fcn.12489a90
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4a8], 0xd
call fcn.12486b10
mov eax, dword [esp + 0x10]
push eax
push str.QueryJianGuoYunUpDownHistory_sql___s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
add esp, 0x14
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0xffffffffffffffff
push edx
push eax
mov ecx, 0x12547908
call fcn.1245fd10
cmp eax, ebx
jne 0x1247b207
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247b221
mov edx, dword [esp + 0x18]
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x20]
call fcn.12486370
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x4a8], 0xf
cmp dword [edx - 8], ebx
je 0x1247b1dc
mov esi, dword [esp + 0x5c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x88]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
rep stosd dword es:[edi], eax
push 0x12530830
push str._id_:
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
call fcn.1247d880
mov ecx, dword [esp + 0x1c]
push 0x1253081c
push str._localAbsPath_:_
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x4b8], 0x10
call fcn.1247d880
mov eax, dword [esp + 0x48]
mov byte [esp + 0x4a8], 0x11
push eax
call fcn.124a1d57
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
push 0x1252afac
push 0x125307f0
call fcn.12488a50
mov ecx, dword [esp + 0x28]
push 0x103
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.1249fa35
mov esi, dword [esp + 0x80]
add esp, 0xc
lea ecx, [esp + 0x70]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
call fcn.1247db90
mov eax, dword [esp + 0x70]
mov edi, esi
shl edi, 5
add edi, esi
mov ecx, 0x84
shl edi, 4
add edi, eax
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
push str.QueryJianGuoYunUpDownHistory___nID_:_I64u___Path_:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x4a8], 0x10
call fcn.12486b10
lea ecx, [esp + 0x48]
mov byte [esp + 0x4a8], 0xf
call fcn.12486b10
mov edi, dword [esp + 0x4b4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a8], 0xd
call fcn.12486b10
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
je 0x1247b073
jmp 0x1247b221
push eax
push str.QueryJianGuoYunUpDownHistory_fail_5___d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
mov edx, dword [esp + 0x18]
mov ecx, 0x12547908
push edx
call fcn.1245fee0
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a8], 0xc
call fcn.12486b10
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a8], 0xa
call fcn.12486b10
mov eax, dword [esp + 0x64]
inc ebp
cmp ebp, eax
jl 0x1247afb0
jmp 0x1247b27c
push eax
push esi
push str.QueryJianGuoYunUpDownHistory_1_fail__nAllTableStmt:_d___nMacNameStmt_:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x18
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4a8], 9
call fcn.12486b10
lea ecx, [esp + 0x34]
mov byte [esp + 0x4a8], 8
call fcn.12486b10
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a8], 7
call fcn.1248c440
mov eax, dword [esp + 0x40]
mov ecx, 0x12547908
push eax
call fcn.1245fee0
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, 0x12547908
call fcn.1245fee0
mov edx, dword [esp + 0x44]
mov ecx, 0x12547908
push edx
call fcn.1245fec0
mov eax, dword [esp + 0x30]
push eax
push str.QueryJianGuoYunUpDownHistory__wstrFilePath_:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov edx, dword [esp + 0x44]
add esp, 0x14
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], ebx
push ecx
push edx
mov ecx, 0x12547908
mov dword [esp + 0x28], ebx
call fcn.1245fcf0
cmp eax, ebx
jne 0x1247b7c9
push 0x12547904
lea ecx, [esp + 0x14]
call fcn.12486370
mov eax, dword [esp + 0x4b0]
mov byte [esp + 0x4a8], 0x12
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
mov edx, dword [eax + 8]
push edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
push edx
push eax
push ecx
lea ecx, [esp + 0x2c]
push str.SELECT__s__s__s__s_FROM__s_WHERE__s____8_or__s____9
push ecx
call fcn.12489a90
mov edx, dword [esp + 0x34]
add esp, 0x24
push edx
push 0x12530578
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
add esp, 0x14
lea eax, [esp + 0x20]
push ebx
push eax
push 0xffffffffffffffff
push ecx
push edx
mov ecx, 0x12547908
call fcn.1245fd10
cmp eax, ebx
jne 0x1247b780
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x20]
push eax
push ecx
push 8
push edx
mov ecx, 0x12547908
call fcn.1245fd40
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x30]
mov edx, dword [esp + 0x20]
push eax
push ecx
push 9
push edx
mov ecx, 0x12547908
call fcn.1245fd40
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x34]
push eax
mov eax, dword [edi + 0x30]
push ecx
push edx
push eax
push str.QueryJianGuoYunUpDownHistory___I64u__I64u_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov ecx, dword [esp + 0x40]
add esp, 0x20
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
jne 0x1247b776
mov edx, dword [esp + 0x20]
push ebx
push edx
mov ecx, 0x12547908
call fcn.1245fdc0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x20]
push 1
push eax
mov ecx, 0x12547908
mov dword [esp + 0x5c], edx
call fcn.1245fdc0
mov ecx, dword [esp + 0x20]
push 2
push ecx
mov ecx, 0x12547908
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x30]
call fcn.12486370
mov edx, dword [esp + 0x20]
push 3
push edx
mov ecx, 0x12547908
mov byte [esp + 0x4b0], 0x13
call fcn.1245fdf0
push eax
lea ecx, [esp + 0x2c]
call fcn.12486370
mov eax, dword [esp + 0x28]
mov byte [esp + 0x4a8], 0x14
push eax
push str.QueryJianGuoYunUpDownHistory__wstrCommand_:__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov eax, dword [esp + 0x3c]
add esp, 0x14
cmp dword [eax - 8], ebx
je 0x1247b73c
push 0x125304b4
push str._srcMachineName_:_
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.1247d880
mov eax, dword [esp + 0x14]
mov byte [esp + 0x4a8], 0x15
cmp dword [eax - 8], ebx
je 0x1247b72b
mov edx, dword [esp + 0x4c]
push edx
push eax
call fcn.1249f781
add esp, 8
cmp eax, ebx
jne 0x1247b72b
mov edx, dword [esp + 0x74]
xor ebp, ebp
cmp edx, ebx
jle 0x1247b72b
mov eax, dword [esp + 0x70]
mov ecx, 0x84
mov esi, eax
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x80]
cmp ecx, esi
jne 0x1247b541
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x84]
cmp ecx, esi
je 0x1247b550
inc ebp
add eax, 0x210
cmp ebp, edx
jl 0x1247b513
jmp 0x1247b72b
push str.https:__www.jianguoyun.com
lea ecx, [esp + 0x1c]
call fcn.12486370
lea edx, [esp + 0x2c]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x4b4], 0x16
call fcn.124870b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4ac], 0x17
call fcn.12486ca0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4a8], 0x16
call fcn.12486b10
mov ecx, dword [esp + 0x70]
mov esi, ebp
shl esi, 5
add esi, ebp
lea edi, [esp + 0x290]
shl esi, 4
add esi, ecx
mov ecx, 0x84
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x298]
lea ecx, [esp + 0x1c]
push edx
call fcn.12486370
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
mov byte [esp + 0x4b4], 0x18
call fcn.124870b0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x4ac], 0x19
call fcn.12486ca0
lea ecx, [esp + 0x48]
mov byte [esp + 0x4a8], 0x18
call fcn.12486b10
push 0x1252afac
push 0x12528ccc
lea ecx, [esp + 0x24]
call fcn.12488a50
mov eax, dword [esp + 0x28]
push 0x125304b4
push str._opType_:_
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.1247d880
mov edx, dword [esp + 0x34]
push str.DELETE
push edx
mov byte [esp + 0x4b0], 0x1a
call fcn.1249f781
add esp, 8
cmp eax, ebx
jne 0x1247b688
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push str.QueryJianGuoYunUpDownHistory_Add__iTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x20
jmp 0x1247b6f8
mov ecx, dword [esp + 0x34]
push 0x12530384
push ecx
call fcn.1249f781
add esp, 8
cmp eax, ebx
jne 0x1247b6f8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
push edx
push eax
push edi
push esi
push 1
push str.QueryJianGuoYunUpDownHistory_Add_Type__d__iTime__I64u__wstrUrl__s___wstrTargetPath__s_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
mov ecx, dword [esp + 0x4d8]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add esp, 0x24
add ecx, 0x250
push str.jianguoyun
push ecx
push edx
push eax
push edi
push esi
push 1
mov ecx, 0x1254d8a0
call fcn.1247dda0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4a8], 0x18
call fcn.12486b10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4a8], 0x16
call fcn.12486b10
lea ecx, [esp + 0x18]
mov byte [esp + 0x4a8], 0x15
call fcn.12486b10
lea ecx, [esp + 0x14]
mov byte [esp + 0x4a8], 0x14
call fcn.12486b10
lea ecx, [esp + 0x28]
mov byte [esp + 0x4a8], 0x13
call fcn.12486b10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4a8], 0x12
call fcn.12486b10
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, 0x12547908
call fcn.1245fda0
cmp eax, 0x64
je 0x1247b41b
mov dword [esp + 0x50], 1
jmp 0x1247b79a
push eax
push str.QueryJianGuoYunUpDownHistory_sqlite3_prepare16_v2__Failed__nPreUpStmt:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x4a8], 7
call fcn.12486b10
mov edx, dword [esp + 0x20]
mov ecx, 0x12547908
push edx
call fcn.1245fee0
mov eax, dword [esp + 0x58]
mov ecx, 0x12547908
push eax
call fcn.1245fec0
mov esi, dword [esp + 0x50]
push esi
push str.QueryJianGuoYunUpDownHistory____bRet:__d_
push str.History
push 0xffffffffffffffff
push 0x12547fec
call fcn.12478010
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4a8], 6
call fcn.12486b10
mov eax, dword [esp + 0x70]
mov byte [esp + 0x4a8], 2
cmp eax, ebx
je 0x1247b811
push eax
call fcn.1249f776
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x4a8], bl
call fcn.12486b10
lea ecx, [esp + 0x30]
mov dword [esp + 0x4a8], 0xffffffff
call fcn.12486b10
mov ecx, dword [esp + 0x4a0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x49c
ret 8