Function at 0x685fdc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x685fe4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x686741
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
call fcn.0045d568
mov edx, 0x686758
mov eax, dword [ebx + 0x564]
call fcn.00486254
mov dl, 1
mov eax, dword [ebx + 0x560]
call fcn.00486144
mov eax, dword [ebx + 0x560]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebx + 0x408]
call fcn.004c469c
mov eax, dword [ebx + 0x408]
call fcn.004c514c
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
call fcn.0045d0c4
mov eax, dword [ebx + 0x3c4]
cmp byte [eax + 0x38], 0
je 0x6860ce
mov eax, dword [ebx + 0x43c]
call fcn.004c2d20
mov eax, dword [ebx + 0x43c]
call fcn.004db058
mov edx, 0x686778
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x43c]
call fcn.004c2d14
mov eax, dword [ebx + 0x43c]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b8820
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x6c]
call fcn.00404dac
mov esi, eax
mov eax, dword [ebx + 0x43c]
call fcn.004c2d20
jmp 0x6865f3
mov esi, 3
jmp 0x6865f3
mov edx, 0x6867b4
mov eax, edi
call fcn.004c3d24
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x6867c4
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x6867d8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, 0x6867d8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x70]
mov eax, 0x6867e8
call fcn.004050f0
test eax, eax
jg 0x6861e9
mov edx, 0x6867d8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x74]
mov edx, 0x6867f8
call fcn.00404ef8
je 0x6861e9
mov edx, 0x6867d8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x78]
mov eax, 0x686808
call fcn.004050f0
test eax, eax
jg 0x6861e9
mov edx, 0x6867d8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x7c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x7c]
mov eax, 0x686818
call fcn.004050f0
test eax, eax
jg 0x6861e9
mov edx, 0x6867d8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x80]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x80]
mov eax, 0x686828
call fcn.00404ef8
jne 0x686228
push 0x686838
mov edx, 0x686844
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
mov edx, dword [eax]
call dword [edx + 0x58]
lea edx, [ebp - 0x84]
call fcn.00409e80
push dword [ebp - 0x84]
push 0x686854
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404e6c
jmp 0x686230
lea eax, [ebp - 8]
call fcn.00404aec
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404df8
mov eax, dword [ebp - 0x10]
call fcn.00404dac
lea edx, [esi]
cmp eax, edx
jne 0x686276
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.0045d158
mov edi, eax
mov dword [ebp - 0x68], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 3]
cmp eax, edx
jne 0x6862a8
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x68]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x64], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 6]
cmp eax, edx
jne 0x6862da
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x64]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x60], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 9]
cmp eax, edx
jne 0x68630c
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x60]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x5c], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0xc]
cmp eax, edx
jne 0x68633e
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x5c]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x58], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0xf]
cmp eax, edx
jne 0x686370
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x58]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x54], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x12]
cmp eax, edx
jne 0x6863a2
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x54]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x50], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x15]
cmp eax, edx
jne 0x6863d4
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x50]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x4c], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x18]
cmp eax, edx
jne 0x686406
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x4c]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x48], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x1b]
cmp eax, edx
jne 0x686438
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x48]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x44], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x1e]
cmp eax, edx
jne 0x68646a
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x44]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x40], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x21]
cmp eax, edx
jne 0x68649c
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x40]
call fcn.0045d148
mov edi, eax
mov dword [ebp - 0x3c], edi
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x24]
cmp eax, edx
jne 0x6864cd
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x3c]
call fcn.0045d148
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x27]
cmp eax, edx
jne 0x6864fe
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x38]
call fcn.0045d148
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x2a]
cmp eax, edx
jne 0x68652f
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
call fcn.0045d148
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x2d]
cmp eax, edx
jne 0x686560
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x30]
call fcn.0045d148
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x30]
cmp eax, edx
jne 0x68658e
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
call fcn.0045d148
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x33]
cmp eax, edx
jne 0x6865bc
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.0045d148
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.00685d80
jmp 0x6865e8
lea edx, [esi + 0x36]
cmp eax, edx
jne 0x6865e8
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
call fcn.0045d148
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
call fcn.00685d80
mov eax, dword [ebx + 0x408]
call fcn.004c5464
mov edi, dword [ebx + 0x408]
cmp byte [edi + 0xa1], 0
je 0x6860d8
mov eax, dword [ebx + 0x408]
call fcn.004c46bc
xor edx, edx
mov eax, dword [ebx + 0x560]
call fcn.00486144
mov eax, dword [ebp - 4]
dec eax
je 0x686629
dec eax
je 0x686636
jmp 0x686667
mov eax, dword [ebx + 0x494]
call fcn.0045ec84
jmp 0x686667
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
xor edx, edx
call fcn.0045d450
test eax, eax
je 0x686667
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
xor edx, edx
call fcn.0045d450
mov dl, 1
call fcn.0045c39c
mov eax, dword [ebx + 0x494]
mov eax, dword [eax + 0x26c]
call fcn.0045d5b4
mov eax, dword [0x6aa2dc]
cmp byte [eax + 0xafe], 0
je 0x6866d5
mov eax, dword [ebx + 0x3c0]
cmp byte [eax + 0x38], 0
je 0x6866d5
mov dl, 1
mov eax, dword [ebx + 0x414]
call fcn.00498920
mov dl, 1
mov eax, dword [ebx + 0x418]
call fcn.00498920
mov dl, 1
mov eax, dword [ebx + 0x41c]
call fcn.00498920
mov dl, 1
mov eax, dword [ebx + 0x420]
call fcn.00498920
mov dl, 1
mov eax, dword [ebx + 0x424]
call fcn.00498920
jmp 0x686716
xor edx, edx
mov eax, dword [ebx + 0x414]
call fcn.00498920
xor edx, edx
mov eax, dword [ebx + 0x418]
call fcn.00498920
xor edx, edx
mov eax, dword [ebx + 0x41c]
call fcn.00498920
xor edx, edx
mov eax, dword [ebx + 0x420]
call fcn.00498920
xor edx, edx
mov eax, dword [ebx + 0x424]
call fcn.00498920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x686748
lea eax, [ebp - 0x84]
mov edx, 7
call fcn.00404b10
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404b10
ret