Function at 0x6678a0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x66826b
sub esp, 0xbc
mov eax, 0
mov dword [esp + 0xb8], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, dword [esp + 0xc0]
movzx ecx, byte [eax + 0x88]
test cl, cl
jne 0x667901
mov ecx, dword [eax + 0x90]
test ecx, ecx
jge 0x667922
mov eax, dword [0x913708]
mov ecx, dword [0x91370c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.0066d750
movzx eax, byte [esp + 4]
test al, al
jne 0x667a8a
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call fcn.00670b50
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.004868a0
lea eax, [0x668280]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0xb8], ecx
mov byte [esp + 0x2b], 1
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
test edx, edx
jne 0x66799b
xor edx, edx
jmp 0x6679cf
mov edx, dword [eax + 0x18]
lea ebp, [0x6dda80]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0040d210
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
setne al
mov ecx, dword [esp + 0xc4]
mov edx, eax
mov eax, dword [esp + 0xc0]
test dl, dl
jne 0x667a5d
lea esi, [ecx + 0xc]
lea edi, [esp + 0x5c]
call fcn.00471f9a
lea edi, [esp + 0x9c]
xor eax, eax
call fcn.00471ac9
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 0x10]
lea ebx, [0x6dda40]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x5c]
mov dword [esp + 8], edx
call fcn.00466f20
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x29], cl
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x9c]
call fcn.00471f9a
lea edi, [esp + 0x40]
lea esi, [esp + 0x9c]
call fcn.00471f9a
movzx ecx, byte [esp + 0x29]
test cl, cl
je 0x667aab
mov edx, dword [esp + 0xc4]
mov ebx, dword [edx]
test ebx, ebx
jne 0x6681c5
jmp 0x667fe5
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [0x913710]
mov ecx, dword [0x913714]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0xc0]
movzx ecx, byte [eax + 8]
test cl, cl
jne 0x667b82
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x667af7
call fcn.00466d70
mov eax, dword [0x93f150]
mov ecx, dword [esp]
test eax, eax
jne 0x667ae0
mov eax, dword [esp + 0xc0]
jmp 0x667af4
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + 0xc]
mov dword [edi + 4], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0xc]
lea edx, [0x6dda00]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.0040c740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 0x90]
mov ebx, dword [eax + 8]
test edx, edx
jne 0x667b31
mov edx, 2
mov ebp, dword [eax + 4]
cmp edx, ebp
jle 0x667b51
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0xc4]
xor esi, esi
jmp 0x667bb4
mov eax, dword [0x913728]
mov ecx, dword [0x91372c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov eax, dword [0x913718]
mov ecx, dword [0x91371c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
inc esi
cmp esi, ebp
jge 0x667c28
lea edi, [eax + esi*4]
cmp dword [edi], edx
jne 0x667bb3
mov dword [esp + 0x3c], esi
lea eax, [0x710460]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
lea ecx, [0x7263b9]
mov dword [esp], ecx
mov dword [esp + 4], 0x1d
lea ebx, [esp + 0x94]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00526550
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
jmp 0x667bb3
inc ebp
cmp ebx, ebp
jae 0x667c69
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x710460]
mov dword [esp + 0x10], eax
call fcn.0046c670
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x3c], ebx
mov esi, dword [0x93f150]
test esi, esi
je 0x667c85
call fcn.00471840
mov dword [edi], edx
mov esi, dword [eax + ebp*4 - 4]
mov dword [edi + 4], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x38], ebp
mov dword [eax + ebp*4 - 4], edx
mov ebx, dword [ecx + 0xc]
lea esi, [0x6dda00]
mov dword [esp], esi
mov dword [esp + 4], ebx
lea ebx, [esp + 0x5c]
mov dword [esp + 8], ebx
call fcn.00467120
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x667cd6
mov ecx, dword [esp + 0x88]
jmp 0x667ce9
call fcn.00471840
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov eax, dword [esp + 0xc0]
lea ecx, [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.00671640
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x8c]
test ecx, ecx
je 0x667e41
mov edx, dword [eax + 0x18]
test edx, edx
je 0x667d28
mov edx, dword [edx]
jmp 0x667d2a
xor edx, edx
cmp edx, ecx
jle 0x667e41
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x14]
nop
test edx, edx
jne 0x667d41
xor edx, edx
jmp 0x667d44
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 0x10]
lea esi, [0x710460]
cmp ebx, esi
jne 0x667fc8
nop
cmp dword [edx + 8], ecx
jne 0x667ddd
mov ebx, dword [edx + 4]
test byte [ebx], al
mov esi, dword [0x93f150]
nop
mov edi, dword [edx]
test esi, esi
je 0x667d87
mov esi, edi
call fcn.00471840
mov dword [edi], esi
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc0]
mov edi, esi
mov dword [ebx], edi
mov ebx, dword [edx]
test byte [ebx], al
mov esi, dword [0x93f150]
mov edi, dword [edx + 4]
test esi, esi
je 0x667dc3
mov esi, edi
call fcn.00471870
mov dword [edi], esi
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx]
mov dword [edi + 8], eax
mov eax, dword [edx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xc0]
mov edi, esi
mov dword [ebx + 4], edi
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
dec dword [ecx + 0x14]
mov dword [esp + 0x84], ebp
mov edx, dword [eax + 0x18]
lea ebx, [0x6dda80]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.0040d360
mov eax, dword [0x913720]
mov ecx, dword [0x913724]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00670ba0
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.00668b20
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x98]
mov edx, dword [eax + 0x9c]
test edx, edx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ecx, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x667f35
mov ebx, dword [esp + 0xc4]
mov ebp, dword [ebx]
test ebp, ebp
jne 0x667f3c
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x667ea4
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004add70
mov eax, dword [esp + 0xc4]
jmp 0x667f3c
lea eax, [0x6e5800]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
lea ecx, [0x678280]
mov dword [eax], ecx
mov ecx, dword [0x93f150]
test ecx, ecx
jne 0x667ed1
mov ecx, dword [esp + 0xc4]
jmp 0x667edf
call fcn.00471830
mov ecx, dword [esp + 0xc4]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x98]
mov edx, dword [edx + 0x9c]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004adeb0
mov eax, dword [0x93f150]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x667f1c
mov eax, dword [esp + 0xc4]
jmp 0x667f30
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0xc4]
mov edx, dword [eax + 0x78]
mov dword [edi + 4], edx
mov dword [eax + 0x78], ecx
jmp 0x667f3c
mov ebx, dword [esp + 0xc4]
call fcn.004b5b60
lea edi, [esp + 0x9c]
lea esi, [esp]
call fcn.00471fae
mov eax, dword [0x93f150]
mov ecx, dword [esp + 0xc4]
lea edi, [ecx + 0x64]
test eax, eax
je 0x667f8f
mov dword [esp + 0x80], edi
lea eax, [0x718660]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
call fcn.0040eb20
mov edi, dword [esp + 0x80]
lea esi, [esp + 0x9c]
call fcn.00471fae
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
mov dword [esp], ebx
mov dword [esp + 4], esi
lea eax, [0x6dc400]
mov dword [esp + 8], eax
call fcn.00409bd0
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov esi, ebx
sub ebx, ebp
mov eax, dword [esp + 0x54]
add ebx, eax
test ebx, ebx
jle 0x6680ba
mov dword [esp + 0x2c], ebx
cmp esi, ebp
jg 0x668043
test eax, eax
jne 0x66800f
xor esi, esi
jmp 0x668079
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], ebp
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jbe 0x668190
mov ecx, dword [esp + 0x40]
mov ebp, dword [0x93f150]
mov esi, dword [ecx + eax*4]
test ebp, ebp
je 0x66806e
mov ebp, dword [ecx + eax*4]
call fcn.00471830
mov dword [edi], ebp
mov dword [ecx + eax*4], 0
inc dword [esp + 0x4c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea edi, [esp + 0x10]
xor eax, eax
call fcn.00471acb
call fcn.00669120
movzx ecx, byte [esp + 0x24]
test cl, cl
je 0x667fde
mov eax, dword [esp + 0x2c]
test eax, eax
mov edx, dword [esp + 0xc4]
setg al
mov byte [esp + 0x2a], al
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x6680f7
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x10]
lea edx, [0x6dda40]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.004675f0
jmp 0x668156
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x10]
lea edx, [0x6dda40]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.00467120
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x93f150]
test eax, eax
je 0x66814d
mov dword [esp + 0x7c], edi
lea eax, [0x6f33a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0040eb20
mov edi, dword [esp + 0x7c]
lea esi, [esp + 0x40]
call fcn.00471f9a
movzx eax, byte [esp + 0x2a]
test al, al
je 0x667aab
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0xb8]
mov eax, dword [edx]
call eax
add esp, 0xbc
ret
call fcn.004718b0
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea edi, [esp + 0x10]
xor eax, eax
call fcn.00471acb
call fcn.00669120
mov ecx, dword [esp + 0xc4]
mov edx, ecx
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
mov esi, ebx
sub ebx, ebp
mov eax, dword [esp + 0x54]
add ebx, eax
test ebx, ebx
jle 0x668252
cmp esi, ebp
jg 0x66821b
test eax, eax
jne 0x6681e7
xor ebp, ebp
jmp 0x668195
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jbe 0x668259
mov ecx, dword [esp + 0x40]
mov ebx, dword [0x93f150]
mov ebp, dword [ecx + eax*4]
test ebx, ebx
je 0x668242
mov ebx, dword [ecx + eax*4]
call fcn.00471830
mov dword [edi], ebx
mov dword [ecx + eax*4], 0
inc dword [esp + 0x4c]
jmp 0x668195
xor eax, eax
jmp 0x6680bd
call fcn.004718b0
nop
call fcn.004358b0
add esp, 0xbc
ret
call fcn.00470430
jmp fcn.006678a0