Function at 0x48e5e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f55e
mov eax, dword fs:[0]
push eax
sub esp, 0x50
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 eax, ecx
mov dword [ebp - 0x18], eax
lea edi, [eax + 0x2c]
mov ecx, edi
call dword [0x530608]
test eax, eax
jle 0x48e6bb
mov ecx, edi
xor esi, esi
call dword [0x530608]
test eax, eax
jle 0x48e653
nop
push esi
mov ecx, edi
call dword [0x530604]
mov ecx, dword [eax]
test ecx, ecx
je 0x48e646
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, edi
inc esi
call dword [0x530608]
cmp esi, eax
jl 0x48e630
mov esi, dword [0x5304a8]
mov ecx, dword [edi]
mov dword [edi], esi
mov eax, dword [ecx]
or ebx, 0xffffffff
mov edx, dword [0x530610]
mov dword [ebp - 4], 0
test eax, eax
je 0x48e684
cmp eax, ebx
je 0x48e690
mov eax, ebx
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x48e690
push ecx
call edx
mov edx, dword [0x530610]
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 4], 1
test eax, eax
je 0x48e6ae
cmp eax, 0xffffffff
je 0x48e6b4
lock xadd dword [esi], ebx
dec ebx
setne al
test al, al
jne 0x48e6b4
push esi
call edx
add esp, 4
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, esp
call dword [0x530a18]
lea ecx, [ebp - 0x1c]
call dword [0x5307a8]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call dword [0x5309b8]
lea ecx, [ebp - 0x1c]
call dword [0x5307a0]
lea ecx, [ebp - 0x10]
call dword [0x5307a8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 5
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x48e718
cmp dword [0x7c824c], 1
lea ecx, [ebp - 0x10]
jne 0x48e711
push str.select_DISTINCT____________________manuf.id_____________________manuf.cn_____________________manuf.en____________________from____________________manuf____________________INNER_JOIN_chip_ON_manuf.id__chip.ManufactureId____________________WHERE_chip.specdisp__1____________________ORDER_BY____________________manuf.cn_ASC
jmp 0x48e749
push str.select_DISTINCT____________________manuf.id_____________________manuf.cn_____________________manuf.en____________________from____________________manuf____________________INNER_JOIN_chip_ON_manuf.id__chip.ManufactureId____________________WHERE_chip.specdisp__1____________________ORDER_BY____________________manuf.en_ASC
jmp 0x48e749
cmp eax, 1
jne 0x48e724
push str.SELECT_DISTINCT________________series.id_________________series.cn_________________series.en________________FROM________________series________________INNER_JOIN_cardat_ON_series.id__cardat.series________________WHERE_cardat.hide0_and_________________cardat.functype__2_OR________________cardat.functype__5_OR________________cardat.functype__6_________________ORDER_BY________________series.id_ASC
jmp 0x48e746
cmp eax, 2
jne 0x48e730
push str.SELECT_DISTINCT________________series.id_________________series.cn_________________series.en________________FROM________________series________________INNER_JOIN_cardat_ON_series.id__cardat.series________________WHERE_cardat.hide0_and________________cardat.functype__1________________ORDER_BY________________series.id_ASC
jmp 0x48e746
cmp eax, 3
jne 0x48e73c
push str.select_id_cn_en_from_brand_where_id_in__select_brand_from_cardat_where_cardat.hide0_and_functype3__ORDER_BY_brand.en_ASC
jmp 0x48e746
cmp eax, 4
jne 0x48e74f
push str.select_id_cn_en_from_brand_where_id_in__select_brand_from_cardat_where_cardat.hide0_and_functype4__ORDER_BY_brand.en_ASC
lea ecx, [ebp - 0x10]
call dword [0x530414]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [0x5309c8]
lea ecx, [ebp - 0x14]
test al, al
je 0x48e870
mov ebx, dword [0x5309d4]
call ebx
test al, al
je 0x48e8d3
push 0x28
call fcn.0050ae88
add esp, 4
mov dword [ebp - 0x28], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004a7830
mov esi, eax
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], esi
push eax
lea ecx, [ebp - 0x14]
call dword [0x5309cc]
push 0
mov ecx, eax
mov byte [ebp - 4], 7
call dword [0x530734]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
call dword [0x530740]
push 1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
call dword [0x5309cc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call dword [0x530740]
push 2
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x14]
call dword [0x5309cc]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call dword [0x53072c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call dword [0x530740]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004a79d0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.004a79b0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.004a79c0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00427a00
lea ecx, [ebp - 0x18]
call dword [0x5307a0]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call dword [0x5307a0]
lea ecx, [ebp - 0x14]
call ebx
test al, al
jne 0x48e777
jmp 0x48e8d3
lea eax, [ebp - 0x5c]
push eax
call dword [0x5309c4]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call dword [0x530a1c]
mov esi, eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xf
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x4c]
call dword [0x5307bc]
mov ecx, eax
call dword [0x5307b8]
push esi
mov ecx, eax
mov byte [ebp - 4], 0x10
call dword [0x530700]
lea ecx, [ebp - 0x24]
call dword [0x530710]
lea ecx, [ebp - 0x20]
call dword [0x5307a0]
lea ecx, [ebp - 0x5c]
call dword [0x5309b4]
lea ecx, [ebp - 0x10]
call dword [0x5307a0]
lea ecx, [ebp - 0x14]
call dword [0x5309c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret