Function at 0x4b2470
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d52e7
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x134
push ebx
push esi
push edi
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x104], ecx
mov eax, dword [ebp - 0x104]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x4b24c8
mov edx, dword [ebp - 0x104]
mov byte [edx + 0xc], 0
mov ecx, dword [ebp - 0x104]
call fcn.004b28a0
sub esp, 8
fld qword [ebp + 0x10]
fstp qword [esp]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b2070
add esp, 0xc
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004b2090
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00407b80
mov eax, dword [ebp - 0x104]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00411610
movzx ecx, al
test ecx, ecx
je 0x4b2545
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407c30
mov al, byte [ebp - 0xa1]
jmp 0x4b288b
mov edx, dword [ebp - 0x104]
add edx, 0x28
push edx
lea ecx, [ebp - 0x28]
call fcn.004116c0
movzx eax, al
test eax, eax
je 0x4b257f
mov byte [ebp - 0xa2], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407c30
mov al, byte [ebp - 0xa2]
jmp 0x4b288b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004b2130
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp + 0xc]
call fcn.004b2130
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0x60adf0
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.004b4d50
add esp, 0x18
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 2
push 0x14
call fcn.0054d57b
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 3
cmp dword [ebp - 0xac], 0
je 0x4b2626
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0xac]
call fcn.004ba330
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
jmp 0x4b2630
mov dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00406360
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004b9730
mov ecx, eax
call fcn.004ba390
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x60]
call fcn.004a56c0
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call fcn.004b9730
mov ecx, eax
call fcn.004c8620
mov byte [ebp - 0x125], al
movzx eax, byte [ebp - 0x125]
test eax, eax
je 0x4b2800
push 0
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x60]
call fcn.004b9730
mov ecx, eax
call fcn.004c85e0
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 6
push 1
lea ecx, [ebp - 0x60]
call fcn.004b9730
mov ecx, eax
call fcn.004c8530
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], edx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004b21c0
add esp, 0xc
mov byte [ebp - 4], 7
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407c50
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
call fcn.004113e0
fstp qword [ebp - 0x90]
lea ecx, [ebp - 0xc0]
call fcn.00407b80
fldz
fcomp qword [ebp - 0x90]
fnstsw ax
test ah, 0x41
jne 0x4b2751
jmp 0x4b27e0
fld qword [ebp + 0x10]
fcomp qword [ebp - 0x90]
fnstsw ax
test ah, 1
jne 0x4b27e0
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xf0]
call fcn.004b0c50
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.004b2020
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 9
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xfc]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004b0a80
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd8]
call fcn.004a3de0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf0]
call fcn.004a3de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x78]
call fcn.00407c30
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.004b3860
jmp 0x4b2687
mov byte [ebp - 0xfd], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x60]
call fcn.004a5700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004063a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407c30
mov al, byte [ebp - 0xfd]
jmp 0x4b288b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14