Function at 0x48f570
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x51f9d0
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 edi, ecx
mov dword [ebp + 0x54], edi
lea ebx, [edi + 0x38]
mov ecx, ebx
mov dword [ebp + 0x48], ebx
call dword [0x530608]
test eax, eax
jle 0x48f651
mov ecx, ebx
xor esi, esi
call dword [0x530608]
test eax, eax
jle 0x48f5e9
push esi
mov ecx, ebx
call dword [0x530604]
mov ecx, dword [eax]
test ecx, ecx
je 0x48f5dc
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov ecx, ebx
inc esi
call dword [0x530608]
cmp esi, eax
jl 0x48f5c6
mov esi, dword [0x5304a8]
mov ecx, dword [ebx]
mov dword [ebx], esi
mov eax, dword [ecx]
or ebx, 0xffffffff
mov edx, dword [0x530610]
mov dword [ebp - 4], 0
test eax, eax
je 0x48f61a
cmp eax, ebx
je 0x48f626
mov eax, ebx
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x48f626
push ecx
call edx
mov edx, dword [0x530610]
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 4], 1
test eax, eax
je 0x48f644
cmp eax, 0xffffffff
je 0x48f64a
lock xadd dword [esi], ebx
dec ebx
setne al
test al, al
jne 0x48f64a
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 + 0x4c]
mov dword [ebp - 4], 2
call dword [0x5309b8]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x50]
call dword [0x5307a8]
mov eax, dword [edi + 0x10]
mov byte [ebp - 4], 5
cmp eax, 1
jne 0x48f884
mov eax, dword [edi + 0x14]
push 0xa
push dword [edi + 0x1c]
test eax, eax
jne 0x48f794
cmp dword [edi + 0x18], eax
jne 0x48f718
lea eax, [ebp + 0x64]
push eax
call dword [0x53077c]
mov esi, eax
push 0x8d
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_model_1_and__functype2_or_functype5_or_functype6__ORDER_BY_name_ASC
mov byte [ebp - 4], 6
call dword [0x53076c]
mov dword [ebp + 0x54], eax
add esp, 0x10
mov byte [ebp + 0x68], 0x20
mov ecx, esp
mov byte [ebp - 4], 7
push dword [ebp + 0x68]
call dword [0x5307b0]
push 0
push esi
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x54]
call dword [0x530794]
push eax
lea ecx, [ebp + 0x50]
call dword [0x53063c]
lea ecx, [ebp + 0x58]
call dword [0x5307a0]
lea ecx, [ebp + 0x54]
call dword [0x5307a0]
lea ecx, [ebp + 0x64]
jmp 0x48fbac
mov esi, dword [0x53077c]
lea eax, [ebp + 0x60]
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 8
push dword [eax + 0x18]
lea eax, [ebp + 0x58]
push eax
call esi
mov esi, eax
push 0x9a
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_brand_1_and_model_2_and__functype2_or_functype5_or_functype6__ORDER_BY_name_ASC
mov byte [ebp - 4], 9
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
push edi
push esi
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp + 0x68]
call dword [0x530790]
push eax
lea ecx, [ebp + 0x50]
call dword [0x53063c]
lea ecx, [ebp + 0x64]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x58]
call dword [0x5307a0]
lea ecx, [ebp + 0x60]
jmp 0x48fbac
mov esi, dword [0x53077c]
cmp eax, 5
jne 0x48f834
lea eax, [ebp + 0x5c]
push eax
call esi
mov ebx, eax
push 0xa
push dword [edi + 0x14]
lea eax, [ebp + 0x58]
mov byte [ebp - 4], 0xb
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 0xc
push dword [eax + 0x18]
lea eax, [ebp + 0x64]
push eax
call esi
mov esi, eax
push 0x8a
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_brand_1_and_series_2_and_model_3_and_functype2_ORDER_BY_name_ASC
mov byte [ebp - 4], 0xd
call dword [0x53076c]
add esp, 0x2c
mov dword [ebp + 0x68], eax
push ebx
push edi
push esi
lea eax, [ebp + 0x60]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp + 0x68]
call dword [0x53039c]
push eax
lea ecx, [ebp + 0x50]
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 + 0x58]
call dword [0x5307a0]
lea ecx, [ebp + 0x5c]
jmp 0x48fbac
lea eax, [ebp + 0x58]
push eax
call esi
mov ebx, eax
push 0xa
push dword [edi + 0x14]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 0xf
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 0x10
push dword [eax + 0x18]
lea eax, [ebp + 0x60]
push eax
call esi
mov esi, eax
push 0x9a
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_brand_1_and_series_2_and_model_3_and__functype5_or_functype6__ORDER_BY_name_ASC
mov byte [ebp - 4], 0x11
call dword [0x53076c]
add esp, 0x2c
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x12
jmp 0x48fb6b
cmp eax, 2
jne 0x48f9d7
cmp dword [edi + 0x14], 0
push 0xa
push dword [edi + 0x1c]
jne 0x48f981
cmp dword [edi + 0x18], 0
lea eax, [ebp + 0x64]
push eax
jne 0x48f90c
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_functype1_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x13
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 0x10
mov byte [ebp + 0x5c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x14
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 + 0x50]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x64]
jmp 0x48fbac
mov esi, dword [0x53077c]
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 0x15
push dword [eax + 0x18]
lea eax, [ebp + 0x60]
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_functype1_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x16
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x17
push edi
push esi
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp + 0x68]
call dword [0x530790]
push eax
lea ecx, [ebp + 0x50]
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]
jmp 0x48fbac
mov esi, dword [0x53077c]
lea eax, [ebp + 0x58]
push eax
call esi
mov ebx, eax
push 0xa
push dword [edi + 0x14]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 0x18
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 0x19
push dword [eax + 0x18]
lea eax, [ebp + 0x60]
push eax
call esi
mov esi, eax
push 0x8a
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_brand_1_and_series_2_and_model_3_and_functype1_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x1a
call dword [0x53076c]
add esp, 0x2c
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x1b
jmp 0x48fb6b
cmp eax, 3
jne 0x48fa4b
push 0xa
push dword [edi + 0x1c]
lea eax, [ebp + 0x64]
push eax
call dword [0x53077c]
mov esi, eax
push 0x6c
push str.SELECT_chip.id__chip.cn__chip.en_FROM_chip_INNER_JOIN_cardat_ON_cardat.cpuid__chip.id_WHERE_cardat.aid___1
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 + 0x50]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x64]
jmp 0x48fbac
cmp eax, 4
jne 0x48fbb6
cmp dword [edi + 0x14], 0
push 0xa
jne 0x48fb17
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x48fad4
push dword [edi + 0x1c]
lea eax, [ebp + 0x64]
push eax
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_functype4_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x1e
call dword [0x53076c]
mov dword [ebp + 0x68], eax
add esp, 0x10
mov byte [ebp + 0x5c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x1f
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 + 0x50]
call dword [0x53063c]
lea ecx, [ebp + 0x60]
call dword [0x5307a0]
lea ecx, [ebp + 0x68]
call dword [0x5307a0]
lea ecx, [ebp + 0x64]
jmp 0x48fbac
mov esi, dword [0x53077c]
push eax
lea eax, [ebp + 0x64]
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 0x20
push dword [eax + 0x1c]
lea eax, [ebp + 0x60]
push eax
call esi
mov esi, eax
push 0x7d
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_model_1_and_module_2_and_functype4_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x21
call dword [0x53076c]
add esp, 0x20
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x22
jmp 0x48f945
push dword [edi + 0x18]
mov esi, dword [0x53077c]
lea eax, [ebp + 0x58]
push eax
call esi
mov ebx, eax
push 0xa
push dword [edi + 0x1c]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 0x23
push eax
call esi
mov edi, eax
mov eax, dword [ebp + 0x54]
push 0xa
mov byte [ebp - 4], 0x24
push dword [eax + 0x14]
lea eax, [ebp + 0x60]
push eax
call esi
mov esi, eax
push 0x8a
push str.select_aid_name_name_en_funclevel_from_cardat_where_cardat.hide0_and_brand_1_and_model_2_and_module_3_and_functype4_ORDER_BY_name_ASC
mov byte [ebp - 4], 0x25
call dword [0x53076c]
add esp, 0x2c
mov dword [ebp + 0x68], eax
mov byte [ebp - 4], 0x26
push ebx
push edi
push esi
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp + 0x68]
call dword [0x53039c]
push eax
lea ecx, [ebp + 0x50]
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]
call dword [0x5307a0]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 5
call dword [0x5307a0]
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x4c]
call dword [0x5309c8]
lea ecx, [ebp + 0x4c]
test al, al
je 0x48fd6d
call dword [0x5309d4]
test al, al
je 0x48fdd0
mov edi, dword [0x5309cc]
mov ebx, dword [0x530740]
push 0x28
call fcn.0050ae88
add esp, 4
mov dword [ebp + 0x44], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 0x27
call fcn.004a7830
mov dword [ebp + 0x54], eax
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x68], 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 0x48fc58
push 0
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x4c]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x28
call dword [0x530734]
mov ecx, dword [ebp + 0x54]
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 + 0x4c]
call edi
lea ecx, [ebp - 0x1c]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48fcad
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x4c]
call edi
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x29
push ecx
mov ecx, eax
call dword [0x53072c]
mov ecx, dword [ebp + 0x54]
push eax
mov byte [ebp - 4], 0x2a
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 + 0x4c]
call edi
lea ecx, [ebp - 0x3c]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48fd02
push 2
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x4c]
call edi
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x2b
push ecx
mov ecx, eax
call dword [0x53072c]
mov ecx, dword [ebp + 0x54]
push eax
mov byte [ebp - 4], 0x2c
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 + 0x4c]
call edi
lea ecx, [ebp + 0x24]
mov esi, dword [eax + 8]
call ebx
test esi, 0x3fffffff
je 0x48fd4e
push 3
lea eax, [ebp + 0x34]
push eax
lea ecx, [ebp + 0x4c]
call edi
push 0
mov ecx, eax
mov byte [ebp - 4], 0x2d
call dword [0x530734]
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x58], eax
lea eax, [ebp + 0x58]
push eax
call fcn.004a7a20
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 5
call ebx
mov ecx, dword [ebp + 0x48]
lea eax, [ebp + 0x68]
push eax
call fcn.00427a00
lea ecx, [ebp + 0x4c]
call dword [0x5309d4]
test al, al
jne 0x48fbe8
jmp 0x48fdd0
lea eax, [ebp + 0x34]
push eax
call dword [0x5309c4]
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x2e
push ecx
mov ecx, eax
call dword [0x530a1c]
mov esi, eax
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 0x2f
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], 0x30
call dword [0x530700]
lea ecx, [ebp + 0x48]
call dword [0x530710]
lea ecx, [ebp + 0x5c]
call dword [0x5307a0]
lea ecx, [ebp + 0x34]
call dword [0x5309b4]
lea ecx, [ebp + 0x50]
call dword [0x5307a0]
lea ecx, [ebp + 0x4c]
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