Function at 0x48ede0
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x51f7fa
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x7c6ee4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x34]
mov ecx, edi
mov dword [ebp + 0x4c], edi
call dword [0x530608]
test eax, eax
jle 0x48eebe
mov ecx, edi
xor esi, esi
call dword [0x530608]
test eax, eax
jle 0x48ee56
push esi
mov ecx, edi
call dword [0x530604]
mov ecx, dword [eax]
test ecx, ecx
je 0x48ee49
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, edi
inc esi
call dword [0x530608]
cmp esi, eax
jl 0x48ee33
mov esi, dword [0x5304a8]
mov ecx, dword [edi]
mov dword [edi], esi
mov eax, dword [ecx]
or edi, 0xffffffff
mov edx, dword [0x530610]
mov dword [ebp - 4], 0
test eax, eax
je 0x48ee87
cmp eax, edi
je 0x48ee93
mov eax, edi
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x48ee93
push ecx
call edx
mov edx, dword [0x530610]
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 4], 1
test eax, eax
je 0x48eeb1
cmp eax, 0xffffffff
je 0x48eeb7
lock xadd dword [esi], edi
dec edi
setne al
test al, al
jne 0x48eeb7
push esi
call edx
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, esp
call dword [0x530a18]
lea ecx, [ebp + 0x68]
call dword [0x5307a8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 4], 2
call dword [0x5309b8]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x58]
call dword [0x5307a8]
mov eax, dword [ebx + 0x10]
mov byte [ebp - 4], 5
test eax, eax
jne 0x48efdd
cmp dword [ebx + 0x48], eax
jne 0x48ef5f
push 0x86
push str.SELECT_DISTINCT_nchip.id__nchip.cn__nchip.en__nchip.funcid_nFROM_nchip_nWHERE_nchip.ChipSeries___1_AND_nchip.specdisp__1_nORDER_BY_nchip.en_ASC
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 4
mov byte [ebp + 0x64], 0x20
mov ecx, esp
mov byte [ebp - 4], 6
push dword [ebp + 0x64]
call dword [0x5307b0]
push 0xa
push 0
push dword [ebx + 0x54]
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x68]
call dword [0x5303a4]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
jmp 0x48f320
mov esi, dword [0x53077c]
lea eax, [ebp + 0x5c]
push 0xa
push dword [ebx + 0x54]
push eax
call esi
mov edi, eax
push 0xa
push dword [ebx + 0x48]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 7
push eax
call esi
mov esi, eax
push 0xa2
push str.SELECT_DISTINCT_nchip.id__nchip.cn__nchip.en__nchip.funcid_nFROM_nchip_nWHERE_nchip.ManufactureId___1_AND_nchip.ChipSeries___2_AND_nchip.specdisp__1_nORDER_BY_nchip.en_ASC
mov byte [ebp - 4], 8
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
push edi
push esi
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x68]
call dword [0x530790]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x64]
call dword [0x5307a0]
lea ecx, [ebp + 0x5c]
jmp 0x48f320
cmp eax, 1
jne 0x48f0d5
mov eax, dword [ebx + 0x14]
push 0xa
push dword [ebx + 0x18]
test eax, eax
jne 0x48f056
lea eax, [ebp + 0x64]
push eax
call dword [0x53077c]
mov esi, eax
push 0xa5
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_brand_1_and__functype2_or_functype5_or_functype6___ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0xa
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 0x10
mov byte [ebp + 0x5c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0xb
push dword [ebp + 0x5c]
call dword [0x5307b0]
push 0
push esi
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x68]
call dword [0x530794]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
jmp 0x48f317
mov esi, dword [0x53077c]
cmp eax, 5
lea eax, [ebp + 0x64]
push eax
jne 0x48f09d
call esi
mov edi, eax
push 0xa
push dword [ebx + 0x14]
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 0xc
push eax
call esi
mov esi, eax
push 0x95
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_series_1_and_brand_2_and_functype2__ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0xd
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0xe
jmp 0x48f2e9
call esi
mov edi, eax
push 0xa
push dword [ebx + 0x14]
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 0xf
push eax
call esi
mov esi, eax
push 0xa5
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_series_1_and_brand_2_and__functype5_or_functype6___ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0x10
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x11
jmp 0x48f2e9
cmp eax, 2
jne 0x48f18b
cmp dword [ebx + 0x14], 0
lea eax, [ebp + 0x64]
push 0xa
push dword [ebx + 0x18]
push eax
jne 0x48f14d
call dword [0x53077c]
mov esi, eax
push 0x87
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_brand_1_and_functype1__ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0x12
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 0x10
mov byte [ebp + 0x5c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x13
push dword [ebp + 0x5c]
call dword [0x5307b0]
push 0
push esi
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x68]
call dword [0x530794]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
jmp 0x48f317
mov esi, dword [0x53077c]
call esi
mov edi, eax
push 0xa
push dword [ebx + 0x14]
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 0x14
push eax
call esi
mov esi, eax
push 0x95
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_series_1_and_brand_2_and_functype1__ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0x15
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x16
jmp 0x48f2e9
cmp eax, 3
jne 0x48f23b
cmp dword [ebx + 0x14], 0
lea eax, [ebp + 0x64]
push 0xa
push dword [ebx + 0x18]
push eax
jne 0x48f200
call dword [0x53077c]
mov esi, eax
push 0x6f
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_model_1_and_functype3_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x17
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 0x10
mov byte [ebp + 0x5c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x18
push dword [ebp + 0x5c]
call dword [0x5307b0]
push 0
push esi
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x68]
call dword [0x530794]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
jmp 0x48f317
mov esi, dword [0x53077c]
call esi
mov edi, eax
push 0xa
push dword [ebx + 0x14]
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 0x19
push eax
call esi
mov esi, eax
push 0x7c
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_brand_1_and_model_2_and_functype3_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x1a
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x1b
jmp 0x48f2e9
cmp eax, 4
jne 0x48f32a
cmp dword [ebx + 0x14], 0
lea eax, [ebp + 0x64]
push 0xa
push dword [ebx + 0x18]
push eax
jne 0x48f2b0
call dword [0x53077c]
mov esi, eax
push 0x88
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_module_1_and_functype4__ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0x1c
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 0x10
mov byte [ebp + 0x5c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x1d
push dword [ebp + 0x5c]
call dword [0x5307b0]
push 0
push esi
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x68]
call dword [0x530794]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
jmp 0x48f317
mov esi, dword [0x53077c]
call esi
mov edi, eax
push 0xa
push dword [ebx + 0x14]
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 0x1e
push eax
call esi
mov esi, eax
push 0x95
push str.select_id_cn_en_from_model_where_id_in__select_model_from_cardat_where_cardat.hide0_and_brand_1_and_module_2_and_functype4__ORDER_BY_model.en_ASC
mov byte [ebp - 4], 0x1f
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x20
push edi
push esi
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp + 0x68]
call dword [0x530790]
push eax
lea ecx, [ebp + 0x58]
call dword [0x53063c]
lea ecx, [ebp + 0x5c]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 5
call dword [0x5307a0]
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x54]
call dword [0x5309c8]
lea ecx, [ebp + 0x54]
test al, al
je 0x48f4e5
call dword [0x5309d4]
test al, al
je 0x48f548
mov edi, dword [0x5309cc]
mov ebx, dword [0x530740]
nop dword [eax]
push 0x28
call fcn.0050ae88
add esp, 4
mov dword [ebp + 0x44], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 0x21
call fcn.004a7830
mov dword [ebp + 0x68], eax
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x10]
push 0
push eax
mov byte [ebp - 4], 5
call edi
lea ecx, [ebp + 0x10]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48f3d0
push 0
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x54]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x22
call dword [0x530734]
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x5c]
push eax
call fcn.004a79d0
lea ecx, [ebp]
mov byte [ebp - 4], 5
call ebx
push 1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x54]
call edi
lea ecx, [ebp - 0x1c]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48f425
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x54]
call edi
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x23
push ecx
mov ecx, eax
call dword [0x53072c]
mov ecx, dword [ebp + 0x68]
push eax
mov byte [ebp - 4], 0x24
call fcn.004a79b0
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call ebx
push 2
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x54]
call edi
lea ecx, [ebp - 0x3c]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48f47a
push 2
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x54]
call edi
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x25
push ecx
mov ecx, eax
call dword [0x53072c]
mov ecx, dword [ebp + 0x68]
push eax
mov byte [ebp - 4], 0x26
call fcn.004a79c0
lea ecx, [ebp + 0x64]
call dword [0x5307a0]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call ebx
push 3
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 0x54]
call edi
lea ecx, [ebp + 0x24]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48f4c6
push 3
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x54]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x27
call dword [0x530734]
mov ecx, dword [ebp + 0x68]
mov dword [ebp + 0x48], eax
lea eax, [ebp + 0x48]
push eax
call fcn.004a7a20
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call ebx
mov ecx, dword [ebp + 0x4c]
lea eax, [ebp + 0x50]
push eax
call fcn.00427a00
lea ecx, [ebp + 0x54]
call dword [0x5309d4]
test al, al
jne 0x48f360
jmp 0x48f548
lea eax, [ebp + 0x34]
push eax
call dword [0x5309c4]
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x28
push ecx
mov ecx, eax
call dword [0x530a1c]
mov esi, eax
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 0x29
push eax
push 0
push 0
push 0
lea ecx, [ebp + 0x20]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
push esi
mov ecx, eax
mov byte [ebp - 4], 0x2a
call dword [0x530700]
lea ecx, [ebp + 0x4c]
call dword [0x530710]
lea ecx, [ebp + 0x50]
call dword [0x5307a0]
lea ecx, [ebp + 0x34]
call dword [0x5309b4]
lea ecx, [ebp + 0x58]
call dword [0x5307a0]
lea ecx, [ebp + 0x54]
call dword [0x5309c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x6c]
pop ebp
ret