Function at 0x47c100
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x47c369
sub esp, 0x38
mov eax, dword [esp + 0x44]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x15
jne 0x47c304
nop
test ecx, ecx
je 0x47c138
test ecx, 0x60
je 0x47c144
mov dword [esp], ecx
call fcn.004799a0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47c153
test eax, 0x60
je 0x47c15b
mov dword [esp], eax
call fcn.004799a0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [0x4ebabd]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x19
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
call fcn.0047d210
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
test edx, 0x80
jne 0x47c1c0
lea ecx, [esp + 0x4c]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x47c298
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x47c1df
test eax, 0x60
je 0x47c1e7
mov dword [esp], eax
call fcn.004799a0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea eax, [0x4ebabd]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x19
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
call fcn.0047d210
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
test edx, 0x80
jne 0x47c24c
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [eax], 4
jne 0x47c2ec
mov edx, dword [eax + 4]
test edx, edx
je 0x47c2ec
mov edx, dword [esp + 0x44]
test edx, 0x80
je 0x47c278
mov edx, dword [esp + 0x40]
mov edx, dword [edx]
jmp 0x47c27c
mov edx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00455f70
add esp, 0x38
ret
mov eax, dword [esp + 0x3c]
cmp dword [eax], 4
jne 0x47c2d4
mov edx, dword [eax + 4]
test edx, edx
je 0x47c2d4
mov edx, dword [esp + 0x44]
test edx, 0x80
je 0x47c2bc
mov edx, dword [esp + 0x40]
mov edx, dword [edx]
jmp 0x47c2c0
mov edx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00455fd0
add esp, 0x38
ret
lea eax, [0x4d7140]
mov dword [esp], eax
lea eax, [0x50edac]
mov dword [esp + 4], eax
call fcn.004319f0
lea eax, [0x4d7140]
mov dword [esp], eax
lea eax, [0x50edac]
mov dword [esp + 4], eax
call fcn.004319f0
mov dword [esp + 0x2c], eax
call fcn.004798c0
mov eax, dword [esp]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
lea edx, [0x4daf80]
mov dword [esp], edx
call fcn.0040af50
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x28]
mov dword [edi + 4], eax
mov eax, dword [0x7e83b0]
test eax, eax
jne 0x47c35e
mov eax, dword [esp + 0x34]
mov dword [edi], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
lea eax, [0x4d8880]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004319f0
mov eax, dword [esp + 0x34]
call fcn.00459fb0
jmp 0x47c345
call fcn.00458b70
jmp fcn.0047c100