Function at 0x78869c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
xor ecx, ecx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xb0]
mov edx, dword [0x74fed8]
call fcn.00405e1c
xor eax, eax
push ebp
push 0x788c2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
je 0x788bfb
mov edx, 0x788c40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xb0], eax
mov edx, 0x788c58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0xac], eax
mov edx, 0x788c70
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebp - 0xa8], al
mov edx, 0x788c88
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1c0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c0]
lea eax, [ebp - 0xa4]
call fcn.004053fc
mov edx, 0x788c9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1c4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c4]
lea eax, [ebp - 0xa0]
call fcn.004053fc
mov edx, 0x788cb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x98]
wait
mov edx, 0x788cc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x90], eax
mov edx, 0x788cdc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x8c], eax
mov edx, 0x788cf0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1c8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x88]
call fcn.004053fc
mov edx, 0x788d04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x80]
wait
mov edx, 0x788d14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x78]
wait
mov edx, 0x788d28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1cc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1cc]
lea eax, [ebp - 0x70]
call fcn.004053fc
mov edx, 0x788d40
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1d0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x6c]
call fcn.004053fc
mov edx, 0x788d54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e623c
test eax, eax
jne 0x788908
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
jmp 0x788924
mov edx, 0x788d54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x50]
fstp qword [ebp - 0x20]
wait
mov edx, 0x788d6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1d4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x68]
call fcn.004053fc
mov edx, 0x788d84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x40], eax
mov edx, 0x788d98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x60]
wait
mov edx, 0x788dac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x58]
wait
mov edx, 0x788dc0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x50]
wait
mov dword [ebp - 0x48], 0x2710
xor eax, eax
mov dword [ebp - 0x44], eax
mov edx, 0x788dd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
lea edx, [ebp - 0x1d8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x18]
call fcn.004053fc
mov edx, 0x788df4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e623c
test eax, eax
jne 0x788a15
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x788a30
mov edx, 0x788df4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.004e61b4
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
mov edx, 0x788e10
call fcn.004053fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.006557ac
mov edx, 0x788e1c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x788e60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.00655878
mov edx, dword [ebp - 0xb0]
call fcn.00684ef4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.004e4f3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
jle 0x788ac2
mov edx, 0x788e78
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.004e61b4
lea edx, [ebp - 0x1dc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x24]
call fcn.004053fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.004e4f48
mov dword [ebp - 0x1bc], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00460fcc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00460fcc
mov edx, dword [eax + 8]
lea eax, [ebp - 0x1b4]
mov ecx, 0xff
call fcn.00405600
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00460fcc
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov dx, word [0x788e84]
not edx
and dx, word [eax + 0x4ac]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00575534
mov eax, dword [0x829d34]
mov eax, dword [eax]
call fcn.004aacc8
push 0x28
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov dx, word [eax + 0x4ac]
or dx, word [0x788e84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00575534
mov eax, dword [0x829d34]
mov eax, dword [eax]
call fcn.004aacc8
push 0x28
call sub.KERNEL32.DLL_Sleep_1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jne 0x788b36
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [0x804538]
call fcn.004045ac
test al, al
je 0x788be1
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00817a3c
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 1
je 0x788bf3
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 3
jne 0x788bfb
mov eax, dword [ebp - 4]
call fcn.004a75cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x788c31
lea eax, [ebp - 0x1dc]
mov edx, 8
call fcn.00405388
lea eax, [ebp - 0xb0]
mov edx, dword [0x74fed8]
call fcn.00405eec
ret