Function at 0x54b604
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x54b60c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x54bac3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x56070c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3d0]
mov edx, 0x54badc
call fcn.004049dc
je 0x54b658
mov eax, dword [0x56070c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3d0]
mov edx, 0x54baec
call fcn.004049dc
jne 0x54b6b3
push 0x54bafc
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x348]
call fcn.00485264
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408d54
push dword [ebp - 0x1c]
push 0x54bbc8
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x354]
call fcn.00485264
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408d54
push dword [ebp - 0x24]
push 0x54bbe0
push 0x54bbec
lea eax, [ebp - 4]
mov edx, 6
call fcn.00404958
jmp 0x54b711
push 0x54bc0c
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x348]
call fcn.00485264
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00408d54
push dword [ebp - 0x2c]
push 0x54bbc8
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x354]
call fcn.00485264
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00408d54
push dword [ebp - 0x34]
push 0x54bbe0
push 0x54bcd8
push 0x54bbec
lea eax, [ebp - 4]
mov edx, 7
call fcn.00404958
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x38c]
call fcn.004461c8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00408d54
cmp dword [ebp - 0x3c], 0
je 0x54b766
push dword [ebp - 4]
push 0x54bd08
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x38c]
call fcn.004461c8
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00408d54
push dword [ebp - 0x44]
push 0x54bd2c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x35c]
call fcn.004461c8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.00408d54
cmp dword [ebp - 0x4c], 0
je 0x54b7bb
push dword [ebp - 4]
push 0x54bd38
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x35c]
call fcn.004461c8
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408d54
push dword [ebp - 0x54]
push 0x54bd2c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x374]
call fcn.004461c8
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00408d54
cmp dword [ebp - 0x5c], 0
je 0x54b805
push dword [ebp - 4]
push 0x54bd54
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x374]
call fcn.004461c8
push dword [ebp - 0x64]
push 0x54bbe0
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 0x380]
call fcn.004461c8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408d54
cmp dword [ebp - 0x68], 0
je 0x54b85a
push dword [ebp - 4]
push 0x54bd6c
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x380]
call fcn.004461c8
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00408d54
push dword [ebp - 0x70]
push 0x54bd2c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404958
lea eax, [ebp - 4]
mov edx, 0x54bd8c
call fcn.004048a0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x360]
mov eax, dword [ebp - 4]
call fcn.0055bc44
mov word [ebp - 6], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0x360]
mov di, word [eax + 0x24c]
dec edi
test di, di
jle 0x54b914
mov si, 1
inc word [ebp - 6]
lea eax, [ebp - 0x78]
push eax
movsx ecx, si
mov edx, 6
mov eax, dword [ebx + 0x360]
call fcn.004bc6bc
mov eax, dword [ebp - 0x78]
call fcn.0055c0c8
cdq
add eax, dword [ebp - 0x10]
adc edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x7c]
push eax
movsx ecx, si
mov edx, 7
mov eax, dword [ebx + 0x360]
call fcn.004bc6bc
mov eax, dword [ebp - 0x7c]
call fcn.0055c0c8
cdq
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
inc esi
dec di
jne 0x54b8b2
fild word [ebp - 6]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x84]
mov eax, 0x54bda8
call fcn.0040a820
push dword [ebp - 0x84]
push 0x54bdb8
fild qword [ebp - 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x54bda8
call fcn.0040a820
push dword [ebp - 0x88]
push 0x54bdd0
push 0x54bde0
fild qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x8c]
mov eax, 0x54bda8
call fcn.0040a820
push dword [ebp - 0x8c]
push 0x54bdd0
push 0x54bdf0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
fild qword [ebp - 0x98]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x90]
mov eax, 0x54bda8
call fcn.0040a820
push dword [ebp - 0x90]
push 0x54be04
lea eax, [ebp - 0x80]
mov edx, 0xa
call fcn.00404958
mov edx, dword [ebp - 0x80]
mov eax, dword [ebx + 0x378]
call fcn.004461f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bacd
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00404604
lea eax, [ebp - 0x74]
call fcn.004045e0
lea eax, [ebp - 0x70]
call fcn.004045e0
lea eax, [ebp - 0x6c]
call fcn.004045e0
lea eax, [ebp - 0x68]
call fcn.004045e0
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00404604
lea eax, [ebp - 0x5c]
call fcn.004045e0
lea eax, [ebp - 0x58]
call fcn.004045e0
lea eax, [ebp - 0x54]
call fcn.004045e0
lea eax, [ebp - 0x50]
call fcn.004045e0
lea eax, [ebp - 0x4c]
call fcn.004045e0
lea eax, [ebp - 0x48]
call fcn.004045e0
lea eax, [ebp - 0x44]
call fcn.004045e0
lea eax, [ebp - 0x40]
call fcn.004045e0
lea eax, [ebp - 0x3c]
call fcn.004045e0
lea eax, [ebp - 0x38]
call fcn.004045e0
lea eax, [ebp - 0x34]
call fcn.004045e0
lea eax, [ebp - 0x30]
call fcn.004045e0
lea eax, [ebp - 0x2c]
call fcn.004045e0
lea eax, [ebp - 0x28]
call fcn.004045e0
lea eax, [ebp - 0x24]
call fcn.004045e0
lea eax, [ebp - 0x20]
call fcn.004045e0
lea eax, [ebp - 0x1c]
call fcn.004045e0
lea eax, [ebp - 4]
call fcn.004045e0
ret