Function at 0x68d3e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x68d3e8
push ecx
push ebx
push esi
mov ebx, eax
mov esi, 0x6aa2dc
xor eax, eax
push ebp
push 0x68da17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x494]
call fcn.0045ed78
test eax, eax
je 0x68d9fc
mov eax, dword [ebx + 0x494]
call fcn.0045ed78
cmp dword [eax + 0x14], 0
je 0x68d9fc
lea eax, [ebp - 8]
mov edx, dword [esi]
mov edx, dword [edx + 0xb00]
call fcn.00404b84
lea eax, [ebp - 8]
push eax
mov ecx, 0x68da2c
mov edx, 0x68da3c
mov eax, dword [esi]
call fcn.00684818
mov eax, dword [ebx + 0x408]
call fcn.004db058
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x408]
call fcn.004c2d14
mov eax, dword [ebx + 0x494]
call fcn.0045ed78
call fcn.0045c7e4
mov edx, eax
mov eax, dword [ebx + 0x408]
call fcn.004c52c0
mov eax, dword [ebx + 0x408]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004b8820
lea edx, [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebx + 0x408]
call fcn.004c2d20
mov eax, dword [ebx + 0x408]
call fcn.004db058
push eax
push 0x68da48
push dword [ebp - 4]
push 0x68db30
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e6c
mov edx, dword [ebp - 0x10]
pop eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 0x408]
call fcn.004c2d14
mov edx, 0x68da2c
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [esi]
add eax, 0xa8c
call fcn.00404b40
mov eax, dword [ebx + 0x494]
call fcn.0045ed78
call fcn.0045c7e4
mov edx, dword [esi]
mov dword [edx + 0xacc], eax
mov edx, 0x68db3c
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
add eax, 0xab0
call fcn.00404b40
mov eax, dword [esi]
mov eax, dword [eax + 0xab0]
mov edx, 0x68db4c
call fcn.00404ef8
jne 0x68d57a
mov eax, dword [ebx + 0x3f0]
mov si, 0xffeb
call fcn.00403df4
jmp 0x68d9fc
mov eax, dword [esi]
push dword [eax + 0xa48]
push 0x68db60
mov edx, 0x68db6c
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
push dword [ebp - 0x1c]
push 0x68db84
mov eax, dword [esi]
add eax, 0xa94
mov edx, 4
call fcn.00404e6c
mov edx, 0x68db6c
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
add eax, 0xa98
call fcn.00404b40
mov edx, 0x68db94
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xc]
mov eax, 0x68dbac
call fcn.004050f0
test eax, eax
jle 0x68d659
mov eax, dword [esi]
add eax, 0xa9c
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x68dbac
call fcn.004050f0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.0040500c
mov eax, dword [esi]
add eax, 0xaa0
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x68dbac
call fcn.004050f0
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404dac
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0040500c
jmp 0x68d674
mov eax, dword [esi]
add eax, 0xa9c
mov edx, dword [ebp - 0xc]
call fcn.00404b40
mov eax, dword [esi]
add eax, 0xaa0
call fcn.00404aec
mov edx, 0x68dbb8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
add eax, 0xaa4
call fcn.00404b40
mov edx, 0x68dbd4
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x28]
mov eax, dword [esi]
add eax, 0xaa8
call fcn.00404b40
mov edx, 0x68dbf8
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0xaac
call fcn.00404b40
mov edx, 0x68dc18
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0xab8
call fcn.00404b40
mov edx, 0x68dc2c
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
add eax, 0xabc
call fcn.00404b40
mov edx, 0x68dc40
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x38]
mov eax, dword [esi]
add eax, 0xab4
call fcn.00404b40
mov edx, 0x68dc58
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
add eax, 0xa90
call fcn.00404b40
mov edx, 0x68dc6c
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [esi]
mov dword [edx + 0xac0], eax
mov edx, 0x68dc84
mov eax, dword [ebx + 0x408]
call fcn.004c3d24
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0xa54]
lea eax, [ebp - 0x40]
mov ecx, 0x68dc9c
call fcn.00404df8
mov edx, dword [ebp - 0x40]
pop eax
call fcn.004be3e4
mov eax, dword [ebx + 0x408]
call fcn.004c2d20
mov eax, dword [esi]
mov eax, dword [eax + 0xab0]
mov edx, 0x68dcb4
call fcn.00404ef8
jne 0x68d82f
mov eax, dword [esi]
push dword [eax + 0xa48]
push 0x68db60
mov eax, dword [esi]
push dword [eax + 0xab0]
push 0x68db84
mov eax, dword [esi]
add eax, 0xa94
mov edx, 4
call fcn.00404e6c
mov eax, dword [esi]
add eax, 0xa98
mov edx, dword [esi]
mov edx, dword [edx + 0xab0]
call fcn.00404b40
mov eax, dword [esi]
mov eax, dword [eax + 0xab0]
mov edx, 0x68dcc4
call fcn.00404ef8
je 0x68d85b
mov eax, dword [esi]
mov eax, dword [eax + 0xab0]
mov edx, 0x68dcd4
call fcn.00404ef8
jne 0x68d8f6
mov eax, dword [esi]
push dword [eax + 0xa44]
push 0x68dce4
mov eax, dword [esi]
push dword [eax + 0xa90]
push 0x68dcf4
mov eax, dword [esi]
add eax, 0xa94
mov edx, 4
call fcn.00404e6c
mov eax, dword [esi]
mov eax, dword [eax + 0xa94]
call fcn.0040a46c
test al, al
jne 0x68d8be
push 0x40
mov eax, dword [esi]
mov eax, dword [eax + 0xa5c]
call fcn.00404fac
push eax
push 0x68dcfc
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x68d9fc
mov ecx, dword [0x6a43fc]
mov eax, dword [0x6a4528]
mov eax, dword [eax]
mov edx, dword [0x66c340]
call fcn.004a73f4
mov eax, dword [0x6a43fc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, dword [0x6a43fc]
mov eax, dword [eax]
call fcn.00403bf8
jmp 0x68d9fc
mov eax, dword [esi]
mov eax, dword [eax + 0xa94]
call fcn.0040a46c
test al, al
jne 0x68d92e
push 0x40
mov eax, dword [esi]
mov eax, dword [eax + 0xa5c]
call fcn.00404fac
push eax
push 0x68dcfc
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x68d9fc
mov eax, dword [ebx + 0x494]
call fcn.0045ed78
cmp dword [eax + 0x14], 8
jne 0x68d98a
mov eax, dword [esi]
mov edx, dword [eax + 0xaf0]
mov eax, 0x68dd34
call fcn.004050f0
test eax, eax
jne 0x68d98a
mov eax, dword [ebx + 0x494]
call fcn.0045ed78
call fcn.0045c594
mov edx, eax
lea ecx, [ebp - 0x44]
mov eax, ebx
call fcn.00685214
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
mov ecx, dword [eax + 0xa90]
mov eax, dword [esi]
add eax, 0xad8
call fcn.00404df8
jmp 0x68d996
mov eax, dword [esi]
add eax, 0xad8
call fcn.00404aec
mov eax, dword [esi]
mov edx, dword [eax + 0xab0]
mov eax, 0x68dd44
call fcn.004050f0
test eax, eax
jle 0x68d9ed
cmp byte [ebx + 0xafe], 0
jne 0x68d9ed
mov eax, dword [esi]
mov eax, dword [eax + 0xaf0]
mov edx, 0x68dd54
call fcn.00404ef8
jne 0x68d9ed
push 0x40
mov eax, dword [esi]
mov eax, dword [eax + 0xa5c]
call fcn.00404fac
push eax
push 0x68dd5c
mov eax, ebx
call fcn.0048cc2c
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x68d9fc
mov eax, dword [0x6a468c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68da1e
lea eax, [ebp - 0x44]
mov edx, 0x11
call fcn.00404b10
ret