Function at 0x422bc2
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571fc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x728
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6ec], ecx
lea ecx, [ebp - 0x5b4]
call fcn.00540d77
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x554]
call fcn.00401420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5b8]
call fcn.00401420
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5bc]
call fcn.00401420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x548]
call fcn.00401420
mov byte [ebp - 4], 5
push 0x5cfe54
lea ecx, [ebp - 0x440]
call fcn.005620da
mov byte [ebp - 4], 6
push 0x5cfe58
lea ecx, [ebp - 0x54c]
call fcn.005620da
mov byte [ebp - 4], 7
mov al, byte [0x5cfe5c]
mov byte [ebp - 0x38], al
xor ecx, ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov word [ebp - 0x2f], cx
mov byte [ebp - 0x2d], cl
lea ecx, [ebp - 0x3c]
call fcn.00401420
mov byte [ebp - 4], 8
mov dword [ebp - 0x28], 0x64e
mov dword [ebp - 0x24], 0x64f
mov dword [ebp - 0x20], 0x650
mov dword [ebp - 0x1c], 0x651
mov dword [ebp - 0x18], 0x652
mov dword [ebp - 0x14], 0x653
lea edx, [ebp - 0x544]
push edx
call fcn.00529440
add esp, 4
lea eax, [ebp - 0x544]
push eax
lea ecx, [ebp - 0x548]
call fcn.00562448
push 0x59ec64
lea ecx, [ebp - 0x548]
call fcn.00562448
lea ecx, [ebp - 0x6dc]
push ecx
mov ecx, dword [ebp - 0x6ec]
call fcn.00423464
mov dword [ebp - 0x6f0], eax
mov edx, dword [ebp - 0x6f0]
mov dword [ebp - 0x6f4], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x6f4]
push eax
lea ecx, [ebp - 0x5b8]
call fcn.005621a5
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6dc]
call fcn.0056206c
lea ecx, [ebp - 0x5b8]
call fcn.00410cd0
test eax, eax
je 0x422df0
push 0
push 0
push 0x59ec78
call fcn.0056a029
mov dword [ebp - 0x6e0], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.0056206c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54c]
call fcn.0056206c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x440]
call fcn.0056206c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x548]
call fcn.0056206c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5bc]
call fcn.0056206c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5b8]
call fcn.0056206c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0056206c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x554]
call fcn.0056206c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5b4]
call fcn.00540df4
mov eax, dword [ebp - 0x6e0]
jmp 0x423453
lea ecx, [ebp - 0x5c4]
call fcn.00566f26
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x548]
push ecx
mov edx, dword [ebp - 0x548]
push edx
mov eax, dword [ebp - 0x5b8]
push eax
push 0x59ec94
lea ecx, [ebp - 0x554]
push ecx
call fcn.0055f827
add esp, 0x14
lea ecx, [ebp - 0x554]
call fcn.005287a0
mov dword [ebp - 0x6f8], eax
push 8
mov edx, dword [ebp - 0x6f8]
push edx
lea ecx, [ebp - 0x5b4]
call fcn.00540f2d
mov dword [ebp - 0x6fc], eax
cmp dword [ebp - 0x6fc], 0
je 0x4232d5
lea eax, [ebp - 0x5b4]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.0054168a
mov dword [ebp - 0x700], eax
mov byte [ebp - 4], 0xc
push 0x42f
mov ecx, dword [ebp - 0x6ec]
call fcn.005654d4
mov dword [ebp - 0x704], eax
lea ecx, [ebp - 0x54c]
push ecx
mov ecx, dword [ebp - 0x704]
call fcn.00563568
push str.SELECT__FROM_SM2683_WHERE_FlashType_
lea ecx, [ebp - 0x554]
call fcn.005621f5
lea edx, [ebp - 0x54c]
push edx
lea ecx, [ebp - 0x554]
call fcn.00562484
push 0x59ed08
lea ecx, [ebp - 0x554]
call fcn.00562448
lea ecx, [ebp - 0x554]
call fcn.005287a0
mov dword [ebp - 0x708], eax
push 0
mov eax, dword [ebp - 0x708]
push eax
push 2
lea ecx, [ebp - 0x6d4]
call fcn.0054199f
lea ecx, [ebp - 0x6d4]
call fcn.00423780
mov dword [ebp - 0x70c], eax
cmp dword [ebp - 0x70c], 0
jne 0x4232bb
push 0x200
push 0
mov ecx, dword [ebp - 0x6ec]
add ecx, 0x460
push ecx
call fcn.0054bf90
add esp, 0xc
mov dword [ebp - 0x550], 0
jmp 0x422f56
mov edx, dword [ebp - 0x550]
add edx, 1
mov dword [ebp - 0x550], edx
cmp dword [ebp - 0x550], 0x80
jae 0x423004
mov eax, dword [ebp - 0x550]
push eax
push str.PTest_.03d
lea ecx, [ebp - 0x43c]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.00542175
lea ecx, [ebp - 0x2c]
call fcn.00401440
mov dword [ebp - 0x710], eax
cmp dword [ebp - 0x710], 0
jle 0x422fff
lea ecx, [ebp - 0x2c]
call fcn.005287a0
mov dword [ebp - 0x714], eax
mov ecx, dword [ebp - 0x714]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.0054c6e3
add esp, 8
lea eax, [ebp - 0x43c]
push eax
call fcn.00529529
add esp, 4
mov dword [ebp - 0x718], eax
mov ecx, dword [ebp - 0x6ec]
add ecx, dword [ebp - 0x550]
mov dl, byte [ebp - 0x718]
mov byte [ecx + 0x460], dl
jmp 0x422f47
mov dword [ebp - 0x550], 0
jmp 0x42301f
mov eax, dword [ebp - 0x550]
add eax, 1
mov dword [ebp - 0x550], eax
cmp dword [ebp - 0x550], 6
jae 0x4230e3
mov ecx, dword [ebp - 0x550]
push ecx
push str.FlashID_d
lea edx, [ebp - 0x43c]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.00542175
lea ecx, [ebp - 0x2c]
call fcn.00401440
mov dword [ebp - 0x71c], eax
cmp dword [ebp - 0x71c], 0
jle 0x4230b2
lea ecx, [ebp - 0x2c]
call fcn.005287a0
mov dword [ebp - 0x720], eax
mov edx, dword [ebp - 0x550]
mov eax, dword [ebp + edx*4 - 0x28]
push eax
mov ecx, dword [ebp - 0x6ec]
call fcn.005654d4
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x720]
push ecx
mov ecx, dword [ebp - 0x724]
call fcn.0056567d
jmp 0x4230de
mov edx, dword [ebp - 0x550]
mov eax, dword [ebp + edx*4 - 0x28]
push eax
mov ecx, dword [ebp - 0x6ec]
call fcn.005654d4
mov dword [ebp - 0x728], eax
push 0x59ed24
mov ecx, dword [ebp - 0x728]
call fcn.0056567d
jmp 0x423010
push 0x5cfe60
lea ecx, [ebp - 0x3c]
call fcn.005621f5
mov dword [ebp - 0x550], 0
jmp 0x42310b
mov ecx, dword [ebp - 0x550]
add ecx, 1
mov dword [ebp - 0x550], ecx
cmp dword [ebp - 0x550], 4
jae 0x42316a
mov edx, dword [ebp - 0x550]
push edx
push str.StrongerPageTable_.03d
lea eax, [ebp - 0x43c]
push eax
call fcn.0054c6e3
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x43c]
push edx
lea ecx, [ebp - 0x6d4]
call fcn.00542175
lea ecx, [ebp - 0x2c]
call fcn.00401440
mov dword [ebp - 0x72c], eax
cmp dword [ebp - 0x72c], 0
jle 0x423168
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00562484
jmp 0x4230fc
lea ecx, [ebp - 0x3c]
call fcn.005287a0
mov dword [ebp - 0x730], eax
mov ecx, dword [ebp - 0x730]
push ecx
lea edx, [ebp - 0x43c]
push edx
call fcn.0054c6e3
add esp, 8
mov dword [ebp - 0x550], 0
jmp 0x4231a9
mov eax, dword [ebp - 0x550]
add eax, 1
mov dword [ebp - 0x550], eax
lea ecx, [ebp - 0x43c]
push ecx
call fcn.0054ce70
add esp, 4
shr eax, 1
cmp dword [ebp - 0x550], eax
jae 0x423212
mov edx, dword [ebp - 0x550]
mov al, byte [ebp + edx*2 - 0x43c]
mov byte [ebp - 0x38], al
mov ecx, dword [ebp - 0x550]
mov dl, byte [ebp + ecx*2 - 0x43b]
mov byte [ebp - 0x37], dl
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0x38]
push eax
call fcn.00529529
add esp, 4
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x6ec]
add ecx, dword [ebp - 0x550]
mov dl, byte [ebp - 0x734]
mov byte [ecx + 0x560], dl
jmp 0x42319a
push 0x5cfe64
mov ecx, dword [ebp - 0x6ec]
add ecx, 0xa60
call fcn.005621f5
mov dword [ebp - 0x550], 0
jmp 0x423243
mov eax, dword [ebp - 0x550]
add eax, 1
mov dword [ebp - 0x550], eax
cmp dword [ebp - 0x550], 0x10
jae 0x4232ab
mov ecx, dword [ebp - 0x550]
push ecx
push str.PairMap_.03d
lea edx, [ebp - 0x43c]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.00542175
lea ecx, [ebp - 0x2c]
call fcn.00401440
mov dword [ebp - 0x738], eax
cmp dword [ebp - 0x738], 0
jle 0x4232a9
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x6ec]
add ecx, 0xa60
call fcn.00562484
jmp 0x423234
lea ecx, [ebp - 0x6d4]
call fcn.004237a0
jmp 0x422f01
lea ecx, [ebp - 0x6d4]
call fcn.00541a73
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6d4]
call fcn.00541896
lea ecx, [ebp - 0x5b4]
call fcn.005410c6
jmp 0x4233ad
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x5c4]
call fcn.00423770
mov dword [ebp - 0x6e8], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.0056206c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54c]
call fcn.0056206c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x440]
call fcn.0056206c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x548]
call fcn.0056206c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5bc]
call fcn.0056206c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5b8]
call fcn.0056206c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0056206c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x554]
call fcn.0056206c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5b4]
call fcn.00540df4
mov eax, dword [ebp - 0x6e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret